/* ==========================================================================
   CapaSalud — Modern Health Courses Landing
   Palette: white & blue · Typography: Plus Jakarta Sans
   ========================================================================== */

:root {
    --blue-50:  #EFF6FF;
    --blue-100: #DBEAFE;
    --blue-200: #BFDBFE;
    --blue-300: #93C5FD;
    --blue-400: #60A5FA;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;
    --blue-800: #1E40AF;
    --blue-900: #1E3A8A;
    --blue-950: #0B2266;

    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%);
    --gradient-soft: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    --gradient-text: linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.12);
    --shadow-blue: 0 12px 32px rgba(37, 99, 235, 0.25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --container: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--gray-900);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-color: var(--blue-200);
    box-shadow: var(--shadow-sm);
}

.badge-success {
    background: #ECFDF5;
    color: #047857;
    border-color: #A7F3D0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--blue-500);
    border-radius: 50%;
    position: relative;
}
.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: pulse 2s infinite;
}
.pulse-green { background: #10B981; }
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.35);
}

.btn-ghost {
    background: var(--white);
    color: var(--blue-700);
    border-color: var(--blue-200);
}
.btn-ghost:hover {
    background: var(--blue-50);
    border-color: var(--blue-400);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--blue-700);
    border-color: var(--blue-300);
}
.btn-outline:hover {
    background: var(--blue-600);
    color: var(--white);
    border-color: var(--blue-600);
}

.btn-white {
    background: var(--white);
    color: var(--blue-700);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.logo-text strong { color: var(--blue-700); font-weight: 800; }

@media (max-width: 540px) {
    .logo-text { font-size: 16px; }
    .logo-img { width: 36px; height: 36px; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--gray-700);
    transition: color var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--blue-700); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 50%;
    width: 0; height: 2px;
    background: var(--blue-600);
    transition: all var(--transition);
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.blob-1 {
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--blue-300), transparent 70%);
}
.blob-2 {
    bottom: -150px; left: -150px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--blue-200), transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content { animation: fadeUp 0.8s ease-out; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin: 20px 0 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-700);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-number span {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 600;
    margin-left: 2px;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 1s ease-out 0.2s both;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 75%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(37, 99, 235, 0.25));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    border: 1px solid var(--gray-100);
}
.floating-card strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gray-900);
    font-size: 14px;
}
.floating-card small {
    font-size: 12px;
    color: var(--gray-500);
}
.card-icon {
    width: 40px; height: 40px;
    background: var(--blue-50);
    color: var(--blue-600);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.card-1 { top: 5%; left: -10%; animation: float 6s ease-in-out infinite 0.5s; }
.card-2 { bottom: 12%; right: -8%; animation: float 6s ease-in-out infinite 1s; }
.card-3 { bottom: 35%; left: -15%; animation: float 6s ease-in-out infinite 1.5s; }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 28px 0;
    position: relative;
    overflow: hidden;
}
.trust-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath fill='%23ffffff' fill-opacity='0.04' d='M30 30L0 0h60z'/%3E%3C/svg%3E");
}
.trust-content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}
.trust-item strong { color: var(--white); font-weight: 700; }
.trust-item svg { color: var(--blue-200); flex-shrink: 0; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 100px 0; }

.section-head {
    margin-bottom: 60px;
}
.section-head.center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 16px 0 16px;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-200);
}
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--blue-50);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}
.benefit-card:hover .benefit-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ==========================================================================
   COURSE FEATURED
   ========================================================================== */
.section-courses { background: var(--off-white); }

.course-featured {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.course-image {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-height: 560px;
}

/* PHOTO VARIANT — image background */
.course-image-photo {
    background-color: var(--blue-900);
    background-image: url('assets/curso-adulto-mayor.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.course-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(30, 58, 138, 0.15) 0%,
            rgba(30, 58, 138, 0.0) 30%,
            rgba(30, 58, 138, 0.0) 45%,
            rgba(30, 58, 138, 0.55) 70%,
            rgba(30, 58, 138, 0.92) 100%);
    z-index: 0;
}

.course-image-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
}

.course-tag {
    align-self: flex-start;
    background: rgba(30, 58, 138, 0.55);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.course-image-bottom {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.course-image-title {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 18px;
    line-height: 1.15;
}

.course-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.course-body {
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.course-title {
    font-size: 1.8rem;
    color: var(--gray-900);
}

.course-description {
    color: var(--gray-600);
    line-height: 1.7;
}

.course-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px dashed var(--gray-200);
    border-bottom: 1px dashed var(--gray-200);
}
.course-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
}
.check {
    width: 22px;
    height: 22px;
    background: var(--blue-50);
    color: var(--blue-600);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--blue-100);
}

