/* =================================================================
   FishingIce — hoja de estilos principal
   Paleta: azul profundo / grafito / gris claro / blanco / azul hielo
   Tipografías: Archivo (títulos) + Inter (texto)
   ================================================================= */

/* ---------------------------- 1. Tokens ---------------------------- */
:root {
  /* Color */
  --ink:        #0A1A2B;   /* azul casi negro */
  --deep:       #0F2C48;   /* azul profundo */
  --graphite:   #33414F;   /* grafito */
  --slate:      #5B6B7A;   /* texto secundario */
  --line:       #DDE4EA;   /* bordes */
  --mist:       #F4F7F9;   /* gris claro de fondo */
  --white:      #FFFFFF;
  --accent:     #1F7FC4;   /* azul de acción */
  --accent-dark:#17638F;
  --ice:        #8CC7EA;   /* azul hielo (acento de invierno) */
  --ice-bg:     #EAF3F9;

  /* Tipografía */
  --font-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(2rem, 1.6rem + 1.9vw, 3.1rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);

  /* Espaciado y forma */
  --shell:     1200px;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius:    14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 26, 43, .06), 0 2px 8px rgba(10, 26, 43, .05);
  --shadow-md: 0 4px 12px rgba(10, 26, 43, .07), 0 18px 40px rgba(10, 26, 43, .08);
  --shadow-lg: 0 20px 60px rgba(10, 26, 43, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------- 2. Base ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 .6rem;
  font-weight: 700;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

ul, ol { margin: 0; padding: 0; }

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

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---------------------------- 3. Layout ---------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell-narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--ice); }
.eyebrow-ice   { color: var(--accent-dark); }

.section-title { font-size: var(--step-3); }
.section-title-light { color: var(--white); }

.section-lead {
  font-size: var(--step-1);
  color: var(--slate);
  line-height: 1.55;
  margin-top: 1.1rem;
}

/* ---------------------------- 4. Botones ---------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
  padding: .95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 127, 196, .28);
}
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6rem 1.15rem; font-size: var(--step--1); }
.btn-lg { padding: 1.1rem 2.3rem; font-size: var(--step-1); }
.btn-block { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--mist); color: var(--ink); box-shadow: none; }

/* ---------------------------- 5. Header ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 26, 43, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-text-accent { color: var(--accent); }

.site-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none;
}
.nav-link {
  position: relative;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--graphite);
  text-decoration: none;
  padding: .3rem 0;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: 1.4rem;
}
.header-phone {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bars { display: grid; gap: 5px; }
.nav-toggle-bars i {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------- 6. Hero ---------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  isolation: isolate;
  color: #fff;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,26,43,.72) 0%, rgba(10,26,43,.42) 45%, rgba(10,26,43,.82) 100%),
    linear-gradient(90deg, rgba(10,26,43,.7) 0%, rgba(10,26,43,0) 65%);
}

.hero-inner {
  padding-block: clamp(6rem, 14vw, 9rem);
  max-width: 900px;
}
.hero-title {
  font-size: var(--step-4);
  color: #fff;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.hero-sub {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, .86);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero-legal {
  margin-top: 1.2rem;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, .66);
}

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  translate: -50% 0;
  width: 1px; height: 54px;
  background: rgba(255,255,255,.25);
  overflow: hidden;
}
.hero-scroll span {
  display: block;
  width: 100%; height: 40%;
  background: var(--ice);
  animation: scrollHint 2.4s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(250%); }
  100% { transform: translateY(250%); }
}

/* ---------------------------- 7. Intro ---------------------------- */
.section-intro { background: var(--white); }

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.intro-card { position: relative; padding-right: 1rem; }
.intro-index {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ice);
  margin-bottom: .9rem;
}
.intro-card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.intro-card p { color: var(--slate); }

/* ---------------------------- 8. Tarjetas ---------------------------- */
.section-open { background: var(--mist); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.6rem 1.5rem 1.8rem; }
.card-title { font-size: var(--step-1); margin-bottom: .45rem; }
.card-body p { color: var(--slate); font-size: var(--step-0); }

/* ---------------------------- 9. Ice fishing ---------------------------- */
/* Cambio de temperatura: de agua abierta a hielo. */
.section-ice {
  background:
    linear-gradient(180deg, var(--ice-bg) 0%, #FBFDFE 55%, var(--white) 100%);
  position: relative;
}
.section-ice::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--deep), var(--ice), var(--white));
}

.ice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ice-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ice-figure img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }

.ice-list { display: grid; gap: 1.6rem; }
.ice-item {
  border-left: 2px solid var(--ice);
  padding-left: 1.25rem;
}
.ice-item h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.ice-item p { color: var(--slate); }

.ice-wide {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ice-wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ice-wide figcaption {
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 0;
  font-size: var(--step--1);
  color: var(--slate);
}

/* ---------------------------- 10. Ventajas ---------------------------- */
.section-benefits { background: var(--white); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.6rem);
  list-style: none;
}
.benefit {
  padding: 1.9rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.benefit:hover {
  border-color: rgba(31, 127, 196, .35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--ice-bg);
  color: var(--accent-dark);
  margin-bottom: 1.1rem;
}
.benefit h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.benefit p { color: var(--slate); font-size: var(--step-0); }

/* ---------------------------- 11. Proceso ---------------------------- */
.section-process { background: var(--mist); }

.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.4rem);
  list-style: none;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}
