/* ==========================================================================
   COSTA DETAILING · styles.css
   Limpieza y detailing náutico · Tarragona · Barcelona · Castellón
   Arquitectura: mobile-first. Los @media (min-width) amplían, nunca corrigen.
   Índice:
     01. Tokens (:root)
     02. Reset y base
     03. Layout y utilidades
     04. Banner de cookies
     05. Banner de urgencia + Header / Navegación
     06. Botones
     07. Hero
     08. Servicios
     09. Planes y precios
     10. B2B · Brokers y marinas
     11. Valor diferencial · Proceso · Productos
     12. Prueba social · Comparador, galería y testimonios
     13. Cobertura y contacto
     14. Footer
     15. Animaciones de entrada y accesibilidad de movimiento
   ========================================================================== */


/* 01. TOKENS
   ========================================================================== */
:root {
  /* Paleta */
  --ocean:        #0a2540;
  --ocean-deep:   #051a30;
  --cyan:         #00d4ff;
  --turq:         #00b4a0;
  --coral:        #ff6b35;
  --coral-deep:   #ff4500;
  --gold:         #ffd166;
  --white:        #ffffff;
  --wa:           #25d366;
  --danger:       #dc2626;

  /* Texto sobre fondo oscuro */
  --text:         rgba(255, 255, 255, .92);
  --text-soft:    rgba(255, 255, 255, .58);
  --text-faint:   rgba(255, 255, 255, .38);

  /* Superficies */
  --surface:      rgba(255, 255, 255, .04);
  --surface-2:    rgba(255, 255, 255, .07);
  --border:       rgba(255, 255, 255, .10);
  --border-strong:rgba(255, 255, 255, .18);

  /* Tipografía */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-heading: 'Syne', 'Trebuchet MS', sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-hero:      clamp(3rem, 11vw, 6.5rem);
  --fs-section:   clamp(2.2rem, 7vw, 4rem);
  --fs-title:     clamp(1.6rem, 4.5vw, 2.4rem);
  --fs-body:      1rem;
  --fs-sm:        .88rem;
  --fs-xs:        .78rem;

  /* Espaciado */
  --pad-x:        1.25rem;
  --section-y:    4.5rem;
  --gap:          1rem;

  /* Formas */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-pill: 100px;

  /* Sombras */
  --shadow-card:  0 18px 45px rgba(0, 0, 0, .3);
  --shadow-coral: 0 8px 28px rgba(255, 107, 53, .35);
  --shadow-cyan:  0 8px 28px rgba(0, 212, 255, .3);

  /* Cabecera fija: altura usada por scroll-margin */
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root { --pad-x: 2.5rem; --section-y: 6rem; --header-h: 72px; }
}
@media (min-width: 1200px) {
  :root { --pad-x: 4rem; --section-y: 7rem; }
}


/* 02. RESET Y BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--ocean);
  overflow-x: hidden;
}

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

ul { list-style: none; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

/* Foco visible y consistente para navegación por teclado */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Compensa la cabecera fija al saltar por anclas */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--cyan);
  color: var(--ocean);
  font-weight: 700;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

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


/* 03. LAYOUT Y UTILIDADES
   ========================================================================== */
.section { padding: var(--section-y) var(--pad-x); position: relative; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; }
.container--narrow { max-width: 900px; }

.section-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-section);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.section-title span { color: var(--coral); }

