/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

:root {
  --bg: #14100c;
  --bg-2: #1a1510;
  --bg-3: #221b14;
  --bg-4: #2c2318;
  --cream: #f2ece0;
  --cream-2: #d9cfbd;
  --cream-mute: #a29a8b;
  --gold: #d9a94d;
  --gold-deep: #b8882f;
  --amber: #e8930a;
  --line: rgba(242, 236, 224, 0.12);
  --line-2: rgba(242, 236, 224, 0.22);

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--font-display); }
em { font-style: normal; color: var(--gold); }
::selection { background: var(--gold); color: var(--bg); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px) { .container { padding-inline: 2rem; } }

.eyebrow {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--gold); display: inline-block; }

.section-title { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 600; max-width: 20ch; margin-bottom: 1.1rem; }
.section-lede { font-size: 1.05rem; color: var(--cream-2); max-width: 62ch; line-height: 1.65; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 500; background: rgba(255,255,255,0.06); pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--amber)); transform-origin: 0 0; transform: scaleX(0); transition: transform .08s linear; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1510; box-shadow: 0 8px 24px rgba(217,169,77,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(217,169,77,.4); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-xl { padding: 1.3rem 2.5rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-nav-cta { padding: .65rem 1.2rem; font-size: .85rem; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1510; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding-block: 1.1rem;
  transition: background .35s var(--ease-out), padding .35s var(--ease-out), border-color .35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(20,16,12,.86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); padding-block: .7rem; border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.nav-brand img { border-radius: 6px; }
.nav-links { display: none; gap: 1.9rem; font-size: .92rem; font-weight: 500; color: var(--cream-2); }
.nav-links a { position: relative; padding-block: .3rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease-out); }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.btn-nav-cta { display: none; }
.nav-burger { position: relative; width: 34px; height: 34px; display: grid; place-items: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; width: 20px; height: 2px; background: var(--cream); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-burger span::before { transform: translateY(-6px); }
.nav-burger span::after { transform: translateY(6px); }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); z-index: 190;
  display: flex; flex-direction: column; gap: 1.6rem; padding: 2rem 1.5rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav-mobile.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile a { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .btn-nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,12,.55) 0%, rgba(20,16,12,.4) 35%, rgba(20,16,12,.88) 88%, var(--bg) 100%),
    linear-gradient(90deg, rgba(20,16,12,.55) 0%, transparent 45%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 40% at var(--mesh-x) var(--mesh-y), rgba(217,169,77,.28), transparent 65%),
    conic-gradient(from var(--mesh-angle), rgba(232,147,10,.14), transparent 30%, rgba(217,169,77,.14), transparent 70%);
  filter: blur(90px) saturate(120%);
  opacity: .8; mix-blend-mode: screen;
  animation: meshShift 26s linear infinite;
}
@keyframes meshShift {
  0% { --mesh-angle: 0deg; --mesh-x: 25%; --mesh-y: 30%; }
  50% { --mesh-angle: 180deg; --mesh-x: 70%; --mesh-y: 55%; }
  100% { --mesh-angle: 360deg; --mesh-x: 25%; --mesh-y: 30%; }
}
.hero-inner { position: relative; padding-block: 7rem 3.5rem; width: 100%; }
.hero-meta { display: flex; align-items: center; gap: .55rem; font-family: var(--font-mono); font-size: .82rem; color: var(--cream-2); margin-bottom: 1.3rem; letter-spacing: .04em; }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(232,147,10,.2); }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 700; line-height: .98; text-shadow: 0 4px 30px rgba(0,0,0,.5); max-width: 16ch; }
.hero-sub { margin-top: 1.4rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--cream-2); max-width: 46ch; line-height: 1.6; }
.hero-actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; max-width: 640px; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.stat-item .stat-value { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: var(--gold); }
.stat-item .stat-label { font-size: .85rem; color: var(--cream-2); margin-top: .2rem; }
.stat-item .stat-sub { font-size: .75rem; color: var(--cream-mute); }
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   7. Sections generic
   ============================================================= */
.section { position: relative; padding-block: clamp(4rem, 8vw, 7rem); }
.section-halo {
  position: absolute; left: 5%; top: -120px; width: min(60%, 640px); height: 640px;
  pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(217,169,77,.16), transparent 72%);
  filter: blur(50px);
}
.section-halo-amber { left: auto; right: 5%; background: radial-gradient(closest-side, rgba(232,147,10,.18), transparent 72%); }
.section > .container { position: relative; z-index: 1; }
.section-nosotros { background: var(--bg-2); }
.section-equipos { background: var(--bg); }
.section-calc { background: var(--bg-2); }
.section-cobertura { background: var(--bg); }

/* =============================================================
   8. Nosotros
   ============================================================= */
