/* =========================================================
   America Oro S.R.L. — styles
   Brand: navy + red from the logo, gold ("Oro") as the accent
   ========================================================= */

:root {
  /* Brand */
  --navy-950: #0E1731;
  --navy-900: #152247;
  --navy: #1F3160;          /* logo navy */
  --navy-600: #2B4280;
  --red: #D8392F;           /* logo red (decorative / large text) */
  --red-text: #B8281F;      /* red that passes 4.5:1 on light bg */
  --red-dark: #9A1F17;
  --gold: #F4B92E;
  --gold-light: #FFCB52;

  /* Surfaces & text */
  --bg: #FBF9F4;
  --surface: #FFFFFF;
  --surface-muted: #F1EEE6;
  --ink: #131A2C;
  --ink-muted: #4D5670;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9D1E6;
  --border: #E4E0D6;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

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

  /* Shape: squared, not pill */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(19, 26, 44, .06), 0 2px 8px rgba(19, 26, 44, .05);
  --shadow: 0 12px 32px rgba(19, 26, 44, .12);
  --shadow-lg: 0 28px 60px rgba(5, 10, 28, .45);
  --stamp: 6px 6px 0 var(--navy-950);     /* hard offset shadow, used on hover */

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 700ms;

  --header-h: 100px;
}