.section-sub {
  color: var(--text-soft);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.section--center { text-align: center; }
.section--center .section-sub { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }


/* 04. BANNER DE COOKIES
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 1000;
  max-width: 560px;
  margin-inline: auto;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--ocean-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
}
.cookie-banner[hidden] { display: none; }
.cookie-title { font-family: var(--font-heading); font-weight: 800; margin-bottom: .4rem; }
.cookie-text { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }
.cookie-text a { color: var(--cyan); }
.cookie-actions { display: flex; gap: .6rem; margin-top: 1rem; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { width: auto; flex: 1 1 140px; justify-content: center; }
.footer-cookie-btn {
  background: none; border: 0; padding: 0;
  font-size: var(--fs-xs); color: var(--text-soft); text-decoration: underline; cursor: pointer;
}


/* 05. BANNER DE URGENCIA + HEADER / NAVEGACIÓN
   ========================================================================== */
.urgency-banner {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  padding: .8rem var(--pad-x);
  text-align: center;
}
.urgency-banner p {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.urgency-banner span { color: var(--gold); }
.urgency-banner a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: .75rem var(--pad-x);
  background: rgba(10, 37, 64, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 255, .12);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--cyan);
  text-decoration: none;
  text-shadow: 0 0 20px rgba(0, 212, 255, .5);
  white-space: nowrap;
}
.logo span { color: var(--coral); }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 1.4rem; }
.nav-desktop a {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  transition: color .2s;
}
.nav-desktop a:hover { color: var(--cyan); }
.nav-desktop .nav-promo { color: var(--gold); font-weight: 800; }
.nav-desktop .nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: .6rem 1.2rem;
  border-radius: var(--r-sm);
}
.nav-desktop .nav-cta:hover { background: #ff8c5a; color: var(--white); }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 2rem;
  background: rgba(10, 37, 64, .98);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.nav-mobile.is-open { opacity: 1; visibility: visible; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}
.nav-mobile a:hover { color: var(--cyan); }
.nav-mobile .nav-promo { color: var(--gold); }
.nav-mobile .nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: .85rem 2rem;
  border-radius: var(--r-sm);
  margin-top: .5rem;
}

@media (min-width: 1320px) {
  .nav-desktop { display: block; }
  .hamburger { display: none; }
  .logo { font-size: 1.9rem; }
  .nav-desktop a { font-size: .8rem; letter-spacing: 1.5px; }
}


/* 06. BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.8rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: var(--white);
  box-shadow: var(--shadow-coral);
}
.btn--primary:hover { box-shadow: 0 12px 38px rgba(255, 107, 53, .5); }

.btn--wa {
  background: linear-gradient(135deg, var(--wa), #128c3e);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .3);
}

.btn--ghost {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}
.btn--ghost:hover { background: rgba(0, 212, 255, .1); }

.btn--block { width: 100%; }

/* En móvil los CTAs ocupan el ancho: objetivos táctiles grandes */
@media (max-width: 519px) {
  .btn { width: 100%; }
}


/* 07. HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: 3.5rem var(--pad-x) 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0, 180, 160, .15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 212, 255, .1) 0%, transparent 60%),
    linear-gradient(160deg, var(--ocean) 0%, var(--ocean-deep) 60%, #071e38 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 650px; }

.hero-badge {
  display: inline-block;
  background: rgba(0, 212, 255, .12);
  border: 1px solid rgba(0, 212, 255, .4);
  color: var(--cyan);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.5;
  padding: .45rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: .95;
  letter-spacing: 2px;
}
.hero-title .line-2 { display: block; color: var(--cyan); }
.hero-title .line-3 { display: block; color: var(--coral); }

.hero-slogan {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
}
.hero-sub {
  margin-top: .75rem;
  max-width: 46ch;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold);
}
.stat-label {
  margin-top: .2rem;
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-boat { display: none; }

.hero-waves {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  overflow: hidden;
  pointer-events: none;
}
.hero-waves svg { width: 100%; height: 100%; }
.wave-1 { animation: waveMove 8s linear infinite; }
.wave-2 { animation: waveMove 12s linear infinite reverse; opacity: .5; }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, .3), rgba(0, 180, 160, .05));
  border: 1px solid rgba(0, 212, 255, .2);
  animation: floatUp linear infinite;
  will-change: transform;
}
@keyframes floatUp {
  0%   { transform: translate3d(0, 100vh, 0) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .5; }
  100% { transform: translate3d(0, -20vh, 0) scale(1); opacity: 0; }
}

@media (min-width: 768px) {
  .hero-slogan { font-size: 1.35rem; }
  .hero-waves { height: 200px; }
}
@media (min-width: 1024px) {
  .hero-boat {
    display: block;
    position: absolute;
    right: -2%;
    bottom: 15%;
    width: 52%;
    max-width: 700px;
    z-index: 1;
    opacity: .9;
    animation: boatFloat 6s ease-in-out infinite;
    will-change: transform;
  }
  @keyframes boatFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
    50%      { transform: translate3d(0, -20px, 0) rotate(1deg); }
  }
  .stat-num { font-size: 2.5rem; }
}


/* 08. SERVICIOS
   ========================================================================== */
