/* =========================================================
   Anteojería Luvian — estilos
   Brand palette and type pulled from Luvian's own posts:
   navy slate sans + dusty-rose / grey italic serif on warm white,
   charcoal + wood from the store interior.
   ========================================================= */

:root {
  /* Color tokens */
  --ink: #23252f;          /* primary text */
  --ink-soft: #545866;     /* secondary text (7:1 on paper) */
  --navy: #4f5884;         /* brand navy from the posts */
  --navy-deep: #3c4468;    /* hover */
  --rose: #b8877d;         /* dusty rose — large display type only */
  --rose-deep: #8b5c52;    /* rose for small text (4.9:1 on paper) */
  --paper: #f7f5f2;        /* warm off-white page */
  --surface: #ffffff;
  --stone: #ece8e2;        /* store concrete / campaign beige */
  --mist: #e7e6ee;         /* studio backdrop lavender-grey */
  --charcoal: #2b2b2f;     /* storefront */
  --line: #d9d5ce;
  --on-dark: #f7f5f2;
  --on-dark-soft: #c9c6cf;

  /* Type */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", "Didot", Georgia, serif;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-pill: 999px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(35, 37, 47, .06), 0 12px 32px -12px rgba(35, 37, 47, .18);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 180ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
address { font-style: normal; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border-radius: var(--radius-pill);
  font: 500 15px/1.2 var(--font-sans);
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--on-dark); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; }

.pill {
  display: inline-block; padding: 6px 22px;
  border: 1.5px solid var(--navy); border-radius: var(--radius-pill);
  color: var(--navy); font-weight: 600; font-size: clamp(14px, 1.6vw, 20px);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(4px);
}

.chip {
  min-height: 44px; padding: 8px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink);
  font: 500 15px/1 var(--font-sans);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--navy); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
  min-height: 24px;
}
.link-arrow::after { content: "→"; transition: transform var(--dur-fast) ease; }
.link-arrow:hover::after { transform: translateX(4px); }

.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rose-deep); margin-bottom: var(--s-4);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 242, .88);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, background-color var(--dur) ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-5); }
.brand { display: inline-flex; padding: 6px 0; }
.brand img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: var(--s-6); }
.main-nav ul { display: flex; gap: var(--s-6); }
.main-nav ul a {
  position: relative; display: inline-block; padding: 10px 0;
  font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.main-nav ul a:hover::after, .main-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 10px 22px; font-size: 14px; }

.menu-toggle {
  display: none; width: 48px; height: 48px; margin-right: -8px;
  border: 0; background: transparent; cursor: pointer; border-radius: 50%;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease;
}
.menu-bars { position: relative; margin: auto; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; }
.menu-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 104px);
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 78%);
  text-align: center;
  overflow: hidden;
}
.hero-tags {
  display: flex; justify-content: space-between;
  max-width: 1000px; margin: 0 auto clamp(24px, 4vw, 48px);
  font-size: clamp(13px, 1.4vw, 16px); color: var(--ink-soft); font-weight: 300;
}
.hero-title {
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.hero-title .serif {
  display: block;
  color: var(--ink-soft);
  font-size: 1.12em;
  line-height: 1.05;
  margin: .02em 0 .04em;
}
.hero-lead {
  max-width: 34em; margin: clamp(20px, 3vw, 32px) auto 0;
  font-size: clamp(16px, 1.6vw, 18px); color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-6); }