/* ---------- 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;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.container { width: min(1200px, 100% - 2 * var(--s-3)); margin-inline: auto; }
@media (max-width: 480px) { .container { width: calc(100% - 2 * var(--s-2)); } }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

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

.skip-link {
  position: absolute; left: var(--s-2); top: -100px; z-index: 1000;
  background: var(--gold); color: var(--navy-950); font-weight: 700;
  padding: 12px 18px; border-radius: var(--radius-xs); text-decoration: none;
}
.skip-link:focus { top: var(--s-2); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 200;
  background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  pointer-events: none;
}

/* ---------- Buttons (squared corners) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font: 700 1rem/1.2 var(--font-body); letter-spacing: .01em;
  border: 2px solid transparent; border-radius: var(--radius-xs);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }

.btn-gold { background: var(--gold); color: var(--navy-950); box-shadow: 5px 5px 0 var(--red); }
.btn-gold:hover { background: var(--gold-light); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--red); }
.btn-gold:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--red); }

.btn-ghost, .btn-outline-light { color: var(--on-dark); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover, .btn-outline-light:hover { border-color: var(--on-dark); background: rgba(255,255,255,.1); }

.btn-red { background: var(--red-text); color: #fff; box-shadow: 5px 5px 0 var(--navy-950); }
.btn-red:hover { background: var(--red-dark); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--navy-950); }
.btn-red:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--navy-950); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

/* ---------- Eyebrows & titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-text); margin-bottom: var(--s-2);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.6 0 1 .4 1.2 1l1.9 6.4 6.4 1.9c.6.2 1 .6 1 1.2s-.4 1-1 1.2l-6.4 1.9-1.9 6.4c-.2.6-.6 1-1.2 1s-1-.4-1.2-1l-1.9-6.4-6.4-1.9c-.6-.2-1-.6-1-1.2s.4-1 1-1.2l6.4-1.9 1.9-6.4c.2-.6.6-1 1.2-1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.6 0 1 .4 1.2 1l1.9 6.4 6.4 1.9c.6.2 1 .6 1 1.2s-.4 1-1 1.2l-6.4 1.9-1.9 6.4c-.2.6-.6 1-1.2 1s-1-.4-1.2-1l-1.9-6.4-6.4-1.9c-.6-.2-1-.6-1-1.2s.4-1 1-1.2l6.4-1.9 1.9-6.4c.2-.6.6-1 1.2-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.eyebrow-light { color: var(--gold); }

.section { padding-block: var(--s-7); }
@media (max-width: 768px) { .section { padding-block: var(--s-6); } }

.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  letter-spacing: -.02em; color: var(--navy-950);
  margin-bottom: var(--s-5); max-width: 22ch;
}

.placeholder-note {
  display: inline-block; font-size: .875rem; color: var(--ink-muted);
  border: 1px dashed #B9B3A5; border-radius: var(--radius-xs); padding: 6px 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(19, 26, 44, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-3); transition: height var(--dur) var(--ease-out); }
.brand img { height: 80px; width: auto; transition: height var(--dur) var(--ease-out); }

.site-nav { display: flex; align-items: center; gap: var(--s-4); }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none;
  transition: color var(--dur-fast);
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { color: var(--red-text); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  background: var(--navy); color: #fff; border-radius: var(--radius-xs);
  font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-fast);
}
.header-phone:hover { background: var(--red-text); }
.header-ig {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 2px solid var(--navy); border-radius: var(--radius-xs); color: var(--navy);
  font-weight: 700; font-size: .95rem; text-decoration: none; transition: background-color var(--dur-fast), color var(--dur-fast);
}
.header-ig:hover { background: var(--navy); color: #fff; }
.site-nav { gap: var(--s-2) var(--s-3); }
@media (min-width: 1001px) and (max-width: 1240px) { .header-ig { padding: 0 11px; } .header-ig-label { display: none; } .site-nav ul a { padding: 0 9px; } }
.header-phone .icon { width: 18px; height: 18px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius-xs);
  background: var(--surface-muted); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: var(--s-2);
    padding: var(--s-2) var(--s-3) var(--s-3);
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { width: 100%; min-height: 48px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .site-nav ul a::after { display: none; }
  .header-phone, .header-ig { justify-content: center; min-height: 48px; }
  .header-inner { height: 84px; }
  .brand img { height: 62px; }
}

/* ---------- Hero ---------- */
.hero {
  --p: 0;  /* scroll offset in px, set by script.js */
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(700px 480px at 78% 45%, rgba(43, 66, 128, .95), transparent 70%),
    var(--navy-900);
}
.hero::before { /* fine dot grid for texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.hero-bg-star {
  position: absolute; width: 760px; height: 760px; right: -220px; top: -140px;
  fill: rgba(255,255,255,.035); pointer-events: none;
  transform: translateY(calc(var(--p) * .25px)) rotate(calc(var(--p) * .03deg));
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--s-5);
  min-height: min(680px, 84vh); padding-block: var(--s-6) var(--s-7);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-bottom: var(--s-3);
}
.star-inline { width: 16px; height: 16px; fill: var(--red); flex: none; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.6rem);
  letter-spacing: -.025em; line-height: 1.02; margin-bottom: var(--s-5);
}
.hero h1 em { font-style: italic; color: var(--gold); display: inline-block; }
.hero-lead { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 50ch; margin-bottom: var(--s-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }

.hero-visual { position: relative; height: 500px; }
.tile {
  position: absolute; display: grid; place-items: center;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px;
  transform: translateY(calc(var(--p) * var(--speed, 0) * 1px)) rotate(var(--rot, 0deg));
  will-change: transform;
}
.tile img { width: 100%; height: 100%; object-fit: contain; }
.tile-dark { background: #000; }
.t-1 { --rot: -4deg; width: 240px; height: 240px; left: 30%; top: 22%; z-index: 3; border: 4px solid var(--gold); }
.t-2 { --rot: 5deg;  width: 210px; height: 140px; left: 2%;  top: 4%; }
.t-3 { --rot: -6deg; width: 200px; height: 96px;  right: 0;  top: 6%; }
.t-4 { --rot: -3deg; width: 210px; height: 96px;  left: 0;   bottom: 10%; }
.t-5 { --rot: 4deg;  width: 210px; height: 96px;  right: 2%; bottom: 4%; }
.hero-star { position: absolute; fill: var(--red); transform: translateY(calc(var(--p) * var(--speed, 0) * 1px)); }
.hs-1 { width: 56px; height: 56px; right: 18%; top: 34%; fill: #fff; }
.hs-2 { width: 34px; height: 34px; left: 22%; top: 50%; }
.hs-3 { width: 28px; height: 28px; right: 38%; bottom: 2%; fill: var(--gold); }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: rise var(--dur-slow) var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .js .hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .js .hero-copy > :nth-child(4) { animation-delay: 240ms; }
  .js .tile { animation: pop 800ms var(--ease-out) both; }
  .js .t-1 { animation-delay: 150ms; } .js .t-2 { animation-delay: 250ms; } .js .t-3 { animation-delay: 330ms; }
  .js .t-4 { animation-delay: 410ms; } .js .t-5 { animation-delay: 490ms; }
  @keyframes rise { from { opacity: 0; translate: 0 24px; } }
  @keyframes pop  { from { opacity: 0; scale: .85; } }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: var(--s-3); padding-bottom: var(--s-6); }
  .hero-visual { height: 340px; max-width: 520px; width: 100%; margin-inline: auto; }
  .t-1 { width: 170px; height: 170px; left: calc(50% - 85px); top: 22%; }
  .t-2 { width: 150px; height: 100px; }
  .t-3, .t-4, .t-5 { width: 150px; height: 72px; padding: 14px; }
  .hero-bg-star { width: 480px; height: 480px; right: -200px; top: auto; bottom: -120px; }
}
@media (max-width: 600px) { .hero-kicker { font-size: .7rem; letter-spacing: .08em; } }
@media (max-width: 420px) {
  .hero-visual { height: 300px; }
  .t-1 { width: 140px; height: 140px; left: calc(50% - 70px); }
  .t-2 { width: 120px; height: 80px; }
  .t-3, .t-4, .t-5 { width: 124px; height: 62px; }
}

/* ---------- Ticker (moves on its own, stops on hover) ---------- */
.ticker {
  --ticker-duration: 60s;  /* recalculated by script.js for a steady ~50px/s */
  background: var(--red); color: #fff; overflow: hidden;
  border-block: 3px solid var(--navy-950);
  transform: rotate(-1.2deg) scale(1.02); margin-block: -18px -6px; position: relative; z-index: 2;
}
.ticker-track { display: flex; width: max-content; padding: 16px 0; }
.ticker-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex: none; }
.ticker span { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); white-space: nowrap; }
.ticker-group svg { width: 22px; height: 22px; fill: var(--gold); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker var(--ticker-duration) linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}

