/*
 Theme Name:   ALASKAS Astra
 Description:  Astra child theme for ALASKAS Technology Paint
 Author:       Cong ty Son Thinh Vuong
 Template:     astra
 Version:      1.4.4
 Text Domain:  alaskas-astra
*/

:root {
  --alx-ink: #10201b;
  --alx-muted: #5b7069;
  --alx-green: #00664c;
  --alx-green-2: #0b8a62;
  --alx-deep: #062d25;
  --alx-red: #e60012;
  --alx-gold: #f7bd3b;
  --alx-cream: #f7f3eb;
  --alx-mist: #edf7f3;
  --alx-line: rgba(16, 32, 27, .11);
  --alx-white: #fff;
  --alx-shadow: 0 18px 48px rgba(6, 45, 37, .14);
  --alx-radius: 8px;
  --alx-font: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--alx-ink);
  font-family: var(--alx-font);
  background: var(--alx-white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--alx-green);
  text-decoration: none;
}

a:hover {
  color: var(--alx-red);
}

.dashicons {
  width: 1em;
  height: 1em;
  font-size: 1.05em;
  line-height: 1;
  vertical-align: -.12em;
}

body.alx-homepage #content.site-content,
body.ak-homepage #content.site-content {
  padding: 0 !important;
  overflow-x: hidden;
}

body.alx-homepage #content .ast-container,
body.ak-homepage #content .ast-container,
body.alx-homepage #primary,
body.ak-homepage #primary {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.alx-homepage #secondary,
body.ak-homepage #secondary {
  display: none !important;
}

#masthead,
.ast-primary-header-bar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--alx-line) !important;
}

.ast-primary-header-bar {
  min-height: 72px;
}

.site-branding {
  min-width: 260px;
}

.site-title,
.site-description {
  margin: 0 !important;
}

.site-title a {
  color: var(--alx-deep) !important;
  font-weight: 900;
  letter-spacing: .02em;
}

.main-header-menu .menu-link,
.main-header-menu > .menu-item > .menu-link {
  color: var(--alx-ink) !important;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
  color: var(--alx-red) !important;
}

.ast-builder-menu-1 .menu-item > .menu-link {
  padding-left: 18px;
  padding-right: 18px;
}

.ast-mobile-header-wrap .menu-toggle,
.ast-mobile-header-wrap .ast-mobile-menu-trigger-minimal {
  color: var(--alx-deep) !important;
}

.ast-mobile-header-wrap .main-header-menu {
  background: #ffffff !important;
}

.alx-home {
  background: var(--alx-white);
  color: var(--alx-ink);
}

.alx-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.alx-hero {
  position: relative;
  min-height: 720px;
  isolation: isolate;
  overflow: hidden;
  background: var(--alx-deep);
}

.alx-hero__media,
.alx-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.alx-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.04);
}

.alx-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 45, 37, .94) 0%, rgba(0, 102, 76, .82) 46%, rgba(6, 45, 37, .48) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .52) 100%);
}

.alx-hero__grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  gap: 54px;
  align-items: center;
  padding: 86px 0 58px;
}

.alx-eyebrow,
.alx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(247, 189, 59, .45);
  border-radius: 999px;
  background: rgba(247, 189, 59, .12);
  color: var(--alx-gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.alx-hero h1 {
  max-width: 720px;
  margin: 24px 0 22px;
  color: #fff;
  font-size: clamp(2.8rem, 5.7vw, 5.45rem);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 900;
}

.alx-hero__copy p {
  max-width: 630px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.03rem, 1.35vw, 1.22rem);
  line-height: 1.75;
}

.alx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.alx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: var(--alx-radius);
  font-weight: 900;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.alx-btn:hover {
  transform: translateY(-2px);
}

.alx-btn--primary {
  background: var(--alx-gold);
  color: #111 !important;
  box-shadow: 0 16px 34px rgba(247, 189, 59, .28);
}

.alx-btn--primary:hover {
  background: #ffd56c;
  color: #111 !important;
}

