/* --- Core Structural Design System Variables --- */
:root {
    --primary-bg: #fdf3ef; 
    --accent-red: #d13e27;
    --text-main: #222222;
    --text-light: #555555;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --dark-charcoal: #1C1C1C;
    --primary-orange: #f0380a;
    --input-border: #dcdcdc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- FIXED NAVBAR DESIGN ENGINE --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1010; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 22px 5%;
    background-color: var(--white);
    position: relative;
    z-index: 1015;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo-vertical-line {
    width: 2px;
    height: 28px;
    background-color: #1C1C1C;
    margin: 0 10px;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1C;
    text-transform: lowercase;
}

.logo-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-orange);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-charcoal);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, 
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary-orange);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-charcoal);
}

/* --- MAIN PAGE LAYOUT STRUCTURE --- */
.consultation-page-container {
    width: 100%;
    margin-top: 80px; /* Accounts cleanly for fixed navbar clearance */
}

/* SECTION 1: HERO DISPLAY BANNER CSS */
.consultation-hero-banner {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-wide-img {
    width: 100%;
    height: 65vh;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

/* SECTION 2: EDITORIAL INTRO BOX SYSTEM */
.editorial-intro-wrapper {
    background-color: var(--primary-bg);
    padding: 80px 10%;
    text-align: center;
}

.editorial-heading-block {
    max-width: 900px;
    margin: 0 auto 70px auto;
}

.main-consultation-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-orange);
    line-height: 1.2;
    margin-bottom: 25px;
}

.main-consultation-subtitle {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.5vw, 17px);
    color: var(--text-main);
    line-height: 1.7;
    font-weight: 400;
    max-width: 760px;
    margin: 0 auto;
}

/* Twin Grid Cards Alignment Rules */
.twin-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.feature-column {
    display: flex;
    flex-direction: column;
}

.feature-img-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.feature-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text {
    font-family: var(--font-body);
    font-size: 14px;
    text-align: justify;
    color: var(--text-main);
    line-height: 1.7;
    font-weight: 400;
}

/* SECTION 3: INTAKE FORM LAYOUT STRUCTURE */
.intake-section-wrapper {
    padding: 90px 10% 120px 10%;
    background-color: var(--white);
    max-width: 1600px;
    margin: 0 auto;
}

.intake-section-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 48px);
    font-weight: 700;
    color: var(--primary-orange);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.5px;
}

.intake-split-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 8%;
    align-items: stretch;
}

.intake-form-column {
    display: flex;
    flex-direction: column;
}

/* Boxed Input Elements Layout Styling */
.boxed-intake-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row-group label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
}

.form-row-group input,
.form-row-group textarea,
.form-row-group select {
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--input-border);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-row-group input:focus,
.form-row-group textarea:focus,
.form-row-group select:focus {
    border-color: var(--primary-orange);
}

.form-row-group input::placeholder {
    color: #a8a8a8;
    font-weight: 400;
}

/* Precision Select Arrow Framework Styling */
.select-box-wrapper {
    position: relative;
    width: 100%;
}

.select-box-wrapper select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.select-box-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--text-main);
    pointer-events: none;
}

.form-row-group textarea {
    resize: none;
}

/* Button & Notice Elements Architecture */
.form-action-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.boxed-submit-btn {
    background-color: #000000;
    color: var(--white);
    border: none;
    padding: 20px 30px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.boxed-submit-btn:hover {
    background-color: var(--primary-orange);
}

.form-disclaimer-notice {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    font-weight: 400;
}

/* Intake Side Media Viewports Layout */
.intake-media-column {
    width: 100%;
    height: 100%;
}

.intake-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
}

/* --- FOOTER REGION BLOCK CSS --- */
.footer {
    background-color: var(--primary-bg);
    padding: 80px 20px 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.logo-text-red {
    font-family: var(--font-heading);
    color: var(--accent-red);
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 100px;
}

.link-group h4 {
    font-size: 0.85rem;
    color: var(--accent-red);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group a {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* --- PURE GLASSMORPHIC DROPDOWN OVERLAY SYSTEM (EXACT REPLICATION LAYER) --- */
@media screen and (max-width: 992px) {
    .intake-split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .intake-media-column {
        height: 450px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block !important;
        font-size: 24px; 
        cursor: pointer;
        color: var(--dark-charcoal);
        background: transparent;
        border: none;
        outline: none;
        padding: 0;
    }

    .nav-links {
        position: fixed;
        top: -100vh; 
        left: 0;
        width: 100%; 
        height: auto;
        min-height: 60vh;
        padding: 60px 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center; 
        gap: 30px;
        
        /* Premium Glassmorphism Specs Mapped Precisely */
        background: rgba(255, 255, 255, 0.82); 
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
        
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        transform: translateY(0);
    }
    
    .nav-links.slide-active {
        top: 79px; /* Clamps cleanly underneath navbar base border footprint edge */
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 18px; 
        display: inline-block;
        color: var(--dark-charcoal);
    }
    
    .nav-links a.active {
        color: var(--primary-orange);
    }

    .nav-links a::after {
        display: none !important;
    }

    /* Scaling Content Padding Layout For Smaller Breakpoints */
    .consultation-hero-banner .hero-wide-img {
        height: 45vh;
    }

    .editorial-intro-wrapper {
        padding: 60px 5%;
    }

    .twin-features-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .intake-section-wrapper {
        padding: 60px 5% 80px 5%;
    }

    .footer-content, 
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}