:root {
  color-scheme: light;
  --navy: #0b1528;
  --navy-deep: #080f1d;
  --ink: #142039;
  --muted: #545e70;
  --paper: #f8f6f1;
  --paper-bright: #fffcf7;
  --line: #e0ddd4;
  --gold: #e8cd91;
  --gold-deep: #dcb974;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Roboto, Arial, sans-serif;
  --gutter: clamp(22px, 6.3vw, 108px);
  --header-height: 81px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img, picture { display: block; }
img { max-width: 100%; }
svg { flex: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2 { line-height: .98; letter-spacing: -.022em; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid #4776ab; outline-offset: 4px; }
[id] { scroll-margin-top: calc(var(--header-height) + 16px); }
.container { width: min(calc(100% - 2 * var(--gutter)), 1290px); margin-inline: auto; }
.section { padding-block: clamp(64px, 7vw, 104px); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 40;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 15px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  background: var(--navy);
  color: #f9f7f2;
  border-bottom: 1px solid #a7b3d222;
}
.header-row {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 27px;
}
.brand-logo { display: inline-block; width: fit-content; }
.brand-logo img { width: 166px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3.05vw, 46px); }
.main-nav > a:not(.button) {
  position: relative;
  padding-block: 11px;
  color: #d3d8e2;
  font-size: .9rem;
  white-space: nowrap;
  transition: color .18s ease;
}
.main-nav > a:not(.button):hover,
.main-nav > a:not(.button)[aria-current="page"] { color: var(--gold); }
.main-nav > a:not(.button)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--gold-deep);
}
.header-application { justify-self: end; }
.menu-toggle, .main-nav .mobile-application { display: none; }

