/* =============================================
   CLÍNICA SEVERÁ — styles.css
   Paleta azul médico
   ============================================= */

/* ── Variables ── */
:root {
    --primary:        #1b4f8a;
    --primary-dark:   #0d2d5c;
    --primary-light:  #2d6fb5;
    --secondary:      #72b4e0;
    --secondary-light:#dbeeff;
    --cream:          #f8f9fa;
    --white:          #ffffff;
    --text-dark:      #0d1e3a;
    --text-med:       #495057;
    --text-light:     #6c757d;
    --shadow-sm:      0 2px 10px rgba(27,79,138,.07);
    --shadow-md:      0 8px 32px rgba(27,79,138,.13);
    --shadow-lg:      0 20px 56px rgba(27,79,138,.20);
    --radius-sm:      8px;
    --radius-md:      16px;
    --radius-lg:      24px;
    --transition:     all .3s cubic-bezier(.4,0,.2,1);
    --font-head:      'Montserrat', sans-serif;
    --font-body:      'Open Sans', sans-serif;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-med);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-head);
    color: var(--text-dark);
    line-height: 1.2;
}
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
.section-padding { padding: 100px 0; }
.bg-cream { background-color: var(--cream); }

/* ── Scroll Reveal ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-delay="100"] { transition-delay: .1s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }

/* ── Section Headers ── */
.section-tag {
    display: inline-block;
    background: var(--secondary-light);
    color: var(--primary);
    font-family: var(--font-head);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.section-tag.light {
    background: rgba(114,180,224,.22);
    color: var(--secondary);
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 14px;
}
.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto;
}

/* =============================================
   NAVBAR — estático (no sticky)
   ============================================= */
#navbar {
    padding: 14px 0;
    background: var(--white);
    box-shadow: 0 2px 14px rgba(27,79,138,.09);
    position: relative;
    z-index: 10;
}

/* Logo image — fondo blanco uniforme con bordes redondeados */
.navbar-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
    background: #ffffff;
    padding: 4px;
    border: 1px solid rgba(27,79,138,.08);
}

/* Brand */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-name {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -.02em;
}
.brand-subtitle {
    font-size: .63rem;
    color: var(--text-light);
    letter-spacing: .05em;
}

/* Nav Links */
.nav-link {
    font-family: var(--font-head);
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-dark) !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm);
    letter-spacing: .02em;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: var(--secondary-light);
}

/* CTA Nav Button */
.btn-cta-nav {
    background: var(--primary);
    color: var(--white) !important;
    font-family: var(--font-head);
    font-size: .875rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    border: none;
    letter-spacing: .02em;
    transition: var(--transition);
    display: inline-block;
}
.btn-cta-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27,79,138,.35);
}

/* Hamburger */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(114,180,224,.45); outline: none; }
.hamburger-line {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

/* Mobile collapse */
@media (max-width: 991px) {
    #navbar .navbar-collapse {
        background: var(--white);
        border-radius: var(--radius-md);
        padding: 16px;
        margin-top: 12px;
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(27,79,138,.08);
    }
    .btn-cta-nav {
        width: 100%;
        text-align: center;
        margin-top: 8px;
        display: block;
    }
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('../images/fisioterapia-2.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        130deg,
        rgba(13,45,92,.95)  0%,
        rgba(27,79,138,.86) 55%,
        rgba(13,45,92,.93) 100%
    );
}

/* Logo watermark decorativo (fondo) */
.hero-logo-deco {
    position: absolute;
    right: -2%;
    bottom: 4%;
    width: 42%;
    max-width: 520px;
    z-index: 1;
    pointer-events: none;
    opacity: .18;
    filter: invert(1);
}
.hero-logo-deco img { width: 100%; display: block; }

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0 80px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(114,180,224,.18);
    border: 1px solid rgba(114,180,224,.4);
    color: var(--secondary);
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .05em;
    padding: 8px 22px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}
.hero-headline {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -.02em;
}
.hero-highlight { color: var(--secondary); }
.hero-subheadline {
    font-size: clamp(.95rem, 2.2vw, 1.18rem);
    color: rgba(255,255,255,.82);
    margin-bottom: 40px;
    letter-spacing: .03em;
}
.btn-hero-primary {
    background: var(--secondary);
    color: var(--primary-dark) !important;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 38px;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(114,180,224,.38);
    display: inline-block;
}
.btn-hero-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(255,255,255,.3);
}
.btn-hero-secondary {
    background: transparent;
    color: var(--white) !important;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.5);
    transition: var(--transition);
    display: inline-block;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}
