/*
Theme Name: Gogoa Disponibilidad Agosto
Theme URI: https://gogoapsicologos.es/
Author: Gogoa Psicólogos
Description: Tema clásico de WordPress para la campaña de disponibilidad de agosto de Gogoa Psicólogos.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: gogoa-agosto
*/

:root{
    --azul-profundo:#2C5F6F;
    --azul-suave:#E8F1F3;
    --verde-gogoa:#6FA98C;
    --verde-suave:#E9F3ED;
    --crema:#FBF9F5;
    --tinta:#23343A;
    --tinta-suave:#5B6E74;
    --blanco:#FFFFFF;
    --borde:#D9E6E7;
    --sombra: 0 12px 30px -14px rgba(44,95,111,0.25);
    --radio: 18px;
    --serif: 'Fraunces', serif;
    --sans: 'Work Sans', sans-serif;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    font-family:var(--sans);
    color:var(--tinta);
    background:var(--blanco);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3{font-family:var(--serif); font-weight:600; margin:0 0 .5em; letter-spacing:-0.01em;}
  p{margin:0 0 1em;}
  a{color:inherit;}
  img{max-width:100%;display:block;}
  .container{max-width:1140px;margin:0 auto;padding:0 24px;}
  .eyebrow{
    display:inline-flex;align-items:center;gap:8px;
    font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;
    color:var(--azul-profundo);font-weight:600;
    margin-bottom:14px;
  }
  .eyebrow::before{content:"";width:22px;height:1px;background:var(--verde-gogoa);display:inline-block;}
  section{padding:88px 0;}
  @media (max-width:720px){ section{padding:56px 0;} }

  /* ---- NAV ---- */
  .nav{
    position:sticky; top:0; z-index:50;
    background:rgba(255,255,255,.9); backdrop-filter:blur(8px);
    border-bottom:1px solid var(--borde);
  }
  .nav-inner{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;max-width:1140px;margin:0 auto;}
  .logo{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-weight:600;font-size:1.25rem;color:var(--azul-profundo);}
  .logo-mark{width:34px;height:34px;flex-shrink:0;}
  .nav-links{display:flex;gap:28px;font-size:.92rem;font-weight:500;}
  .nav-links a{text-decoration:none;color:var(--tinta-suave);transition:color .2s;}
  .nav-links a:hover{color:var(--azul-profundo);}
  .nav-cta{display:flex;align-items:center;gap:10px;}
  .nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;}
  @media (max-width:860px){
    .nav-links{display:none;}
    .nav-toggle{display:block;}
  }

  /* ---- BUTTONS ---- */
  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:14px 28px;border-radius:100px;font-weight:600;font-size:.95rem;
    text-decoration:none;cursor:pointer;border:2px solid transparent;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space:nowrap;
  }
  .btn:active{transform:scale(.97);}
  .btn-primary{background:var(--azul-profundo);color:#fff;box-shadow:var(--sombra);}
  .btn-primary:hover{background:#244d5a;box-shadow:0 16px 34px -14px rgba(44,95,111,.4);}
  .btn-whatsapp{background:var(--verde-gogoa);color:#fff;}
  .btn-whatsapp:hover{background:#5f9a7d;}
  .btn-outline{background:transparent;border-color:var(--azul-profundo);color:var(--azul-profundo);}
  .btn-outline:hover{background:var(--azul-suave);}
  .btn-small{padding:10px 18px;font-size:.85rem;}

  /* ---- HERO ---- */
  .hero{
    position:relative;
    background:linear-gradient(180deg, var(--azul-suave) 0%, #fff 100%);
    padding:70px 0 90px;
    overflow:hidden;
  }
  .hero::before{
    content:"";position:absolute;top:-120px;right:-160px;width:480px;height:480px;
    border-radius:50%;background:radial-gradient(circle at 30% 30%, rgba(111,169,140,.35), rgba(111,169,140,0) 70%);
  }
  .hero::after{
    content:"";position:absolute;bottom:-180px;left:-140px;width:420px;height:420px;
    border-radius:50%;background:radial-gradient(circle at 60% 40%, rgba(44,95,111,.18), rgba(44,95,111,0) 70%);
  }
  .hero-grid{
    position:relative;z-index:1;
    display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;
  }
  @media (max-width:900px){ .hero-grid{grid-template-columns:1fr;} }
  .hero h1{font-size:clamp(2.1rem, 4.2vw, 3.1rem);line-height:1.08;color:var(--azul-profundo);}
  .hero-sub{font-size:1.08rem;color:var(--tinta-suave);max-width:52ch;margin-bottom:28px;}
  .hero-cta-row{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:20px;}
  .hero-microcopy{font-size:.85rem;color:var(--tinta-suave);display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
  .hero-microcopy .dot{width:4px;height:4px;border-radius:50%;background:var(--tinta-suave);}

  /* seats indicator - signature element */
  .seats-card{
    background:#fff;border:1px solid var(--borde);border-radius:var(--radio);
    padding:26px 26px 22px;box-shadow:var(--sombra);
  }
  .seats-card h3{font-size:1rem;font-family:var(--sans);font-weight:600;color:var(--tinta);margin-bottom:4px;}
  .seats-caption{font-size:.85rem;color:var(--tinta-suave);margin-bottom:16px;}
  .seats-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;}
  .seat{
    width:26px;height:26px;border-radius:50%;
    border:2px solid var(--azul-profundo);
    position:relative;flex-shrink:0;
  }
  .seat.taken{background:var(--azul-profundo);}
  .seat.free{background:transparent;}
  .seat.free::after{content:"";position:absolute;inset:6px;border-radius:50%;background:var(--verde-gogoa);opacity:.9;}
  .seats-legend{display:flex;gap:18px;font-size:.78rem;color:var(--tinta-suave);}
  .legend-dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:6px;vertical-align:middle;}

  .hero-visual{position:relative;}
  .hero-photo{
    border-radius:28px;overflow:hidden;box-shadow:var(--sombra);
    aspect-ratio:4/5; background:linear-gradient(160deg, #d7e8ea 0%, #eef6f1 55%, #fff 100%);
    position:relative;
  }
  .hero-photo svg{position:absolute;inset:0;width:100%;height:100%;}

  /* ---- URGENCY ---- */
  .urgency{background:var(--crema);}
  .urgency-head{text-align:center;max-width:640px;margin:0 auto 48px;}
  .urgency-head h2{font-size:clamp(1.6rem,3vw,2.2rem);color:var(--azul-profundo);}
  .urgency-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
  @media (max-width:900px){.urgency-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:560px){.urgency-grid{grid-template-columns:1fr;}}
  .urgency-card{
    background:#fff;border:1px solid var(--borde);border-radius:16px;padding:26px 22px;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .urgency-card:hover{transform:translateY(-4px);box-shadow:var(--sombra);}
  .icon-badge{
    width:44px;height:44px;border-radius:12px;background:var(--verde-suave);
    display:flex;align-items:center;justify-content:center;margin-bottom:16px;
  }
  .icon-badge svg{width:22px;height:22px;stroke:var(--azul-profundo);}
  .urgency-card p{font-size:.94rem;color:var(--tinta-suave);margin:0;}

  /* ---- SPECIALTIES ---- */
  .specialties-head{max-width:640px;margin-bottom:48px;}
  .specialties-head h2{font-size:clamp(1.6rem,3vw,2.2rem);color:var(--azul-profundo);}
  .spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;}
  @media (max-width:800px){.spec-grid{grid-template-columns:1fr;}}
  .spec-card{
    border-radius:22px;padding:34px 30px;
  }
  .spec-card.adultos{background:var(--azul-suave);}
  .spec-card.infantil{background:var(--verde-suave);}
  .spec-card h3{font-size:1.35rem;color:var(--tinta);margin-bottom:6px;}
  .spec-card .spec-kicker{font-size:.82rem;color:var(--tinta-suave);margin-bottom:20px;}
  .spec-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;}
  .spec-list li{display:flex;align-items:flex-start;gap:12px;font-size:.96rem;}
  .spec-list svg{width:20px;height:20px;flex-shrink:0;margin-top:2px;stroke:var(--azul-profundo);}
  .spec-card.infantil svg{stroke:#3f7d5e;}

  /* ---- PROCESS ---- */
  .process{background:var(--crema);}
  .process-head{max-width:640px;margin:0 auto 52px;text-align:center;}
  .process-head h2{font-size:clamp(1.6rem,3vw,2.2rem);color:var(--azul-profundo);}
  .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative;}
  @media (max-width:900px){.steps{grid-template-columns:1fr;gap:28px;}}
  .step{position:relative;padding:0 18px;}
  .step:not(:last-child)::after{
    content:"";position:absolute;top:22px;right:-8px;width:16px;height:1px;background:var(--borde);
  }
  @media (max-width:900px){.step:not(:last-child)::after{display:none;}}
  .step-num{
    font-family:var(--serif);font-size:1.6rem;color:var(--verde-gogoa);font-weight:600;margin-bottom:10px;
  }
  .step h4{font-family:var(--sans);font-size:1.02rem;font-weight:600;margin-bottom:8px;color:var(--tinta);}
  .step p{font-size:.9rem;color:var(--tinta-suave);margin:0;}

  /* ---- TRUST ---- */
  .trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
  @media (max-width:860px){.trust-grid{grid-template-columns:1fr;gap:32px;}}
  .trust-head h2{font-size:clamp(1.6rem,3vw,2.2rem);color:var(--azul-profundo);}
  .trust-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px;}
  .trust-list li{display:flex;gap:14px;align-items:flex-start;font-size:1rem;}
  .trust-list svg{width:24px;height:24px;flex-shrink:0;stroke:var(--verde-gogoa);}
  .trust-visual{
    background:var(--azul-suave);border-radius:24px;padding:36px;
    display:flex;flex-direction:column;gap:20px;
  }
  .trust-stat{display:flex;align-items:baseline;gap:10px;}
  .trust-stat b{font-family:var(--serif);font-size:2.1rem;color:var(--azul-profundo);}
  .trust-stat span{font-size:.88rem;color:var(--tinta-suave);}

  /* ---- TESTIMONIALS ---- */
  /* =========================
   TESTIMONIOS EN CARRUSEL
   ========================= */

/* =========================================================
   CARRUSEL DE TESTIMONIOS
   ========================================================= */

.testimonials {
    position: relative;
    overflow: hidden;
    background: var(--crema);
}

.test-head {
    max-width: 680px;
    margin: 0 auto 44px;
    text-align: center;
}

.test-head h2 {
    margin-bottom: 12px;
    color: var(--azul-profundo);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.test-head p {
    margin: 0;
    color: var(--tinta-suave);
    font-size: .96rem;
}

.test-eyebrow {
    justify-content: center;
}

.test-carousel {
    position: relative;
    width: 100%;
}

.test-viewport {
    width: 100%;
    overflow: hidden;
}

.test-track {
    display: flex;
    align-items: stretch;
    gap: 22px;
    width: 100%;
    transition: transform .45s ease;
    will-change: transform;
}

.test-slide {
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;
}

.test-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 350px;
    height: 100%;
    padding: 28px 25px 24px;
    overflow: hidden;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 20px;
    box-shadow: 0 14px 30px -22px rgba(44, 95, 111, .45);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px -22px rgba(44, 95, 111, .55);
}

.test-review-top {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 16px;
}

.test-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: 13px;
    flex-shrink: 0;
    color: var(--blanco);
    background: var(--azul-profundo);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
}

.test-slide:nth-child(2) .test-avatar {
    background: var(--verde-gogoa);
}

.test-slide:nth-child(3) .test-avatar {
    background: #bd5b34;
}

.test-slide:nth-child(4) .test-avatar {
    background: #8f756a;
}

.test-slide:nth-child(5) .test-avatar {
    background: #54799b;
}

.test-reviewer {
    min-width: 0;
    margin-right: 10px;
}

.test-name {
    overflow: hidden;
    margin-bottom: 2px;
    color: var(--tinta);
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.test-date {
    color: var(--tinta-suave);
    font-size: .78rem;
    line-height: 1.3;
}

.test-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    margin-left: auto;
    flex-shrink: 0;
    color: #4285f4;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.test-stars {
    margin-bottom: 18px;
    color: #f6b800;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: 2px;
}

.test-quote {
    margin: 0 0 24px;
    color: var(--tinta);
    font-family: var(--sans);
    font-size: .94rem;
    font-style: normal;
    line-height: 1.65;
}

.test-service {
    margin-top: auto;
    padding-top: 16px;
    color: var(--azul-profundo);
    border-top: 1px solid var(--borde);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.4;
}

.test-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-top: 30px;
}

.test-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--azul-profundo);
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 50%;
    box-shadow: var(--sombra);
    cursor: pointer;
    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.test-arrow:hover {
    color: var(--blanco);
    background: var(--azul-profundo);
    transform: translateY(-2px);
}