/* Two photo "lenses" joined by a bridge — echoes the logo and the store's round mirrors */
.specs {
  --lens: clamp(136px, 30vw, 380px);
  --rim: clamp(5px, .9vw, 11px);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-top: clamp(40px, 6vw, 72px);
}
.lens {
  position: relative;
  width: var(--lens); aspect-ratio: 1;
  border-radius: 50%;
  border: var(--rim) solid var(--ink);
  background: var(--mist);
  box-shadow: var(--shadow);
  flex: none;
}
.lens img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* stem on the left lens (the "p" of the logo) */
.lens-left::before {
  content: ""; position: absolute;
  left: calc(var(--rim) * -1); top: 50%;
  width: var(--rim); height: calc(var(--lens) * .52);
  background: var(--ink);
}
/* temple tab on the right lens */
.lens-right::after {
  content: ""; position: absolute;
  right: calc(var(--lens) * -.09 - var(--rim)); top: calc(50% - var(--rim) * .5 - var(--rim));
  width: calc(var(--lens) * .09); height: calc(var(--rim) * 1.8);
  background: var(--ink);
}
.bridge { width: clamp(20px, 3.4vw, 44px); height: calc(var(--rim) * 1.6); background: var(--ink); flex: none; }
.pill-float { position: absolute; z-index: 2; }
.pill-a { left: calc(50% - var(--lens) - 5%); top: 8%; transform: rotate(-4deg); }
.pill-b { right: calc(50% - var(--lens) - 3%); bottom: 10%; transform: rotate(3deg); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  background: var(--charcoal); color: var(--on-dark);
  overflow: hidden; padding: 18px 0;
}
.marquee-toggle {
  position: absolute; z-index: 2; right: 8px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: var(--charcoal); color: var(--on-dark); cursor: pointer;
  box-shadow: -16px 0 16px var(--charcoal);
}
.marquee-toggle:hover { border-color: var(--on-dark); }
.marquee-toggle svg { width: 16px; height: 16px; }
.marquee-toggle .i-play, .marquee-toggle[aria-pressed="true"] .i-pause { display: none; }
.marquee-toggle[aria-pressed="true"] .i-play { display: block; }
.marquee.paused .marquee-track { animation-play-state: paused; }
.marquee-track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  animation: marquee 38s linear infinite;
  font-size: clamp(15px, 1.6vw, 19px); font-weight: 300; letter-spacing: .04em; white-space: nowrap;
}
.marquee-track img { height: 16px; width: auto; opacity: .85; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-5); max-width: none; flex-wrap: wrap; }
.section h2 { font-size: clamp(34px, 5.4vw, 64px); color: var(--ink); }
.section h2 .serif { color: var(--rose); }
.section-lead { margin-top: var(--s-4); color: var(--ink-soft); font-size: 17px; }

/* ---------- Colección ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-bottom: clamp(32px, 4vw, 48px); }
.frames {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 32px) clamp(12px, 2vw, 28px);
}
.frame { transition: opacity var(--dur) ease; }
.frame[hidden] { display: none; }
.frames-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: var(--s-7) 0; }
.frame-img {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--mist);
}
.frame-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.frame:hover .frame-img img { transform: scale(1.04); }
.frame figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); padding: var(--s-3) 2px 0; }
.frame-name { font-weight: 500; font-size: 15px; }
.frame-tag { font-size: 13px; color: var(--rose-deep); white-space: nowrap; }
.frame.enter { animation: frameIn var(--dur) var(--ease-out) both; }
@keyframes frameIn { from { opacity: 0; transform: translateY(8px); } }
.collection-note { margin-top: clamp(32px, 4vw, 48px); text-align: center; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; align-items: center; }

/* ---------- Servicios ---------- */
.services { background: var(--surface); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.service {
  position: relative; padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: 20px; background: var(--paper);
  transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}
.service:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-num { position: absolute; top: 28px; right: 32px; font-family: var(--font-serif); font-style: italic; font-size: 28px; color: var(--rose-deep); }
.service-icon { width: 44px; height: 44px; color: var(--navy); margin-bottom: var(--s-6); }
.service h3 { font-size: 22px; margin-bottom: var(--s-3); }
.service p { color: var(--ink-soft); font-size: 15.5px; }

.steps {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: 220px 1fr; gap: var(--s-6); align-items: start;
  padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line);
}
.steps-title { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3vw, 36px); color: var(--navy); }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); counter-reset: none; }
.step-list li { display: flex; gap: var(--s-4); }
.step-n {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--navy); color: var(--navy); font-weight: 600;
}
.step-list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.step-list span:not(.step-n) { display: block; color: var(--ink-soft); font-size: 15px; }

