/* ============================================================
   DERMIIZ — CONTACT & APPOINTMENT PAGE STYLES
   - Hero Banner with contact_page_hero_banner.png
   - 4 Contact Info Highlight Cards
   - 2-Column Booking Section (Interactive Form + Clinical Promise Card)
   - Interactive Google Maps Iframe Card
   - Frequently Asked Questions Accordion
   - Responsive Layouts
   ============================================================ */

/* Base Page Overrides */
body.contact-page {
    background-color: #F8F2EB;
    color: #302522;
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   1. HERO BANNER
   ============================================================ */
.contact-hero-banner {
    position: relative;
    background-color: #241B19;
    background-image: linear-gradient(to right, rgba(28, 20, 18, 0.94) 0%, rgba(28, 20, 18, 0.6) 38%, rgba(28, 20, 18, 0.2) 78%),
        url('../assets/images/contact_page_hero_banner.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    color: #FFFFFF;
    min-height: 590px;
    border-radius: 0 0 28px 28px;
    padding: 10rem 3.5rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.contact-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.contact-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #E8DFD7;
    margin-bottom: 0.75rem;
}

.contact-hero-eyebrow .eyebrow-line {
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background: #CEE944;
}

.contact-hero-eyebrow .eyebrow-text {
    letter-spacing: 0.18em;
}

.contact-hero-heading {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0 0 1.5rem 0;
}

.contact-hero-desc {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
    margin-bottom: 1.75rem;
}

.contact-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(45, 35, 32, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-hero-breadcrumb a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.contact-hero-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8125rem;
}

.contact-hero-breadcrumb .current {
    color: #CEE944;
    font-weight: 500;
}

/* ============================================================
   2. CONTACT INFO CARDS SECTION
   ============================================================ */
.contact-info-section {
    padding: 5rem 0 3rem;
    position: relative;
    z-index: 3;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.contact-info-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.25rem 1.85rem;
    border: 1px solid rgba(48, 37, 34, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}



.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(48, 37, 34, 0.08);
    border-color: rgba(48, 37, 34, 0.18);
}



.contact-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #F8F2EB;
    color: #302522;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-info-card:hover .contact-card-icon-wrap {
    background: #302522;
    color: #FFFFFF;
}

.contact-card-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #302522;
    margin: 0 0 0.65rem 0;
    letter-spacing: -0.01em;
}

.contact-card-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6E5E57;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #302522;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-card-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.contact-card-link:hover {
    color: #B38E71;
}

.contact-card-link:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   3. BOOKING SECTION (Form + Assurance Card)
   ============================================================ */
.contact-booking-section {
    padding: 3rem 0 5rem;
}

.contact-booking-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* Left: Form Card */
.booking-form-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 3.5rem;
    border: 1px solid rgba(48, 37, 34, 0.08);
    box-shadow: 0 10px 30px rgba(48, 37, 34, 0.04);
}

.booking-form-header {
    margin-bottom: 2.25rem;
}

.booking-form-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8C6A54;
    margin-bottom: 0.5rem;
}

.booking-form-title {
    font-size: 2.15rem;
    font-weight: 600;
    color: #302522;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
}

.booking-form-sub {
    font-size: 0.9375rem;
    color: #6E5E57;
    line-height: 1.6;
    margin: 0;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.5rem;
}

.booking-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.booking-form-group.full {
    grid-column: span 2;
}

.booking-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #302522;
}

.booking-input,
.booking-select,
.booking-textarea {
    font-family: inherit;
    font-size: 0.9375rem;
    color: #302522;
    background: #F8F2EB;
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 0.85rem 1.15rem;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.booking-input:focus,
.booking-select:focus,
.booking-textarea:focus {
    background: #FFFFFF;
    border-color: #302522;
    box-shadow: 0 0 0 4px rgba(48, 37, 34, 0.08);
}

.booking-input::placeholder,
.booking-textarea::placeholder {
    color: #A08C81;
}

.booking-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' fill='none' stroke='%23302522' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.15rem center;
    background-size: 10px 6px;
    padding-right: 2.5rem;
}

.booking-textarea {
    resize: vertical;
    min-height: 110px;
}

.booking-submit-btn {
    background: #302522;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.05rem 2.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    margin-top: 0.5rem;
    width: fit-content;
}

.booking-submit-btn:hover {
    background: #1A1311;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(48, 37, 34, 0.2);
}

.booking-submit-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.booking-submit-btn:hover svg {
    transform: translateX(4px);
}

/* In-Card Form Feedback Banner */
.booking-feedback {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.booking-feedback.form-status-compact {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    border-radius: 10px;
}

.booking-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.booking-feedback.success {
    display: block;
    background: #E8F5E9;
    border: 1px solid #C8E6C9;
    color: #1B5E20;
}

.booking-feedback.error {
    display: block;
    background: #FFEBEE;
    border: 1px solid #FFCDD2;
    color: #B71C1C;
}

/* Right: Assurance & Support Card */
.booking-assurance-card {
    background: #2D2320;
    border-radius: 24px;
    padding: 3.5rem 2.75rem;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.assurance-header-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    margin-bottom: 0.5rem;
}

.assurance-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.assurance-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 2.25rem 0;
}