.services-grid { grid-template-columns: 1fr; gap: 1.25rem; }

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  border: 1px solid var(--border);
  border-top: 3px solid var(--card-accent, var(--cyan));
  border-radius: var(--r-lg);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-icon { display: block; font-size: 2.4rem; line-height: 1; margin-bottom: 1rem; }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: .6rem;
}
.service-card p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.65; }
.service-tag {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--card-accent, var(--cyan));
}

.services-foot {
  margin-top: 2rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.7;
}
.services-foot a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, .4);
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .service-card { padding: 2.25rem 2rem; }
}


/* 09. PLANES Y PRECIOS
   ========================================================================== */
#planes { overflow: hidden; }
#planes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(255, 209, 102, .06) 0%, transparent 70%);
  pointer-events: none;
}

.plans-header { text-align: center; margin-bottom: 2.5rem; }
.plans-header .section-sub { margin-inline: auto; }

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--gold), #f5a000);
  color: var(--ocean);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}
.promo-badge .dot {
  width: 8px; height: 8px;
  background: var(--ocean);
  border-radius: 50%;
  animation: blinkDot 1.4s ease-in-out infinite;
}
@keyframes blinkDot { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.plans-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 2px solid var(--plan-color, var(--border-strong));
  border-radius: var(--r-xl);
  transition: transform .3s, box-shadow .3s;
}
.plan-card:hover { transform: translateY(-8px); }

.plan-badge {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .38rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
  background: var(--plan-color, var(--cyan));
  color: var(--plan-ink, var(--ocean));
}
.plan-when {
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .4rem;
}
.plan-price {
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: .3rem;
}
.plan-price .amount { font-size: 4rem; color: var(--plan-color, var(--cyan)); }
.plan-price .period { font-size: 1.1rem; color: var(--text-soft); margin-left: .25rem; }
.plan-vat {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  letter-spacing: .5px;
  margin-bottom: .35rem;
}
.plan-note {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.plan-features { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.5rem; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.5;
}
.plan-features li::before {
  content: '✓';
  flex-shrink: 0;
  font-weight: 800;
  color: var(--plan-color, var(--cyan));
}
.plan-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: .9rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  border-radius: var(--r-md);
  background: var(--plan-color, var(--cyan));
  color: var(--plan-ink, var(--ocean));
  transition: transform .2s, box-shadow .2s;
}
.plan-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.plan-eslora {
  margin-top: .9rem;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--turq);
}

/* Variantes cromáticas por pack */
.plan-card--shark  { --plan-color: var(--cyan);   --plan-ink: var(--ocean); }
.plan-card--dorada { --plan-color: var(--gold);   --plan-ink: var(--ocean); }
.plan-card--tuna   { --plan-color: var(--coral);  --plan-ink: var(--white); }
.plan-card--crab   { --plan-color: #ef4444;       --plan-ink: var(--white); }

/* Condición obligatoria de contratación */
.plans-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(135deg, rgba(255, 209, 102, .12), rgba(255, 107, 53, .05));
  border: 1px solid rgba(255, 209, 102, .4);
  border-radius: var(--r-lg);
  position: relative;
  z-index: 1;
}
.plans-note .note-icon { font-size: 1.6rem; line-height: 1.2; flex-shrink: 0; }
.plans-note p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.45;
}
.plans-note p strong { color: var(--gold); }
.plans-note small {
  display: block;
  margin-top: .35rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  line-height: 1.55;
}

