/* ============================================================
   SALAMA LEGAL SLP · Abogados de alquiler vacacional · Andalucía
   Estilo: jurídico-mediterráneo · Azul celeste + amarillo + blanco
   ============================================================ */

/* ============== Variables ============== */
:root{
  /* paleta (mapeo: --navy = azul celeste profundo, --gold = amarillo) */
  --navy: #0F4C75;          /* azul celeste profundo · principal */
  --navy-2: #1565A3;        /* azul celeste medio */
  --navy-deep: #0A3958;     /* azul aún más profundo */
  --sand: #E8F4FB;          /* celeste casi blanco */
  --sand-2: #D5EAF5;        /* celeste suave */
  --offwhite: #FFFFFF;      /* blanco puro */
  --gold: #F5C842;          /* amarillo sol · acento principal */
  --gold-deep: #D4A82E;     /* amarillo profundo */
  --terracotta: #E59410;    /* naranja-amarillo, sólo avisos */
  --ink: #143553;           /* texto oscuro · navy elegante */
  --ink-2: #1D4267;         /* texto secundario */
  --muted: #5C7790;         /* texto neutral */
  --muted-2: #8AA3BC;       /* texto suave */
  --line: #D6E5F0;          /* línea azulada */
  --line-2: #B8D5E8;        /* línea más visible */
  --success: #2E6F4B;

  /* radios */
  --r: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* sombras */
  --shadow-sm: 0 2px 8px rgba(15,76,117,.06);
  --shadow: 0 10px 28px rgba(15,76,117,.10);
  --shadow-lg: 0 24px 60px rgba(15,76,117,.16);

  /* espaciados */
  --max: 1200px;
  --max-narrow: 880px;

  /* transiciones */
  --t: cubic-bezier(.2,.7,.3,1);
}

/* ============== Reset ============== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .25s var(--t); }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(36px, 5.4vw, 60px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ============== Utilidades ============== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow    { max-width: var(--max-narrow); margin: 0 auto; }
.section   { padding: 100px 0; }
.section--alt { background: var(--sand); }
.section--dark { background: var(--navy); color: var(--sand); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--sand); }
.section--dark p { color: rgba(245,239,226,.85); }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}
.section--dark .eyebrow { color: var(--gold); }
.text-center { text-align: center; }

/* ============== Topbar de confianza ============== */
.topbar {
  background: var(--navy-deep);
  color: rgba(245,239,226,.85);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a {
  color: rgba(245,239,226,.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar a:hover { color: var(--gold); }
.topbar-trust { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-trust span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
@media (max-width: 700px) {
  .topbar-trust { display: none; }
  .topbar-inner { justify-content: center; }
}

/* ============== Header / Nav ============== */
.site-header {
  background: var(--offwhite);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(8px);
  background: rgba(250,248,244,.94);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand img { height: 56px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width .3s var(--t);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--navy);
  color: var(--sand) !important;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all .3s var(--t);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-deep) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 32px;
  flex-direction: column;
  justify-content: space-around;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: all .3s var(--t);
}
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--offwhite);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 14px 30px rgba(15,76,117,.08);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .hamburger { display: flex; }
}

/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15,76,117,.88) 0%, rgba(10,57,88,.82) 70%, rgba(15,76,117,.92) 100%),
    url('/Imagen4.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: var(--sand);
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(245,200,66,.18) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(245,200,66,.10) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content {
  animation: fadeUp 1s var(--t) both;
}
.hero .eyebrow {
  color: var(--gold);
  margin-bottom: 28px;
}
.hero .eyebrow::before { background: var(--gold); }
.hero h1 {
  color: var(--sand);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.hero p.lead {
  font-size: clamp(17px, 1.6vw, 19.5px);
  line-height: 1.7;
  color: rgba(245,239,226,.92);
  max-width: 56ch;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(245,239,226,.75);
  border-top: 1px solid rgba(245,200,66,.3);
  padding-top: 26px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust strong { color: var(--gold); font-weight: 600; }

/* Hero form card */
.hero-card {
  background: var(--offwhite);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  position: relative;
  animation: fadeUp 1s var(--t) .15s both;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -8px; left: -8px;
  right: 18px; bottom: 18px;
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  z-index: -1;
  opacity: .55;
}
.hero-card .eyebrow {
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.hero-card .eyebrow::before { background: var(--gold); }
.hero-card h3 {
  font-size: 24px;
  margin: 0 0 6px;
  color: var(--navy);
}
.hero-card p.tagline { font-size: 14px; color: var(--muted); margin: 0 0 22px; }

/* ============== Botones ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: all .3s var(--t);
  cursor: pointer;
  border: 0;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 10px 26px rgba(245,200,66,.32);
}
.btn-primary:hover {
  background: var(--gold-deep);
  color: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245,200,66,.42);
}
.btn-ghost {
  background: transparent;
  color: var(--sand);
  border: 1.5px solid rgba(245,239,226,.45);
}
.btn-ghost:hover {
  background: rgba(245,239,226,.10);
  border-color: var(--sand);
  color: var(--sand);
}
.btn-dark {
  background: var(--navy);
  color: var(--sand);
}
.btn-dark:hover {
  background: var(--navy-deep);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--sand);
}

/* ============== Form ============== */
.form-grid { display: grid; gap: 14px; }
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 13px 16px;
  background: var(--sand);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: all .25s var(--t);
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 0;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245,200,66,.18);
}
.form-grid textarea { resize: vertical; min-height: 80px; }
.form-grid .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-grid .row { grid-template-columns: 1fr; } }
.form-grid .consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
}
.form-grid .consent input { flex-shrink: 0; margin-top: 3px; }
.form-grid .consent a { color: var(--navy); text-decoration: underline; }
.form-grid button[type="submit"] {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.gotcha {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}
.form-status {
  text-align: center;
  font-size: 13.5px;
  margin: 8px 0 0;
  min-height: 18px;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--terracotta); }