/* ---------- Values ---------- */
.values { padding-top: var(--s-4); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.value-card {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: var(--s-4) var(--s-3);
  border: 2px solid var(--navy-950);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.value-card:hover { transform: translate(-4px, -4px); box-shadow: var(--stamp); }
.value-num { position: absolute; top: var(--s-3); right: var(--s-3); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--red-text); }
.value-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--navy-950); margin-bottom: var(--s-3);
  transition: background-color var(--dur), color var(--dur), transform var(--dur) var(--ease-out);
}
.value-card:hover .value-icon { background: var(--navy); color: var(--gold); transform: rotate(-6deg); }
.value-icon .icon { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy-950); margin-bottom: var(--s-1); }
.value-card p { color: var(--ink-muted); margin: 0; }
@media (max-width: 1000px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .value-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { padding-top: calc(var(--s-7) + 8px); }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-6); align-items: start; }
.about-statement {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); letter-spacing: -.02em; color: var(--navy-950);
}
.about-statement em {
  color: var(--red-text); font-style: italic;
  background: linear-gradient(var(--gold), var(--gold)) 0 88% / var(--hl, 0%) 18% no-repeat;
  transition: background-size 900ms var(--ease-out);
}
.about-statement.is-visible em { --hl: 100%; }
.about-statement.is-visible em:nth-of-type(2) { transition-delay: 200ms; }
.about-statement.is-visible em:nth-of-type(3) { transition-delay: 400ms; }
.about-copy p { color: var(--ink-muted); font-size: 1.0625rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: var(--s-3); } }

/* ---------- Placeholder imagery ---------- */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--radius); color: rgba(255,255,255,.85);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #34497F, #1F3160);
}
.ph span { padding: 6px 10px; border: 1px dashed rgba(255,255,255,.5); border-radius: var(--radius-xs); }

/* ---------- Stats band ---------- */
.stats-band { color: var(--on-dark); padding-block: var(--s-7); background: var(--navy-900); position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 22px 22px;
}
.stats-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-6); align-items: center; }
.stats-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.stats-photos .ph { aspect-ratio: 1; }
.stats-logo { display: flex; align-items: center; justify-content: center; padding: var(--s-4); background: #fff; border-radius: var(--radius-lg); box-shadow: 10px 10px 0 var(--red); }
.stats-logo img { width: 100%; max-width: 440px; height: auto; display: block; }
.stats-photos .ph-b, .stats-photos .ph-d { transform: translateY(calc(var(--p, 0) * -1px)); }  /* offset column drifts with scroll */
.ph-a { background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 12px, transparent 12px 24px), linear-gradient(135deg, #C4332A, #8E1D16); }
.ph-d { background: repeating-linear-gradient(135deg, rgba(0,0,0,.05) 0 12px, transparent 12px 24px), linear-gradient(135deg, #F6C451, #D99A0E); color: var(--navy-950); }
.ph-d span { border-color: rgba(15,25,54,.5); }
.stats-lead { font-size: 1.2rem; color: var(--on-dark-muted); max-width: 48ch; margin-bottom: var(--s-5); }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: var(--s-4); margin: 0; }
.stats > div { border-top: 3px solid var(--red); padding-top: var(--s-2); }
.stats dt { font-family: "Montserrat", var(--font-body); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.stats dd { margin: 10px 0 0; color: var(--on-dark-muted); font-size: .95rem; font-weight: 600; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr; gap: var(--s-5); } .stats { gap: var(--s-4); } }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, auto); gap: var(--s-4) var(--s-5); } }

/* ---------- Brands ---------- */
.brand-grid { --cols: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.brand-grid > .brand-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--s-2)) / var(--cols)); }  /* last row stays centered */
.brand-card {
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius);
  padding: var(--s-2) var(--s-2) var(--s-3); text-align: center;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.brand-card:hover { transform: translate(-4px, -4px); box-shadow: var(--stamp); border-color: var(--navy-950); }
