/* ==========================================================================
   LunadecPerú — landing
   ========================================================================== */

:root {
  --bg: #F7F5F1;
  --bg-tint: #EFEBE4;
  --surface: #FFFFFF;
  --ink: #111418;
  --ink-2: #464D57;
  --muted: #7C838D;
  --line: rgba(17, 20, 24, 0.10);

  /* Brand colours sampled from the logo */
  --blue: #1E64B4;
  --sky: #5AB4DC;
  --amber: #F2B33D;
  --orange: #EE7A2E;
  --brand-grad: linear-gradient(90deg, var(--blue) 0%, var(--sky) 38%, var(--amber) 70%, var(--orange) 100%);

  --wa: #25D366;
  --dark: #0E1013;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --announce-h: 36px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.35s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn i { font-size: 1.05em; }

.btn--sm { height: 44px; padding: 0 18px; font-size: 0.9rem; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.5); }

.btn--light { background: #fff; color: var(--ink); padding-left: 7px; }
.btn--light:hover { box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.6); }

.btn__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.btn__icon--wa { background: var(--wa); color: #fff; }

.btn--ghost-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }

.btn--wa { background: var(--wa); color: #05301A; font-weight: 700; }
.btn--wa:hover { box-shadow: 0 16px 36px -12px rgba(37, 211, 102, 0.7); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* ---------- Announcement ---------- */

.announce {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 var(--gutter);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(8, 10, 14, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.announce__muted { color: rgba(255, 255, 255, 0.6); }
.announce__short { display: none; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: calc(var(--announce-h) + 12px) 0 auto;
  z-index: 50;
  transition: top 0.45s var(--ease);
}
.is-scrolled .header { top: 12px; }

.header__bar {
  position: relative;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.4s, background-color 0.4s;
}
.is-scrolled .header__bar {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px -16px rgba(0, 0, 0, 0.28), 0 0 0 1px var(--line);
}

.header__logo img { height: 34px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a:not(.btn) {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s;
}
.nav a:not(.btn):hover,
.nav a.is-current { background: rgba(17, 20, 24, 0.06); color: var(--ink); }

.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.nav-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #15171b;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.55) 0%, rgba(8, 10, 14, 0.12) 30%, rgba(8, 10, 14, 0.35) 58%, rgba(8, 10, 14, 0.88) 100%),
    radial-gradient(80% 60% at 0% 100%, rgba(8, 10, 14, 0.55), transparent 70%);
}

.hero__inner {
  position: relative;
  padding-top: 180px;
  padding-bottom: clamp(36px, 6vh, 72px);
}

.hero__title {
  max-width: 12ch;
  margin: 18px 0 22px;
  font-size: clamp(2.6rem, 1.3rem + 5.4vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hero__lead {
  max-width: 50ch;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(40px, 8vh, 80px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(24px, 5vw, 64px);
  list-style: none;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero__stats span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }

.hero__toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 1.15rem;
  transition: background-color 0.3s;
}
.hero__toggle:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tint { background: var(--bg-tint); }
.section--flush { padding-top: 0; }
.section--dark {
  color: #fff;
  background:
    radial-gradient(55% 45% at 90% 0%, rgba(90, 180, 220, 0.13), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(238, 122, 46, 0.10), transparent 70%),
    var(--dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-grad);
}
.eyebrow--light,
.section--dark .eyebrow { color: rgba(255, 255, 255, 0.78); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section__title {
  max-width: 17ch;
  margin-top: 14px;
  font-size: clamp(2rem, 1.25rem + 2.9vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.section__intro {
  max-width: 44ch;
  justify-self: end;
  color: var(--ink-2);
  font-size: 1.02rem;
}
.section--dark .section__intro { color: rgba(255, 255, 255, 0.68); }

.center {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
}

/* ---------- Bento categories ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(240px, 24vw, 310px));
  grid-template-areas:
    "xl xl xl tall org org"
    "xl xl xl tall ven pue";
  gap: 16px;
}

.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d9d4cc;
  color: #fff;
}
.tile:nth-child(1) { grid-area: xl; }
.tile:nth-child(2) { grid-area: tall; }
.tile:nth-child(3) { grid-area: ven; }
.tile:nth-child(4) { grid-area: pue; }
.tile:nth-child(5) { grid-area: org; }

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.68) 100%);
}
.tile:hover img { transform: scale(1.06); }

.tile__body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
}
.tile__body h3 {
  font-size: clamp(1.05rem, 0.92rem + 0.45vw, 1.35rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tile__body p {
  margin-top: 4px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}
.tile--xl .tile__body { left: 28px; bottom: 26px; right: 90px; }
.tile--xl .tile__body h3 { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.6rem); letter-spacing: -0.035em; }
.tile--xl .tile__body p { font-size: 0.98rem; }

.tile__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.tile__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.35s, color 0.35s, transform 0.45s var(--ease);
}
.tile:hover .tile__arrow { background: #fff; color: var(--ink); transform: rotate(45deg); }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.about__media {
  position: relative;
  padding: 0 clamp(32px, 5vw, 64px) clamp(40px, 5vw, 64px) 0;
}
.about__img-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__img-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 13 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--bg-tint);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.45);
}
.about__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.4);
}
.about__badge strong {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__badge span { font-size: 0.8rem; line-height: 1.3; color: var(--ink-2); font-weight: 500; }

.about__copy > p:not(.eyebrow) {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 1.04rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.features__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 1.2rem;
}
.features h3 { font-size: 1rem; font-weight: 600; }
.features p { margin-top: 2px; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }

/* ---------- Shower rail ---------- */

.section__head--row { grid-template-columns: minmax(0, 1fr) auto; }

.collection__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.segmented button {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 0.3s, color 0.3s;
}
.segmented button:hover { color: var(--ink); }
.segmented button.is-active { background: var(--ink); color: #fff; }

.arrows { display: flex; gap: 8px; }
.arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 1.05rem;
  transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}
.arrow:hover:not(:disabled) { background: var(--ink); color: #fff; }
.arrow:disabled { opacity: 0.35; cursor: default; }

.rail {
  --rail-pad: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 25vw, 330px);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  padding-inline: var(--rail-pad);
  padding-bottom: 6px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.card { scroll-snap-align: start; display: block; }
.card[hidden] { display: none; }

.card__media {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: #e4dfd7;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.chip--premium { color: var(--ink-2); }
.chip--premium::before { background: var(--brand-grad); }

.card h3 {
  margin-top: 4px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.rail__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

.progress {
  flex: 1;
  max-width: 320px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s linear;
}

/* ---------- Mirrors ---------- */

.mirrors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(16px, 2.4vw, 28px);
}

.mirror__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: #1b1e23;
}
.mirror__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.mirror:hover .mirror__media img { transform: scale(1.05); }

.mirror__info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 16px;
}
.mirror__info h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.price { font-weight: 600; white-space: nowrap; }
.price s { margin-right: 6px; font-weight: 400; color: rgba(255, 255, 255, 0.45); }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}
.badge--new { background: var(--amber); }

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}
.steps li {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.steps li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.steps li:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.35); }
.steps li:hover::before { transform: scaleX(1); }
.steps__num { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.steps i { display: block; margin: 36px 0 16px; font-size: 1.7rem; line-height: 1; }
.steps h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.steps p { margin-top: 6px; font-size: 0.92rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- Gallery ---------- */

.gallery { columns: 3; column-gap: 16px; }
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d9d4cc;
  cursor: zoom-in;
  break-inside: avoid;
}
.gallery__item img {
  width: 100%;
  height: auto;
  transition: transform 1s var(--ease);
}
.gallery__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }

/* ---------- Coverage ---------- */

.coverage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.coverage__copy > p:not(.eyebrow):not(.fineprint) { max-width: 46ch; margin-top: 20px; color: var(--ink-2); }

.perks { display: grid; gap: 12px; margin-top: 32px; list-style: none; }
.perks li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.perks i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
}
.fineprint { margin-top: 16px; font-size: 0.8rem; color: var(--muted); }

.districts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  list-style: none;
}
.districts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.25s, background-color 0.25s;
}
.districts li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-grad);
}
.districts li:hover { border-color: rgba(17, 20, 24, 0.35); background: #fff; }
.districts small { font-size: 0.8em; color: var(--muted); }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  padding: clamp(36px, 6vw, 80px);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--dark);
  color: #fff;
}
.cta__glow {
  position: absolute;
  inset: -25%;
  z-index: -1;
  background:
    radial-gradient(closest-side at 16% 32%, rgba(30, 100, 180, 0.75), transparent),
    radial-gradient(closest-side at 84% 70%, rgba(238, 122, 46, 0.6), transparent),
    radial-gradient(closest-side at 60% 18%, rgba(242, 179, 61, 0.3), transparent);
  filter: blur(24px);
  animation: drift 18s ease-in-out infinite alternate;
}
.cta h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 1.3rem + 2.7vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.cta p { margin-top: 12px; color: rgba(255, 255, 255, 0.74); font-size: 1.05rem; }