/* ============== Section headers ============== */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-head .eyebrow { display: inline-block; }
.section-head h2 { margin-bottom: 16px; }
.section-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============== Servicios (cards) ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  text-decoration: none;
  color: inherit;
  transition: all .35s var(--t);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--t);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold-deep);
}
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; line-height: 1.65; flex: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: gap .25s var(--t);
}
.service-card:hover .service-link {
  color: var(--gold-deep);
  gap: 12px;
}

/* ============== Proceso (steps) ============== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.step {
  background: rgba(245,239,226,.30);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  position: relative;
  border: 1px solid rgba(245,200,66,.25);
  transition: all .3s var(--t);
}
.section--dark .step {
  background: rgba(245,239,226,.05);
  border-color: rgba(245,200,66,.30);
}
.step:hover {
  background: rgba(245,239,226,.50);
  transform: translateY(-3px);
}
.section--dark .step:hover {
  background: rgba(245,239,226,.08);
}
.step-number {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.65; margin: 0; }
.section--dark .step p { color: rgba(245,239,226,.80); }

/* ============== Ventajas ============== */
.advantages {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 900px) { .advantages { grid-template-columns: 1fr; } }
.advantages-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.advantages-image img {
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: .82;
}
.advantages-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(15,76,117,.40) 0%, rgba(245,200,66,.20) 100%);
}
.advantages-image-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--sand);
  color: var(--navy);
  padding: 16px 22px;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  font-family: 'Cormorant Garamond', serif;
  z-index: 2;
}
.advantages-image-badge strong {
  display: block;
  font-size: 28px;
  color: var(--gold-deep);
  margin-bottom: 2px;
}
.advantages-image-badge span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.advantages-list { list-style: none; padding: 0; margin: 30px 0 0; }
.advantages-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.advantages-list li:last-child { border-bottom: 0; }
.advantages-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.advantages-list li strong {
  display: block;
  color: var(--navy);
  font-size: 16.5px;
  margin-bottom: 4px;
  font-weight: 600;
}
.advantages-list li span {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============== Errores / Riesgos ============== */
.risks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.risk-card {
  background: var(--offwhite);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--t);
}
.risk-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.risk-card .risk-badge {
  display: inline-block;
  background: rgba(163,82,52,.10);
  color: var(--terracotta);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.risk-card h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
  color: var(--navy);
}
.risk-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ============== FAQ ============== */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .3s var(--t);
}
.faq details[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  width: 30px; height: 30px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transition: all .3s var(--t);
}
.faq details[open] summary::after {
  content: "−";
  background: var(--gold);
  color: var(--sand);
  transform: rotate(180deg);
}
.faq .faq-body {
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.faq .faq-body p { margin: 0 0 12px; }
.faq .faq-body p:last-child { margin: 0; }

/* ============== Prueba social ============== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.testimonial {
  background: var(--offwhite);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  position: relative;
  border: 1px solid var(--line);
  transition: all .3s var(--t);
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 10px; left: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  color: var(--gold);
  opacity: .25;
  line-height: 1;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.testimonial .stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.testimonial blockquote {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--navy);
  font-style: italic;
  font-weight: 400;
  position: relative;
  z-index: 1;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.testimonial cite strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ============== Credenciales ============== */
.credentials {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.credentials .cred {
  text-align: center;
}
.credentials .cred strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.credentials .cred span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============== CTA final ============== */
.cta-final {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-2) 100%);
  color: var(--sand);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(245,200,66,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}
.cta-final .eyebrow { color: var(--gold); }
.cta-final .eyebrow::before { background: var(--gold); }
.cta-final h2 {
  color: var(--sand);
  font-size: clamp(32px, 4.6vw, 50px);
  margin-bottom: 20px;
}
.cta-final h2 em { color: var(--gold); font-style: italic; }
.cta-final p {
  font-size: 17.5px;
  color: rgba(245,239,226,.85);
  margin: 0 auto 36px;
  max-width: 56ch;
  line-height: 1.7;
}
.cta-final-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============== Footer ============== */
.footer-disclaimer {
  background: var(--navy-deep);
  border-top: 3px solid var(--gold);
  padding: 30px 0;
  color: rgba(245,239,226,.78);
}
.footer-disclaimer .container {
  font-size: 13px;
  line-height: 1.7;
  max-width: var(--max);
}
.footer-disclaimer strong {
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
  font-size: 13.5px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer {
  background: #050F1E;
  color: rgba(245,239,226,.7);
  padding: 70px 0 30px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 56px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .85; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(245,239,226,.65); margin-bottom: 16px; }
.footer-contact-row { font-size: 14px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.footer-contact-row a { color: var(--sand); }
.footer-contact-row a:hover { color: var(--gold); }
.footer-col h4 {
  color: var(--sand);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  color: rgba(245,239,226,.65);
  font-size: 14px;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max);
  margin: 50px auto 0;
  padding: 26px 24px 0;
  border-top: 1px solid rgba(245,239,226,.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(245,239,226,.55);
}
.footer-bottom a { color: rgba(245,239,226,.65); }
.footer-bottom a:hover { color: var(--gold); }

/* Mapa */
.map-embed {
  width: 100%;
  aspect-ratio: 16/8;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 22px;
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ============== WhatsApp flotante ============== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: transform .25s var(--t);
}
.wa-float:hover { transform: translateY(-3px); text-decoration: none; }
.wa-float .wa-label {
  background: var(--offwhite);
  color: var(--navy);
  padding: 11px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 22px rgba(15,76,117,.20);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.wa-float .wa-label strong { font-size: 13.5px; color: var(--navy); font-weight: 600; }
.wa-float .wa-label span { font-size: 11.5px; color: var(--gold-deep); font-weight: 500; }
.wa-float .wa-icon {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.40);
  position: relative;
}
.wa-float .wa-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,.35);
  z-index: -1;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 700px) {
  .wa-float .wa-label { display: none; }
}

/* ============== Animaciones ============== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--t), transform .8s var(--t);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============== Cookies banner ============== */
#cookies-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy-deep);
  color: var(--sand);
  padding: 18px 24px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 -8px 30px rgba(0,0,0,.30);
  font-size: 13.5px;
  line-height: 1.55;
}
#cookies-banner.show { display: flex; }
#cookies-banner p { margin: 0; max-width: 700px; color: rgba(245,239,226,.85); }
#cookies-banner a { color: var(--gold); text-decoration: underline; }
#cookies-banner .ck-btns { display: flex; gap: 10px; flex-wrap: wrap; }
#cookies-banner button {
  background: transparent;
  border: 1px solid rgba(245,239,226,.40);
  color: var(--sand);
  padding: 9px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  transition: all .25s var(--t);
}
#cookies-banner button.accept {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
#cookies-banner button:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