.brand-logo {
  height: 120px; display: grid; place-items: center; padding: 16px;
  background: #fff; border-radius: var(--radius-sm); margin-bottom: var(--s-2); overflow: hidden;
}
.brand-logo img { max-height: 88px; width: auto; max-width: 100%; object-fit: contain; transition: transform var(--dur) var(--ease-out); }
.brand-card:hover .brand-logo img { transform: scale(1.08); }
.brand-logo-dark { background: #000; }
.brand-logo-croc { background: #1AB0E2; padding: 4px; }
.brand-logo-croc img { max-height: none; width: 100%; height: 100%; object-fit: cover; }
.brand-card { min-width: 0; }
.brand-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-950); margin-bottom: 4px; }
.brand-card { position: relative; padding: 0; }
.brand-card-link {
  display: block; height: 100%; padding: var(--s-2) var(--s-2) var(--s-3);
  color: inherit; text-decoration: none; border-radius: inherit; cursor: pointer;
}
.brand-card-link:focus-visible { outline-offset: 4px; }
.brand-card p { font-size: .9rem; color: var(--ink-muted); margin: 0; }
.brand-card-arrow {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; padding: 5px;
  fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  background: var(--navy); border-radius: var(--radius-xs);
  opacity: 0; transform: translate(-4px, 4px); transition: opacity var(--dur-fast), transform var(--dur) var(--ease-out);
}
.brand-card:hover .brand-card-arrow, .brand-card-link:focus-visible .brand-card-arrow { opacity: 1; transform: none; }
.brand-card:hover h3 { color: var(--red-text); }
@media (max-width: 1100px) { .brand-grid { --cols: 4; } }
@media (max-width: 860px)  { .brand-grid { --cols: 3; } }
@media (max-width: 600px)  { .brand-grid { --cols: 2; } .brand-logo { height: 96px; } }

/* ---------- Products ---------- */
.products { background: var(--surface); }
.products-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-4); }
.products-head .section-title { margin-bottom: 0; }
.products-intro { color: var(--ink-muted); max-width: 38ch; margin: 0; }
.product-row {
  position: relative;
  display: grid; grid-template-columns: 96px 1fr 320px; gap: var(--s-4); align-items: center;
  padding: var(--s-4) var(--s-2); border-top: 2px solid var(--border);
  transition: background-color var(--dur) var(--ease-out);
}
.product-row:last-child { border-bottom: 2px solid var(--border); }
.product-row::before { /* red marker that grows on the active row */
  content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.product-row.is-active::before, .product-row:hover::before { transform: scaleX(1); }
.product-row:hover { background: var(--bg); }
.product-num {
  font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--navy);
  transition: color var(--dur) var(--ease-out), -webkit-text-stroke-color var(--dur);
}
.product-row.is-active .product-num, .product-row:hover .product-num { color: var(--red); -webkit-text-stroke-color: var(--red); }
.product-info h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); color: var(--navy-950); margin-bottom: var(--s-1); }
.product-info p { color: var(--ink-muted); max-width: 52ch; margin-bottom: var(--s-1); }
.product-brands { font-weight: 800; color: var(--navy) !important; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 !important; }
.product-ph {
  height: 160px;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); /* corner cut from the reference */
}
.product-visual { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.product-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-row:hover .product-art, .product-row.is-active .product-art { transform: scale(1.05); }
.product-logos { position: absolute; left: 10px; bottom: 10px; right: 30%; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: grid; place-items: center; height: 34px; padding: 4px 6px; min-width: 44px; overflow: hidden;
  background: #fff; border-radius: var(--radius-xs); box-shadow: 0 2px 6px rgba(14, 23, 49, .25);
}
.chip img { height: 24px; width: auto; max-width: 66px; object-fit: contain; }
.chip-dark { background: #000; }
.chip-croc { background: #1AB0E2; padding: 0; width: 72px; }
.chip-croc img { width: 72px; height: 34px; max-width: none; object-fit: cover; object-position: 46% 50%; transform: scale(1.9); }

.product-ph::after { /* wipe cover, slides away when the row scrolls in */
  content: ""; position: absolute; inset: 0; z-index: 2; background: var(--navy-950);
  transform-origin: right; transition: transform 900ms var(--ease-out);
}
.js .product-row:not(.is-visible) .product-visual { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.product-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-row:hover .product-art, .product-row.is-active .product-art { transform: scale(1.05); }
.product-logos { position: absolute; left: 10px; bottom: 10px; right: 30%; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: grid; place-items: center; height: 34px; padding: 4px 6px; min-width: 44px; overflow: hidden;
  background: #fff; border-radius: var(--radius-xs); box-shadow: 0 2px 6px rgba(14, 23, 49, .25);
}
.chip img { height: 24px; width: auto; max-width: 66px; object-fit: contain; }
.chip-dark { background: #000; }
.chip-croc { background: #1AB0E2; padding: 0; width: 72px; }
.chip-croc img { width: 72px; height: 34px; max-width: none; object-fit: cover; object-position: 46% 50%; transform: scale(1.9); }

.product-ph::after { transform: scaleX(1); }
.product-row.is-visible .product-ph::after, .no-motion .product-visual { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.product-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-row:hover .product-art, .product-row.is-active .product-art { transform: scale(1.05); }
.product-logos { position: absolute; left: 10px; bottom: 10px; right: 30%; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: grid; place-items: center; height: 34px; padding: 4px 6px; min-width: 44px; overflow: hidden;
  background: #fff; border-radius: var(--radius-xs); box-shadow: 0 2px 6px rgba(14, 23, 49, .25);
}
.chip img { height: 24px; width: auto; max-width: 66px; object-fit: contain; }
.chip-dark { background: #000; }
.chip-croc { background: #1AB0E2; padding: 0; width: 72px; }
.chip-croc img { width: 72px; height: 34px; max-width: none; object-fit: cover; object-position: 46% 50%; transform: scale(1.9); }

.product-ph::after { transform: scaleX(0); }
@media (max-width: 860px) {
  .product-row { grid-template-columns: 64px 1fr; gap: var(--s-2) var(--s-3); padding-inline: 0; }
  .product-ph { grid-column: 2; height: 130px; }
  .product-num { align-self: start; font-size: 2rem; padding-top: 2px; }
}
@media (max-width: 480px) {
  .product-row { grid-template-columns: 1fr; }
  .product-ph { grid-column: 1; }
}

/* ---------- Where to buy (regions + provisional map) ---------- */
.where-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-4); }
.where-head .section-title { margin-bottom: 0; }
.where-intro { color: var(--ink-muted); font-size: 1.0625rem; max-width: 46ch; margin: 0; }
.region-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-1); margin-bottom: var(--s-3); }
.region-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px;
  font: 700 .95rem/1.1 var(--font-body); color: var(--navy-950); cursor: pointer;
  background: var(--surface); border: 2px solid var(--navy-950); border-radius: var(--radius-xs);
  transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.region-tab { font-size: 1.05rem; min-height: 56px; }
.region-tab:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--navy-950); }
.region-tab[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 4px 4px 0 var(--red); transform: none; }

.where-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-4); align-items: stretch; }
.region-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-3);
  background: var(--surface); border: 2px solid var(--navy-950); border-radius: var(--radius-lg); padding: var(--s-3);
}
.region-map { width: 100%; height: auto; display: block; overflow: visible; }
.region path {
  fill: var(--surface-muted); stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; fill-rule: evenodd;
  cursor: pointer; transition: fill var(--dur) var(--ease-out);
}
.region:hover path { fill: #E3DCCB; }
.region.is-active path { fill: var(--gold); stroke: var(--navy-950); stroke-width: 4; }
.region-labels text {
  font: 800 30px var(--font-body); fill: var(--navy); text-anchor: middle; pointer-events: none;
  paint-order: stroke; stroke: var(--surface); stroke-width: 6px; stroke-linejoin: round;
  transition: fill var(--dur);
}
.region-labels text.is-active { fill: var(--navy-950); }
.region-labels text[data-region="sd"] { font-size: 26px; }
.region-info { border-top: 2px solid var(--border); padding-top: var(--s-2); }
.region-name { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--navy-950); margin-bottom: 6px; }
.region-provs { color: var(--ink-muted); margin: 0; }