.alx-btn--ghost {
  border: 1px solid rgba(255, 255, 255, .46);
  color: #fff !important;
  background: rgba(255, 255, 255, .08);
}

.alx-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .16);
  color: #fff !important;
}

.alx-hero__showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.alx-product-window {
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .62);
}

.alx-product-window img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.alx-product-window--large {
  grid-column: 1 / -1;
}

.alx-product-window--large img {
  aspect-ratio: 16 / 8;
}

.alx-proof {
  background: rgba(6, 45, 37, .92);
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.alx-proof__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.alx-proof__item {
  min-height: 104px;
  padding: 22px 18px;
  display: grid;
  align-content: center;
  gap: 7px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
}

.alx-proof__item:last-child {
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.alx-proof__item .dashicons {
  color: var(--alx-gold);
  font-size: 1.32rem;
}

.alx-proof__item strong {
  font-size: .98rem;
}

.alx-proof__item small {
  color: rgba(255, 255, 255, .68);
  line-height: 1.45;
}

.alx-section {
  padding: 92px 0;
}

.alx-section--light {
  background:
    linear-gradient(180deg, #fff 0%, var(--alx-mist) 100%);
}

.alx-section--story {
  background: var(--alx-cream);
}

.alx-section--dark {
  background:
    radial-gradient(circle at 12% 15%, rgba(247, 189, 59, .12), transparent 28%),
    linear-gradient(135deg, var(--alx-deep), #074a3b);
  color: #fff;
}

.alx-section--gallery {
  background: #fff;
}

.alx-section--dealer {
  background:
    linear-gradient(90deg, rgba(6, 45, 37, .94), rgba(0, 102, 76, .86)),
    var(--alx-deep);
  color: #fff;
}

.alx-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.alx-heading--inverse {
  color: #fff;
}

.alx-heading .alx-kicker,
.alx-story-copy .alx-kicker,
.alx-dealer .alx-kicker {
  background: rgba(0, 102, 76, .08);
  border-color: rgba(0, 102, 76, .18);
  color: var(--alx-green);
}

.alx-heading--inverse .alx-kicker,
.alx-dealer .alx-kicker {
  background: rgba(247, 189, 59, .12);
  border-color: rgba(247, 189, 59, .36);
  color: var(--alx-gold);
}

.alx-heading h2,
.alx-story-copy h2,
.alx-dealer h2 {
  margin: 16px 0 14px;
  font-size: clamp(2.1rem, 4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

.alx-heading p,
.alx-story-copy p,
.alx-dealer p {
  margin: 0;
  color: var(--alx-muted);
  font-size: 1.06rem;
  line-height: 1.74;
}

.alx-heading--inverse p,
.alx-dealer p {
  color: rgba(255, 255, 255, .78);
}

.alx-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.alx-card {
  background: #fff;
  border: 1px solid var(--alx-line);
  border-radius: var(--alx-radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(6, 45, 37, .08);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.alx-card__image {
  display: block;
  background: var(--alx-mist);
  overflow: hidden;
}

.alx-card__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.alx-card:hover .alx-card__image img {
  transform: scale(1.04);
}

.alx-card__body {
  padding: 24px;
  display: grid;
  gap: 13px;
  flex: 1;
}

.alx-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--alx-green);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.alx-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 900;
  color: var(--alx-ink);
}

.alx-card p {
  margin: 0;
  color: var(--alx-muted);
  line-height: 1.62;
}

.alx-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--alx-red);
  font-weight: 900;
}

.alx-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}

.alx-story-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--alx-shadow);
  background: #fff;
}

.alx-story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.alx-checklist {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.alx-checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--alx-ink);
  line-height: 1.62;
}

.alx-checklist .dashicons {
  margin-top: 3px;
  color: var(--alx-green);
  font-size: 1.12rem;
}

.alx-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.alx-step {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--alx-radius);
  background: rgba(255, 255, 255, .08);
}