.test-arrow:focus-visible {
    outline: 2px solid var(--verde-gogoa);
    outline-offset: 3px;
}

.test-arrow svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.test-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    gap: 8px;
}

.test-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    background: var(--borde);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition:
        width .2s ease,
        background .2s ease;
}

.test-dot:hover {
    background: var(--azul-profundo);
}

.test-dot.active {
    width: 25px;
    background: var(--verde-gogoa);
    border-radius: 20px;
}

.test-dot:focus-visible {
    outline: 2px solid var(--azul-profundo);
    outline-offset: 2px;
}

/* TABLET: DOS TESTIMONIOS */

@media (max-width: 950px) {

    .test-track {
        gap: 20px;
    }

    .test-slide {
        flex-basis: calc((100% - 20px) / 2);
    }

    .test-card {
        min-height: 340px;
    }

}

/* MÓVIL: UN TESTIMONIO */

@media (max-width: 767px) {

    .testimonials {
        padding: 52px 0;
    }

    .test-head {
        margin-bottom: 30px;
    }

    .test-head h2 {
        font-size: 1.85rem;
        line-height: 1.2;
    }

    .test-head p {
        font-size: .9rem;
        line-height: 1.55;
    }

    .test-track {
        gap: 16px;
    }

    .test-slide {
        flex: 0 0 100%;
    }

    .test-card {
        min-height: 390px;
        padding: 24px 20px 21px;
        border-radius: 18px;
    }

    .test-card:hover {
        transform: none;
    }

    .test-avatar {
        width: 44px;
        height: 44px;
        margin-right: 11px;
        font-size: 1rem;
    }

    .test-name {
        font-size: .91rem;
    }

    .test-date {
        font-size: .74rem;
    }

    .test-google {
        width: 28px;
        height: 28px;
        font-size: 1.15rem;
    }

    .test-stars {
        margin-bottom: 17px;
        font-size: 1.12rem;
        letter-spacing: 1px;
    }

    .test-quote {
        margin-bottom: 22px;
        font-size: .93rem;
        line-height: 1.65;
    }

    .test-service {
        font-size: .75rem;
    }

    .test-controls {
        gap: 14px;
        margin-top: 23px;
    }

    .test-arrow {
        width: 42px;
        height: 42px;
    }

    .test-arrow svg {
        width: 19px;
        height: 19px;
    }

}

