/* =========================================================
   Kapoor Optico — main stylesheet
   ========================================================= */

:root {
  --ink: #0f1b2d;
  --ink-2: #1a2a42;
  --gold: #c9a45c;
  --gold-dark: #a98540;
  --cream: #f7f3ec;
  --paper: #ffffff;
  --text: #2b3445;
  --muted: #6b7486;
  --line: #e6e1d7;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(15, 27, 45, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; }
p { margin: 0 0 1rem; }
svg { width: 1em; height: 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d8b675; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.8); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__item svg { fill: var(--gold); }
.topbar a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(15,27,45,.2); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.logo { display: inline-flex; align-items: center; gap: .7rem; }
.logo__mark { color: var(--ink); display: inline-flex; }
.logo__mark svg { width: 50px; height: 44px; fill: none; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.logo__mark .k { stroke: currentColor; stroke-width: 6; }
.logo__mark .k--arm { stroke-width: 4; }
.logo__mark .ray { stroke: var(--gold); stroke-width: 1.6; }
.logo__mark .o { stroke: var(--gold); stroke-width: 4.5; }
.logo__mark .glint { stroke: var(--gold); stroke-width: 2.4; }
.logo--light .logo__mark { color: #fff; }
.logo__text { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.logo__text em { font-style: italic; color: var(--gold); font-weight: 600; }
.logo--light .logo__text { color: #fff; }
.logo__words { display: flex; flex-direction: column; line-height: 1.1; }
.logo__since { font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: #000; margin-top: .2rem; }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav__link { font-size: .92rem; font-weight: 600; color: var(--ink); position: relative; padding: .3rem 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: .7rem 1.3rem; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(88vh, 780px); min-height: 520px; overflow: hidden; background: var(--ink); }
.hero__track { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: var(--img) center / cover no-repeat;
  transform: scale(1.12);
  transition: transform 7s linear;
}
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,27,45,.88) 0%, rgba(15,27,45,.55) 45%, rgba(15,27,45,.1) 100%);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide.is-active::before { transform: scale(1); }

.slide__content { position: relative; z-index: 2; color: #fff; max-width: 1200px; }
.slide__content > * { max-width: 600px; opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: .45s; }

.slide__title { font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 600; color: #fff; margin-bottom: 1.2rem; }
.slide__title em { color: var(--gold); }
.slide__text { font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.slide__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__arrow {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background .3s, border-color .3s;
}
.hero__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

.hero__dots { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: .6rem; }
.hero__dot { width: 12px; height: 12px; border-radius: 999px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: width .4s var(--ease), background .4s; }
.hero__dot.is-active { width: 36px; background: var(--gold); }

.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); z-index: 5; }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.hero__progress span.is-running { animation: progress var(--dur, 6s) linear forwards; }
@keyframes progress { to { width: 100%; } }

/* ---------- Features ---------- */
.features { background: var(--cream); border-bottom: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; align-items: center; gap: 1rem; padding: 2rem 1.5rem; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px -8px rgba(15,27,45,.25); }
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.feature p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--dark { background: var(--ink); color: rgba(255,255,255,.75); }
.section--dark .section__title { color: #fff; }
.section--cream { background: var(--cream); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__title { font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 600; margin-bottom: 1rem; }
.section__title em { color: var(--gold); }
.section__lead { color: var(--muted); font-size: 1.05rem; }
.section--dark .section__lead { color: rgba(255,255,255,.6); }

/* ---------- Collections ---------- */
.collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1.4rem;
}
.collection { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; box-shadow: var(--shadow); }
.collection--tall { grid-row: span 2; }
.collection--wide { grid-column: span 2; }
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.collection::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15,27,45,.85) 0%, rgba(15,27,45,.1) 60%); transition: background .5s; }
.collection:hover img { transform: scale(1.08); }
.collection__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem; color: #fff; }
.collection__tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: .3rem .7rem; border-radius: 999px; margin-bottom: .8rem; }
.collection h3 { font-family: var(--serif); font-size: 2rem; color: #fff; font-weight: 600; }
.collection p { margin: .2rem 0 0; color: rgba(255,255,255,.8); font-size: .92rem; }
.collection__link { display: inline-block; margin-top: .8rem; font-weight: 600; font-size: .88rem; color: var(--gold); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .4s; }
.collection:hover .collection__link { max-height: 30px; opacity: 1; }

/* ---------- Shop sections (Sunglasses / Frames / New Arrivals) ---------- */
.section__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.section__bar .section__title { margin-bottom: 0; }

.shop { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.4rem; }
.shop--reverse .shop__feature { order: 2; }
.shop__feature { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; min-height: 420px; box-shadow: var(--shadow); }
.shop__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.shop__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15,27,45,.9) 0%, rgba(15,27,45,0) 55%); }
.shop__feature:hover img { transform: scale(1.06); }
.shop__feature-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; color: rgba(255,255,255,.85); }
.shop__feature-body h3 { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: #fff; margin-bottom: .4rem; }
.shop__feature-body p { margin: 0; max-width: 380px; }

.products { display: grid; gap: 1.4rem; }
.products--2 { grid-template-columns: repeat(2, 1fr); }
.products--4 { grid-template-columns: repeat(4, 1fr); }

.product { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f1efea; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__media img { transform: scale(1.08); }
.product__badge { position: absolute; top: .8rem; left: .8rem; z-index: 1; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; padding: .3rem .65rem; border-radius: 999px; }
.product__badge--new { background: var(--gold); color: var(--ink); }
.product__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 .25rem; }
.product h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-bottom: .7rem; }
.product__cta { margin-top: auto; align-self: flex-start; font-size: .85rem; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: color .3s; }
.product__cta:hover { color: var(--gold-dark); }

