/* Legends Clothing DR
   Visual system follows .claude/skills/landing-page-design (Part B):
   spacing tokens, Tailwind type scale, named text styles, flat dark backgrounds. */

:root {
  /* Color */
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --surface-3: #272727;
  --line: #313131;
  --text: #ffffff;
  --muted: #9b9b9b;
  --wa: #25d366;
  --wa-hover: #3ee07a;
  --focus: #8ab4ff;

  /* Spacing (B2) */
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;

  /* Radius (Tailwind) */
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-full: 9999px;

  /* Motion (B7) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --page: 1200px;
  --gutter: var(--s-200);

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: var(--s-400); }
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--s-900); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
/* Sections and controls toggle with the hidden attribute; keep it stronger than display rules. */
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- Text styles (B1) ---------- */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.title-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.body-2 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.button-xsm { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }
.muted { color: var(--muted); }

@media (max-width: 767px) {
  .heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
}

/* ---------- Skip link ---------- */
.skip {
  position: fixed;
  top: var(--s-75);
  left: var(--s-75);
  z-index: 100;
  padding: var(--s-75) var(--s-100);
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-lg);
  transform: translateY(-200%);
  transition: transform 300ms var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Navigation (B7) ---------- */
.nav-wrap {
  position: fixed;
  top: var(--s-100);
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 var(--s-200);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  background: rgba(24, 24, 24, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand { text-decoration: none; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: var(--s-50); }
.nav-links a {
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  text-decoration: none;
  color: var(--muted);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface-3); }
.nav-links a[aria-current="true"] { color: var(--text); background: var(--surface-3); }

.lang {
  display: flex;
  padding: var(--s-25);
  background: var(--surface-3);
  border-radius: var(--r-full);
}
.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: var(--s-50) var(--s-100);
  border-radius: var(--r-full);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.lang button:active { transform: scale(0.98); }

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--surface-3);
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: var(--r-full);
  transition: transform 500ms var(--ease);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-300);
  padding: var(--s-900) var(--s-300);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.menu-panel[hidden] { display: none; }
.menu-panel a {
  text-decoration: none;
  opacity: 0;
  transform: translateY(var(--s-300));
  animation: menu-in 500ms var(--ease) forwards;
}
@keyframes menu-in { to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .nav { gap: var(--s-100); }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.wa-pair { display: flex; flex-wrap: wrap; gap: var(--s-100); }
.wa-pair--stack { flex-direction: column; }

.wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  padding: var(--s-100) var(--s-300);
  border-radius: var(--r-full);
  background: var(--wa);
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 300ms var(--ease), transform 300ms var(--ease);
}
.wa i { font-size: 1.25rem; }
.wa:hover { background: var(--wa-hover); transform: translateY(-2px); }
.wa:active { transform: scale(0.98); }
.wa--ghost { background: var(--surface-3); color: var(--text); }
.wa--ghost:hover { background: var(--line); }

.link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  background: var(--surface-3);
  text-decoration: none;
  transition: background-color 300ms var(--ease);
}
.link:hover { background: var(--line); }
.link:active { transform: scale(0.98); }
.link i { font-size: 1.125rem; }

/* ---------- Hero (B5) ---------- */
.hero {
  max-width: var(--page);
  margin: 0 auto;
  padding: calc(var(--s-900) + var(--s-400)) var(--gutter) var(--s-800);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-600);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: var(--s-300); }
.hero-title {
  max-width: 680px;
  white-space: pre-line;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  background: linear-gradient(90deg, #ffffff, #9b9b9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { max-width: 680px; color: var(--muted); }
.proof {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  align-self: flex-start;
  color: var(--muted);
  text-decoration: none;
  transition: color 300ms var(--ease);
}
.proof:hover { color: var(--text); }
.proof i { font-size: 1.125rem; }

.hero-stack {
  position: relative;
  height: 420px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.hero-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  background: var(--surface-3);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  animation: card-in 800ms var(--ease) forwards;
}
.hero-card--0 { z-index: 3; --to: translate(-50%, -50%) rotate(-2deg); animation-delay: 100ms; }
.hero-card--1 { z-index: 2; --to: translate(-92%, -46%) rotate(-9deg); animation-delay: 220ms; }
.hero-card--2 { z-index: 1; --to: translate(-8%, -54%) rotate(8deg); animation-delay: 340ms; }
@keyframes card-in { to { opacity: 1; transform: var(--to); } }

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; line-height: 1; }
  .hero-stack { height: 520px; }
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    min-height: 100svh;
    padding-top: var(--s-900);
    padding-bottom: var(--s-700);
  }
}

/* ---------- Sections ---------- */
.block {
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--s-800) var(--gutter);
}
.block-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-75);
  margin-bottom: var(--s-400);
}

.reveal { opacity: 0; transform: translateY(var(--s-400)); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.proofs { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); }