.price-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.price-strike {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 600;
}

.price-new { flex: 1; }
.price-amount {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue-700);
    letter-spacing: -0.02em;
    line-height: 1;
}
.price-save {
    display: inline-block;
    margin-top: 6px;
    margin-left: 8px;
    background: #ECFDF5;
    color: #047857;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.course-actions { margin-top: 8px; }

/* ==========================================================================
   UPCOMING COURSE
   ========================================================================== */
.upcoming-card {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.upcoming-card::before,
.upcoming-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.upcoming-card::before {
    top: -150px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
}
.upcoming-card::after {
    bottom: -200px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.25), transparent 70%);
}

.upcoming-left { position: relative; z-index: 1; }
.upcoming-right {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upcoming-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.upcoming-card h3 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.upcoming-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 24px;
    max-width: 540px;
}

.upcoming-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
}

.upcoming-card .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}
.upcoming-card .btn-outline:hover {
    background: var(--white);
    color: var(--blue-700);
    border-color: var(--white);
}

.upcoming-icon {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
    padding: 60px 0;
    background: var(--off-white);
}

.cta-inner {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1), transparent 50%),
        radial-gradient(circle at 20% 50%, rgba(96, 165, 250, 0.2), transparent 50%);
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.cta-inner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.section-contact { background: var(--off-white); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    transition: all var(--transition);
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-200);
}

.contact-card.contact-card-highlight {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}
.contact-card.contact-card-highlight h3 { color: var(--white); }
.contact-card.contact-card-highlight p { color: rgba(255, 255, 255, 0.95); }
.contact-card.contact-card-highlight .contact-icon {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--blue-50);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-700);
    font-weight: 600;
    font-size: 14px;
    transition: gap var(--transition);
}
.contact-link:hover { gap: 10px; }
.contact-link-static { color: var(--gray-600); }
.contact-link-static:hover { gap: 6px; cursor: default; }

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text strong { color: var(--blue-400); }

.footer-brand p {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.footer-col a,
.footer-col p {
    display: block;
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: all var(--transition);
    animation: bob 3s ease-in-out infinite;
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background: var(--whatsapp-dark);
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--whatsapp);
    animation: ripple 2s infinite;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--gray-900);
    color: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    transform: translateX(10px);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--gray-900);
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-content { max-width: 700px; margin: 0 auto; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-card-stack { max-width: 380px; }

    .trust-content { grid-template-columns: repeat(2, 1fr); }

    .benefits-grid { grid-template-columns: repeat(2, 1fr); }

    .course-featured { grid-template-columns: 1fr; }
    .course-image { padding: 40px; min-height: 480px; }
    .course-image-photo { background-position: center 20%; }
    .course-body { padding: 40px; }

    .upcoming-card { grid-template-columns: 1fr; text-align: center; padding: 50px 40px; }
    .upcoming-left p { margin-left: auto; margin-right: auto; }
    .upcoming-tags { justify-content: center; }
    .upcoming-right { order: -1; }
    .upcoming-icon { width: 160px; height: 160px; }

    .contact-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }

    .nav-links {
        position: fixed;
        top: 76px; right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 90%; max-width: 320px;
        padding: 30px 24px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
        gap: 20px;
        align-items: stretch;
        border: 1px solid var(--gray-200);
        transition: right var(--transition);
    }
    .nav-links.active { right: 16px; }
    .nav-toggle { display: flex; }

    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap: 16px; }
    .stat-number { font-size: 1.5rem; }

    .floating-card { padding: 10px 14px; }
    .floating-card strong { font-size: 12px; }
    .floating-card small { font-size: 11px; }
    .card-icon { width: 32px; height: 32px; font-size: 16px; }

    .card-1 { top: 0; left: -5%; }
    .card-2 { bottom: 5%; right: -5%; }
    .card-3 { bottom: 30%; left: -8%; }

    .trust-content { grid-template-columns: 1fr 1fr; gap: 16px; }
    .trust-item { font-size: 0.85rem; }

    .benefits-grid { grid-template-columns: 1fr; }

    .course-image, .course-body { padding: 32px 24px; }
    .course-image-title, .course-title { font-size: 1.5rem; }
    .price-amount { font-size: 1.7rem; }
    .course-price { flex-direction: column; gap: 12px; align-items: flex-start; }

    .upcoming-card { padding: 40px 24px; }
    .upcoming-card h3 { font-size: 1.6rem; }

    .cta-inner {
        padding: 36px 28px;
        flex-direction: column;
        text-align: center;
    }
    .cta-inner h2 { font-size: 1.5rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .whatsapp-float {
        width: 54px; height: 54px;
        bottom: 18px; right: 18px;
    }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .nav-cta { display: none; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
}