/* ---------- Brands ---------- */
.marquee { overflow: hidden; border-block: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; margin-bottom: 3.5rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: 1.9rem; font-style: italic; color: rgba(255,255,255,.35); white-space: nowrap; display: inline-flex; align-items: center; gap: 3.5rem; }
.marquee__track span::after { content: "\2726"; font-style: normal; font-size: .9rem; color: var(--gold); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Equal-size photo cards; an incomplete last row is centred. */
.brands { --cols: 6; --gap: 1.1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.brand {
  position: relative;
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  aspect-ratio: 3 / 4;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
/* Light "display shelf": product shots of any size are centred and contained */
.brand__media {
  position: relative; flex: 1 1 auto; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem .9rem;
  background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #f3f1ec 70%, #e9e5dc 100%);
  overflow: hidden;
}
.brand__photo {
  display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  mix-blend-mode: multiply; /* melts white photo backgrounds into the panel */
  filter: brightness(1.07) contrast(1.06); /* lifts light-grey backdrops to white */
  transition: transform 1s var(--ease);
}
/* Photos with their own background (dark studio / scene) fill the panel */
.brand--cover .brand__media { padding: 0; background: #000; }
.brand--cover .brand__photo { object-fit: cover; mix-blend-mode: normal; filter: none; }
.brand:hover { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--gold), 0 22px 40px -18px rgba(0,0,0,.7); }
.brand:hover .brand__photo { transform: scale(1.08); }

.brand__body {
  flex: 0 0 auto; min-height: 38%;
  padding: 1rem 1rem 1.1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .45rem;
  background: linear-gradient(to bottom, var(--ink-2), rgba(15,27,45,1));
  border-top: 1px solid rgba(201,164,92,.35);
}
.brand__name { color: #fff; line-height: 1.1; }
.brand__tag {
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  padding-top: .45rem; border-top: 1px solid rgba(201,164,92,.45);
}

/* Wordmark styles (used until real logos are added) */
.wm-sans   { font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }
.wm-serif  { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; }
.wm-italic { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.5rem; }
.wm-wide   { font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .3em; text-transform: uppercase; }
.brand__sub { display: block; font-family: var(--sans); font-size: .6rem; font-style: normal; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: .3rem; }

/* ---------- Lenses ---------- */
#lenses .section__lead { margin: .9rem 0 0; max-width: 560px; }
.lens-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: -1rem 0 2rem; }
.lens-filter {
  font: 600 .82rem var(--sans); letter-spacing: .04em;
  padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .3s, color .3s, border-color .3s;
}
.lens-filter:hover { border-color: var(--gold); color: #fff; }
.lens-filter.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Masonry: posters keep their own shape so no printed text is cropped */
.lenses { column-count: 4; column-gap: 1.1rem; }
.lens {
  display: block; width: 100%; margin: 0 0 1.1rem; padding: 0;
  break-inside: avoid; text-align: left; font: inherit; color: inherit; cursor: zoom-in;
  border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .8s var(--ease);
}
.lens[hidden] { display: none; }
.lens:hover, .lens:focus-visible { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--gold), 0 22px 40px -18px rgba(0,0,0,.7); outline: none; }
.lens__media { display: block; overflow: hidden; background: #fff; }
.lens__media img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.lens__media--crop img { height: 100%; object-fit: cover; object-position: top; }
.lens:hover .lens__media img { transform: scale(1.05); }
.lens__body { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1rem 1rem; border-top: 1px solid rgba(201,164,92,.35); }
.lens__tag { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lens__brand { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: .25rem; }
.lens__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; line-height: 1.15; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(10,18,30,.92); cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(900px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; margin-inline: auto; border-radius: 10px; cursor: default; }
.lightbox figcaption { margin-top: .9rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent;
  color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Promo ---------- */
.promo { position: relative; padding: clamp(5rem, 12vw, 9rem) 0; color: #fff; text-align: center; isolation: isolate; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover fixed; }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15,27,45,.72); }
.promo__inner { max-width: 760px; }
.promo h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff; font-weight: 600; margin-bottom: 1rem; }
.promo h2 em { color: var(--gold); }
.promo p { color: rgba(255,255,255,.82); font-size: 1.08rem; margin-bottom: 2rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service {
  position: relative; padding: 2.4rem 2rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.service::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__num { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--gold); opacity: .5; line-height: 1; display: block; margin-bottom: 1rem; }
.service h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.service p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; padding: 0 3rem 3rem 0; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.about__img--main { width: 100%; aspect-ratio: 4 / 5; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 6px solid var(--cream); }
.about__badge { position: absolute; top: 2rem; left: -1.2rem; background: var(--ink); color: #fff; padding: 1.1rem 1.4rem; border-radius: var(--radius); display: flex; align-items: center; gap: .8rem; box-shadow: var(--shadow); }
.about__badge strong { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.about__badge span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.about__text p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.checklist li { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.checklist li::before { content: "\2713"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: .75rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(.3); transition: filter .5s, transform .5s var(--ease); }
.gallery img:hover { filter: none; transform: scale(1.03); position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; }
.contact__cards { display: grid; gap: 1.2rem; align-content: start; }
.contact__card { display: flex; gap: 1.2rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .3s, border-color .3s; }
.contact__card:hover { box-shadow: var(--shadow); border-color: transparent; }
.contact__icon { flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.7; }
.contact__card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.contact__card p { margin: 0; color: var(--muted); }
.contact__card p a:hover { color: var(--gold-dark); }
.contact__link { display: inline-block; margin-top: .6rem; font-weight: 600; color: var(--gold-dark); font-size: .9rem; }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding-top: 4.5rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__about { margin-top: 1rem; max-width: 280px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; font-size: .8rem; }
.footer__bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(37,211,102,.7);
  animation: pulse 2.4s infinite;
}
.float-wa svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.to-top {
  position: fixed; right: 30px; bottom: 94px; z-index: 60;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--gold); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1rem 16px 1.5rem;
    box-shadow: 0 20px 30px -15px rgba(15,27,45,.25);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
}

@media (max-width: 1024px) {
  .products--4 { grid-template-columns: repeat(2, 1fr); }
  .brands { --cols: 3; }
  .lenses { column-count: 3; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .hero__arrow { display: none; }
  .slide::after { background: linear-gradient(0deg, rgba(15,27,45,.9) 10%, rgba(15,27,45,.45) 100%); }

  .collections { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .collection--tall { grid-row: span 1; }
  .collection--wide { grid-column: span 1; }

  .shop { grid-template-columns: 1fr; }
  .shop--reverse .shop__feature { order: 0; }
  .shop__feature { min-height: 340px; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .about__img--main { aspect-ratio: 4 / 3; }
  .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery img:nth-child(n+4) { display: none; }
  .promo::before { background-attachment: scroll; }
}

@media (max-width: 560px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__item:first-child { display: none; }
  .header__inner { height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .logo__text { font-size: 1.45rem; }
  .logo__mark svg { width: 42px; height: 37px; }

  .features__grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
  .feature:last-child { border-bottom: 0; }

  .collections { grid-template-columns: 1fr; }
  .collection--wide { grid-column: span 1; }
  .services { grid-template-columns: 1fr; }
  .products { gap: .8rem; }
  .product h3 { font-size: 1.2rem; }
  .product__body { padding: .9rem; }
  .section__bar .btn { width: 100%; }
  .brands { --cols: 2; --gap: .8rem; }
  .lenses { column-count: 2; column-gap: .8rem; }
  .lens { margin-bottom: .8rem; }
  .lens__name { font-size: 1.1rem; }
  .lens__body { padding: .7rem .8rem .8rem; }
  .checklist { grid-template-columns: 1fr; }
  .about__media { padding: 0 1.5rem 1.5rem 0; }
  .about__badge { left: .8rem; top: .8rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .slide__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Inner page banner ---------- */
.page-hero { position: relative; padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 5.5rem); color: #fff; isolation: isolate; overflow: hidden; background: var(--ink); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,27,45,.9) 0%, rgba(15,27,45,.6) 100%); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 600; color: #fff; margin-bottom: .6rem; }
.page-hero h1 em { color: var(--gold); }
.page-hero p { max-width: 560px; color: rgba(255,255,255,.82); font-size: 1.05rem; margin: 0; }
.crumbs { display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--gold); }