.button {
  min-height: 51px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  width: fit-content;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.button-gold { background: var(--gold); color: #141e31; }
.button-gold:hover { background: #f4ddb0; }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: #253855; }
.button-outline { border-color: #e4c68989; color: var(--gold); }
.button-outline:hover { background: #e8cd9114; border-color: var(--gold); }
.header-application { min-height: 43px; gap: 12px; padding: 8px 14px; font-size: .84rem; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible,
.dealership-call :focus-visible { outline-color: var(--gold); }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: #fffdf7;
}
.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 68%;
  background: #041426;
}
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 53% 58%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b1528, #0b1528ed 10%, #0b15284d 33%, #0b152800 57%),
    linear-gradient(0deg, #0b1528c4, #0b152800 25%);
}
.hero-inner { min-height: clamp(510px, 41vw, 650px); display: flex; align-items: center; }
.hero-content { padding-block: 62px 69px; max-width: 650px; }
.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 600 .72rem/1.5 var(--sans);
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #7e5b27;
}
.kicker span { width: 27px; height: 1px; flex: none; background: currentColor; }
.hero .kicker { color: var(--gold); }
.hero h1 { margin: 20px 0 23px; font-size: clamp(76px, 7.8vw, 120px); }
.hero h1 em { display: block; font-weight: 400; color: #efdbb2; }
.hero-description { max-width: 370px; color: #d7deeb; font-size: 1.05rem; }
.hero .button { margin-top: 30px; }

.catalog { background: var(--paper); }
.catalog.section { padding-top: clamp(62px, 6vw, 89px); }
.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 31px;
}
.catalog-head h1, .catalog-head h2 { font-size: clamp(55px, 5.65vw, 88px); }
.catalog-count { margin-top: 9px; color: var(--muted); font-size: .88rem; }
.filters, .gallery-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.filter {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 6px 16px;
  border: 1px solid #dcd7ce;
  border-radius: 30px;
  background: transparent;
  color: #3b4657;
  font-size: .85rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter:hover { border-color: #65738b; color: var(--navy); }
.filter[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { background: var(--paper-bright); border: 1px solid var(--line); border-radius: 5px; }
.product-card > a { display: block; height: 100%; border-radius: inherit; }
.card-visual, .gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 47% 40%, #fafbff 2%, #e6e9f0 55%, #d9deea 100%);
}
.card-visual { aspect-ratio: 1.32; border-radius: 4px 4px 0 0; }
.card-visual img {
  width: 80%;
  height: 62%;
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 13px 10px #0b15283e);
  transition: transform .28s ease;
}
.card-visual--nad-plus img { width: 62%; height: 71%; }
.card-visual--facial-pn img, .card-visual--lip-gloss img { width: 55%; height: 77%; }
.product-card a:hover .card-visual img { transform: scale(1.05) translateY(-2px); }
.card-content {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px clamp(12px, 1.4vw, 22px) 18px;
}
.card-content h3 { font-size: clamp(31px, 2.5vw, 40px); line-height: 1.02; }
.card-content p { margin-top: 6px; color: var(--muted); font-size: .83rem; line-height: 1.35; }
.card-arrow {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #ddd8cc;
  border-radius: 50%;
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.card-arrow svg { width: 17px; height: 17px; }
.product-card a:hover .card-arrow { background: var(--navy); border-color: var(--navy); color: #fff; }

.about { background: #ede9df; }
.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(45px, 9vw, 140px);
}
.about-copy h2 { margin-top: 16px; font-size: clamp(55px, 5.5vw, 82px); }
.about-copy > p:not(.kicker) { max-width: 450px; margin-top: 21px; color: #394456; font-size: 1.02rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1px 0 4px;
  border: 0;
  border-bottom: 1px solid #a58352;
  background: transparent;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color .2s ease, border-color .2s ease;
}
.text-link:hover { color: #775520; border-color: currentColor; }
.about-copy .text-link { margin-top: 24px; }
.about-visual {
  display: grid;
  place-items: center;
  isolation: isolate;
  position: relative;
  min-height: 365px;
  overflow: hidden;
  border-radius: 6px;
  background: radial-gradient(ellipse at 64% 44%, #3d526f, #1e2d4c 49%, #101b33 100%);
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: -1;
  border: 1px solid #c0ad823b;
  border-radius: 2px;
}
.about-visual img { position: absolute; object-fit: contain; filter: drop-shadow(0 21px 17px #0206157a); }
.about-facial { width: 36%; height: 77%; left: 23%; top: 9%; transform: rotate(-9deg); }
.about-nad { width: 39%; height: 52%; left: 43%; top: 33%; transform: rotate(7deg); }

.dealership-call { padding: 58px 0; color: #fffdf5; background: #182641; }
.dealership-call-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dealership-call h2 { font-size: clamp(45px, 4.6vw, 68px); }
.dealership-call p { margin-top: 10px; color: #d5dce8; }

.site-footer { background: var(--navy-deep); color: #c0cadc; padding-top: 47px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 26px; padding-bottom: 33px; }
.footer-logo img { width: 149px; }
.footer-grid p { margin-top: 10px; font-size: .84rem; }
.footer-grid nav, .footer-contact { display: flex; flex-wrap: wrap; gap: 12px 22px; align-content: center; font-size: .88rem; }
.footer-contact { justify-content: flex-end; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 13px;
  padding-block: 17px;
  border-top: 1px solid #78839b47;
  color: #9caac3;
  font-size: .72rem;
  line-height: 1.4;
}
.footer-bottom span:last-child { white-space: nowrap; }

.breadcrumbs { margin-bottom: clamp(29px, 4.5vw, 62px); color: #596478; font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; color: #6b7483; margin: 0 10px; }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-detail.section, .form-page.section, .contact-page.section { padding-top: clamp(27px, 3.5vw, 54px); }
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
  gap: clamp(36px, 6.8vw, 108px);
}
.gallery-stage { aspect-ratio: 1.16; border: 1px solid #d9deeb; border-radius: 6px; }
.gallery-stage img {
  position: absolute;
  width: 80%;
  height: 71%;
  object-fit: contain;
  filter: drop-shadow(0 19px 16px #0b15283e);
}
.gallery-stage--nad-plus img { width: 61%; }
.gallery-stage--facial-pn img, .gallery-stage--lip-gloss img { width: 59%; height: 83%; }
.gallery-stage.show-back img { width: 87%; height: 91%; filter: none; }
.gallery-zoom {
  display: grid;
  place-items: center;
  position: absolute;
  bottom: 13px;
  right: 13px;
  width: 44px;
  height: 44px;
  background: var(--paper-bright);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.gallery-controls { margin-top: 15px; }
.detail-copy { padding-top: 12px; }
.detail-copy h1 { font-size: clamp(65px, 7.4vw, 108px); margin-top: 13px; }
.detail-subtitle { margin-top: 5px; color: #79592b; font-size: 1.05rem; font-weight: 500; }
.detail-description { max-width: 490px; margin: 18px 0 29px; color: #404b5d; }
.spec-title { font-size: 2.1rem; margin-bottom: 13px; }
.spec-list { margin: 0 0 27px; border-top: 1px solid var(--line); }
.spec-list div {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: baseline;
  gap: 9px 19px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: .91rem;
}
.spec-list dt { color: #414e63; }
.spec-list dd { margin: 0; font-weight: 600; }
.lightbox {
  width: min(94vw, 900px);
  max-height: 94dvh;
  border: 1px solid #c4ccda;
  padding: 42px 20px 20px;
  border-radius: 7px;
  background: #edf0f7;
  color: var(--navy);
}
.lightbox::backdrop { background: #060c18e0; }
.lightbox img { max-height: 77dvh; max-width: 100%; margin: auto; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: transparent;
  color: var(--navy);
  border: 0;
  border-radius: 50%;
}
.lightbox-close:hover { background: #dbe1ec; }

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(33px, 6vw, 95px);
}
.form-intro { padding-top: 11px; }
.form-intro h1, .error-page h1 { margin-block: 14px 20px; font-size: clamp(62px, 6.5vw, 98px); }
.form-intro > p:not(.kicker) { max-width: 360px; color: #3b4659; font-size: 1.02rem; }
.form-intro .button { margin-top: 24px; }
.form-contact { margin-top: 24px; font-size: .9rem; }
.form-contact p { margin-bottom: 6px; color: var(--muted); }
.form-panel, .contact-panel {
  padding: clamp(22px, 3.2vw, 42px);
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.form-panel h2, .contact-panel h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 23px; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 17px; }
.form-fields .span-two { grid-column: 1 / -1; }
.form-fields label { display: block; min-width: 0; font-size: .87rem; font-weight: 600; }
.form-fields label span { color: #795825; }
.form-fields input, .form-fields textarea, .application-result textarea {
  width: 100%;
  display: block;
  margin-top: 6px;
  min-height: 44px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #c5c9d0;
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 400;
}
.form-fields textarea, .application-result textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: .87rem; margin: 17px 0 13px; }
.form-fallback p { margin-bottom: 13px; }
.application-result { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.application-result > p:first-child { font-weight: 600; }
.application-actions { display: flex; flex-wrap: wrap; gap: 11px 20px; margin: 9px 0 12px; }
.application-result textarea { min-height: 150px; }
.contact-panel ul { margin: 0; padding: 0; list-style: none; }
.contact-panel li a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 17px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.contact-panel li a:hover { color: #79592b; }
.contact-panel small { display: block; color: var(--muted); margin-bottom: 3px; }

@media (max-width: 1050px) {
  .hero h1 { font-size: clamp(73px, 9.5vw, 101px); }
  .product-grid { gap: 15px; }
  .card-arrow { width: 30px; height: 30px; }
  .card-arrow svg { width: 15px; height: 15px; }
}

@media (max-width: 860px) {
  :root { --header-height: 67px; }
  .header-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0; }
  .brand-logo img { width: 145px; }
  .header-application { display: none; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -7px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--gold);
  }
  .menu-toggle:hover { background: #e8cd9114; }
  .main-nav { flex-basis: 100%; padding-bottom: 13px; gap: 14px 22px; flex-wrap: wrap; }
  .menu-toggle:not([hidden]) + .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: 10px var(--gutter) 21px;
    background: var(--navy);
    border-bottom: 1px solid #a7b3d244;
  }
  .menu-toggle:not([hidden]) + .main-nav.is-open { display: flex; flex-direction: column; align-items: start; gap: 4px; }
  .main-nav .mobile-application { display: inline-flex; margin-top: 4px; min-height: 43px; }
  .hero h1 { font-size: clamp(69px, 10vw, 89px); }
  .hero-inner { min-height: 500px; }
  .hero-media { width: 72%; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .about-grid { gap: 30px; }
  .about-visual { min-height: 320px; }
}

@media (max-width: 700px) {
  .hero { padding-top: 10px; }
  .hero-inner { min-height: 0; }
  .hero-content { width: 100%; padding-block: 35px 0; }
  .hero h1 { margin-block: 13px 15px; font-size: clamp(63px, 11.5vw, 82px); }
  .hero-description { font-size: .95rem; }
  .hero .button { margin-top: 20px; }
  .hero-media { position: relative; width: 100%; height: clamp(230px, 62vw, 375px); margin-top: -7px; }
  .hero { display: flex; flex-direction: column; }
  .hero-media { order: 2; }
  .hero-media img { object-position: 50% 57%; }
  .hero-media::after {
    background:
      linear-gradient(180deg, #0b1528, #0b15281a 27%, #0b152800 49%),
      linear-gradient(0deg, #0b152857, #0b152800 18%);
  }
  .catalog-head { display: block; margin-bottom: 23px; }
  .catalog-count { margin-top: 6px; }
  .filters { margin-top: 17px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-content { min-height: 92px; }
  .about-grid, .detail-grid, .form-grid { grid-template-columns: 1fr; }
  .detail-copy { padding-top: 0; }
  .detail-grid { gap: 31px; }
  .about-visual { min-height: 290px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-contact { justify-content: flex-start; }
  .dealership-call-row { align-items: start; flex-direction: column; gap: 21px; }
}

@media (max-width: 390px) {
  :root { --gutter: 19px; }
  .hero h1 { font-size: clamp(51px, 13.5vw, 63px); }
  .filter { font-size: .8rem; padding-inline: 12px; min-height: 39px; }
  .card-content { min-height: 85px; }
  .card-content p { font-size: .76rem; }
  .card-arrow { width: 26px; height: 26px; }
  .card-arrow svg { width: 13px; height: 13px; }
  .form-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