@media (max-width: 380px) {

    .test-card {
        min-height: 420px;
        padding-right: 17px;
        padding-left: 17px;
    }

    .test-avatar {
        width: 40px;
        height: 40px;
    }

    .test-name {
        max-width: 130px;
    }

}


  /* ---- BOOKING ---- */
  .booking{position:relative;}
  .booking-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;}
  @media (max-width:900px){.booking-grid{grid-template-columns:1fr;}}
  .booking-info h2{font-size:clamp(1.6rem,3vw,2.2rem);color:var(--azul-profundo);}
  .booking-info p{color:var(--tinta-suave);}
  .booking-seats{margin-top:26px;}
  form.book-form{
    background:var(--azul-suave);border-radius:24px;padding:34px;
    display:flex;flex-direction:column;gap:16px;
  }
  .form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
  @media (max-width:560px){.form-row{grid-template-columns:1fr;}}
  label{font-size:.82rem;font-weight:600;color:var(--tinta);margin-bottom:6px;display:block;}
  input, select, textarea{
    width:100%;padding:12px 14px;border-radius:10px;border:1px solid var(--borde);
    font-family:var(--sans);font-size:.94rem;background:#fff;color:var(--tinta);
  }
  input:focus, select:focus, textarea:focus{
    outline:2px solid var(--azul-profundo); outline-offset:1px;
  }
  textarea{resize:vertical;min-height:90px;}
  .form-note{font-size:.78rem;color:var(--tinta-suave);}
  .form-success{
    display:none;background:var(--verde-suave);border:1px solid var(--verde-gogoa);
    border-radius:14px;padding:18px;font-size:.92rem;color:#2f5b45;align-items:center;gap:10px;
  }
  .form-success.show{display:flex;}
  .book-form.hide-fields{display:none;}

  /* ---- FAQ ---- */
  .faq{background:var(--crema);}
  .faq-head{max-width:640px;margin:0 auto 40px;text-align:center;}
  .faq-head h2{font-size:clamp(1.6rem,3vw,2.2rem);color:var(--azul-profundo);}
  .faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}
  .faq-item{background:#fff;border:1px solid var(--borde);border-radius:14px;overflow:hidden;}
  .faq-q{
    width:100%;text-align:left;background:none;border:none;padding:20px 22px;
    font-family:var(--sans);font-weight:600;font-size:.98rem;color:var(--tinta);
    display:flex;justify-content:space-between;align-items:center;cursor:pointer;gap:16px;
  }
  .faq-q svg{width:18px;height:18px;stroke:var(--azul-profundo);flex-shrink:0;transition:transform .25s ease;}
  .faq-item.open .faq-q svg{transform:rotate(45deg);}
  .faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;}
  .faq-a p{padding:0 22px 20px;color:var(--tinta-suave);font-size:.92rem;margin:0;}
  .faq-item.open .faq-a{max-height:200px;}

  /* ---- FOOTER ---- */
  footer{background:var(--azul-profundo);color:#EAF3F3;padding:52px 0 28px;}
  .footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:36px;margin-bottom:32px;}
  @media (max-width:700px){.footer-grid{grid-template-columns:1fr;gap:24px;}}
  footer .logo{color:#fff;}
  .footer-col h4{font-family:var(--sans);font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:#B9D4D6;margin-bottom:14px;}
  .footer-col p, .footer-col a{font-size:.9rem;color:#DCEBEC;text-decoration:none;display:block;margin-bottom:8px;}
  .footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:20px;font-size:.8rem;color:#B9D4D6;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;}

  /* ---- FLOATING WHATSAPP ---- */
  .wa-float{
    position:fixed;bottom:20px;right:20px;z-index:60;
    width:58px;height:58px;border-radius:50%;background:var(--verde-gogoa);
    display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px -8px rgba(44,95,111,.5);
    text-decoration:none;
  }
  .wa-float svg{width:28px;height:28px;fill:#fff;}
  .wa-float{animation:wa-pulse 2.6s ease-in-out infinite;}
  @keyframes wa-pulse{
    0%,100%{box-shadow:0 10px 26px -8px rgba(44,95,111,.5);}
    50%{box-shadow:0 10px 30px -4px rgba(111,169,140,.65);}
  }
  @media (prefers-reduced-motion: reduce){
    .wa-float{animation:none;}
  }

  /* mobile nav drawer */
  .mobile-drawer{
    position:fixed;inset:0;background:rgba(35,52,58,.4);z-index:70;
    display:none;
  }
  .mobile-drawer.open{display:block;}
  .drawer-panel{
    position:absolute;top:0;right:0;width:min(78%,320px);height:100%;background:#fff;
    padding:28px 24px;display:flex;flex-direction:column;gap:22px;
  }
  .drawer-panel a{text-decoration:none;color:var(--tinta);font-weight:600;font-size:1.05rem;}
  .drawer-close{align-self:flex-end;background:none;border:none;cursor:pointer;}

  .hero-photo { position: relative; width: 100%; height: 500px; overflow: hidden; border-radius: 34px; background: #dcebec; }

    .hero-photo-image { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

    .hero-photo-decoration { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; pointer-events: none; }

    .seats-card { position: relative; z-index: 3; max-width: 320px; margin-top: -90px; }

    .logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }

    .logo img { display: block; width: auto; height: 68px; max-width: 180px; object-fit: contain; }

/* =========================================================
   CORRECCIÓN EXCLUSIVA PARA MÓVIL
   No modifica el diseño de escritorio
   ========================================================= */
@media (max-width: 767px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  section {
    padding: 52px 0;
  }

  h1,
  h2,
  h3,
  p,
  a,
  span,
  li {
    overflow-wrap: break-word;
  }

  /* CABECERA */
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .97);
  }

  .nav-inner {
    width: 100%;
    min-height: 72px;
    padding: 7px 16px;
    gap: 12px;
  }

  .logo {
    min-width: 0;
    flex-shrink: 1;
  }

  .logo img {
    width: auto;
    height: 54px;
    max-width: 145px;
    object-fit: contain;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-cta > .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 50%;
  }

  .nav-toggle svg {
    width: 25px;
    height: 25px;
  }

  /* MENÚ MÓVIL */
  .mobile-drawer {
    z-index: 200;
  }

  .drawer-panel {
    width: min(86vw, 340px);
    max-width: 100%;
    height: 100%;
    padding: 24px 22px 32px;
    overflow-y: auto;
    gap: 20px;
  }

  .drawer-panel a {
    width: 100%;
    font-size: 1rem;
  }

  .drawer-panel .btn {
    min-height: 48px;
    color: #fff;
  }

  .drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 8px;
  }

  /* HERO */
  .hero {
    padding: 44px 0 68px;
  }

  .hero::before {
    top: -180px;
    right: -240px;
    width: 390px;
    height: 390px;
  }

  .hero::after {
    bottom: -240px;
    left: -220px;
    width: 360px;
    height: 360px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero-grid > div {
    min-width: 0;
  }

  .eyebrow {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: .68rem;
    line-height: 1.45;
    letter-spacing: .1em;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(2rem, 10vw, 2.45rem);
    line-height: 1.08;
  }

  .hero-sub {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-cta-row .btn {
    width: 100%;
    min-height: 52px;
    padding: 13px 18px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .hero-microcopy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    align-items: start;
    font-size: .8rem;
  }

  .hero-microcopy .dot {
    display: none;
  }

  .hero-photo {
    width: 100%;
    height: auto;
    min-height: 410px;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .hero-photo-image {
    object-position: center top;
  }

  .hero-photo-decoration {
    width: 100%;
    height: 100%;
  }

  .hero-grid > div:last-child > .seats-card {
    width: calc(100% - 26px);
    max-width: none !important;
    margin: -58px auto 0 !important;
    padding: 21px 18px 18px;
  }

  .seats-row {
    gap: 6px;
  }

  .seat {
    width: 23px;
    height: 23px;
  }

  .seats-legend {
    flex-wrap: wrap;
    gap: 8px 14px;
    line-height: 1.4;
  }

  .booking .seats-card {
    width: 100%;
    max-width: none;
    margin-top: 0 !important;
  }

  /* BLOQUES */
  .urgency-head,
  .process-head,
  .test-head,
  .faq-head {
    margin-bottom: 32px;
  }

  .urgency-grid,
  .spec-grid,
  .steps,
  .trust-grid,
  .test-grid,
  .booking-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .urgency-grid,
  .spec-grid,
  .test-grid {
    gap: 16px;
  }

  .urgency-card {
    padding: 22px 20px;
  }

  .specialties-head {
    margin-bottom: 30px;
  }

  .spec-card {
    padding: 26px 21px;
    border-radius: 18px;
  }

  .spec-list {
    gap: 13px;
  }

  .spec-list li {
    min-width: 0;
    font-size: .94rem;
    line-height: 1.5;
  }

  .steps {
    gap: 14px;
  }

  .step {
    padding: 20px;
    border: 1px solid var(--borde);
    border-radius: 16px;
    background: #fff;
  }

  .step-num {
    margin-bottom: 5px;
  }

  .trust-grid {
    gap: 28px;
  }

  .trust-list {
    gap: 15px;
  }

  .trust-list li {
    min-width: 0;
    font-size: .95rem;
  }

  .trust-visual {
    padding: 25px 21px;
    border-radius: 18px;
  }

  .trust-stat {
    align-items: flex-start;
    gap: 9px;
  }

  .trust-stat b {
    flex-shrink: 0;
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .trust-stat span {
    padding-top: 3px;
    line-height: 1.45;
  }

  .test-card {
    min-height: 0;
    padding: 23px 21px;
  }

  /* RESERVA */
  .booking-grid {
    gap: 30px;
  }

  form.book-form {
    width: 100%;
    padding: 24px 18px;
    border-radius: 19px;
    gap: 15px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  input,
  select,
  textarea {
    min-width: 0;
    padding: 13px 12px;
    font-size: 16px;
  }

  textarea {
    min-height: 110px;
  }

  .book-form .btn {
    min-height: 52px;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal;
    line-height: 1.35;
  }

  .form-success {
    align-items: flex-start;
  }

  /* FAQ */
  .faq-list {
    width: 100%;
  }

  .faq-q {
    min-height: 62px;
    padding: 17px 16px;
    font-size: .94rem;
    line-height: 1.4;
  }

  .faq-a p {
    padding: 0 16px 18px;
    font-size: .9rem;
  }

  /* FOOTER */
  footer {
    padding: 45px 0 24px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 28px;
  }

  footer .logo {
    width: auto;
  }

  footer .logo img {
    height: 54px;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-col p,
  .footer-col a {
    line-height: 1.55;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    line-height: 1.5;
  }

  /* WHATSAPP */
  .wa-float {
    right: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
  }

  .wa-float svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 380px) {

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo img {
    height: 48px;
    max-width: 125px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-photo {
    min-height: 365px;
  }

  .hero-grid > div:last-child > .seats-card {
    width: calc(100% - 16px);
    padding-left: 15px;
    padding-right: 15px;
  }

  .seat {
    width: 21px;
    height: 21px;
  }
}

/* ---- WORDPRESS Y FORMULARIO REAL ---- */
.site-logo .custom-logo { display:block; width:auto; height:68px; max-width:180px; object-fit:contain; }
.skip-link { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus { left:16px; top:16px; z-index:9999; width:auto; height:auto; padding:10px 16px; color:#fff; background:var(--azul-profundo); border-radius:8px; }
.gogoa-honeypot { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; overflow:hidden !important; opacity:0 !important; pointer-events:none !important; }
.form-consent { display:flex; align-items:flex-start; gap:10px; }
.form-consent input { width:18px; height:18px; margin:3px 0 0; flex:0 0 18px; }
.form-consent label { margin:0; font-size:.78rem; font-weight:400; line-height:1.5; color:var(--tinta-suave); }
.form-consent a { color:var(--azul-profundo); font-weight:600; }
.form-feedback { display:flex; align-items:flex-start; gap:10px; margin-bottom:18px; padding:16px 18px; border-radius:14px; font-size:.92rem; line-height:1.55; }
.form-feedback-success { color:#2f5b45; background:var(--verde-suave); border:1px solid var(--verde-gogoa); }
.form-feedback-error { color:#7b2e2e; background:#fff1f1; border:1px solid #d99090; }
.form-feedback svg { width:22px; height:22px; flex:0 0 22px; margin-top:1px; }
.book-form button[disabled] { opacity:.7; cursor:wait; }

@media (max-width:767px) {
  .site-logo .custom-logo { height:54px; max-width:145px; }
  .form-feedback { padding:14px 15px; font-size:.88rem; }
}

/* HEADER FIJO SOLO EN MÓVIL */
@media (max-width: 767px) {

    .nav {
        position: fixed !important;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: rgba(255, 255, 255, .98);
        border-bottom: 1px solid var(--borde);
        box-shadow: 0 5px 18px rgba(44, 95, 111, .10);
    }

    .nav-inner {
        width: 100%;
        min-height: 72px;
        padding: 7px 16px;
    }

    body {
        padding-top: 72px;
    }

    section,
    header {
        scroll-margin-top: 85px;
    }

}

/* AJUSTE PARA USUARIOS CONECTADOS A WORDPRESS */
@media (max-width: 782px) {

    body.admin-bar .nav {
        top: 46px;
    }

}