/* Bloque Keelcrab (servicio suelto) */
.keelcrab-block { max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }

/* Promoción de temporada */
.promo-autumn {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 1.75rem 1.4rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 53, .1), rgba(255, 209, 102, .04));
  border: 1px solid rgba(255, 107, 53, .35);
  border-radius: var(--r-xl);
}
.promo-autumn .pa-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 85% 20%, rgba(255, 209, 102, .12), transparent 70%);
  pointer-events: none;
}
.pa-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .45rem 1.1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.4rem;
}
.pa-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.pa-text h3 {
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1.05;
  margin-bottom: .8rem;
}
.pa-text h3 span { color: var(--gold); }
.pa-text p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.7; }
.pa-exclusion {
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: rgba(0, 0, 0, .22);
  border-left: 3px solid var(--coral);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .72);
}
.pa-exclusion strong { color: var(--coral); }
.pa-price {
  text-align: center;
  padding: 1.6rem 1.25rem;
  background: rgba(10, 37, 64, .5);
  border: 1px solid rgba(255, 209, 102, .3);
  border-radius: var(--r-lg);
}
.pa-amount {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(255, 209, 102, .35);
}
.pa-label {
  margin-top: .3rem;
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1.5;
}
.pa-cta { margin-top: 1.2rem; width: 100%; }

@media (min-width: 700px) {
  .plans-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .plans-note { align-items: center; padding: 1.3rem 1.7rem; }
  .promo-autumn { padding: 2.5rem; }
  .pa-body { flex-direction: row; align-items: center; gap: 3rem; }
  .pa-text { flex: 1 1 380px; }
  .pa-price { flex: 0 0 240px; }
  .pa-amount { font-size: 4.5rem; }
}


/* 10. B2B · BROKERS Y MARINAS
   ========================================================================== */
#b2b { overflow: hidden; }
.b2b-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(0, 180, 160, .09), transparent 65%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(0, 212, 255, .07), transparent 70%);
  pointer-events: none;
}
.b2b-grid { position: relative; z-index: 1; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }

.b2b-lead {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.75;
  margin: 1.25rem 0 1rem;
  max-width: 60ch;
}
.b2b-lead strong { color: var(--cyan); font-weight: 700; }
.b2b-sub {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 2rem;
}

.b2b-list { display: flex; flex-direction: column; gap: 1.3rem; margin-bottom: 2rem; }
.b2b-list li { display: flex; gap: 1rem; align-items: flex-start; }
.b2b-list .b2b-ico { font-size: 1.4rem; line-height: 1.2; flex-shrink: 0; }
.b2b-list p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }
.b2b-list strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .98rem;
  color: var(--white);
  margin-bottom: .2rem;
}

.b2b-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.b2b-actions-note {
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  line-height: 1.6;
  max-width: 55ch;
}
.b2b-actions-note strong { color: rgba(255, 255, 255, .75); }
.b2b-actions-note .mail { color: var(--cyan); white-space: nowrap; }