/* ---------- Brand wall ---------- */
.brand-wall {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-75);
}
@media (min-width: 768px) { .brand-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brand-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-75);
  height: 100%;
  min-height: 64px;
  padding: var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  color: var(--text);
  text-decoration: none;
}
.brand-cell { transition: background-color 300ms var(--ease), border-color 300ms var(--ease); }
.brand-cell i { color: var(--muted); font-size: 1.125rem; }
.brand-cell:hover { background: var(--surface-3); border-color: var(--muted); }
.brand-cell:active { transform: scale(0.98); }
.brand-cell--live { background: var(--surface); }
.brand-cell--live i { color: var(--wa); }

/* ---------- Arrows on horizontally scrolling rows ---------- */
.scroller { position: relative; }
.scroll-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(24, 24, 24, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 1.125rem;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.scroll-btn:hover { background: var(--surface-3); border-color: var(--muted); }
.scroll-btn:active { transform: scale(0.98); }
.scroll-btn--prev { left: 0; }
.scroll-btn--next { right: 0; }
/* Rows stay inside the page margins; items fade out under an arrow instead of being cut off. */
.scroller > .scroll-row {
  --fade-l: 0px;
  --fade-r: 0px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}
.scroller.can-prev > .scroll-row { --fade-l: 72px; }
.scroller.can-next > .scroll-row { --fade-r: 72px; }
/* Mouse drag-to-scroll (desktop). */
.scroller.is-dragging > .scroll-row { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.scroller.is-dragging > .scroll-row * { pointer-events: none; }
/* The space under a filter row belongs to its wrapper, so the arrows center on the chips. */
.scroller:has(> .filters) { margin-bottom: var(--s-300); }
.scroller > .filters { margin-bottom: 0; }
/* Card rows: center the arrows on the photos, not the whole card with its text. */
.scroller:has(> .showcase) .scroll-btn { top: 40%; }

/* ---------- Filters ---------- */
.filters {
  display: flex;
  gap: var(--s-75);
  margin-bottom: var(--s-300);
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar, .rail::-webkit-scrollbar, .showcase::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: var(--s-75) var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  transition: color 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip:active { transform: scale(0.98); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Product grid ---------- */
.grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-100);
}
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--s-50);
  padding: var(--s-75) var(--s-75) var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  text-align: left;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.card:hover { background: var(--surface-2); border-color: var(--muted); }
.card:active { transform: scale(0.98); }
.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface-3);
  margin-bottom: var(--s-75);
}
.card-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-brand, .card-name, .card-sizes { padding: 0 var(--s-75); }
.badge {
  position: absolute;
  top: var(--s-75);
  left: var(--s-75);
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-md);
  background: var(--wa);
  color: #000000;
}
.skeleton {
  aspect-ratio: 4 / 5.9;
  border-radius: var(--r-2xl);
  background: var(--surface-2);
  animation: pulse 1400ms var(--ease) infinite alternate;
}
@keyframes pulse { to { background: var(--surface-3); } }
.empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-300);
  padding: var(--s-600) var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  text-align: center;
}
.empty p { max-width: 480px; }
.empty .wa-pair { justify-content: center; }
.card-brand { color: var(--muted); }

/* ---------- Tagline reveal (B11) ---------- */
.tagline {
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--s-900) var(--gutter);
}
.tagline-text {
  max-width: 680px;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .tagline-text { max-width: 880px; font-size: 3.75rem; line-height: 1; }
}
.tagline-text .w {
  opacity: 0.3;
  transition: opacity 500ms var(--ease);
}
.tagline-text .w.on { opacity: 1; }

/* ---------- Outfits rail ---------- */
.rail {
  list-style: none;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 70%;
  gap: var(--s-200);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
@media (min-width: 768px) { .rail { grid-auto-columns: 36%; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 3 * var(--s-200)) / 4); } }
.rail li { scroll-snap-align: start; }
.look {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--surface-3);
}
.look img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.look:hover img { transform: scale(1.04); }
.look:active { transform: scale(0.98); }
.look-label {
  position: absolute;
  left: var(--s-75);
  bottom: var(--s-75);
  padding: var(--s-50) var(--s-100);
  border-radius: var(--r-lg);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- Leyendas que visten Legends ---------- */
/* A sideways row like the outfits, so it keeps working as more entries are added. */
.showcase {
  list-style: none;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64%;
  gap: var(--s-100);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.showcase li { scroll-snap-align: start; }
@media (min-width: 768px) { .showcase { grid-auto-columns: 32%; gap: var(--s-200); } }
@media (min-width: 1024px) { .showcase { grid-auto-columns: calc((100% - 3 * var(--s-200)) / 4); } }
.show-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--s-50);
  padding: var(--s-75) var(--s-75) var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  text-align: left;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.show-card:hover { background: var(--surface-2); border-color: var(--muted); }
.show-card:active { transform: scale(0.98); }
.show-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface-3);
  margin-bottom: var(--s-75);
}
.show-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.show-card:hover .show-media img { transform: scale(1.04); }
.show-tag {
  position: absolute;
  top: var(--s-75);
  left: var(--s-75);
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.show-play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
  font-size: 1.25rem;
  transition: transform 300ms var(--ease);
}
.show-card:hover .show-play { transform: scale(1.08); }
/* Desktop hover preview of uploaded videos, layered over the cover. */
.show-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.show-preview.is-playing { opacity: 1; }
.show-preview.is-playing ~ .show-play { opacity: 0; }
.show-name, .show-caption { padding: 0 var(--s-75); }