/* ============== Páginas internas ============== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--sand);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--sand); }
.page-hero p { color: rgba(245,239,226,.80); max-width: 60ch; margin: 14px auto 0; }
.page-body { padding: 70px 0 90px; }
.page-body h2 { margin-top: 36px; }
.page-body h3 { margin-top: 28px; font-size: 22px; }
.page-body p, .page-body li { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.page-body ul, .page-body ol { padding-left: 22px; }
.page-body strong { color: var(--navy); }


/* ============================================================
   OPTIMIZACIÓN MÓVIL · mobile-first refinements
   ============================================================ */

/* Hero · evitar corte en móvil */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 60px 0 50px;
    background-attachment: scroll;       /* parallax fixed rompe en iOS */
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 18px;
  }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); margin-bottom: 18px; }
  .hero p.lead { font-size: 16px; margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 12px 20px; font-size: 14px; flex: 1 1 auto; justify-content: center; min-width: 0; }
  .hero-trust { gap: 14px; padding-top: 18px; font-size: 12.5px; }
  .hero-card { padding: 24px 22px; }
  .hero-card::before { display: none; }
  .hero-card h3 { font-size: 21px; }
  .form-grid input, .form-grid select, .form-grid textarea { font-size: 16px; padding: 12px 14px; }
}

/* Secciones genéricas: menos padding vertical en móvil */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; padding: 0 4px; }
  .section-head h2 { font-size: clamp(24px, 7vw, 32px); }
  .section-head p { font-size: 15.5px; }
  .container { padding: 0 18px; }
}