.where-map-col { display: flex; flex-direction: column; gap: var(--s-2); position: sticky; top: calc(var(--header-h) + var(--s-2)); align-self: start; }
.chains-note {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 16px;
  background: var(--navy-950); color: var(--on-dark-muted); border-radius: var(--radius-xs); border-left: 6px solid var(--gold);
}
.chains-label { font: 800 .75rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.chains-note p { margin: 0; font-size: .95rem; }
.chains-note strong { color: #fff; }
.where-map {
  position: relative; isolation: isolate; height: 560px; border-radius: var(--radius-lg); overflow: hidden;
  border: 2px solid var(--navy-950); box-shadow: 8px 8px 0 var(--navy); background: var(--surface-muted);
}
#store-map { position: absolute; inset: 0; font-family: var(--font-body); background: var(--surface-muted); }
.where-map.is-unavailable::after {
  content: "El mapa no está disponible en este momento."; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--ink-muted); font-weight: 600;
}
.map-legend { display: flex; flex-wrap: wrap; gap: 6px var(--s-3); list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--ink-muted); }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-store { background: var(--navy); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--border); }
.dot-chain { background: var(--gold); box-shadow: 0 0 0 2px var(--navy); }
.dot-active { background: var(--red); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--border); }

/* Store accordion (inside the region card) */
.store-block { display: flex; flex-direction: column; gap: var(--s-1); }
.list-toggle {
  width: 100%; display: grid; grid-template-columns: 1fr auto 22px; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 16px; text-align: left; cursor: pointer;
  font: 700 1.05rem/1.2 var(--font-body); color: var(--navy-950);
  background: var(--gold); border: 2px solid var(--navy-950); border-radius: var(--radius-xs);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.list-toggle:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--navy-950); }
