:root {
    --azul: #1b3c6e;
    --azul-medio: #2355a0;
    --azul-claro: #2e7dd1;
    --celeste: #5ec2f0;
    --blanco: #ffffff;
    --gris-claro: #f0f5fc;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; max-width: 100%; }
  html, body { overflow-x: hidden; width: 100%; }
  html { scroll-behavior: smooth; }
  html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  body { font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; color: #333; overflow-x: hidden; max-width: 100vw; }
  h1, h2, h3 { text-wrap: balance; }
  p { text-wrap: pretty; }
  .skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 10000;
    background: var(--celeste); color: var(--azul); font-weight: 700;
    padding: 10px 16px; border-radius: 8px; text-decoration: none;
    transition: top 0.15s ease-out;
  }
  .skip-link:focus { top: 16px; outline: 3px solid var(--azul); }
  :focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 4px; }
  :focus:not(:focus-visible) { outline: none; }
  .btn-primary:active, .btn-outline:active, .btn-form:active, .nav-cta:active,
  .btn-blog:active, .btn-cookie-ok:active, .btn-cookie-config:active,
  .btn-save-cookies:active, .btn-reject-cookies:active, .instagram-btn:active { transform: scale(0.96); }
  .form-error { color: #c0392b; font-size: 14px; font-weight: 600; min-height: 20px; margin-bottom: 10px; }
  .form-error:empty { margin: 0; min-height: 0; }
  .form-group input[aria-invalid="true"], .form-group select[aria-invalid="true"] { border-color: #c0392b; }
  .toggle:focus-within .slider-toggle { outline: 3px solid var(--celeste); outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  }
  html, body { overflow-x: hidden; max-width: 100%; }

  /* ── CTA MÓVIL TOP ── */
  .mobile-cta-top {
    display: none;
  }
  @media (max-width: 768px) {
    .mobile-cta-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      background: var(--azul);
      border-bottom: 2px solid var(--celeste);
      padding: 10px 16px;
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1100;
    }
    .mobile-cta-top p {
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.3;
    }
    .mobile-cta-top p span {
      color: var(--celeste);
      font-size: 16px;
      font-weight: 800;
    }
    .mobile-cta-top a {
      background: var(--celeste);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      padding: 8px 14px;
      border-radius: 20px;
      text-decoration: none;
      white-space: nowrap;
      flex-shrink: 0;
    }
    nav { top: 46px; }
    .hero { padding-top: 140px; }
  }

  /* ── SCROLL ANIMATIONS ── */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-left  { opacity:0; transform:translateX(-50px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal-right { opacity:0; transform:translateX(50px);  transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal-left.visible, .reveal-right.visible { opacity:1; transform:translateX(0); }
  .delay-1 { transition-delay: 0.1s; }
  .delay-2 { transition-delay: 0.2s; }
  .delay-3 { transition-delay: 0.3s; }
  .delay-4 { transition-delay: 0.4s; }

  /* ── NAV ── */
  nav {
    background: var(--azul);
    padding: 0 48px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
  }
  nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
  .nav-logo img { height: 42px; width: auto; }
  .nav-links { display: flex; gap: 32px; }
  .nav-links a { color: #b8d4ef; font-size: 14px; text-decoration: none; transition: color 0.2s; }
  .nav-links a:hover { color: #fff; }
  .nav-cta {
    background: var(--celeste);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 28px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .nav-cta:hover { background: #3ab0e8; transform: scale(1.04); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--azul) 0%, var(--azul-medio) 60%, #1a6ea8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 40px 60px;
    position: relative;
    overflow: hidden;
  }
  /* partículas decorativas */
  .hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    top: -100px; right: -150px;
    animation: pulse-ring 6s ease-in-out infinite;
  }
  .hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    bottom: -100px; left: -100px;
    animation: pulse-ring 8s ease-in-out infinite reverse;
  }
  @keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 1; }
  }
  .hero-logo {
    margin-bottom: 36px;
    animation: float 4s ease-in-out infinite;
  }
  .hero-logo img { height: 90px; width: auto; filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4)); }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  .hero-badge {
    background: rgba(94,194,240,0.15);
    border: 1px solid rgba(94,194,240,0.4);
    color: var(--celeste);
    font-size: 11px;
    letter-spacing: 3px;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 24px;
    text-transform: uppercase;
  }
  .hero h1 {
    color: #fff;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
  }
  .hero h1 span { color: var(--celeste); }
  .hero p {
    color: #a8c8e8;
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.75;
  }
  .hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .btn-primary {
    background: var(--celeste);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 32px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(46,125,209,0.4);
  }
  .btn-primary:hover { background: #3ab0e8; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(46,125,209,0.5); }
  .btn-outline {
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 32px;
    border: 2px solid rgba(255,255,255,0.45);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
  }
  .btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.8); transform: translateY(-2px); }
  .hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
  }
  .hero-scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  }
  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }

  /* ── TRUST BAR ── */
  .trust-bar {
    background: #fff;
    padding: 28px 48px;
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e0eaf5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  }
  .trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--azul); font-weight: 600; }
  .trust-icon { width: 40px; height: 40px; background: var(--gris-claro); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
  .trust-icon svg { width: 20px; height: 20px; stroke: var(--azul-claro); fill: none; stroke-width: 2; }

  /* ── SECCIONES ── */
  section { padding: 88px 48px; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-header { margin-bottom: 56px; }
  .section-label { font-size: 12px; color: var(--azul-claro); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; display: block; }
  .section-title { font-size: 36px; font-weight: 800; color: var(--azul); margin-bottom: 12px; }
  .section-sub { font-size: 16px; color: #666; max-width: 520px; line-height: 1.7; }

  /* ── SERVICIOS ── */
  #servicios { background: var(--gris-claro); }
  .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
  .service-card {
    background: #fff;
    border: 1px solid #dde8f5;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
  }
  .service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(27,60,110,0.12); }
  .service-icon {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, #deeaf8, #b8d4f0);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
  }
  .service-icon svg { width: 32px; height: 32px; stroke: var(--azul); fill: none; stroke-width: 1.5; }
  .service-card h3 { font-size: 17px; font-weight: 700; color: var(--azul); margin-bottom: 10px; }
  .service-card p { font-size: 14px; color: #666; line-height: 1.65; }
  .service-includes { list-style: none; margin: 14px 0 4px; text-align: left; font-size: 13px; color: #555; line-height: 1.55; }
  .service-includes li { position: relative; padding-left: 20px; margin-bottom: 5px; text-wrap: pretty; }
  .service-includes li::before { content: "✓"; position: absolute; left: 0; color: var(--azul-claro); font-weight: 700; }
  .service-card .cta-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--azul-claro);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
  }
  .service-card .cta-link:hover { border-color: var(--azul-claro); }

  /* ── POR QUÉ ── */
  #nosotros { background: #fff; }
  .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
  .why-item {
    background: var(--gris-claro);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .why-item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,60,110,0.08); }
  .why-num {
    width: 44px; height: 44px;
    background: var(--azul);
    color: #fff;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800;
    flex-shrink: 0;
  }
  .why-item h4 { font-size: 15px; font-weight: 700; color: var(--azul); margin-bottom: 6px; }
  .why-item p { font-size: 13px; color: #666; line-height: 1.65; }

  /* ── DESCUENTO ── */
  .descuento-banner {
    background: linear-gradient(135deg, #e8f4fd 0%, #d0eaf9 100%);
    padding: 72px 48px;
    border-top: 3px solid var(--celeste);
    border-bottom: 3px solid var(--celeste);
  }
  .descuento-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
  }
  .descuento-badge {
    flex-shrink: 0;
    width: 160px; height: 160px;
    background: var(--azul);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 12px rgba(27,60,110,0.12), 0 0 0 24px rgba(27,60,110,0.06);
    animation: pulse-dto 2.5s ease-in-out infinite;
    text-align: center;
  }
  @keyframes pulse-dto {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 12px rgba(27,60,110,0.12), 0 0 0 24px rgba(27,60,110,0.06); }
    50%       { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(27,60,110,0.14), 0 0 0 32px rgba(27,60,110,0.07); }
  }
  .descuento-badge .pct { color: #fff; font-size: 52px; font-weight: 900; line-height: 1; }
  .descuento-badge .pct sup { font-size: 24px; vertical-align: super; }
  .descuento-badge .dto-label { color: var(--celeste); font-size: 14px; font-weight: 700; letter-spacing: 1px; }
  .descuento-badge .dto-sub { color: rgba(255,255,255,0.7); font-size: 11px; margin-top: 4px; }
  .descuento-text { flex: 1; min-width: 260px; }
  .descuento-text h2 { font-size: 30px; font-weight: 800; color: var(--azul); margin-bottom: 12px; }
  .descuento-text p { font-size: 15px; color: #444; line-height: 1.75; margin-bottom: 20px; }
  .descuento-text strong { color: var(--azul); }
  .descuento-checks { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
  .descuento-checks li { font-size: 14px; color: #333; display: flex; align-items: center; gap: 10px; }
  .check { width: 24px; height: 24px; background: var(--azul); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
  .btn-descuento {
    display: inline-block;
    background: var(--azul);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 32px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(27,60,110,0.25);
  }
  .btn-descuento:hover { background: var(--azul-medio); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(27,60,110,0.35); }

  /* ── WHATSAPP FLOTANTE ── */
  .wa-float {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .wa-float a {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    animation: wa-pulse 2.2s ease-in-out infinite;
    transition: transform 0.2s;
  }
  .wa-float a:hover {
    animation: none;
    transform: scale(1.15);
    box-shadow: 0 6px 28px rgba(37,211,102,0.7);
  }
  .wa-float a svg {
    width: 32px;
    height: 32px;
    fill: #fff;
  }
  .wa-float .wa-label {
    background: #25D366;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    letter-spacing: 0.5px;
  }
  .wa-float:hover .wa-label {
    opacity: 1;
    transform: translateY(0);
  }
  /* anillo de onda que sale y se desvanece */
  .wa-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #25D366;
    animation: wa-ring 2.2s ease-out infinite;
    pointer-events: none;
  }
  .wa-ring:nth-child(2) { animation-delay: 0.7s; }
  .wa-ring:nth-child(3) { animation-delay: 1.4s; }
  @keyframes wa-ring {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(2.2); opacity: 0; }
  }
  @keyframes wa-pulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
    50%       { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.7); }
  }

  /* ── COOKIES ── */
  #cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #0d2040;
    border-top: 2px solid var(--celeste);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
  }
  #cookie-banner.show { transform: translateY(0); }
  .cookie-text { flex: 1; min-width: 240px; }
  .cookie-text p { color: #a8c8e8; font-size: 13px; line-height: 1.65; }
  .cookie-text a { color: var(--celeste); text-decoration: underline; }
  .cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
  .btn-cookie-ok {
    background: var(--celeste);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-cookie-ok:hover { background: #3ab0e8; transform: scale(1.03); }
  .btn-cookie-config {
    background: transparent;
    color: #7eb8e8;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 24px;
    border: 1px solid rgba(126,184,232,0.35);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-cookie-config:hover { border-color: #7eb8e8; color: #fff; }

  /* Modal cookies */
  #cookie-modal {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
  }
  #cookie-modal.open { display: flex; }
  .cookie-modal-box {
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
  }
  .cookie-modal-box h3 { font-size: 20px; font-weight: 800; color: var(--azul); margin-bottom: 8px; }
  .cookie-modal-box p { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 20px; }
  .cookie-option { border: 1px solid #e0eaf5; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
  .cookie-option-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
  .cookie-option h4 { font-size: 14px; font-weight: 700; color: var(--azul); }
  .cookie-option p { font-size: 12px; color: #666; margin: 0; }
  .toggle { position: relative; width: 44px; height: 24px; }
  .toggle input { opacity: 0; width: 0; height: 0; }
  .slider-toggle {
    position: absolute; inset: 0;
    background: #ccc; border-radius: 24px;
    cursor: pointer; transition: background 0.2s;
  }
  .slider-toggle::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    background: #fff; border-radius: 50%;
    left: 3px; top: 3px;
    transition: transform 0.2s;
  }
  .toggle input:checked + .slider-toggle { background: var(--azul-claro); }
  .toggle input:checked + .slider-toggle::before { transform: translateX(20px); }
  .cookie-modal-btns { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
  .btn-save-cookies {
    background: var(--azul);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    flex: 1;
  }
  .btn-reject-cookies {
    background: transparent;
    color: #666;
    font-size: 13px;
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid #ddd;
    cursor: pointer;
  }

  /* ── BURBUJAS ── */
  #bubble-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
  }



  /* ── BLOG ── */
  #blog { background: var(--gris-claro); }
  .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
  .blog-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #dde8f5;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(27,60,110,0.1); }
  .blog-card-header {
    background: linear-gradient(135deg, var(--azul) 0%, var(--azul-medio) 100%);
    padding: 28px 24px 20px;
    position: relative;
  }
  .blog-tag {
    background: rgba(94,194,240,0.25);
    color: var(--celeste);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
  }
  .blog-card-header h3 { color: #fff; font-size: 17px; font-weight: 700; line-height: 1.4; }
  .blog-card-body { padding: 20px 24px 24px; }
  .blog-meta { font-size: 11px; color: #999; margin-bottom: 12px; letter-spacing: 0.5px; }
  .blog-excerpt { font-size: 14px; color: #555; line-height: 1.75; margin-bottom: 16px; }
  .blog-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  .blog-card.expanded .blog-content { max-height: 1000px; }
  .blog-content p { font-size: 14px; color: #444; line-height: 1.8; margin-bottom: 12px; }
  .blog-content h4 { font-size: 14px; font-weight: 700; color: var(--azul); margin: 16px 0 6px; }
  .blog-content ul { padding-left: 18px; margin-bottom: 12px; }
  .blog-content ul li { font-size: 14px; color: #555; line-height: 1.75; }
  .btn-blog {
    background: none;
    border: 1.5px solid var(--azul-claro);
    color: var(--azul-claro);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .btn-blog:hover { background: var(--azul-claro); color: #fff; }
  .btn-blog .arrow { transition: transform 0.3s; display: inline-block; }
  .blog-card.expanded .btn-blog .arrow { transform: rotate(180deg); }
  @media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
  }

  /* ── FAQ ── */
  #faq { background: #fff; }
  .faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
  .faq-item {
    border: 1px solid #dde8f5;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
  }
  .faq-item:hover { box-shadow: 0 4px 20px rgba(27,60,110,0.08); }
  .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
  }
  .faq-question span {
    font-size: 15px;
    font-weight: 600;
    color: var(--azul);
    line-height: 1.4;
  }
  .faq-icon {
    width: 28px; height: 28px;
    background: var(--gris-claro);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.3s;
    font-size: 16px;
    color: var(--azul-claro);
    font-weight: 700;
  }
  .faq-item.open .faq-icon {
    background: var(--azul);
    color: #fff;
    transform: rotate(45deg);
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.2s;
    padding: 0 24px;
  }
  .faq-answer p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    padding-bottom: 20px;
  }
  .faq-item.open .faq-answer { max-height: 300px; padding-top: 0; }

  /* ── CTA BANNER ── */
  .cta-banner {
    background: linear-gradient(135deg, var(--azul) 0%, var(--azul-medio) 100%);
    padding: 72px 48px;
    text-align: center;
  }
  .cta-banner h2 { color: #fff; font-size: 36px; font-weight: 800; margin-bottom: 14px; }
  .cta-banner p { color: #a8c8e8; font-size: 17px; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }
  .cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .btn-white {
    background: #fff;
    color: var(--azul);
    font-size: 15px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 32px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
  .btn-white-outline {
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 32px;
    border: 2px solid rgba(255,255,255,0.5);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-white-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

  /* ── CONTACTO ── */
  #contacto { background: var(--azul); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .contact-info h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 12px; }
  .contact-info p { color: #7eb8e8; font-size: 15px; margin-bottom: 32px; line-height: 1.7; }
  .contact-cards-v { display: flex; flex-direction: column; gap: 14px; }
  .contact-card-v {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .contact-card-v:hover { background: rgba(255,255,255,0.14); transform: translateX(4px); }
  .contact-card-v svg { width: 24px; height: 24px; stroke: var(--celeste); fill: none; stroke-width: 2; flex-shrink: 0; }
  .contact-card-v span { font-size: 11px; color: #7eb8e8; display: block; letter-spacing: 1.5px; text-transform: uppercase; }
  .contact-card-v strong { font-size: 14px; color: #fff; font-weight: 600; }
  /* Formulario */
  .contact-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 36px; }
  .contact-form h3 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 24px; }
  .form-group { margin-bottom: 16px; }
  .form-group label { display: block; color: #7eb8e8; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
  .form-group input, .form-group textarea, .form-group select {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
  }
  .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--celeste); }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-group select option { background: var(--azul); }
  .btn-form {
    width: 100%;
    background: var(--celeste);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-form:hover { background: #3ab0e8; transform: translateY(-1px); }

  /* ── FOOTER ── */
  footer {
    background: #0d2040;
    padding: 28px 140px 28px 48px; /* hueco a la derecha para el botón flotante de WhatsApp */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }
  .instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 32px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(220,39,67,0.35);
    margin: 28px auto 0;
    display: flex;
    width: fit-content;
  }
  .instagram-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(220,39,67,0.5); }
  .instagram-btn svg { width: 20px; height: 20px; fill: #fff; }
  .instagram-section { background: var(--azul); padding: 40px 48px; text-align: center; border-top: 1px solid rgba(255,255,255,0.08); }
  .instagram-section p { color: #7eb8e8; font-size: 14px; margin-bottom: 4px; }
  .instagram-section h3 { color: #fff; font-size: 18px; font-weight: 700; }

  footer img { height: 32px; width: auto; }
  footer p { color: #4a6a9a; font-size: 13px; }
  .footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 10px; }
  .footer-link { color: #8fb0dc; font-size: 13px; text-decoration: none; transition: color 0.2s; padding: 6px 0; }
  .footer-link:hover { color: var(--celeste); text-decoration: underline; }
  .footer-btn { background: none; border: 0; cursor: pointer; font-family: inherit; }
  .tapdigital-link {
    color: #6B5CF6;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    animation: heartbeat 1.6s ease-in-out infinite;
  }
  .tapdigital-link:hover { color: #8B7CF8; }
  @keyframes heartbeat {
    0%,100% { transform: scale(1); }
    14%      { transform: scale(1.12); }
    28%      { transform: scale(1); }
    42%      { transform: scale(1.08); }
    56%      { transform: scale(1); }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .wa-float { bottom: 20px; right: 16px; }
    .wa-float a { width: 44px; height: 44px; }
    .wa-float a svg { width: 22px; height: 22px; }
    .wa-ring { width: 44px; height: 44px; }
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns a { width: 100%; text-align: center; }
    section { padding: 60px 16px; }
    .section-inner { max-width: 100%; }
    .contact-grid { grid-template-columns: 1fr; }
    .trust-bar { gap: 16px; padding: 16px; }
    .trust-item { font-size: 12px; }
    footer { flex-direction: column; text-align: center; padding: 24px 16px 84px; }
    .descuento-banner { padding: 48px 16px; }
    .descuento-inner { flex-direction: column; align-items: center; gap: 32px; }
    .descuento-text h2 { font-size: 22px; }
    .cta-banner { padding: 48px 16px; }
    .cta-banner-btns { flex-direction: column; align-items: center; }
    .cta-banner-btns a { width: 100%; text-align: center; }
    .why-grid { grid-template-columns: 1fr; }
    /* Movil: una columna. Con 7 tarjetas, dos columnas dejaban los titulos
       partidos en tres lineas y el texto demasiado estrecho. */
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card { padding: 24px 20px; }
    .hero::before, .hero::after { display: none; }
    #cookie-banner { padding: 16px; }
    .contact-form { padding: 24px 16px; }
  }

/* Titulo de tarjeta de servicio que enlaza a su pagina propia */
.service-card h3 a.service-title-link { color: inherit; text-decoration: none; }
.service-card h3 a.service-title-link:hover { color: var(--azul-claro); text-decoration: underline; }

/* Mapa de zona en la seccion de contacto */
.mapa-zona { margin-top: 48px; text-align: center; }
.mapa-zona h3 { color: var(--azul); font-size: 20px; margin-bottom: 8px; }
.mapa-zona > p { font-size: 15px; color: #666; max-width: 620px; margin: 0 auto 18px; line-height: 1.7; }
.mapa-marco { max-width: 900px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid #dde8f5; line-height: 0; }
.mapa-marco iframe { width: 100%; height: 340px; display: block; }
.mapa-pie { margin-top: 12px; font-size: 14px; }
.mapa-pie a { color: var(--azul-claro); }
@media (max-width: 768px) {
  .mapa-zona { margin-top: 36px; }
  .mapa-marco iframe { height: 260px; }
}

/* ── RESEÑAS DE GOOGLE ──
   Mismo bloque en la home y en las cuatro paginas de servicio. El texto va en
   HTML, no en la captura: asi lo lee Google, se puede ampliar y se entiende en
   un movil. La captura es solo la prueba de que la nota es la de la ficha. */
.resenas-sec { background: var(--gris-claro); padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 48px); }
.resenas-sec.blanca { background: #fff; }
.resenas-inner { max-width: 1100px; margin: 0 auto; }
.resenas-cabecera { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.resenas-cabecera > div { flex: 1 1 380px; }
.resenas-cabecera h2 { color: var(--azul); font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; line-height: 1.2; margin-bottom: 12px; text-wrap: balance; }
.resenas-cabecera p { font-size: 16px; color: #666; line-height: 1.7; max-width: 520px; }
.resenas-captura { flex: 0 0 auto; background: #fff; border: 1px solid #dde8f5; border-radius: 16px; padding: 18px 22px; box-shadow: 0 10px 28px rgba(27,60,110,0.07); margin: 0; }
.resenas-captura img { display: block; width: 210px; height: auto; }
.resenas-captura figcaption { font-size: 12px; color: #8a97a8; margin-top: 10px; max-width: 210px; line-height: 1.5; }
.resenas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.resena { background: #fff; border: 1px solid #dde8f5; border-radius: 20px; padding: 26px 24px; margin: 0; display: flex; flex-direction: column; gap: 14px; transition: transform 0.3s, box-shadow 0.3s; }
.resena:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(27,60,110,0.1); }
.resena-estrellas { color: #f5b400; font-size: 15px; letter-spacing: 3px; }
.resena blockquote { font-size: 14px; color: #555; line-height: 1.7; margin: 0; }
.resena figcaption { font-size: 13px; font-weight: 700; color: var(--azul); margin-top: auto; }
.resenas-pie { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-resenas, .btn-resenas-fantasma { display: inline-block; padding: 13px 24px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.btn-resenas { background: var(--azul); color: #fff; }
.btn-resenas:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,60,110,0.22); }
.btn-resenas-fantasma { border: 2px solid var(--azul); color: var(--azul); }
.btn-resenas-fantasma:hover { background: var(--azul); color: #fff; }
@media (max-width: 768px) {
  .resenas-cabecera { gap: 22px; margin-bottom: 30px; }
  .resenas-grid { grid-template-columns: 1fr; gap: 16px; }
  .resena { padding: 22px 20px; }
  .btn-resenas, .btn-resenas-fantasma { flex: 1 1 100%; text-align: center; }
}