.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding: 6px 0;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 2px;
    animation: scrollWheelAnim 1.6s ease-in-out infinite;
}
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}
@keyframes scrollWheelAnim {
    0%   { opacity:1; transform: translateY(0); }
    100% { opacity:0; transform: translateY(10px); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
    background: var(--primary);
    padding: 48px 0;
}
.stat-item {
    padding: 16px 8px;
    border-right: 1px solid rgba(255,255,255,.13);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 8px;
    display: block;
}
.stat-number {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}
.stat-label {
    font-size: .78rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 600;
    margin-top: 4px;
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27,79,138,.07);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(114,180,224,.5);
}
.service-card.featured {
    border: 2px solid var(--secondary);
    box-shadow: 0 8px 32px rgba(27,79,138,.15);
}
.service-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.18);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--secondary);
}
.service-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

/* Header con foto real */
.service-card-header--photo {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 130px;
}
.service-card-header--fisioterapia { background-image: url('../images/fisioterapia.webp'); }
.service-card-header--osteopatia   { background-image: url('../images/osteopatia.webp'); }
.service-card-header--pilates      { background-image: url('../images/pilates.webp'); }
.service-card-header--photo .service-icon-wrap,
.service-card-header--photo .service-card-title {
    position: relative;
    z-index: 1;
}
.service-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,45,92,.88) 0%, rgba(27,79,138,.80) 100%);
    border-radius: inherit;
}
.service-card-body { padding: 24px; flex: 1; }
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    color: var(--text-med);
    line-height: 1.5;
}
.service-list li i {
    color: var(--primary);
    font-size: .72rem;
    margin-top: 5px;
    flex-shrink: 0;
}
.fisiopilates-highlight {
    background: var(--secondary-light);
    color: var(--primary);
    font-family: var(--font-head);
    font-size: .88rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
}
.logopedia-subsection {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(27,79,138,.08);
}
.logopedia-subsection.no-border,
.logopedia-subsection:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.logopedia-subsection h4 {
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.logopedia-subsection p {
    font-size: .84rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}
.service-card-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(27,79,138,.06);
}
.btn-service-link {
    color: var(--primary);
    font-family: var(--font-head);
    font-size: .875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.btn-service-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* =============================================
   LOGOPEDIA SECTION
   ============================================= */
.logopedia-section {
    background: linear-gradient(160deg, #eef6fd 0%, #dbeeff 100%);
    position: relative;
    overflow: hidden;
}
.logopedia-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27,79,138,.06) 0%, transparent 70%);
    pointer-events: none;
}
.logo-intro {
    background: var(--primary);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    height: 100%;
}
.logo-intro--flex {
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
.logo-intro-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: rgba(255,255,255,.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
}
.logo-intro-title {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}
.logo-intro-text {
    font-size: .95rem;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    margin: 0;
}
.btn-logo-cta {
    background: var(--secondary);
    color: var(--primary-dark) !important;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    box-shadow: 0 6px 20px rgba(114,180,224,.35);
}
.btn-logo-cta:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255,255,255,.25);
}
.logo-intro--logopedia {
    background-image: url('../images/logopeda.webp');
    padding: 10px 30px;
}
.logo-intro--psico {
    background: linear-gradient(145deg, #5b3a8a 0%, #8a5bb5 100%);
}
.logo-intro--psico.logo-intro--photo {
    background-image: url('../images/psicologia.webp');
    padding: 60px 30px;
}
.logo-intro--photo {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.logo-intro--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13,45,92,.86);
    border-radius: inherit;
    z-index: 0;
}
.logo-intro--psico.logo-intro--photo::before {
    background: rgba(75,42,110,.88);
}
.logo-intro--photo > * {
    position: relative;
    z-index: 1;
}