.b2b-card {
  padding: 2rem 1.6rem;
  background: linear-gradient(145deg, rgba(0, 212, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(0, 212, 255, .28);
  border-radius: var(--r-xl);
  box-shadow: 0 0 60px rgba(0, 212, 255, .08);
}
.b2b-card-badge {
  display: inline-block;
  background: var(--cyan);
  color: var(--ocean);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .38rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}
.b2b-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.b2b-card-list { display: flex; flex-direction: column; gap: .8rem; }
.b2b-card-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.55;
}
.b2b-card-list li::before { content: '✓'; color: var(--cyan); font-weight: 800; flex-shrink: 0; }
.b2b-card-foot {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.6;
}
.b2b-card-foot strong { color: rgba(255, 255, 255, .85); }
.b2b-card-cta { margin-top: 1.25rem; width: 100%; }

/* Colaborador oficial de brokerage (InterYachts) */
.partner {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.partner-plate {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1rem 1.4rem;
  width: 100%;
  max-width: 340px;
}
.partner-plate img { display: block; width: 100%; height: auto; }
.partner-tag {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: .35rem;
}
.partner-desc { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; max-width: 48ch; }
.partner-desc strong { color: rgba(255, 255, 255, .85); }

@media (min-width: 768px) {
  .partner { flex-direction: row; justify-content: center; gap: 2rem; text-align: left; }
  .partner-plate { flex: 0 0 300px; }
}

@media (min-width: 1024px) {
  .b2b-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .b2b-card { padding: 2.5rem 2.2rem; }
}


/* 11. VALOR DIFERENCIAL · PROCESO · PRODUCTOS
   ========================================================================== */
#diferencial { background: linear-gradient(180deg, transparent, rgba(255, 107, 53, .04), transparent); }
.diff-grid { grid-template-columns: 1fr; gap: 2.5rem; align-items: center; margin-top: 2rem; }
.diff-items { display: flex; flex-direction: column; gap: 1.75rem; }
.diff-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.diff-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--coral);
  opacity: .45;
  min-width: 2.2rem;
}
.diff-item h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}
.diff-item p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }

.diff-highlight {
  text-align: center;
  padding: 2.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, .1), rgba(0, 212, 255, .05));
  border: 1px solid rgba(255, 107, 53, .2);
  border-radius: var(--r-xl);
}
.diff-highlight .big {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--coral);
  text-shadow: 0 0 40px rgba(255, 107, 53, .3);
}
.diff-highlight p { margin-top: .5rem; color: var(--text-soft); line-height: 1.5; }
.diff-highlight .sub {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}

#proceso { background: linear-gradient(180deg, transparent, rgba(0, 180, 160, .04), transparent); }
.process-steps { position: relative; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 .5rem; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem; height: 4.5rem;
  margin: 0 auto 1.1rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  border-radius: 50%;
}
.step:nth-child(1) .step-num { background: linear-gradient(135deg, var(--cyan), #0090b8); box-shadow: var(--shadow-cyan); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--turq), #007a68); box-shadow: 0 8px 28px rgba(0, 180, 160, .3); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, var(--gold), #e5a800); color: var(--ocean); box-shadow: 0 8px 28px rgba(255, 209, 102, .3); }
.step:nth-child(4) .step-num { background: linear-gradient(135deg, var(--coral), #cc4a1a); box-shadow: var(--shadow-coral); }
.step h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; margin-bottom: .6rem; }
.step p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }

#productos { background: linear-gradient(180deg, transparent, rgba(0, 180, 160, .04), transparent); }
.products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
.product-card {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-img--eco {
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 180, 160, .15), rgba(0, 212, 255, .08));
}
.product-img--eco .eco-ico { font-size: 3.5rem; }
.product-img--eco p { font-size: var(--fs-sm); color: var(--text-soft); }
.product-info { padding: 1.4rem; }
.product-info h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; margin-bottom: .5rem; }
.product-info p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--turq);
}

@media (min-width: 600px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (min-width: 1024px) {
  .diff-grid { grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
  .diff-num { font-size: 3rem; }
  .diff-highlight { padding: 3rem; }
  .diff-highlight .big { font-size: 5rem; }
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 12%; right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--turq), var(--coral), transparent);
    z-index: 0;
  }
  .step { padding: 0 1.25rem; }
  .step-num { width: 5.5rem; height: 5.5rem; font-size: 2rem; }
}


/* 12. PRUEBA SOCIAL · COMPARADOR, GALERÍA Y TESTIMONIOS
   ========================================================================== */
#resultados { background: linear-gradient(180deg, transparent, rgba(0, 212, 255, .04), transparent); }

.compare-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3.5rem; }

.compare {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.compare-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  /* touch-action evita que el navegador robe el gesto al arrastrar */
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.compare-stage img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* La imagen "después" se recorta según --pos (0–100) */
.compare-after { clip-path: inset(0 0 0 var(--pos, 50%)); }

.compare-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0, 0, 0, .6);
  pointer-events: none;
  transform: translateZ(0);
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  font-size: .9rem;
  color: var(--ocean);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}