/* Topbar visible en móvil con scroll horizontal cómodo */
@media (max-width: 700px) {
  .topbar-inner { padding: 8px 16px; flex-direction: column; gap: 6px; }
  .topbar-trust { display: flex; font-size: 11.5px; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .topbar-trust span { font-size: 11.5px; }
  .topbar-links { font-size: 12.5px; }
}

/* Header: logo más pequeño + hamburguesa accesible */
@media (max-width: 700px) {
  .nav { padding: 12px 16px; }
  .nav-brand img { height: 44px; }
  .hamburger { width: 32px; height: 28px; }
}

/* Servicios: tarjetas más compactas */
@media (max-width: 600px) {
  .services-grid { gap: 14px; }
  .service-card { padding: 26px 22px; }
  .service-card h3 { font-size: 19px; }
  .service-card p { font-size: 14px; }
  .service-icon { font-size: 24px; width: 46px; height: 46px; margin-bottom: 16px; }
}

/* Proceso */
@media (max-width: 600px) {
  .steps { gap: 16px; }
  .step { padding: 26px 22px; }
  .step h3 { font-size: 18px; }
  .step-number { width: 38px; height: 38px; font-size: 19px; margin-bottom: 14px; }
}

/* Ventajas: ya tiene grid-cols 1 en 900px. Reducimos imagen. */
@media (max-width: 700px) {
  .advantages-image { aspect-ratio: 16/12; }
  .advantages-image-badge { padding: 12px 16px; bottom: 16px; left: 16px; }
  .advantages-image-badge strong { font-size: 22px; }
  .advantages-list li { padding: 14px 0; gap: 14px; }
  .advantages-list li strong { font-size: 15px; }
  .advantages-list li span { font-size: 13.5px; }
}

/* Riesgos */
@media (max-width: 600px) {
  .risk-card { padding: 20px 22px; }
  .risk-card h3 { font-size: 17px; }
  .risk-card p { font-size: 13.5px; }
}

/* FAQ móvil */
@media (max-width: 600px) {
  .faq summary { padding: 18px 20px; font-size: 15px; gap: 12px; }
  .faq .faq-body { padding: 0 20px 18px; font-size: 14.5px; }
  .faq summary::after { width: 26px; height: 26px; font-size: 16px; }
}

/* Testimonios */
@media (max-width: 600px) {
  .testimonials { gap: 16px; }
  .testimonial { padding: 24px 22px; }
  .testimonial blockquote { font-size: 16px; }
  .credentials { gap: 30px 28px; padding-top: 30px; margin-top: 30px; }
  .credentials .cred strong { font-size: 30px; }
}

/* CTA final */
@media (max-width: 600px) {
  .cta-final { padding: 70px 0; }
  .cta-final h2 { font-size: clamp(26px, 7.5vw, 36px); }
  .cta-final p { font-size: 15.5px; margin-bottom: 28px; }
  .cta-final-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Footer móvil más respirado */
@media (max-width: 600px) {
  .site-footer { padding: 50px 0 24px; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Disclaimer top: más legible móvil */
@media (max-width: 600px) {
  .footer-disclaimer { padding: 22px 0; }
  .footer-disclaimer .container { padding: 0 18px; font-size: 12.5px; }
  .footer-disclaimer strong { font-size: 12.5px; }
}

/* WhatsApp flotante: más pequeño en móvil para no tapar form */
@media (max-width: 600px) {
  .wa-float { bottom: 18px; right: 14px; }
  .wa-float .wa-icon { width: 52px; height: 52px; }
  .wa-float .wa-icon svg { width: 24px; height: 24px; }
}

/* Cookies banner: scroll si el contenido es largo */
@media (max-width: 600px) {
  #cookies-banner { padding: 14px 18px; flex-direction: column; gap: 12px; font-size: 13px; }
  #cookies-banner .ck-btns { width: 100%; justify-content: center; }
  #cookies-banner button { flex: 1; }
}

/* Página interna page-hero más compacta en móvil */
@media (max-width: 600px) {
  .page-hero { padding: 50px 0 36px; }
  .page-hero h1 { font-size: clamp(28px, 7.5vw, 38px); }
  .page-hero p { font-size: 15px; }
  .page-body { padding: 50px 0 70px; }
  .page-body h2 { font-size: clamp(22px, 6vw, 28px); }
  .page-body p, .page-body li { font-size: 15.5px; }
}

/* Inputs táctiles a 16px para evitar zoom automático en iOS */
input, select, textarea, button { font-size: 16px; }

/* Imágenes responsive y nunca exceder viewport */
img, iframe, video { max-width: 100%; }

/* Tarjeta del hero: no excederse en móvil */
@media (max-width: 480px) {
  .hero-card { padding: 22px 18px; }
  .hero-card h3 { font-size: 20px; }
  .form-grid .row { grid-template-columns: 1fr; gap: 12px; }
}

/* Anti-overflow horizontal */
html, body { overflow-x: hidden; }