/* Logopedia sub-cards */
.logo-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.logo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary);
}
.logo-card-icon {
    width: 52px;
    height: 52px;
    background: var(--secondary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
    flex-shrink: 0;
}
.logo-card-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}
.logo-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.logo-card-list li {
    font-size: .875rem;
    color: var(--text-med);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.logo-card-list li i {
    color: var(--secondary);
    font-size: .7rem;
    margin-top: 5px;
    flex-shrink: 0;
}

/* =============================================
   TECHNOLOGY SECTION
   ============================================= */
.tech-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}
.tech-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(114,180,224,.08) 0%, transparent 70%);
    pointer-events: none;
}
.tech-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(114,180,224,.06) 0%, transparent 70%);
    pointer-events: none;
}

.tech-section .section-subtitle { color: rgba(255,255,255,.70); }

/* Tech card — icon variant */
.tech-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}
.tech-card:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(114,180,224,.38);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,.22);
}
.tech-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(114,180,224,.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: var(--secondary);
    border: 1px solid rgba(114,180,224,.25);
    flex-shrink: 0;
}
.tech-card-title {
    font-family: var(--font-head);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}
.tech-card-text {
    font-size: .88rem;
    color: rgba(255,255,255,.68);
    margin: 0;
    line-height: 1.65;
}

/* Tech card — photo variant */
.tech-card--photo {
    padding: 0;
    gap: 0;
}
.tech-photo-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    flex-shrink: 0;
}
.tech-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.tech-card--photo:hover .tech-photo { transform: scale(1.06); }
.tech-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13,45,92,.15) 0%,
        rgba(13,45,92,.65) 100%
    );
}
.tech-photo-badge {
    position: absolute;
    bottom: 16px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: rgba(114,180,224,.25);
    border: 1px solid rgba(114,180,224,.4);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--secondary);
}
.tech-card-content {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.tech-card--photo .tech-card-title { font-size: 1.05rem; }

/* =============================================
   TEAM SECTION
   ============================================= */
.team-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27,79,138,.07);
    transition: var(--transition);
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.team-photo-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.team-card:hover .team-photo { transform: scale(1.06); }
.team-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    color: rgba(255,255,255,.82);
    transition: transform .5s ease;
}
.team-avatar--male   { background: linear-gradient(145deg, #1b4f8a 0%, #2d6fb5 100%); }
.team-avatar--female { background: linear-gradient(145deg, #2d6fb5 0%, #72b4e0 100%); }
.team-avatar--male2  { background: linear-gradient(145deg, #0d2d5c 0%, #1b4f8a 100%); }
.team-avatar--lorena { background: linear-gradient(145deg, #5b3a8a 0%, #8a5bb5 100%); }
.team-card:hover .team-avatar { transform: scale(1.06); }
.team-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,45,92,.88) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .35s ease;
}
.team-card:hover .team-photo-overlay { opacity: 1; }
.btn-team-cta {
    background: transparent;
    color: var(--white) !important;
    border: 2px solid var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .8rem;
    padding: 7px 20px;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-block;
}
.btn-team-cta:hover {
    background: var(--white);
    color: var(--primary) !important;
}
.team-info {
    padding: 20px 22px;
    border-top: 3px solid var(--secondary);
}
.team-name {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.team-role {
    font-size: .85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.team-college {
    font-size: .72rem;
    color: var(--primary);
    background: var(--secondary-light);
    padding: 3px 12px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}
.team-college + .team-college {
    display: block;
    margin-top: 5px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
    background: linear-gradient(135deg, #c8e8f8 0%, #96cef0 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner > .container { position: relative; z-index: 2; }
.cta-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -8%;
    width: 380px;
    height: 380px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    pointer-events: none;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -25%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    pointer-events: none;
}
.cta-icon {
    font-size: 2.6rem;
    color: var(--primary-dark);
    margin-bottom: 18px;
    display: block;
    animation: heartbeat 1.6s ease-in-out infinite;
}
@keyframes heartbeat {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.14); }
}
.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.7rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 14px;
}
.cta-subtitle {
    font-size: 1.08rem;
    color: rgba(13,45,92,.78);
    margin-bottom: 40px;
}
.btn-cta-main {
    background: var(--primary-dark);
    color: var(--white) !important;
    font-family: var(--font-head);
    font-size: 1.04rem;
    font-weight: 700;
    padding: 16px 42px;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(13,45,92,.3);
    display: inline-block;
}
.btn-cta-main:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(13,45,92,.4);
}
.btn-cta-outline {
    background: transparent;
    color: var(--primary-dark) !important;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 38px;
    border-radius: 50px;
    border: 2px solid var(--primary-dark);
    transition: var(--transition);
    display: inline-block;
}
.btn-cta-outline:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-3px);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius-md);
    padding: 40px;
    height: 100%;
}
.contact-info-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255,255,255,.14);
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255,255,255,.14);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--secondary);
}
.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.contact-info-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.55);
    font-weight: 700;
}
.contact-info-value {
    font-size: .93rem;
    color: var(--white);
    display: block;
    line-height: 1.5;
    font-weight: 500;
}
a.contact-info-value:hover { color: var(--secondary); }
.accreditation-badge {
    background: rgba(114,180,224,.14);
    border: 1px solid rgba(114,180,224,.3);
    color: var(--secondary);
    font-size: .78rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27,79,138,.07);
    height: 100%;
}
.contact-form-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--secondary-light);
}
.form-label-custom {
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 6px;
    display: block;
}
.form-control-custom {
    width: 100%;
    border: 2px solid rgba(27,79,138,.12);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: .93rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.form-control-custom:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(27,79,138,.1);
}
.form-select-custom {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%231b4f8a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    cursor: pointer;
    padding-right: 40px;
}
textarea.form-control-custom { resize: vertical; min-height: 110px; }
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .84rem;
    color: var(--text-light);
}
.privacy-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}
.privacy-link { color: var(--primary); text-decoration: underline; }
.btn-form-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white) !important;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: .02em;
}
.btn-form-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,79,138,.35);
}