/* ---------- Lookbook ---------- */
.lookbook { background: var(--mist); overflow: hidden; }
.lookbook-inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.lookbook-copy p:not(.eyebrow) { color: var(--ink-soft); margin: var(--s-5) 0 var(--s-6); max-width: 30em; font-size: 17px; }
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage figure { position: absolute; overflow: hidden; border-radius: 6px; box-shadow: var(--shadow); background: var(--stone); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.c-1 { width: 58%; aspect-ratio: 4/5; top: 0; right: 0; }
.c-1 img { object-position: 50% 30%; }
.c-2 { width: 42%; aspect-ratio: 3/4; top: 22%; left: 0; z-index: 2; }
.c-2 img { object-position: 50% 25%; }
.c-3 { width: 44%; aspect-ratio: 4/5; bottom: 0; left: 34%; z-index: 3; }
.c-3 img { object-position: 50% 40%; }

/* ---------- Nosotros ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; margin-top: var(--s-5); }
.values { margin-top: var(--s-7); display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 150px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.values strong { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 24px; color: var(--navy); line-height: 1.2; }
.values span { color: var(--ink-soft); }

/* ---------- Social posts ---------- */
.social { background: var(--surface); }
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.posts a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.posts img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.posts a:hover img { transform: scale(1.03); }

/* ---------- Visítanos ---------- */
.visit-inner {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: start;
}
.visit-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); grid-row: span 2; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.open-status { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-5); padding: 6px 16px 6px 12px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.open-status .dot { width: 10px; height: 10px; border-radius: 50%; background: #9a9aa3; }
.open-status.is-open .dot { background: #2f8a55; box-shadow: 0 0 0 4px rgba(47, 138, 85, .16); }
.info-list { margin: var(--s-6) 0 0; display: grid; gap: var(--s-5); }
.info-list > div { display: grid; grid-template-columns: 150px 1fr; gap: var(--s-4); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.info-list dt { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.info-list dt .icon { color: var(--navy); margin-top: 2px; }
.info-list dd { margin: 0; color: var(--ink-soft); }
.info-list dd a:not(.link-arrow) { color: var(--navy); font-weight: 500; text-underline-offset: 3px; }
.info-list address { margin-bottom: var(--s-3); }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td { text-align: left; vertical-align: top; padding: 2px 0 8px; font-weight: 400; }
.hours th { padding-right: var(--s-4); }
.hours tr.today th, .hours tr.today td { color: var(--ink); font-weight: 600; }
.visit-actions { margin-top: var(--s-6); }
.map { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--stone); aspect-ratio: 21 / 8; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent {
  height: 100%; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-4);
  padding: var(--s-6) var(--s-5); text-align: center; color: var(--ink-soft);
}
.map-consent > .icon { width: 32px; height: 32px; color: var(--navy); }
.map-consent p { max-width: 44em; font-size: 15px; }
.map-consent p a { color: var(--navy); text-underline-offset: 3px; }
.map-consent-actions { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--charcoal); color: var(--on-dark); text-align: center; padding: clamp(72px, 10vw, 120px) 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-icon { width: 88px; height: auto; margin-bottom: var(--s-6); }
.cta-band h2 { font-size: clamp(34px, 5.4vw, 64px); }
.cta-band h2 .serif { color: #d9b2a9; }
.cta-band p { color: var(--on-dark-soft); margin: var(--s-4) 0 var(--s-6); font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: #1f1f23; color: var(--on-dark-soft); padding: var(--s-9) 0 var(--s-6); font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: var(--s-7); }
.footer-brand img { width: 190px; }
.footer-brand p { margin-top: var(--s-4); letter-spacing: .04em; }
.footer-h { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); font-weight: 500; margin-bottom: var(--s-4); }
.site-footer ul { display: grid; gap: var(--s-2); }
.site-footer a { text-decoration: none; display: inline-block; padding: 2px 0; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-5);
}
.site-footer .legal-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.site-footer .legal-links a { padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal pages ---------- */
.legal-header .header-inner { justify-content: space-between; }
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5.4vw, 60px); color: var(--ink); margin-bottom: var(--s-4); }
.legal h1 .serif { color: var(--rose); }
.legal .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: var(--s-7); }
.legal h2 { font-size: clamp(20px, 2.4vw, 24px); margin: var(--s-7) 0 var(--s-4); color: var(--navy); }
.legal p, .legal li { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.legal p + p { margin-top: var(--s-4); }
.legal ul { list-style: disc; padding-left: 1.3em; margin: var(--s-3) 0 var(--s-4); display: grid; gap: var(--s-2); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--navy); text-underline-offset: 3px; }
.legal .toc { margin: 0 0 var(--s-7); padding: var(--s-5) var(--s-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal .toc p { font-weight: 600; color: var(--ink); margin-bottom: var(--s-2); }
.legal .toc ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 4px; }
.legal .toc a { display: inline-block; padding: 2px 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1f8f4e; color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .35);
  transition: transform var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); background: #187a42; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .frames { grid-template-columns: repeat(3, 1fr); }
  .service-list { grid-template-columns: 1fr 1fr; }
  .service-list .service:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .brand img { height: 38px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: var(--s-5);
    padding: var(--s-5) var(--gutter) var(--s-6);
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(35, 37, 47, .25);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease, visibility 0s linear var(--dur);
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .nav-cta { min-height: 48px; }

  .lookbook-inner, .about-inner, .visit-inner { grid-template-columns: 1fr; }
  .collage { max-width: 560px; width: 100%; margin-inline: auto; }
  .visit-photo { grid-row: auto; max-width: 520px; }
  .map { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .hero-tags { justify-content: center; gap: 20px; }
  .frames { grid-template-columns: repeat(2, 1fr); }
  .frame-name { font-size: 14px; }
  .frame figcaption { flex-direction: column; gap: 0; }
  .service-list { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .values li, .info-list > div { grid-template-columns: 1fr; gap: var(--s-2); }
  .pill-a { left: 0; top: -4%; }
  .pill-b { right: 0; bottom: -6%; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 220px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
  .marquee-toggle { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