.compare-label {
  position: absolute;
  top: .9rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
  pointer-events: none;
}
.compare-label--before { left: .9rem; background: rgba(255, 107, 53, .92); color: var(--white); }
.compare-label--after  { right: .9rem; background: rgba(0, 212, 255, .92); color: var(--ocean); }

/* Range invisible superpuesto: aporta arrastre táctil y control por teclado */
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 48px; height: 100%;
}
.compare-range::-moz-range-thumb { width: 48px; height: 100%; border: 0; }
.compare-range:focus-visible { opacity: 1; outline-offset: -3px; }

.compare-caption { padding: 1rem 1.2rem; background: rgba(255, 255, 255, .03); }
.compare-caption h3 { font-family: var(--font-heading); font-weight: 800; font-size: .98rem; margin-bottom: .3rem; }
.compare-caption p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.55; }

.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.gallery-item { overflow: hidden; border-radius: var(--r-md); aspect-ratio: 3 / 4; }
.gallery-item:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s, opacity .3s;
}
.gallery-item img:hover { transform: scale(1.05); opacity: .9; }

.results-divider {
  height: 1px;
  margin: 3.5rem auto;
  max-width: 700px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  border: 0;
}

.testimonials-grid { grid-template-columns: 1fr; gap: 1.25rem; }
.testi-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.testi-google {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.testi-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .9rem; }
.testi-text { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.75; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; }
.testi-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #0090b8);
  color: var(--ocean);
}
.testi-avatar--coral { background: linear-gradient(135deg, var(--coral), #c43a00); color: var(--white); }
.testi-avatar--gold  { background: linear-gradient(135deg, var(--gold), #c48000); color: var(--ocean); }
.testi-name { font-family: var(--font-heading); font-weight: 700; font-size: .95rem; }
.testi-loc { font-size: var(--fs-xs); color: var(--text-faint); margin-top: .15rem; }

.testi-rating { text-align: center; margin-top: 2.5rem; }
.testi-rating .big-rating {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
}
.testi-rating p { font-size: var(--fs-sm); color: var(--text-faint); margin-top: .3rem; }

@media (min-width: 700px) {
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .gallery-item:first-child { grid-column: span 1; aspect-ratio: 3 / 4; }
}
@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .testi-card { padding: 2rem 1.75rem; }
}


/* 13. COBERTURA Y CONTACTO
   ========================================================================== */
.zones-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin: 1.5rem 0 3.5rem;
}
.zone-pill {
  background: rgba(0, 212, 255, .07);
  border: 1px solid rgba(0, 212, 255, .2);
  border-radius: var(--r-pill);
  padding: .7rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--cyan);
}

#contacto { overflow: hidden; }
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 212, 255, .08), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 15%, rgba(255, 107, 53, .06), transparent);
  pointer-events: none;
}
.contact-grid { position: relative; z-index: 1; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }

.contact-info h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.5rem;
}
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.ci-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  font-size: 1.2rem;
  border-radius: var(--r-md);
}
.ci-icon--wa { background: linear-gradient(135deg, rgba(37, 211, 102, .2), rgba(18, 140, 62, .1)); border: 1px solid rgba(37, 211, 102, .3); }
.ci-icon--ph { background: linear-gradient(135deg, rgba(0, 212, 255, .15), rgba(0, 180, 160, .08)); border: 1px solid rgba(0, 212, 255, .25); }
.ci-icon--em { background: linear-gradient(135deg, rgba(255, 209, 102, .15), rgba(255, 107, 53, .08)); border: 1px solid rgba(255, 209, 102, .25); }
.ci-label {
  font-size: var(--fs-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .2rem;
}
.ci-val { font-family: var(--font-heading); font-weight: 700; font-size: .95rem; }
.ci-val a { text-decoration: none; word-break: break-word; }
.ci-val a:hover { color: var(--cyan); }

.contact-promise {
  margin-top: 2rem;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, .08), rgba(255, 107, 53, .03));
  border: 1px solid rgba(255, 107, 53, .2);
  border-radius: var(--r-lg);
}
.contact-promise p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }
.contact-promise strong { color: var(--coral); }