.process-num {
  position: absolute;
  top: -1px; left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  translate: 0 -50%;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 600;
}
.process-step h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.process-step p { color: var(--slate); }

/* ---------------------------- 12. Galería ---------------------------- */
.section-gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--mist);
  aspect-ratio: 3 / 2;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,26,43,0) 55%, rgba(10,26,43,.4) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 16, 27, .93);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
}
.lightbox-figure img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.lightbox-figure figcaption {
  margin-top: 1rem;
  color: rgba(255,255,255,.75);
  font-size: var(--step--1);
}
.lightbox-close,
.lightbox-nav {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.25rem; }

/* ---------------------------- 13. FAQ ---------------------------- */
.section-faq { background: var(--mist); }

.accordion {
  border-top: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-heading { margin: 0; font-size: inherit; }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.35rem 1.5rem;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.accordion-trigger:hover { background: var(--mist); }
.accordion-icon {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 18px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.accordion-icon::after { transform: rotate(90deg); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(0deg); }

.accordion-panel { padding: 0 1.5rem 1.5rem; color: var(--slate); max-width: 68ch; }
.accordion-panel[hidden] { display: none; }

/* ---------------------------- 14. Contacto ---------------------------- */
.section-contact {
  background:
    radial-gradient(120% 90% at 12% 0%, #143A5C 0%, var(--ink) 62%);
  color: rgba(255,255,255,.82);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-lead {
  font-size: var(--step-1);
  color: rgba(255,255,255,.78);
  max-width: 46ch;
  margin-bottom: 2.4rem;
}
.contact-data { list-style: none; display: grid; gap: 1.3rem; }
.contact-data li { display: grid; gap: .2rem; }
.contact-label {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ice);
}
.contact-data a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-data a:hover { border-bottom-color: var(--ice); color: var(--ice); }

/* Formulario */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  color: var(--graphite);
}
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }

.form label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
}
.req { color: var(--accent); }
.opt { font-weight: 400; color: var(--slate); }

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--white);
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form textarea { resize: vertical; min-height: 120px; }
.form select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%235B6B7A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(31, 127, 196, .16);
}
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible { outline: none; }
.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] { border-color: #C0392B; }

.field-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  margin-top: .25rem;
}
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.field-check label { font-weight: 400; font-size: var(--step--1); color: var(--slate); line-height: 1.5; }

.form-note {
  font-size: .82rem;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
}
.field-error { font-size: .82rem; color: #C0392B; }

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-alert {
  background: #FDF1EF;
  border: 1px solid #E9BDB6;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.4rem;
  color: #8E2E20;
}
.form-alert-title { font-weight: 600; margin-bottom: .35rem; }
.form-alert ul { padding-left: 1.1rem; list-style: disc; font-size: var(--step--1); }

/* ---------------------------- 15. Footer ---------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.68);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
  font-size: var(--step--1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.brand-footer { color: #fff; margin-bottom: 1.1rem; }
.footer-note { max-width: 34ch; line-height: 1.65; }
.footer-title {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 1.1rem;
}
.footer-list { list-style: none; display: grid; gap: .6rem; }
.footer-list a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-contact span { color: rgba(255,255,255,.6); }

.footer-social { display: flex; gap: .6rem; list-style: none; margin-top: 1.5rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: rgba(255,255,255,.75);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.footer-social a:hover { background: rgba(255,255,255,.1); color: #fff; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  gap: .6rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.footer-disclaimer { max-width: 90ch; }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.wa-float:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

/* ---------------------------- 16. Páginas de texto ---------------------------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem);
}
.page-hero h1 { color: #fff; font-size: var(--step-3); }
.page-hero p { color: rgba(255,255,255,.72); max-width: 60ch; margin-top: 1rem; }

.breadcrumb { font-size: var(--step--1); margin-bottom: 1.75rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb a { color: var(--ice); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; color: rgba(255,255,255,.4); }

.prose { padding-block: clamp(3rem, 6vw, 5rem); }
.prose h2 {
  font-size: var(--step-2);
  margin-top: 2.6rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.9rem; }
.prose p, .prose li { color: var(--graphite); }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .5rem; }
.prose .meta { font-size: var(--step--1); color: var(--slate); }

/* thank-you / 404 */
.status-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(4rem, 10vw, 8rem);
  background: var(--mist);
}
.status-card {
  max-width: 640px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-md);
}
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--ice-bg);
  color: var(--accent-dark);
  margin-bottom: 1.5rem;
}
.status-card h1 { font-size: var(--step-3); }
.status-card p { color: var(--slate); }
.status-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.status-code {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--ice);
  line-height: 1;
  margin-bottom: .5rem;
}

/* ---------------------------- 17. Animaciones de scroll ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------- 18. Responsive ---------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .ice-layout { grid-template-columns: 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 1rem var(--gutter) 1.75rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-link { display: block; padding: .95rem 0; font-size: 1.02rem; }
  .nav-link::after { display: none; }

  .hero { min-height: auto; }
  .hero-scroll { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .lightbox-nav { position: absolute; bottom: 1.5rem; }
  .lightbox-prev { left: 1.5rem; }
  .lightbox-next { right: 1.5rem; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
  .wa-float { width: 52px; height: 52px; }
}

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

@media print {
  .site-header, .wa-float, .site-footer, .lightbox { display: none !important; }
  body { color: #000; }
}