@keyframes drift {
  from { transform: translate3d(-4%, -2%, 0) rotate(0deg); }
  to { transform: translate3d(4%, 3%, 0) rotate(8deg); }
}

/* ---------- Footer ---------- */

.footer {
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer__brand img { height: 36px; width: auto; }
.footer__brand p { max-width: 36ch; margin: 18px 0 24px; font-size: 0.95rem; color: var(--ink-2); }

.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 1.05rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

.footer__col h3 {
  margin-bottom: 16px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__col ul { display: grid; gap: 10px; list-style: none; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--ink-2);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- Floating WhatsApp ---------- */

.wa {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa__fab {
  display: inline-flex;
  align-items: center;
  height: 60px;
  border-radius: 999px;
  color: #fff;
  background: var(--wa);
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: wa-pulse 2.4s ease-out 2s 3;
}
.wa__fab:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(37, 211, 102, 0.7), 0 4px 12px rgba(0, 0, 0, 0.12); }

.wa__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex: none;
  font-size: 1.75rem;
}

.wa__label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.95rem;
  transition: max-width 0.5s var(--ease), opacity 0.3s, padding 0.5s var(--ease);
}
.wa__fab:hover .wa__label,
.wa__fab:focus-visible .wa__label {
  max-width: 140px;
  padding-left: 22px;
  opacity: 1;
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 14px 30px -10px rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 14px 30px -10px rgba(37, 211, 102, 0.6); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 14px 30px -10px rgba(37, 211, 102, 0.6); }
}