.assurance-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.assurance-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.assurance-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.assurance-icon-box svg {
    width: 20px;
    height: 20px;
}

.assurance-text-box h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 0.3rem 0;
}

.assurance-text-box p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.assurance-help-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.assurance-help-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.assurance-help-phone {
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}



/* ============================================================
   4. MAP LOCATION SECTION
   ============================================================ */
.contact-map-section {
    padding: 3rem 0 5rem;
}

.map-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.map-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8C6A54;
    margin-bottom: 0.65rem;
}

.map-title {
    font-size: 2.35rem;
    font-weight: 600;
    color: #302522;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.map-desc {
    font-size: 1rem;
    color: #6E5E57;
    line-height: 1.6;
    margin: 0;
}

.map-card-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(48, 37, 34, 0.08);
    border: 1px solid rgba(48, 37, 34, 0.1);
    background: #F8F2EB;
}

.map-iframe-container {
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
    background: #F8F2EB;
}

/* Custom Warm Sepia / Brown Roadmap Google Map Styling:
   - Desaturates harsh blue water, bright greens, and intense yellows
   - Transforms land into warm muted beige (#F8F2EB / #EFE8DF)
   - Renders secondary & major roads in soft & medium warm browns
   - Keeps street labels, landmarks, and typography high-contrast dark brown (#302522)
   - Completely preserves live interactivity (zoom, pan, click, drag)
*/
.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;

    transition: filter 0.3s ease;
}

/* Warm Dermiiz editorial tone overlay:
   - Subtle warm peach & ivory glaze matching #F8E3CB and #302522
   - Uses pointer-events: none so user can zoom, drag, and interact with the map seamlessly
*/
.map-warm-tone-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%, rgba(248, 227, 203, 0.16) 0%, rgba(248, 242, 235, 0.22) 55%, rgba(48, 37, 34, 0.08) 100%);
    mix-blend-mode: multiply;
    z-index: 2;
}

/* Subtle top & bottom edge vignette for editorial softness */
.map-vignette-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 40px rgba(48, 37, 34, 0.08);
    border-radius: 24px;
    z-index: 3;
}

/* Floating Clinic Information Card over Map */
.map-floating-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 1.35rem 1.85rem;
    box-shadow: 0 16px 36px rgba(48, 37, 34, 0.14);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(48, 37, 34, 0.09);
    z-index: 5;
    max-width: 500px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-floating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(48, 37, 34, 0.18);
}

.map-badge-pin-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #302522;
    color: #CEE944;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-badge-pin-icon svg {
    width: 22px;
    height: 22px;
}

.map-badge-info {
    flex-grow: 1;
}

.map-badge-info h6 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #302522;
    margin: 0 0 0.3rem 0;
    letter-spacing: -0.01em;
}

.map-badge-info p {
    font-size: 0.84rem;
    color: #6E5E57;
    margin: 0;
    line-height: 1.45;
}

.map-badge-btn {
    background: #302522;
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.map-badge-btn:hover {
    background: #1A1311;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(48, 37, 34, 0.25);
    color: #FFFFFF;
}

/* ============================================================
   5. CONTACT FAQ ACCORDION SECTION
   ============================================================ */
.contact-faq-section {
    padding: 3rem 0 6rem;
}

.faq-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.faq-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8C6A54;
    margin-bottom: 0.65rem;
}

.faq-title {
    font-size: 2.35rem;
    font-weight: 600;
    color: #302522;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
}

.faq-accordion-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-card-item {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(48, 37, 34, 0.08);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-card-item.active {
    border-color: #302522;
    box-shadow: 0 8px 24px rgba(48, 37, 34, 0.06);
}

.faq-trigger-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.35rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #302522;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: inherit;
}

.faq-chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F8F2EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.faq-chevron svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.faq-card-item.active .faq-chevron {
    transform: rotate(180deg);
    background: #302522;
    color: #FFFFFF;
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.75rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6E5E57;
}

.faq-card-item.active .faq-answer-content {
    max-height: 240px;
    padding: 0 1.75rem 1.5rem;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-hero-heading {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-banner {
        min-height: 480px;
        padding: 8rem 1.5rem 3.5rem;
    }

    .contact-hero-heading {
        font-size: 2.25rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .booking-form-card,
    .booking-assurance-card {
        padding: 2.25rem 1.5rem;
    }

    .booking-form-grid {
        grid-template-columns: 1fr;
    }

    .booking-form-group.full {
        grid-column: span 1;
    }

    .booking-form-title,
    .assurance-title,
    .map-title,
    .faq-title {
        font-size: 1.75rem;
    }

    .map-iframe-container {
        height: 380px;
    }

    .map-floating-badge {
        position: static;
        margin: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
}