.nosotros-grid { display: grid; gap: 2.5rem; margin-top: 3rem; }
.nosotros-timeline { display: flex; flex-direction: column; gap: 1.6rem; }
.history-item { display: grid; grid-template-columns: 72px 1fr; gap: 1.1rem; padding-block: .3rem; }
.history-item .year { font-family: var(--font-mono); font-weight: 600; color: var(--amber); font-size: 1.05rem; }
.history-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .3rem; }
.history-item p { font-size: .92rem; color: var(--cream-2); line-height: 1.55; }
.nosotros-photo { border-radius: 18px; overflow: hidden; position: relative; border: 1px solid var(--line); }
.nosotros-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform .8s var(--ease-out); }
.nosotros-photo:hover img { transform: scale(1.05); }
.nosotros-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(20,16,12,.9));
  font-size: .88rem; color: var(--cream-2); font-style: italic;
}
@media (min-width: 960px) { .nosotros-grid { grid-template-columns: 1.15fr .85fr; } }

.pillars-grid { display: grid; gap: 1.1rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
.pillar-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), background .4s var(--ease-out); }
.pillar-card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--bg-4); }
.pillar-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .55rem; color: var(--gold); }
.pillar-card p { font-size: .9rem; color: var(--cream-2); line-height: 1.55; }
@media (min-width: 720px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   9. Equipos showcase (pinned horizontal)
   ============================================================= */
.showcase { margin-top: 3rem; }
.showcase-track {
  display: flex; gap: 1.4rem; padding-inline: 1.25rem; padding-block: .5rem 2.5rem;
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x proximity;
}
@media (min-width: 720px) { .showcase-track { padding-inline: 2rem; } }

.eq-card {
  flex: 0 0 min(340px, 82vw); scroll-snap-align: start;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
  position: relative;
}
.eq-card:hover { transform: translateY(-6px) rotateX(2deg); border-color: var(--gold-deep); box-shadow: 0 24px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(217,169,77,.15); }
.eq-card-photos { display: grid; gap: 2px; aspect-ratio: 4/3; }
.eq-card-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.eq-card:hover .eq-card-photos img { transform: scale(1.07); }
.eq-card-photos.count-2 { grid-template-columns: 1fr 1fr; }
.eq-card-photos.count-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.eq-card-photos.count-3 img:first-child { grid-row: 1 / 3; }
.eq-card-body { padding: 1.5rem; }
.eq-card-tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.eq-card-body h3 { font-size: 1.2rem; font-weight: 600; margin-block: .5rem .6rem; }
.eq-card-body p { font-size: .88rem; color: var(--cream-2); line-height: 1.55; }

/* =============================================================
   10. Calculadora
   ============================================================= */
.calc-panel { margin-top: 3rem; background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.calc-cols { display: grid; gap: 2rem; }
.calc-col h3 { font-size: 1.05rem; font-weight: 600; color: var(--gold); margin-bottom: 1rem; }
.calc-list { display: flex; flex-direction: column; gap: .7rem; }
@media (min-width: 860px) { .calc-cols { grid-template-columns: 1fr 1fr; } }

.calc-item { display: flex; align-items: center; gap: .9rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; transition: border-color .3s var(--ease-out); }
.calc-item.is-active { border-color: var(--gold-deep); background: var(--bg-4); }
.calc-item-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .25s var(--ease-out), border-color .25s var(--ease-out); }
.calc-item.is-active .calc-item-check { background: var(--gold); border-color: var(--gold); }
.calc-item-check svg { width: 14px; height: 14px; color: var(--bg); opacity: 0; transition: opacity .2s var(--ease-out); }
.calc-item.is-active .calc-item-check svg { opacity: 1; }
.calc-item-main { flex: 1; min-width: 0; cursor: pointer; }
.calc-item-name { font-size: .92rem; font-weight: 600; }
.calc-item-spec { font-family: var(--font-mono); font-size: .76rem; color: var(--cream-mute); margin-top: .15rem; }
.calc-item-price { font-family: var(--font-mono); font-size: .82rem; color: var(--gold); white-space: nowrap; }
.calc-item-qty { display: flex; align-items: center; gap: .5rem; opacity: .35; pointer-events: none; transition: opacity .25s var(--ease-out); }
.calc-item.is-active .calc-item-qty { opacity: 1; pointer-events: auto; }
.qty-btn { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-4); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; transition: background .2s var(--ease-out); }
.qty-btn:hover { background: var(--gold-deep); color: var(--bg); }
.qty-value { font-family: var(--font-mono); font-size: .85rem; min-width: 1.4ch; text-align: center; }

.calc-summary { margin-top: 2.2rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.calc-summary-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 1.05rem; margin-bottom: .6rem; }
.calc-summary-row strong { font-family: var(--font-mono); font-size: 1.6rem; color: var(--gold); }
.calc-note { font-size: .82rem; color: var(--cream-mute); margin-bottom: .5rem; line-height: 1.5; }
.calc-disclaimer { font-size: .74rem; color: var(--cream-mute); opacity: .85; font-style: italic; margin-bottom: 1.4rem; line-height: 1.5; }
.calc-hours { color: var(--cream); font-weight: 600; }
.calc-col-sub { margin-top: 2rem; }