.alx-step span {
  display: block;
  margin-bottom: 36px;
  color: var(--alx-gold);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
}

.alx-step h3 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 1.18rem;
  font-weight: 900;
}

.alx-step p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  line-height: 1.6;
}

.alx-gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
}

.alx-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--alx-radius);
  min-height: 360px;
  background: var(--alx-mist);
}

.alx-gallery__wide {
  min-height: 520px;
}

.alx-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.alx-gallery figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  background: rgba(255, 255, 255, .92);
  border-radius: 8px;
  color: var(--alx-ink);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.alx-dealer {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.alx-dealer img {
  width: 100%;
  border-radius: var(--alx-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

.alx-dealer .alx-btn {
  margin-top: 30px;
}

@media (max-width: 1100px) {
  .alx-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .alx-hero__showcase {
    max-width: 760px;
  }

  .alx-proof__grid,
  .alx-products,
  .alx-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alx-split,
  .alx-dealer {
    grid-template-columns: 1fr;
  }

  .alx-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .alx-gallery__wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .alx-wrap {
    width: min(100% - 28px, 1180px);
  }

  .ast-primary-header-bar {
    min-height: 62px;
  }

  .site-branding {
    min-width: 180px;
  }

  .alx-hero {
    min-height: auto;
  }

  .alx-hero__grid {
    min-height: auto;
    padding: 56px 0 42px;
  }

  .alx-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .alx-actions,
  .alx-btn {
    width: 100%;
  }

  .alx-hero__showcase,
  .alx-proof__grid,
  .alx-products,
  .alx-process,
  .alx-gallery {
    grid-template-columns: 1fr;
  }

  .alx-product-window--large {
    grid-column: auto;
  }

  .alx-section {
    padding: 64px 0;
  }

  .alx-proof__item {
    border-right: 1px solid rgba(255, 255, 255, .1);
  }

  .alx-gallery figure,
  .alx-gallery__wide {
    min-height: 320px;
  }
}

.alx-section--campaign {
  background: #fff;
}

.alx-campaign__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.alx-campaign__grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--alx-radius);
  background: var(--alx-mist);
  box-shadow: 0 18px 40px rgba(20, 34, 48, .12);
}

.alx-campaign__grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .alx-campaign__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .alx-campaign__grid {
    grid-template-columns: 1fr;
  }
}

/* Live header/home hardening */
body.home,
body.front-page,
body.alx-homepage,
body.ak-homepage {
  overflow-x: hidden;
}

body.home #content.site-content,
body.front-page #content.site-content,
body.home #content .ast-container,
body.front-page #content .ast-container,
body.home #primary,
body.front-page #primary,
body.home .site-main,
body.front-page .site-main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home #secondary,
body.front-page #secondary,
body.home .entry-header,
body.front-page .entry-header {
  display: none !important;
}

.alx-home {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.home #masthead,
body.front-page #masthead,
body.alx-homepage #masthead,
body.ak-homepage #masthead,
body.home .site-header,
body.front-page .site-header,
body.alx-homepage .site-header,
body.ak-homepage .site-header,
body.home .ast-mobile-header-wrap,
body.front-page .ast-mobile-header-wrap,
body.alx-homepage .ast-mobile-header-wrap,
body.ak-homepage .ast-mobile-header-wrap,
body.home .ast-desktop-header-content,
body.front-page .ast-desktop-header-content,
body.alx-homepage .ast-desktop-header-content,
body.ak-homepage .ast-desktop-header-content {
  display: none !important;
}

.alx-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(6, 45, 37, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.alx-topbar__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.alx-topbar__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.alx-topbar__brand img {
  width: 220px;
  max-width: 28vw;
  height: auto;
}

.alx-topbar__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alx-topbar__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  color: #fff;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.alx-topbar__nav a:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--alx-gold);
}

.alx-topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--alx-gold);
  color: var(--alx-ink);
  font-weight: 900;
  white-space: nowrap;
}

.alx-topbar__cta:hover {
  color: var(--alx-ink);
  filter: brightness(.96);
}

