:root {
    /* Standardized Tokens from index.css */
    --primary: #0399d9;
    --primary-dark: #0277a8;
    --primary-light: rgba(3, 153, 217, 0.08);

    --secondary: #dea925;
    --secondary-dark: #c9961a;
    --secondary-light: rgba(222, 169, 37, 0.12);

    --accent: #f1c40f;

    /* Neutrals */
    --text-main: #1a2b3c;
    --text-soft: #546e7a;
    --text-muted: #90a4ae;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --border: #e2e8f0;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(3, 153, 217, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --glass: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Spacing & Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 40px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   GLOBAL STYLES
======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

.appt-container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* ========================================
   APPOINTMENT HERO
======================================== */
.appt-hero {
    padding: 220px 0 100px;
    background: radial-gradient(circle at 10% 20%, rgba(3, 153, 217, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(222, 169, 37, 0.05) 0%, transparent 50%);
    position: relative;
}

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

.hero-text-content {
    flex: 1.2;
    z-index: 2;
}

.hero-label {
    color: var(--secondary);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.hero-main-title {
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.text-blue {
    color: var(--primary);
}

.hero-underline {
    width: 60px;
    height: 5px;
    background: var(--secondary);
    margin: 0 0 30px;
    border-radius: 10px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-soft);
    margin-bottom: 45px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 25px rgba(222, 169, 37, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #c9961a;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(222, 169, 37, 0.35);
}

.btn-outline {
    background: var(--white);
    color: var(--text-main);
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-soft);
}

.check-icon {
    width: 25px;
    height: 25px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hero-image-side {
    flex: 0.8;
    position: relative;
    z-index: 2;
}

.image-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.hero-img {
    width: 100%;
    display: block;
}

/* ========================================
   BOOKING SECTION
======================================== */
.booking-section {
    padding: 140px 0;
    background: var(--bg-light);
}

.booking-container {
    max-width: 1000px;
    margin: 0 auto;
}

.booking-header {
    text-align: center;
    margin-bottom: 80px;
}

.small-label {
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.booking-header h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.header-divider {
    width: 60px;
    height: 5px;
    background: var(--secondary);
    margin: 0 auto 30px;
    border-radius: 10px;
}

.styled-form {
    background: var(--white);
    padding: 80px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--primary);
    border-bottom: 1.5px solid var(--border);
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.form-group label {
    display: block;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--text-main);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 25px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-family: inherit;
    font-size: 15px;
    background: var(--bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 5px var(--primary-light);
}

.full-width {
    grid-column: span 2;
}

.radio-group {
    display: flex;
    gap: 30px;
    padding-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.radio-label input {
    width: 18px;
    height: 18px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-soft);
}

.checkbox-group input {
    margin-top: 5px;
    width: 18px;
    height: 18px;
}

.submit-btn {
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    padding: 22px;
    border-radius: 100px;
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(222, 169, 37, 0.3);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.submit-btn:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(3, 153, 217, 0.3);
}

.success-banner {
    display: none;
    background: #4cd137;
    color: white;
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 30px;
    font-weight: 700;
}

/* ========================================
   RESPONSIVE
======================================== */
/* ========================================
   CLINIC INFO GRID
======================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 0;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-card .card-inner {
    padding: 45px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.info-card .icon-box {
    width: 65px;
    height: 65px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.info-card:hover .icon-box {
    background: var(--primary);
    color: var(--white);
    transform: rotate(10deg);
}

.info-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-main);
}

.info-card p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-link {
    margin-top: auto;
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* Emergency Card Specifics */
.info-card.emergency-card {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--white);
    border: none;
}

.info-card.emergency-card .card-inner h3,
.info-card.emergency-card .card-inner p,
.info-card.emergency-card .card-inner .phone-val,
.info-card.emergency-card .card-inner .small-note {
    color: var(--white) !important;
}

.info-card.emergency-card .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.info-card.emergency-card .phone-val {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 10px;
}

.info-card.emergency-card .small-note {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 500;
}

/* ========================================
   MAP SECTION
======================================== */
.map-section-wrapper {
    position: relative;
    overflow: hidden;
}

.map-container {
    position: relative;
    height: 480px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-floating-card {
    position: absolute;
    top: 40px;
    left: 40px;
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 280px;
    z-index: 10;
}

.card-badge {
    background: var(--secondary-light);
    color: var(--secondary-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 15px;
}

.map-floating-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.map-floating-card p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.btn-directions {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions,
    .trust-indicators {
        justify-content: center;
        align-items: center;
    }

    .hero-underline {
        margin: 0 auto 30px;
    }

    .styled-form {
        padding: 40px;
    }

    .map-floating-card {
        top: 20px;
        left: 20px;
        padding: 25px;
    }
}

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

    .hero-main-title {
        font-size: clamp(26px, 8vw, 34px);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .hero-underline {
        margin: 0 auto 25px;
    }

    .booking-header h2 {
        font-size: 26px;
    }

    .booking-section {
        padding: 60px 0;
    }

    .booking-container {
        width: 95%;
    }

    .styled-form {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .full-width {
        grid-column: auto;
    }

    .form-section {
        margin-bottom: 30px;
    }

    .submit-btn {
        padding: 18px;
        font-size: 14px;
    }

    .map-floating-card {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid var(--border);
    }

    .map-container {
        height: auto;
    }

    .map-iframe {
        height: 300px;
    }

    .contact-info-grid {
        padding: 30px 0;
        gap: 16px;
    }

    .info-card .card-inner {
        padding: 30px 22px;
    }
}

@media (max-width: 480px) {
    .appt-hero {
        padding: 120px 0 55px;
    }

    .hero-main-title {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 13px;
    }

    .styled-form {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .section-title {
        font-size: 15px;
    }

    .booking-header h2 {
        font-size: 22px;
    }

    .map-iframe {
        height: 250px;
    }

    .info-card .card-inner {
        padding: 22px 18px;
    }

    .info-card h3 {
        font-size: 17px;
    }

    .info-card p {
        font-size: 13px;
    }
}