.form-card {
  padding: 1.75rem 1.4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.form-card h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; margin-bottom: .3rem; }
.form-card .form-sub { font-size: var(--fs-sm); color: var(--text-faint); margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.form-group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .9rem 1rem;
  /* 16px evita el zoom automático de iOS al enfocar */
  font-size: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color .2s, background .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, .25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(0, 212, 255, .5); background: rgba(0, 212, 255, .05); }
.form-group input[aria-invalid="true"] { border-color: var(--danger); background: rgba(220, 38, 38, .07); }
.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.3)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-group select option { background: var(--ocean); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-error { font-size: var(--fs-xs); color: #ff8f8f; min-height: 1em; }

.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.btn-submit {
  width: 100%;
  padding: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .5px;
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  box-shadow: var(--shadow-coral);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn-submit:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255, 107, 53, .5); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-note { text-align: center; margin-top: .8rem; font-size: var(--fs-xs); color: var(--text-faint); }

.form-success { text-align: center; padding: 2rem 1rem; }
.form-success .success-icon { font-size: 3.2rem; margin-bottom: 1rem; }
.form-success h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; margin-bottom: .5rem; }
.form-success p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }
.form-success .btn { margin-top: 1.5rem; }

[hidden] { display: none !important; }

@media (min-width: 520px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.35fr; gap: 4rem; }
  .form-card { padding: 2.5rem; }
}


/* Mini CTA intermedio */
.mini-cta {
  padding: 3rem var(--pad-x);
  background: linear-gradient(135deg, rgba(255, 107, 53, .08), rgba(0, 212, 255, .05));
  border-top: 1px solid rgba(255, 107, 53, .15);
  border-bottom: 1px solid rgba(0, 212, 255, .1);
}
.mini-cta-inner {
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.mini-cta h2 { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; line-height: 1.45; }
.mini-cta h2 span { color: var(--cyan); }
.mini-cta p { font-size: var(--fs-sm); color: var(--text-soft); margin-top: .4rem; }
.mini-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; width: 100%; justify-content: center; }

@media (min-width: 900px) {
  .mini-cta-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .mini-cta-actions { width: auto; }
  .mini-cta h2 { font-size: 1.3rem; }
}


/* 14. FOOTER
   ========================================================================== */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem var(--pad-x);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 3px; color: var(--cyan); }
.footer-logo span { color: var(--coral); }
.site-footer p { font-size: var(--fs-xs); color: var(--text-soft); line-height: 1.7; }
.site-footer a { color: inherit; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.footer-links a { font-size: var(--fs-xs); color: var(--text-soft); }
.footer-links a:hover { color: var(--cyan); }

@media (min-width: 900px) {
  .site-footer { flex-direction: row; justify-content: space-between; text-align: left; padding: 3rem var(--pad-x); }
}


/* 15. ANIMACIONES DE ENTRADA Y ACCESIBILIDAD DE MOVIMIENTO
   ========================================================================== */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

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


.nav-desktop a { white-space: nowrap; }

/* 16. FOTOS, SECCIONES NUEVAS Y PÁGINAS DE DETALLE
   ========================================================================== */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 26, 48, .94) 0%, rgba(5, 26, 48, .78) 45%, rgba(5, 26, 48, .25) 100%),
    linear-gradient(0deg, rgba(10, 37, 64, 1) 0%, transparent 30%);
}
.hero-waves { z-index: 1; }

.section-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.plans-header .section-photo { max-width: 900px; margin: 0 auto; aspect-ratio: 21 / 9; }