.alx-home .alx-hero {
  margin-top: 0 !important;
}

body.home #masthead,
body.front-page #masthead,
body.home .site-header,
body.front-page .site-header,
body.home .ast-primary-header-bar,
body.front-page .ast-primary-header-bar {
  background: var(--alx-deep) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.home #masthead .ast-container,
body.front-page #masthead .ast-container,
body.home .site-header .col-full,
body.front-page .site-header .col-full {
  width: min(100% - 48px, 1320px) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 16px 0 !important;
}

body.home .site-title a,
body.front-page .site-title a,
body.home .site-description,
body.front-page .site-description {
  color: #fff !important;
}

body.home .site-description,
body.front-page .site-description {
  opacity: .72;
}

body.home .woocommerce-product-search,
body.front-page .woocommerce-product-search,
body.home .site-search,
body.front-page .site-search,
body.home .site-header-cart,
body.front-page .site-header-cart,
body.home .ast-site-header-cart,
body.front-page .ast-site-header-cart,
body.home .ast-header-woo-cart,
body.front-page .ast-header-woo-cart {
  display: none !important;
}

body.home .main-navigation,
body.front-page .main-navigation,
body.home .main-header-menu,
body.front-page .main-header-menu {
  background: transparent !important;
}

body.home .main-header-menu,
body.front-page .main-header-menu {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
}

body.home .main-header-menu .menu-link,
body.front-page .main-header-menu .menu-link,
body.home .main-navigation ul.menu > li > a,
body.front-page .main-navigation ul.menu > li > a {
  color: #fff !important;
  background: rgba(42, 83, 179, .88) !important;
  padding: 14px 18px !important;
  border-radius: 0;
}

body.home .main-header-menu .current-menu-item > .menu-link,
body.front-page .main-header-menu .current-menu-item > .menu-link,
body.home .main-header-menu .menu-link:hover,
body.front-page .main-header-menu .menu-link:hover,
body.home .main-navigation ul.menu > li.current-menu-item > a,
body.front-page .main-navigation ul.menu > li.current-menu-item > a,
body.home .main-navigation ul.menu > li > a:hover,
body.front-page .main-navigation ul.menu > li > a:hover {
  color: var(--alx-gold) !important;
}

@media (max-width: 720px) {
  body.home #masthead .ast-container,
  body.front-page #masthead .ast-container,
  body.home .site-header .col-full,
  body.front-page .site-header .col-full {
    width: min(100% - 28px, 720px) !important;
  }

  body.home .main-header-menu,
  body.front-page .main-header-menu {
    display: none !important;
  }

  .alx-topbar__inner {
    min-height: 72px;
    gap: 16px;
  }

  .alx-topbar__brand img {
    width: 172px;
    max-width: 56vw;
  }

  .alx-topbar__nav {
    display: none;
  }

  .alx-topbar__cta {
    margin-left: auto;
    min-height: 40px;
    padding: 0 14px;
  }
}

.alx-section--contact {
  background: linear-gradient(135deg, #102b18 0%, #285f2a 100%);
  color: #fff;
}

.alx-contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.alx-contact__copy h2,
.alx-contact__copy p {
  color: #fff;
}

.alx-contact__copy p {
  max-width: 660px;
  opacity: .86;
}

.alx-contact__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.alx-contact__card {
  display: grid;
  gap: 8px;
  min-height: 168px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--alx-radius);
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 22px 48px rgba(0,0,0,.18);
}

.alx-contact__card:hover {
  color: #fff;
  background: rgba(255,255,255,.16);
}

.alx-contact__card .dashicons {
  width: 34px;
  height: 34px;
  font-size: 34px;
  color: var(--alx-gold);
}

.alx-contact__card strong {
  font-size: .98rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.alx-contact__card span:last-child {
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .alx-contact,
  .alx-contact__cards {
    grid-template-columns: 1fr;
  }

  .alx-contact__card {
    min-height: 0;
  }
}
