:root {
  --navy: #13294b;
  --gold: #e8b466;
  --gold-hover: #f2c989;
  --muted: #536174;
  --line: #dce1e7;
  --gutter: clamp(20px, 4vw, 64px);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid #9b640e;
  outline-offset: 4px;
}

.site-header :focus-visible { outline-color: var(--gold); }

.page-width {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 12px;
  background: white;
}

.site-header {
  position: relative;
  z-index: 1;
  color: #fff;
  background: var(--navy);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}

.brand { flex: none; margin-left: -8px; }
.brand img { width: 188px; height: auto; }

.header-menu {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(19px, 2.35vw, 36px);
}

.main-nav a {
  position: relative;
  padding-block: 12px;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current] { color: var(--gold); }

.main-nav a[aria-current]::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
}

.header-actions { display: flex; align-items: center; gap: 19px; }
.language { position: relative; }

.language summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: .85rem;
  font-weight: 600;
  list-style: none;
}

.language summary::-webkit-details-marker { display: none; }

.language svg,
.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language .chevron { width: 14px; height: 14px; }
.language[open] .chevron { transform: rotate(180deg); }

.language-options {
  position: absolute;
  top: 100%;
  right: 0;
  width: 164px;
  margin: 6px 0 0;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 28px #13294b24;
  list-style: none;
}

.language-options li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 2px;
  font-size: .875rem;
}

.language-options li + li { border-top: 1px solid var(--line); }
.language-options [aria-current] { font-weight: 700; }
.language-options small { color: var(--muted); }
.current-language { color: #875a15; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .925rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease;
}

