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

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background-color: #f0f4ff;
    color: #2d3748;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== HERO SECTION ===== */
.hero-wrapper {
    background: linear-gradient(160deg, #e0e7ff 0%, #c7d2fe 30%, #ddd6fe 60%, #ede9fe 100%);
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 44px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 37px 40px 60px;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-text h1 {
    margin: 0 0 6px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: #312e81;
}

.hero-text h3 {
    margin: 3px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6366f1;
    letter-spacing: 0.2px;
}

.hero-text p {
    color: #4a5568;
    font-size: 0.93rem;
    line-height: 1.75;
    margin-top: 10px;
}

.hero-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #4f46e5;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
}

.hero-cta {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-contact {
    margin-top: 22px;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    padding-top: 18px;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4338ca;
}

.btn-main {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-ghost {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 24px;
    border: 2px solid #a5b4fc;
    color: #4338ca;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: #818cf8;
}

/* ===== DOCTOR PHOTO ===== */
.hero-photo {
    display: flex;
    justify-content: center;
}

.doctor-photo {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.18);
    border: 4px solid #fff;
}

/* ===== MAIN CONTENT ===== */
main {
    max-width: 1140px;
    margin: 0 auto 60px;
    padding: 0 40px;
}

.section-title {
    margin-top: 52px;
    margin-bottom: 18px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #312e81;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a78bfa);
    border-radius: 3px;
}

/* ===== CARDS ===== */
.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 26px;
    font-size: 0.93rem;
    margin-bottom: 20px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #312e81;
    margin-bottom: 6px;
}

.card p {
    color: #4a5568;
    line-height: 1.7;
}

.card ul {
    color: #374151;
}

.card li {
    margin-bottom: 8px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-3 .card {
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #6366f1, #a78bfa) 1;
    border-image-slice: 1;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-bottom: 0;
}

ul {
    padding-left: 20px;
    margin: 10px 0 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    margin-top: 52px;
    background: linear-gradient(160deg, #ede9fe, #e0e7ff);
    border-radius: 16px;
    padding: 32px 30px;
    border: 1px solid #c7d2fe;
}

.contact-section .section-title {
    margin-top: 0;
}

.contact-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-row > div:first-child p {
    color: #4a5568;
    line-height: 1.75;
}

.contact-item {
    margin-bottom: 10px;
    font-size: 0.93rem;
    color: #374151;
    line-height: 1.6;
}

.label {
    font-weight: 700;
    color: #312e81;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    font-size: 0.82rem;
    color: #94a3b8;
    padding: 28px 20px;
    background: #312e81;
    color: #c7d2fe;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 24px 36px;
        gap: 32px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-contact {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

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

    main {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 32px 18px 28px;
    }

    .hero-text h1 {
        font-size: 1.65rem;
    }

    .btn-main,
    .btn-ghost {
        width: 100%;
        text-align: center;
    }

    .contact-section {
        padding: 20px 16px;
    }
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 10px 14px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
    flex-shrink: 0;
}