/* The close button sits in its own strip above the player so it never covers Instagram's buttons. */
.sheet--embed .sheet-body { padding-top: var(--s-700); }
.sheet--embed .embed-frame {
  position: relative;
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-3);
}
.sheet--embed .embed-frame::before {
  content: attr(data-loading);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.sheet--embed iframe {
  position: relative;
  display: block;
  width: 100%;
  height: min(66svh, 760px);
  border: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.sheet--embed iframe.is-loaded { opacity: 1; background: #ffffff; }
.sheet--embed video {
  position: relative;
  display: block;
  width: 100%;
  height: min(66svh, 760px);
  object-fit: contain;
  background: #000000;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
@media (min-width: 768px) { .sheet--embed video { height: min(82svh, 820px); } }
.sheet--embed video.is-loaded { opacity: 1; }
@media (min-width: 768px) { .sheet--embed iframe { height: min(82svh, 820px); } }
.embed-ig { align-self: flex-start; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-200);
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  display: flex;
  flex-direction: column;
  gap: var(--s-75);
  padding: var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
}
.step-n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: var(--s-100);
  border-radius: var(--r-full);
  background: var(--surface-3);
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--s-75);
  max-width: 800px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  transition: background-color 300ms var(--ease);
}
.faq details[open] { background: var(--surface-2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-200);
  padding: var(--s-200) var(--s-300);
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-2xl);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 1.25rem; color: var(--muted); transition: transform 500ms var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .answer { padding: 0 var(--s-300) var(--s-300); color: var(--muted); }

/* ---------- Visit / final CTA ---------- */
.visit {
  display: grid;
  gap: var(--s-400);
  align-items: start;
}
@media (min-width: 1024px) { .visit { grid-template-columns: 1fr 1fr; } }
.visit-copy { display: flex; flex-direction: column; gap: var(--s-300); }
.visit-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-100);
  padding: var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
}
.visit-links { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-100); }

/* ---------- Footer ---------- */
.foot {
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--s-600) var(--gutter) var(--s-900);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-100);
  border-top: 1px solid var(--line);
}
.foot .title-4 { color: var(--text); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: var(--s-200);
  bottom: var(--s-200);
  z-index: 30;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--wa);
  color: #000000;
  font-size: 1.875rem;
  transition: background-color 300ms var(--ease), transform 300ms var(--ease);
}
.wa-float:hover { background: var(--wa-hover); transform: translateY(-2px); }
.wa-float:active { transform: scale(0.98); }

/* ---------- Sheet (dialog) ---------- */
.sheet {
  width: min(920px, calc(100vw - var(--s-400)));
  max-height: calc(100svh - var(--s-400));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  background: var(--surface);
  color: var(--text);
  overflow: auto;
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(8px); }
.sheet[open] { animation: sheet-in 500ms var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(var(--s-300)); } }
.sheet-body { display: grid; gap: var(--s-300); padding: var(--s-100); }
@media (min-width: 768px) { .sheet-body { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.sheet-img {
  width: 100%;
  max-height: 70svh;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
  background: var(--surface-3);
}
.sheet-img[hidden] { display: none; }
.sheet--plain { width: min(440px, calc(100vw - var(--s-400))); }
.sheet--plain .sheet-body { grid-template-columns: 1fr; }
.sheet-info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-100);
  padding: var(--s-300) var(--s-200) var(--s-200);
}
.sheet-info .wa-pair { margin-top: var(--s-100); }
.sheet-close {
  position: absolute;
  top: var(--s-200);
  right: var(--s-200);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--surface-3);
  background: rgba(39, 39, 39, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 1.25rem;
  transition: background-color 300ms var(--ease);
}
.sheet-close:hover { background: var(--line); }
.sheet-close:active { transform: scale(0.98); }
.sheet--plain .sheet-info h3 { padding-right: var(--s-600); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 200ms !important; animation-duration: 1ms !important; }
  .reveal, .reveal.is-in { transform: none; }
  .hero-card { animation: none; opacity: 1; transform: var(--to); }
  .menu-panel a { animation: none; opacity: 1; transform: none; }
  .tagline-text .w { opacity: 1; transition: none; }
  .wa:hover, .wa-float:hover, .card:hover .card-media img, .look:hover img { transform: none; }
}