.button-gold { color: var(--navy); background: var(--gold); }
.button-gold:hover { background: var(--gold-hover); }
.header-quote { min-height: 42px; padding-inline: 17px; font-size: .85rem; }
.button-outline { border-color: #a6b1bf; background: #fff; }
.button-outline:hover { border-color: var(--navy); background: #f2f5f8; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  min-height: clamp(510px, 41vw, 720px);
  overflow: hidden;
  background: #f7e9dd;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(50%, 760px);
  margin-block: clamp(56px, 7vw, 100px) 16px;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 17px;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .145em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 27px;
  height: 2px;
  flex: none;
  background: var(--gold);
  content: "";
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.45vw, 4.25rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.hero-description {
  max-width: 660px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-actions .button span { font-size: 1.1em; }

.hero-artwork {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  object-position: center bottom;
  mask-image: linear-gradient(to bottom, transparent, black 16%);
}

.hero-controls {
  position: absolute;
  z-index: 2;
  inset-inline-start: max(var(--gutter), calc((100% - 1280px) / 2));
  inset-block-end: clamp(10px, 1.5vw, 24px);
  display: flex;
  align-items: center;
  gap: 18px;
  padding-inline: 13px;
}

.slide-count,
.slide-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-count {
  color: var(--muted);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}

.slide-count strong { color: var(--navy); font-size: .9rem; }
.slide-count span { color: #748195; }

.slide-indicators button {
  width: 28px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
}

.slide-indicators button::before {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #b6c0cc;
  content: "";
}

.slide-indicators button:hover::before { background: var(--muted); }
.slide-indicators button[aria-current]::before { background: #ad731d; }

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid #ccd4de;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
}

.icon-button:hover { border-color: var(--navy); background: #f2f5f8; }

.product-categories,
.why-lesta,
.work-process {
  padding-block: clamp(56px, 6.5vw, 96px);
}

.product-categories,
.work-process { background: #faf8f4; }

.section-intro {
  margin-bottom: clamp(26px, 3.2vw, 44px);
  text-align: center;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.category-grid {
  --card-gap: clamp(16px, 2vw, 28px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--card-gap);
}

.category-card {
  flex: 0 0 calc((100% - 2 * var(--card-gap)) / 3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7e0d6;
  border-radius: 10px;
  background: #fff;
}

.category-card-link { display: flex; flex-direction: column; height: 100%; }
.category-card-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.category-card:focus-within { outline: 2px solid #9b640e; outline-offset: 4px; }
.category-card-link:focus-visible { outline: none; }

.category-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #f7eee2;
}

.category-copy {
  padding: 18px clamp(16px, 2vw, 26px) 22px;
}

.category-copy h3 {
  margin: 0;
  font-size: clamp(1.16rem, 1.65vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.category-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e7e0d6;
  border-radius: 10px;
  background: #e7e0d6;
  list-style: none;
}

.advantage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(20px, 2.4vw, 34px);
  background: #fff;
}

.advantage img {
  padding: 8px;
  border-radius: 8px;
  background: #faf5ed;
}

.advantage h3,
.work-step h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.3;
}

.advantage p,
.work-step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

.work-steps {
  --step-size: 46px;
  --step-gap: clamp(18px, 2.3vw, 30px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--step-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
}

.work-step:not(:last-child)::after {
  position: absolute;
  inset-block-start: calc(var(--step-size) / 2);
  inset-inline: calc(var(--step-size) + 8px) calc(8px - var(--step-gap));
  border-block-start: 1px solid #c49f63;
  content: "";
}

.work-step-number {
  display: grid;
  width: var(--step-size);
  height: var(--step-size);
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: var(--navy);
  font-size: .9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1020px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 72px;
    gap: 0 16px;
    min-height: 72px;
  }
  .site-header .brand { min-width: 0; margin-left: 0; }
  .site-header .brand img { width: 174px; max-width: 100%; }
  .menu-toggle { flex: none; color: white; border-color: #ffffff50; background: transparent; }
  .menu-toggle:hover { border-color: var(--gold); background: #ffffff15; }
  .site-header .header-menu {
    grid-column: 1 / -1;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 0 24px;
    border-top: 1px solid #ffffff24;
  }
  .site-header[data-menu="closed"] .header-menu { display: none; }
  .site-header .main-nav { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-header .main-nav a { min-height: 48px; padding: 14px 16px; border-radius: 5px; }
  .site-header .main-nav a:hover,
  .site-header .main-nav a[aria-current] { background: #ffffff0d; }
  .site-header .header-menu .main-nav a[aria-current]::after {
    inset: 14px auto 14px 0;
    width: 3px;
    height: auto;
    border-radius: 2px;
  }
  .site-header .header-actions {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px 16px;
    padding-top: 16px;
    border-top: 1px solid #ffffff24;
  }
  .site-header .header-actions .header-quote { min-height: 44px; }
  .site-header .language-options { position: static; margin-top: 8px; }
  .work-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-step:nth-child(3)::after { content: none; }
}

@media (max-width: 900px) {
  .category-card { flex-basis: calc((100% - var(--card-gap)) / 2); }
  .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hero { min-height: clamp(510px, 91vw, 570px); }
  .hero-copy {
    align-self: start;
    width: min(460px, calc(100% - var(--gutter) * 2));
    margin-block: clamp(88px, 19vw, 116px) 148px;
  }
  .eyebrow { margin-bottom: 12px; font-size: .68rem; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.1rem); }
  .hero-description { margin-top: 13px; }
  .hero-actions { gap: 10px; margin-top: 20px; }
  .hero-actions .button { min-height: 46px; padding-inline: 13px; font-size: .875rem; }
  .hero-controls { gap: 12px; padding-inline: 10px; }
  .slide-indicators { gap: 5px; }
  .slide-indicators button { width: 24px; }
}

@media (max-width: 540px) {
  .category-card { flex-basis: 100%; }
  .advantage-grid { grid-template-columns: minmax(0, 1fr); }
  .work-steps { grid-template-columns: minmax(0, 1fr); }
  .work-step { grid-template-columns: var(--step-size) minmax(0, 1fr); }
  .work-step:not(:last-child)::after {
    inset-block: calc(var(--step-size) + 5px) calc(5px - var(--step-gap));
    inset-inline: calc(var(--step-size) / 2) auto;
    border-block-start: 0;
    border-inline-start: 1px solid #c49f63;
    content: "";
  }
}

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

#featured-products .category-card img {
  display: block;
  padding: clamp(10px, 1.6vw, 20px);
  object-fit: contain;
  background: #fff;
}

.about-snippet {
  padding-block: clamp(56px, 6.5vw, 96px);
  background: #f2f5f8;
}

.about-summary {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.about-summary :is(h1, h2) {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.about-summary p {
  margin: 18px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.bottom-quote {
  padding-block: clamp(38px, 6vw, 76px);
  background: var(--navy);
  color: #fff;
}

.bottom-quote-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 36px;
}

.bottom-quote h2 {
  flex: 1 1 30rem;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -.03em;
}

.bottom-quote .button:focus-visible { outline-color: #fff; }

.site-footer {
  border-block-start: 1px solid #ffffff38;
  color: #c6d3e4;
  background: var(--navy);
  font-size: .925rem;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(0, 1fr);
  gap: 24px clamp(24px, 5vw, 72px);
  padding-block: clamp(32px, 4vw, 56px);
}

.footer-brand { display: inline-block; }

.footer-description {
  max-width: 360px;
  margin: 18px 0 0;
  font-size: .875rem;
  line-height: 1.75;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 7px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-list {
  display: grid;
  gap: 4px;
}

.footer-contact-link {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 40px;
}

.footer-contact-link img { width: 20px; height: 20px; }
.footer-contact-link span { overflow-wrap: anywhere; }

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #ffffff38;
  border-radius: 8px;
}

.footer-social-links img { width: 20px; height: 20px; }
.footer-social-links a:hover { border-color: var(--gold); background: #ffffff0d; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  padding-block: 16px 20px;
  border-block-start: 1px solid #ffffff38;
}

.footer-bottom small { font-size: inherit; }
.site-footer a:hover { color: var(--gold); }
.site-footer :focus-visible { outline-color: var(--gold); }

.policy-page { padding-block: clamp(36px, 6vw, 72px); }
.policy-page h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.policy-page p { margin: 14px 0 24px; color: var(--muted); line-height: 1.6; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-wrap { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