.calc-discount {
  margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.3rem; border-radius: 16px;
  background: linear-gradient(135deg, rgba(217,169,77,.14), rgba(232,147,10,.06));
  border: 1px solid rgba(217,169,77,.35);
}
.calc-discount p { font-size: .95rem; color: var(--cream-2); flex: 1 1 260px; line-height: 1.5; }
.calc-discount strong { color: var(--cream); }
.calc-discount-tag {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--gold); color: var(--bg); padding: .35rem .7rem; border-radius: 999px; flex-shrink: 0;
}

/* =============================================================
   11. Cobertura
   ============================================================= */
.cobertura-grid { display: grid; gap: 2.5rem; align-items: center; }
.contact-block { margin-top: 2.2rem; display: flex; flex-direction: column; gap: .9rem; }
.contact-row { display: flex; align-items: center; gap: .8rem; font-size: .95rem; font-weight: 500; color: var(--cream-2); transition: color .25s var(--ease-out); }
.contact-row svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; }
.contact-row:hover { color: var(--gold); }
.map-frame { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) sepia(.15) saturate(1.1); }
.map-badge {
  position: absolute; left: .8rem; right: .8rem; bottom: .8rem; pointer-events: none;
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 1rem; border-radius: 14px;
  background: rgba(20,16,12,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(217,169,77,.35); box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.map-badge-pin { flex-shrink: 0; width: 10px; height: 10px; margin-top: .35rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(232,147,10,.25); }
.map-badge strong { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--cream); }
.map-badge span { display: block; font-size: .8rem; color: var(--cream-2); line-height: 1.45; margin-top: .15rem; }
@media (min-width: 960px) { .cobertura-grid { grid-template-columns: 1.1fr .9fr; } .map-frame { aspect-ratio: 1/1; } }

/* =============================================================
   11b. Preguntas frecuentes
   ============================================================= */
.section-faq { background: var(--bg-2); }
.faq-grid { display: grid; gap: 2.5rem; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s var(--ease-out), background .3s var(--ease-out); }
.faq-item[open] { border-color: var(--gold-deep); background: var(--bg-4); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-icon { position: relative; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .3s var(--ease-out); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { padding: 0 1.3rem 1.2rem; font-size: .93rem; color: var(--cream-2); line-height: 1.6; max-width: 62ch; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } .faq-grid > div:first-child { position: sticky; top: calc(var(--nav-h) + 1.5rem); } }

/* =============================================================
   12. CTA final + footer
   ============================================================= */
.section-cta-final { padding-block: clamp(4rem, 9vw, 7rem); text-align: center; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.section-cta-final h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 2rem; max-width: 20ch; margin-inline: auto; }
.section-cta-final p { margin-top: 1.4rem; font-family: var(--font-mono); font-size: .9rem; color: var(--cream-mute); }

.footer { border-top: 1px solid var(--line); padding-block: 2.6rem; background: var(--bg); }
.footer-inner { display: flex; flex-direction: column; gap: 1.8rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { border-radius: 6px; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.footer-brand span { display: block; font-size: .78rem; color: var(--cream-mute); margin-top: .15rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .88rem; color: var(--cream-2); }
.footer-links a:hover { color: var(--gold); }
.footer-meta { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; color: var(--cream-mute); }
@media (min-width: 960px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } .footer-meta { text-align: right; } }

/* =============================================================
   13. Float WhatsApp
   ============================================================= */
.float-whatsapp {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #1a1510;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .3s var(--ease-bounce);
  animation: floatPulse 2.6s ease-in-out infinite;
}
.float-whatsapp svg { width: 28px; height: 28px; }
.float-whatsapp:hover { transform: scale(1.08); }
@keyframes floatPulse { 0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 0 0 rgba(217,169,77,.4); } 50% { box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 0 10px rgba(217,169,77,0); } }

/* =============================================================
   14. Reveal on scroll
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   15. Responsive tweaks
   ============================================================= */
@media (max-width: 539px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* Calculadora en celular: precio y jornadas en una segunda línea */
  .calc-panel { padding: 1.1rem; }
  .calc-item {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "check main main" ". price qty";
    column-gap: .8rem; row-gap: .55rem; padding: .85rem .9rem;
  }
  .calc-item-check { grid-area: check; align-self: start; margin-top: .1rem; }
  .calc-item-main { grid-area: main; }
  .calc-item-price { grid-area: price; align-self: center; }
  .calc-item-qty { grid-area: qty; }
  .calc-summary-row strong { font-size: 1.35rem; }
}

/* =============================================================
   16. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .float-whatsapp { animation: none; }
}