.wa__bubble {
  position: relative;
  max-width: 250px;
  padding: 14px 42px 14px 16px;
  border-radius: 18px 18px 6px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-2);
  animation: bubble-in 0.5s var(--ease) both;
}
.wa__bubble strong { color: var(--ink); }
.wa__close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--muted);
}
.wa__close:hover { background: var(--bg); color: var(--ink); }

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop {
  background: rgba(8, 10, 14, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 16px;
  animation: bubble-in 0.4s var(--ease) both;
}
.lightbox__close,
.lightbox__nav {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.15rem;
  transition: background-color 0.3s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox.is-single .lightbox__nav { display: none; }

/* ---------- Product page ---------- */

.page-light .announce {
  position: relative;
  background: var(--ink);
  border-bottom: 0;
}

.pdp {
  padding-top: 120px;
  padding-bottom: clamp(56px, 8vw, 112px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: clamp(20px, 3vw, 32px);
  font-size: 0.86rem;
  color: var(--muted);
}
.crumbs a { color: var(--ink-2); transition: color 0.2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-size: 0.7rem; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}

/* Gallery */
.stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
}
.stage__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.stage__track::-webkit-scrollbar { display: none; }
.stage__slide {
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.stage__photo { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.stage__slide img,
.stage__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage__slide video { background: #000; object-fit: contain; }

.stage__nav,
.stage__count {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
}
.stage__nav {
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.05rem;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
}
.stage__nav--prev { left: 16px; }
.stage__nav--next { right: 16px; }
.stage:hover .stage__nav,
.stage__nav:focus-visible { opacity: 1; }
.stage__nav:hover { background: #fff; }
.stage__count {
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  pointer-events: none;
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumb {
  position: relative;
  flex: 0 0 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 14px;
  opacity: 0.55;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: opacity 0.25s, outline-color 0.25s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 0.85; }
.thumb.is-active { opacity: 1; outline-color: var(--ink); }
.thumb__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  background: rgba(0, 0, 0, 0.3);
}

/* Details */
.pdp__info {
  position: sticky;
  top: 104px;
}

.pdp__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.ribbon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.ribbon--premium::before { background: var(--brand-grad); }
.ribbon--sale { background: #FDEEE4; border-color: transparent; color: #B4501A; }
.ribbon--sale::before { background: var(--orange); }
.ribbon--new { background: #FDF3DC; border-color: transparent; color: #8A6212; }
.ribbon--new::before { background: var(--amber); }
.ribbon--out { background: var(--ink); color: #fff; border-color: var(--ink); }
.ribbon--out::before { background: #fff; }

.pdp__title {
  margin-top: 16px;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.pdp__price { margin-top: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pdp__price-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pdp__price-main s { font-size: 1rem; font-weight: 500; color: var(--muted); }
.pdp__from { font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }
.pdp__off {
  align-self: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
}
.pdp__price-note { margin-top: 6px; font-size: 0.88rem; color: var(--muted); }

.prose { color: var(--ink-2); font-size: 0.98rem; line-height: 1.65; }
.prose > * + * { margin-top: 0.8em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--muted); }
.pdp__desc { margin-top: 24px; }

.callout {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #FDF6E6;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.callout i { flex: none; font-size: 1.1rem; color: #B9851A; }
.callout strong { color: var(--ink); }

.pdp__options { display: grid; gap: 22px; margin-top: 28px; }
.opt { margin: 0; padding: 0; border: 0; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 12px; font-size: 0.9rem; color: var(--ink-2); }
.opt legend strong { color: var(--ink); font-weight: 600; }

.swatches,
.pills { display: flex; flex-wrap: wrap; gap: 10px; }

.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px var(--bg), 0 0 0 4px transparent;
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}
.swatch:hover { transform: scale(1.06); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }

.pill {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.pill:hover { border-color: rgba(17, 20, 24, 0.35); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.pdp__actions { display: grid; justify-items: center; gap: 14px; margin-top: 32px; }
.btn--block { width: 100%; height: 58px; font-size: 1rem; }
.pdp__store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s;
}
.pdp__store:hover { color: var(--ink); }

.pdp__perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  list-style: none;
}
.pdp__perks li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.pdp__perks i { font-size: 1.15rem; }

.accordion { margin-top: 28px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { font-size: 0.95rem; transition: transform 0.35s var(--ease); }
.acc[open] summary i { transform: rotate(45deg); }
.acc .prose { padding-bottom: 20px; }

.pdp-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 480px;
  margin: 40px auto 0;
  text-align: center;
}
.pdp-empty__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 1.5rem;
}
.pdp-empty h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.1; }
.pdp-empty p { color: var(--ink-2); margin-bottom: 8px; }

/* Related */
.section--related { padding-top: 0; }
.related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.card__price { margin-top: 2px; font-size: 0.92rem; color: var(--ink-2); }

@media (max-width: 1024px) {
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .pdp__info { position: static; }
  .stage__nav { display: none; }
}

@media (max-width: 640px) {
  .pdp { padding-top: 96px; }
  .stage { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .thumb { flex-basis: 60px; height: 60px; border-radius: 12px; }
  .pdp__perks li { padding: 12px 6px; font-size: 0.74rem; }
  .related { gap: 24px 12px; }
  .related .card h3 { font-size: 1rem; }
}

/* ---------- Inner pages: categories, projects, legal ---------- */

.catalog-page {
  padding-top: 120px;
  padding-bottom: clamp(56px, 8vw, 112px);
}

.page-head { max-width: 780px; }
.page-title {
  margin-top: 14px;
  font-size: clamp(2.6rem, 1.5rem + 4.2vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.page-intro {
  max-width: 48ch;
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--ink-2);
}
.page-head + .toolbar { margin-top: clamp(36px, 5vw, 56px); }

/* Category */
.cat-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.cat-hero .page-intro { max-width: 42ch; margin-bottom: 30px; }
.cat-hero__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: #e4dfd7;
}
.cat-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.cat-nav {
  display: flex;
  gap: 8px;
  margin-top: clamp(40px, 6vw, 72px);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.cat-nav a span {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--bg-tint);
  font-size: 0.78rem;
  color: var(--muted);
}
.cat-nav a:hover { color: var(--ink); border-color: rgba(17, 20, 24, 0.24); }
.cat-nav a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-nav a[aria-current] span { background: rgba(255, 255, 255, 0.16); color: #fff; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin: 28px 0 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.toolbar .segmented { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.toolbar .segmented::-webkit-scrollbar { display: none; }
.toolbar .segmented button { flex: none; white-space: nowrap; }
.toolbar__count { margin-left: auto; font-size: 0.9rem; color: var(--muted); }

.sort {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.sort select {
  appearance: none;
  height: 46px;
  padding: 0 42px 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.sort i { position: absolute; right: 18px; font-size: 0.72rem; color: var(--ink); pointer-events: none; }

.catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 20px;
}
.catalog--few { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Cards: second photo on hover, stock badge, sale prices */
.card__media { position: relative; }
.card__media .card__alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease), transform 1s var(--ease);
}
@media (hover: hover) {
  .card:hover .card__alt { opacity: 1; }
}
@media (hover: none) {
  .card__media .card__alt { display: none; }
}
.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chip--sale::before { background: var(--orange); }
.chip--new::before { background: var(--sky); }
.card__price strong { font-weight: 600; color: var(--ink); }
.card__price s { margin-left: 6px; font-size: 0.86em; color: var(--muted); }

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Projects: captions over the photos, filtered by group */
.gallery__item[hidden] { display: none; }
.gallery__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 56px 18px 16px;
  background: linear-gradient(to top, rgba(8, 10, 14, 0.66), rgba(8, 10, 14, 0));
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
}
.gallery__caption strong { display: block; font-size: 1rem; font-weight: 600; color: #fff; }
.gallery--captions .gallery__zoom { top: 14px; bottom: auto; }

/* Legal */
.legal {
  width: min(100% - 2 * var(--gutter), 780px);
  padding-top: 120px;
  padding-bottom: clamp(56px, 8vw, 112px);
}
.legal .page-title { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); }
.legal__body { margin-top: clamp(32px, 5vw, 56px); }
.legal__body h2 {
  margin-top: 2.2em;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}
.legal__body h3 { margin-top: 1.6em; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.legal__body ol { padding-left: 1.4em; }

@media (max-width: 1100px) {
  .catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cat-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cat-hero__media { aspect-ratio: 16 / 10; }
  .catalog,
  .catalog--few { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
}

@media (max-width: 640px) {
  .catalog-page,
  .legal { padding-top: 96px; }
  .page-intro { margin-top: 14px; font-size: 1rem; }
  .cat-hero .page-intro { margin-bottom: 24px; }
  .gallery__caption { padding: 40px 12px 10px; font-size: 0.74rem; }
  .gallery__caption strong { font-size: 0.86rem; }
  .cat-hero__media { aspect-ratio: 4 / 3; }
  .cat-nav,
  .toolbar .segmented { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .toolbar .segmented {
    flex: 0 0 calc(100% + 2 * var(--gutter));
    max-width: none;
    gap: 6px;
    padding-block: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }
  .toolbar .segmented button { border: 1px solid var(--line); background: var(--surface); }
  .toolbar .segmented button.is-active { border-color: var(--ink); background: var(--ink); }
  .toolbar__count { margin-left: 0; margin-right: auto; }
  .sort span { display: none; }
  .catalog .card h3 { font-size: 0.98rem; }
  .catalog .chip { margin-top: 12px; font-size: 0.66rem; }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Keep the floating WhatsApp button clear of content pinned to the bottom-right */
@media (min-width: 641px) {
  .hero__foot { padding-right: 84px; }
  .footer__bottom { padding-right: 84px; }
}

@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: 9px 10px; }
}

@media (max-width: 1024px) {
  .menu-toggle { display: block; }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s, transform 0.35s var(--ease);
  }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; border-radius: 14px; }
  .nav__cta-mobile { display: inline-flex; margin-top: 8px; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .section__head,
  .section__head--row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section__intro { justify-self: start; }
  .collection__controls { justify-content: flex-start; }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: clamp(320px, 60vw, 460px) repeat(2, clamp(180px, 32vw, 260px)) clamp(190px, 34vw, 260px);
    grid-template-areas:
      "xl xl"
      "tall ven"
      "tall pue"
      "org org";
    gap: 12px;
  }

  .about { grid-template-columns: minmax(0, 1fr); }
  .about__media { max-width: 560px; }

  .mirrors { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gallery { columns: 2; column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }

  .coverage { grid-template-columns: minmax(0, 1fr); }

  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --announce-h: 32px; }

  .announce { font-size: 0.74rem; gap: 8px; }
  .announce__long { display: none; }
  .announce__short { display: inline; }

  .header { top: calc(var(--announce-h) + 10px); }
  .is-scrolled .header { top: 10px; }
  .header__bar { height: 58px; padding: 0 7px 0 18px; }
  .header__logo img { height: 30px; }
  .header__cta { display: none; }

  .hero__inner { padding-top: 150px; padding-bottom: 104px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__foot { align-items: center; gap: 12px; }
  .hero__stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .hero__stats strong { font-size: 1.45rem; }
  .hero__stats span { font-size: 0.72rem; line-height: 1.35; }

  .features { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .features li { display: grid; grid-template-columns: 46px 1fr; align-items: center; column-gap: 14px; }
  .features__icon { margin-bottom: 0; }

  .rail { grid-auto-columns: 74vw; gap: 14px; }
  .arrows { display: none; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; padding: 0 10px; }
  .rail__footer { flex-direction: column; align-items: flex-start; }
  .progress { width: 100%; max-width: none; }

  .tile__body { left: 16px; right: 16px; bottom: 14px; }
  .tile__body p { display: none; }
  .tile--xl .tile__body { left: 20px; right: 20px; bottom: 20px; }
  .tile--xl .tile__body p { display: block; font-size: 0.9rem; }
  .tile__arrow { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 0.9rem; }

  .about__badge { top: 14px; left: 14px; padding: 10px 14px 10px 12px; }
  .about__badge strong { font-size: 1.8rem; }

  .mirrors { gap: 24px 12px; }
  .mirror__info { flex-direction: column; margin-top: 12px; }
  .mirror__info h3 { font-size: 0.95rem; }
  .price { font-size: 0.92rem; }
  .badge { top: 10px; left: 10px; padding: 5px 9px; font-size: 0.62rem; }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 22px; }
  .steps__num { grid-column: 1 / -1; }
  .steps i { grid-row: 2 / span 2; margin: 14px 0 0; font-size: 1.5rem; }
  .steps h3 { margin-top: 12px; }

  .districts li { padding: 8px 13px; font-size: 0.86rem; }

  .cta { flex-direction: column; align-items: flex-start; }
  .cta .btn { width: 100%; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .wa { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .wa__fab { height: 56px; }
  .wa__icon { width: 56px; height: 56px; font-size: 1.6rem; }
  .wa__bubble { max-width: 220px; }

  .lightbox__nav { top: auto; bottom: 24px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 58px); }
  .lightbox__nav--next { right: calc(50% - 58px); }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.35rem; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "xl" "tall" "ven" "pue" "org"; }
  .bento .tile { min-height: 200px; }
  .bento .tile--xl { min-height: 320px; }
}

@media (hover: none) {
  .wa__fab:hover .wa__label { max-width: 0; padding-left: 0; opacity: 0; }
  .gallery__zoom { opacity: 1; transform: none; width: 34px; height: 34px; font-size: 0.85rem; }
}

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