.service-card { display: flex; flex-direction: column; }
.service-more, .plan-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, .4);
  align-self: flex-start;
}
.service-card .service-tag { margin-top: auto; padding-top: 1.1rem; }
.plan-more { align-self: center; margin-top: 1rem; }
.plans-more { text-align: center; margin: 0 0 2rem; }
.plans-more .btn { width: auto; }

/* Keelcrab destacado */
.keelcrab-feature {
  margin: 3.5rem 0;
  padding: 2.5rem 1.25rem;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(0, 180, 160, .14), rgba(0, 212, 255, .05));
  border: 2px solid rgba(0, 180, 160, .45);
}
.keelcrab-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 2rem;
}
.kf {
  padding: 1rem;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.5;
}
.kf strong { color: var(--text); }
.kf--warn { border-color: var(--gold); background: rgba(255, 209, 102, .08); }
.kf-big { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--turq); margin-bottom: .35rem; }
.kf--warn .kf-big { color: var(--gold); }
.keelcrab-block { display: grid; gap: 1.5rem; align-items: center; max-width: 1100px; }

/* Secciones en dos columnas (regatas, brokerage) */
.split-grid { grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.check-list { display: flex; flex-direction: column; gap: .7rem; margin: -1rem 0 2rem; }
.check-list li {
  display: block; position: relative; padding-left: 1.5rem;
  font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6;
}
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--turq); font-weight: 800; }
.check-list strong { color: var(--text); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 1rem 1.25rem;
}
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 700; line-height: 1.4; }
.faq p { margin-top: .75rem; color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.7; }
.faq a { color: var(--cyan); }

@media (min-width: 768px) {
  .keelcrab-feature { padding: 3rem 2.5rem; }
  .keelcrab-facts { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split-grid--rev > img { order: 0; }
  .keelcrab-block { grid-template-columns: 1.1fr 1fr; }
}

/* Páginas de detalle (servicios/*.html) */
.page-hero {
  position: relative;
  padding: 5rem var(--pad-x) 3.5rem;
  overflow: hidden;
  min-height: 52vh;
  display: flex; align-items: flex-end;
}
.page-hero .hero-overlay {
  background: linear-gradient(0deg, rgba(10, 37, 64, 1) 0%, rgba(5, 26, 48, .7) 55%, rgba(5, 26, 48, .45) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-size: var(--fs-section); letter-spacing: 2px; line-height: 1; margin-bottom: 1rem; }
.page-hero h1 span { color: var(--coral); }
.page-hero .lead { color: var(--text); max-width: 60ch; font-size: 1.05rem; line-height: 1.7; }
.breadcrumb { font-size: var(--fs-xs); color: var(--text-soft); margin-bottom: 1rem; letter-spacing: 1px; }
.breadcrumb a { color: var(--cyan); text-decoration: none; }
.prose h2 { font-family: var(--font-heading); font-size: var(--fs-title); line-height: 1.2; margin: 2.5rem 0 1rem; }
.prose h3 { font-family: var(--font-heading); font-size: 1.15rem; margin: 1.75rem 0 .5rem; }
.prose p, .prose li { color: var(--text-soft); line-height: 1.8; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.prose ul li { padding-left: 1.4rem; position: relative; }
.prose ul li::before { content: '✓'; position: absolute; left: 0; color: var(--turq); font-weight: 800; }
.prose strong { color: var(--text); }
.prose a:not(.btn) { color: var(--cyan); }
.callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  border-left: 4px solid var(--gold);
  background: rgba(255, 209, 102, .08);
}
.callout p:last-child { margin-bottom: 0; }
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: var(--fs-sm); }
.price-table th, .price-table td { padding: .75rem; border-bottom: 1px solid var(--border); text-align: left; }
.price-table th { color: var(--cyan); font-weight: 700; }
.price-table td { color: var(--text-soft); }
.page-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0; }
.page-cta .btn { width: auto; }
.related { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 1rem; }
.related a {
  display: block; padding: 1rem 1.25rem;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); text-decoration: none; font-weight: 600;
}
.related a:hover { border-color: var(--cyan); }