.list-toggle[aria-expanded="true"] { box-shadow: 4px 4px 0 var(--navy-950); transform: none; }
.list-toggle .chev { width: 22px; height: 22px; }
.list-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.list-count { font-size: .85rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.list-panel { display: flex; flex-direction: column; gap: var(--s-1); padding-top: var(--s-1); }
.list-panel[hidden] { display: none; }
.store-hint { margin: 0; font-size: .9rem; color: var(--ink-muted); }
.store-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.chain-block { display: flex; flex-direction: column; margin-top: var(--s-1); }
.chain-block[hidden] { display: none; }
.store-toggle {
  width: 100%; display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 12px;
  min-height: 48px; padding: 10px 14px; text-align: left; cursor: pointer;
  font: 700 .95rem/1.2 var(--font-body); color: var(--navy-950);
  background: var(--surface); border: 2px solid var(--navy-950); border-radius: var(--radius-xs);
  transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.store-toggle:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--navy-950); }
.store-toggle[aria-expanded="true"] { background: var(--navy); color: #fff; box-shadow: 4px 4px 0 var(--red); transform: none; }
.store-name small { display: block; margin-top: 2px; font-size: .75rem; font-weight: 600; color: var(--ink-muted); letter-spacing: .02em; }
.store-toggle[aria-expanded="true"] .store-name small { color: var(--on-dark-muted); }
.store-count { font-size: .8rem; font-weight: 600; color: var(--ink-muted); white-space: nowrap; }
.store-toggle[aria-expanded="true"] .store-count { color: var(--gold); }
.chev { width: 20px; height: 20px; transition: transform var(--dur) var(--ease-out); }
.store-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.branch-list {
  list-style: none; margin: 6px 0 4px; padding: 0 0 0 14px; border-left: 3px solid var(--gold);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px;
  max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
}
.branch-list[hidden] { display: none; }
.branch-btn {
  width: 100%; height: 100%; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; text-align: left; cursor: pointer;
  font: 600 .875rem/1.25 var(--font-body); color: var(--navy-950);
  background: var(--surface-muted); border: 1px solid var(--border); border-radius: var(--radius-xs);
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.branch-btn small { font-size: .75rem; font-weight: 500; color: var(--ink-muted); }
.branch-btn:hover { border-color: var(--navy); background: #fff; }
.branch-btn[aria-pressed="true"] { background: var(--red-text); border-color: var(--red-text); color: #fff; }
.branch-btn[aria-pressed="true"] small { color: #FBE3E1; }

/* Leaflet popup in brand style */
#store-map .leaflet-popup-content-wrapper { border-radius: var(--radius-xs); border: 2px solid var(--navy-950); box-shadow: 4px 4px 0 var(--navy-950); }
#store-map .leaflet-popup-content { margin: 12px 14px; display: flex; flex-direction: column; gap: 2px; font: 500 .85rem/1.35 var(--font-body); color: var(--ink); }
#store-map .pop-name { font-size: .95rem; color: var(--navy-950); }
#store-map .pop-sub { color: var(--ink-muted); font-size: .8rem; }
#store-map .pop-link { margin-top: 6px; font-weight: 700; color: var(--red-text); }
#store-map .leaflet-tile-pane { filter: saturate(.55) contrast(.95); }
#store-map .leaflet-control-zoom a { border-radius: 0; color: var(--navy-950); }

@media (max-width: 1000px) {
  .where-grid { grid-template-columns: 1fr; }
  .where-map-col { position: static; order: -1; }
  .region-map { max-width: 420px; margin-inline: auto; }
  .where-map { height: 420px; box-shadow: 6px 6px 0 var(--navy); }
}
@media (max-width: 560px) {
  .region-tabs { grid-template-columns: repeat(2, 1fr); }
  .where-map { height: 340px; }
  .branch-list { grid-template-columns: 1fr; }
}

/* ---------- Become a distributor ---------- */
.distributor { background: var(--bg); }
.dist-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-6); align-items: start; }
.dist-copy .section-title { margin-bottom: var(--s-4); }
.dist-points { display: grid; gap: var(--s-3); }
.dist-points li { display: flex; gap: var(--s-2); align-items: flex-start; font-size: 1.1rem; color: var(--ink-muted); }
.dist-points strong { color: var(--navy-950); }
.dist-points .icon { width: 28px; height: 28px; padding: 5px; background: var(--red); color: #fff; border-radius: var(--radius-xs); stroke-width: 3; }
@media (max-width: 900px) { .dist-grid { grid-template-columns: 1fr; gap: var(--s-5); } }

.form-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: var(--s-5) var(--s-4);
  border: 2px solid var(--navy-950); box-shadow: 10px 10px 0 var(--navy);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.form-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; color: var(--navy-950); margin-bottom: var(--s-1); }
.form-intro { color: var(--ink-muted); margin-bottom: var(--s-3); }
.field { margin-bottom: var(--s-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--navy-950); }
.field label > span[aria-hidden], .form-required-note span { color: var(--red-text); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: #fff; border: 2px solid #CFC9BC; border-radius: var(--radius-xs);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:hover, .field textarea:hover { border-color: #9D968A; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 4px 4px 0 var(--gold); }
.field input[aria-invalid="true"] { border-color: var(--red-text); }
.field-error { color: var(--red-text); font-size: .875rem; font-weight: 700; margin: 6px 0 0; }
.field-error:empty { display: none; }
/* Form: option cards, check chips, conditional blocks */
.fieldset { border: 0; padding: 0; margin: 0 0 var(--s-3); min-width: 0; }
.fieldset legend { padding: 0; font-weight: 700; font-size: .95rem; color: var(--navy-950); margin-bottom: 6px; }
.fieldset legend span[aria-hidden] { color: var(--red-text); }
.optional { font-weight: 500; color: var(--ink-muted); }
.field-hint { font-size: .875rem; color: var(--ink-muted); margin: 0 0 var(--s-1); }
.field-hint-tight { margin: -6px 0 var(--s-2); }
.choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-1); }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input, .check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-body {
  display: grid; gap: 4px; height: 100%; padding: 14px 12px 12px;
  border: 2px solid #CFC9BC; border-radius: var(--radius-sm); background: #fff;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.choice-body .icon { width: 24px; height: 24px; color: var(--red-text); margin-bottom: 4px; }
.choice-body strong { font-size: .98rem; color: var(--navy-950); line-height: 1.2; }
.choice-body small { font-size: .82rem; color: var(--ink-muted); line-height: 1.35; }
.choice-body::after { /* check box in the corner */
  content: ""; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px;
  border: 2px solid #B9B3A5; border-radius: var(--radius-xs); background: #fff center / 14px no-repeat;
}
.choice-card:hover .choice-body { border-color: var(--navy); }
.choice-card input:checked + .choice-body { border-color: var(--navy); background: #F3F5FB; box-shadow: 4px 4px 0 var(--gold); transform: translate(-2px, -2px); }
.choice-card input:checked + .choice-body::after {
  border-color: var(--navy); background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.choice-card input:focus-visible + .choice-body, .check-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; cursor: pointer; }
.check-chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px;
  border: 2px solid #CFC9BC; border-radius: var(--radius-xs); background: #fff;
  font-weight: 600; font-size: .9rem; color: var(--navy-950);
  transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast);
}
.check-chip span::before {
  content: ""; width: 14px; height: 14px; flex: none; border: 2px solid #B9B3A5; border-radius: 3px; background: #fff center / 10px no-repeat;
}
.check-chip:hover span { border-color: var(--navy); }
.check-chip input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.check-chip input:checked + span::before {
  border-color: var(--gold); background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1731' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.form-block { border-left: 4px solid var(--gold); padding: 4px 0 4px var(--s-2); margin: 0 0 var(--s-3); }
.form-block:not([hidden]) { animation: rise 300ms var(--ease-out); }
.form-block-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy-950); margin-bottom: var(--s-2); }
.field select {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: #fff; border: 2px solid #CFC9BC; border-radius: var(--radius-xs);
}
.field select:focus { outline: none; border-color: var(--navy); box-shadow: 4px 4px 0 var(--gold); }
@media (max-width: 560px) { .choice-cards { grid-template-columns: 1fr; } }
.form-required-note { font-size: .875rem; color: var(--ink-muted); }
.form-required-note a { color: var(--navy); font-weight: 700; }
.form-status { margin: var(--s-2) 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-info { padding: 12px 14px; border-radius: var(--radius-xs); background: #FFF6DE; color: #6B4B00; }
.form-status.is-success { padding: 12px 14px; border-radius: var(--radius-xs); background: #E6F4EA; color: #1E5B2E; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } .form-card { padding: var(--s-4) var(--s-3); box-shadow: 6px 6px 0 var(--navy); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; padding-block: var(--s-6); position: relative; overflow: hidden; }
.cta-band::after { /* oversized star watermark */
  content: ""; position: absolute; width: 420px; height: 420px; right: -80px; top: -120px;
  background: rgba(255,255,255,.08);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.6 0 1 .4 1.2 1l1.9 6.4 6.4 1.9c.6.2 1 .6 1 1.2s-.4 1-1 1.2l-6.4 1.9-1.9 6.4c-.2.6-.6 1-1.2 1s-1-.4-1.2-1l-1.9-6.4-6.4-1.9c-.6-.2-1-.6-1-1.2s.4-1 1-1.2l6.4-1.9 1.9-6.4c.2-.6.6-1 1.2-1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.6 0 1 .4 1.2 1l1.9 6.4 6.4 1.9c.6.2 1 .6 1 1.2s-.4 1-1 1.2l-6.4 1.9-1.9 6.4c-.2.6-.6 1-1.2 1s-1-.4-1.2-1l-1.9-6.4-6.4-1.9c-.6-.2-1-.6-1-1.2s.4-1 1-1.2l6.4-1.9 1.9-6.4c.2-.6.6-1 1.2-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.cta-sub { margin: var(--s-1) 0 0; color: rgba(255,255,255,.9); font-size: 1.1rem; font-weight: 500; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); letter-spacing: -.02em; max-width: 18ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
.cta-band .btn-gold { box-shadow: 5px 5px 0 var(--navy-950); }
.cta-band .btn-gold:hover { box-shadow: 7px 7px 0 var(--navy-950); }
.cta-band .btn-gold:active { box-shadow: 2px 2px 0 var(--navy-950); }
.cta-band .btn-outline-light { border-color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-items: stretch; }
.map-wrap { position: relative; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--navy-950); background: var(--surface-muted); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } .map-wrap { min-height: 320px; } }
.contact-card {
  display: grid; grid-template-columns: 1fr; gap: var(--s-4); align-content: center;
  background: var(--navy-900); color: var(--on-dark); border-radius: var(--radius-lg); padding: var(--s-6) var(--s-5);
  box-shadow: 10px 10px 0 var(--red);
}
.contact-card .section-title { color: #fff; margin-bottom: var(--s-2); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.contact-lead { color: var(--on-dark-muted); font-size: 1.1rem; margin: 0; max-width: 40ch; }
.contact-actions { display: grid; gap: var(--s-3); justify-items: start; }
.contact-phone {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); color: var(--gold);
}
.contact-phone .icon { width: 36px; height: 36px; color: #fff; }
.contact-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.socials { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.socials a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px;
  border: 2px solid rgba(255,255,255,.45); border-radius: var(--radius-xs); color: #fff; font-weight: 700; text-decoration: none;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
@media (max-width: 860px) { .contact-card { padding: var(--s-5) var(--s-3); box-shadow: 6px 6px 0 var(--red); } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-top: var(--s-6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--s-5); padding-bottom: var(--s-5); }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--radius-sm); padding: 10px 16px; margin-bottom: var(--s-2); }
.footer-logo img { height: 64px; width: auto; }
.footer-brand p { max-width: 38ch; }
.footer-heading { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-2); }
.site-footer ul { display: grid; gap: 4px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-2); border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--s-3); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.site-footer .footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--navy-900); color: #fff; padding-block: var(--s-6) var(--s-5); }
.legal-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -.02em; }
.legal-hero p { color: var(--on-dark-muted); margin: var(--s-2) 0 0; }
.legal-body { padding-block: var(--s-6) var(--s-7); }
.legal-body .container { max-width: 760px; }
.legal-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--navy-950); margin: var(--s-5) 0 var(--s-2); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink); font-size: 1.0625rem; }
.legal-body ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--red-text); font-weight: 700; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold); font-weight: 700; text-decoration: none; margin-bottom: var(--s-2); }
.back-link:hover { text-decoration: underline; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .value-card.reveal.is-visible:hover, .js .brand-card.reveal.is-visible:hover { transform: translate(-4px, -4px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .product-visual { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.product-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-row:hover .product-art, .product-row.is-active .product-art { transform: scale(1.05); }
.product-logos { position: absolute; left: 10px; bottom: 10px; right: 30%; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: grid; place-items: center; height: 34px; padding: 4px 6px; min-width: 44px; overflow: hidden;
  background: #fff; border-radius: var(--radius-xs); box-shadow: 0 2px 6px rgba(14, 23, 49, .25);
}
.chip img { height: 24px; width: auto; max-width: 66px; object-fit: contain; }
.chip-dark { background: #000; }
.chip-croc { background: #1AB0E2; padding: 0; width: 72px; }
.chip-croc img { width: 72px; height: 34px; max-width: none; object-fit: cover; object-position: 46% 50%; transform: scale(1.9); }

.product-ph::after { display: none; }
}

/* Legal pages: align header text with the body column; compact footer */
.legal-hero .container { max-width: 760px; }
.site-footer:has(> .footer-bottom:first-child) { padding-top: 0; }
.footer-bottom:first-child { border-top: 0; }

/* =========================================================
   30 años update (working copy)
   ========================================================= */


/* Catalog: larger visual so product photos can replace the art; sample tag until then */
@media (min-width: 861px) {
  .product-row { grid-template-columns: 96px 1fr 400px; }
  .product-ph { height: 220px; }
}
@media (max-width: 860px) { .product-ph { height: 180px; } }
.products-lead { color: var(--ink-muted); font-size: 1.1rem; margin: var(--s-2) 0 0; }
.photo-tag { position: absolute; left: 12px; top: 12px; z-index: 3; background: rgba(14, 23, 49, .85); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-xs); }

/* Contact: email link */
.contact-email { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-email .icon { width: 24px; height: 24px; color: var(--gold); }
.contact-email:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Catalog photos carry each brand's logo, so the chip row is hidden on them */
.product-visual:has(.product-photo) { background: #fff; outline: 2px solid var(--border); outline-offset: -2px; }
.product-visual:has(.product-photo) .product-logos { display: none; }

/* Nosotros: statement and copy start on the same line */
.about-statement { margin-top: 0; }
.about-copy > :first-child { margin-top: .35em; }
.about-copy > :last-child { margin-bottom: 0; }

/* Stats band: 30 años logo on the left, numbers on the right (stacked on phones) */
@media (min-width: 701px) {
  .stats-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-5); }
}