/* Map */
.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.map-header {
    background: var(--primary);
    color: var(--white);
    padding: 14px 22px;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
}
.map-container iframe { display: block; border: 0; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #07111f; }
.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Footer logo image — fondo blanco con bordes redondeados */
.footer-logo-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
    background: #ffffff;
    padding: 5px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.footer-brand-name {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}
.footer-brand-sub {
    font-size: .65rem;
    color: rgba(255,255,255,.45);
    letter-spacing: .05em;
}
.footer-tagline {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin-bottom: 18px;
    max-width: 320px;
}
.footer-accred {
    font-size: .75rem;
    color: var(--secondary);
    font-weight: 600;
}
.footer-col-title {
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: .88rem;
    color: rgba(255,255,255,.52);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.footer-contact-item i {
    color: var(--secondary);
    font-size: .9rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact-item > div {
    display: flex;
    flex-direction: column;
}
.footer-contact-item a,
.footer-contact-item span {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    line-height: 1.55;
    transition: var(--transition);
    display: block;
}
.footer-contact-item a:hover { color: var(--secondary); }
.footer-bottom { padding: 22px 0; }
.footer-copyright {
    font-size: .84rem;
    color: rgba(255,255,255,.32);
    margin: 0;
}
.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}
.footer-legal-links a {
    font-size: .8rem;
    color: rgba(255,255,255,.32);
    transition: var(--transition);
}
.footer-legal-links a:hover { color: var(--secondary); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.form-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: var(--white);
    padding: 15px 28px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
    opacity: 0;
}
.form-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.form-toast.error { background: #c0392b; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .section-padding { padding: 72px 0;}
    .hero-content { padding: 110px 0 70px; }
    .hero-logo-deco { width: 55%; opacity: .04; }
}

@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
    .stats-bar { padding: 28px 0; }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-bottom: none; }
    .contact-info-card, .contact-form-card { padding: 28px 22px; }
    .cta-banner { padding: 72px 0; }
    .footer-top { padding: 56px 0 36px; }
    .footer-legal-links { justify-content: flex-start; margin-top: 8px; }
    .hero-section { background-attachment: scroll; }
    .hero-logo-deco { display: none; }
}

@media (max-width: 575px) {
    .brand-subtitle { display: none; }
    .hero-headline { font-size: 2.1rem; }
    .trust-badge { font-size: .72rem; padding: 6px 16px; }
    .back-to-top { bottom: 20px; right: 16px; }
    .form-toast {
        white-space: normal;
        text-align: center;
        width: 92%;
        border-radius: var(--radius-md);
    }
}
