/* ==========================================================================
   May Carnal Counseling & Consulting - Stylesheet
   Warm & Earthy Theme with Soft Opacities, Custom Properties & Mobile-First CSS
   Optimized for Direct FTP/cPanel Upload on GoDaddy
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN SYSTEM
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-primary: #FAF6F0;       /* Soft warm cream */
    --bg-secondary: #F1EBE1;     /* Muted beige */
    --accent-terracotta: #C87965; /* Deep, muted terracotta */
    --accent-terracotta-light: rgba(200, 121, 101, 0.1);
    --accent-terracotta-hover: #B56752;
    --accent-sage: #7D8C7A;       /* Gentle, grounding sage green */
    --accent-sage-light: #CAD6C5;
    --accent-sage-op: rgba(125, 140, 122, 0.1);
    
    /* Desert Lake Cool Accents */
    --accent-lake-blue: #8AA4B5;       /* Serene slate desert lake blue */
    --accent-lake-light: rgba(138, 164, 181, 0.1);
    --accent-lake-hover: #738F9E;
    --bg-lake-light: #F1F5F8;          /* Cool, light silver-blue water wash */
    --accent-silver: #D5DFE5;          /* Shimmering desert silver */
    
    /* Typography Colors */
    --text-dark: #3B3530;        /* Soft charcoal brown (easy on eyes) */
    --text-muted: #736B64;       /* Muted grey-brown */
    --text-light: #FAF6F0;
    
    /* Spacing, Borders & Shadows */
    --container-max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Asymmetric Border Radii (Bottom-right corner radiused only, others are 25% of that radius) */
    --border-radius-md-asym: 4px 4px 16px 4px;
    --border-radius-lg-asym: 6px 6px 24px 6px;
    
    --border-color: rgba(125, 140, 122, 0.2);
    --card-shadow: 0 8px 30px rgba(59, 53, 48, 0.04);
    --card-shadow-hover: 0 16px 40px rgba(59, 53, 48, 0.08);
    
    /* Typography Font Stacks */
    --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Animation Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & GENERAL STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky navbar */
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent-terracotta);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-terracotta-hover);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-sage);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 12px;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 24px 0;
}

.hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   3. NAVIGATION BAR (HEADER)
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 246, 240, 0.85); /* Smooth translucent background */
    backdrop-filter: blur(12px);                 /* Modern glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    padding: 16px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(59, 53, 48, 0.03);
}

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

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

.logo-img {
    height: 42px; /* Crisp dimensions for the navbar */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.logo-sub {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-sage);
    margin-top: 2px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-terracotta);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-terracotta);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-terracotta);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(200, 121, 101, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-terracotta-hover);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 121, 101, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--accent-sage);
}

.btn-secondary:hover {
    background-color: var(--accent-sage-op);
    transform: translateY(-2px);
}

.btn-nav {
    background-color: var(--accent-sage);
    color: var(--text-light) !important;
    padding: 10px 20px !important;
    border-radius: var(--border-radius-sm);
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    background-color: #6a7667;
    color: var(--text-light) !important;
    transform: translateY(-1px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--border-radius-sm);
}

.btn-accent {
    background-color: var(--accent-sage-op);
    color: var(--accent-sage);
    border: 1px solid rgba(125, 140, 122, 0.3);
}

.btn-accent:hover {
    background-color: var(--accent-sage);
    color: var(--text-light);
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    padding: 180px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(138, 164, 181, 0.22) 0%, rgba(250, 246, 240, 0) 60%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    background-color: var(--accent-sage-op);
    color: var(--accent-sage);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 54px;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.lead {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Visual Graphic Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(200, 121, 101, 0.04);
    border-radius: var(--border-radius-lg-asym);
    transform: rotate(-3deg) scale(1.02);
    z-index: 1;
}

.visual-card {
    position: relative;
    background-color: rgba(250, 246, 240, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-lg-asym);
    box-shadow: var(--card-shadow);
    z-index: 2;
    width: 100%;
    max-width: 440px;
}

.calm-graphic {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 32px auto;
    filter: drop-shadow(0 12px 24px rgba(59, 53, 48, 0.08));
}

.visual-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 17px;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   6. ABOUT ME SECTION
   -------------------------------------------------------------------------- */
.about {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.credentials-box {
    margin-top: 48px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius-md-asym);
    box-shadow: var(--card-shadow);
}

.credentials-box h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.credentials-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.credentials-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-sage-op);
    color: var(--accent-sage);
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.credentials-list li div {
    display: flex;
    flex-direction: column;
}

.credentials-list li strong {
    font-size: 16px;
    color: var(--text-dark);
}

.credentials-list li span {
    font-size: 14px;
    color: var(--text-muted);
}

/* About Sidebar Card */
.sidebar-card {
    background-color: rgba(250, 246, 240, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-lg-asym);
    box-shadow: var(--card-shadow);
}

.sidebar-icon {
    color: var(--accent-terracotta);
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.sidebar-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlights-list li {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    padding-left: 24px;
    position: relative;
}

.highlights-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-sage);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. SERVICES & CLINICAL APPROACH SECTION
   -------------------------------------------------------------------------- */
.approach {
    padding: 100px 0;
    background-color: var(--bg-lake-light); /* Serene desert lake silver-blue water wash */
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-md-asym);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-lake-blue); /* Cool silver-blue border on hover */
}

.card-icon {
    color: var(--accent-lake-blue); /* Serene lake blue icons */
    background-color: var(--accent-lake-light); /* Soft silver-blue wash */
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.approach-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.approach-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.quote-banner {
    background-color: var(--accent-sage-op);
    border-left: 4px solid var(--accent-sage);
    padding: 40px;
    border-radius: 0 4px 16px 0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote-banner p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 20px;
    color: var(--text-dark);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. RESOURCES & CRISIS HOTLINES
   -------------------------------------------------------------------------- */
.resources {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.resource-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.resource-badge {
    align-self: flex-start;
    background-color: var(--accent-sage-op);
    color: var(--accent-sage);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.resource-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.resource-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.link-external {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-terracotta);
}

.link-external:hover {
    color: var(--accent-terracotta-hover);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   9. CONTACT & LOCATION SECTION
   -------------------------------------------------------------------------- */
.contact {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

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

/* Contact Information Card */
.info-card {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--border-radius-lg-asym);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.info-card h3 {
    font-size: 24px;
    margin-bottom: 32px;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.info-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-terracotta-light);
    color: var(--accent-terracotta);
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.info-list li div {
    display: flex;
    flex-direction: column;
}

.info-list li strong {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-list li a, .info-list li span {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 4px;
}

.info-list li a:hover {
    color: var(--accent-terracotta);
}

/* Map Placement */
.map-container {
    width: 100%;
    margin-top: 32px;
    border-radius: var(--border-radius-md-asym);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.google-map {
    width: 100%;
    height: 220px;
    border: none;
    display: block;
}

.map-btn {
    border-radius: 0 0 16px 4px !important; /* Align with map-container asymmetric bottom corners */
    border: none !important;
    border-top: 1px solid var(--border-color) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Contact Form Card */
.form-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 48px;
    border-radius: var(--border-radius-lg-asym);
    box-shadow: var(--card-shadow);
}

.form-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.form-help {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--accent-terracotta);
}

.form-group input,
.form-group select {
    font-family: var(--font-primary);
    font-size: 15px;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-dark);
    transition: var(--transition-smooth);
    height: 52px; /* Set explicit height for select/input consistency */
    appearance: none; /* Reset standard browser styling */
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Add elegant dropdown arrow to select fields */
.form-group {
    position: relative;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23736B64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 48px; /* Room for arrow */
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-terracotta);
    box-shadow: 0 0 0 3px rgba(200, 121, 101, 0.1);
    background-color: #ffffff;
}

.form-feedback {
    margin-top: 24px;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-feedback.success {
    background-color: #e2ede0;
    color: #3b5c32;
    border: 1px solid #c2dbbe;
}

.form-feedback.error {
    background-color: #f7e6e3;
    color: #8c362d;
    border: 1px solid #ebd0cc;
}

/* Privacy Protection Banner styling */
.privacy-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(125, 140, 122, 0.08);
    border: 1px solid rgba(125, 140, 122, 0.2);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.privacy-icon {
    color: var(--accent-sage);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--text-dark);
    color: var(--bg-primary);
    padding: 64px 0;
    border-top: 1px solid rgba(250, 246, 240, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.footer-brand .logo-name {
    color: var(--bg-primary);
    font-size: 24px;
    margin: 0;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(250, 246, 240, 0.7);
    margin-top: 4px;
}

.footer-copyright {
    text-align: right;
    max-width: 500px;
}

.footer-copyright p {
    font-size: 14px;
    color: rgba(250, 246, 240, 0.6);
}

.footer-copyright .disclaimer {
    font-size: 11px;
    line-height: 1.5;
    margin-top: 12px;
    color: rgba(250, 246, 240, 0.4);
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */

/* Responsive Navigation & Hamburger */
@media (max-width: 991px) {
    /* Layout Overrides */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 440px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-copyright {
        text-align: center;
    }
    
    /* Navigation Menu Transition to Mobile drawer */
    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 1100;
    }
    
    .hamburger, .hamburger::before, .hamburger::after {
        content: '';
        display: block;
        width: 24px;
        height: 2.5px;
        background-color: var(--text-dark);
        position: absolute;
        transition: var(--transition-smooth);
        border-radius: 2px;
    }
    
    .hamburger {
        top: 11px;
        right: 3px;
    }
    
    .hamburger::before {
        top: -8px;
    }
    
    .hamburger::after {
        top: 8px;
    }
    
    /* Toggle Active State */
    .menu-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-primary);
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(59, 53, 48, 0.05);
        padding: 100px 40px 40px 40px;
        transition: var(--transition-smooth);
        z-index: 1050;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .btn-nav {
        width: 100%;
        text-align: center;
    }
}

/* Hide Hamburger Toggle on Desktop */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .logo-name {
        font-size: 18px;
    }
    
    .logo-sub {
        font-size: 10px;
    }

    .form-card {
        padding: 24px;
    }
    
    .info-card {
        padding: 24px;
    }
}

/* --------------------------------------------------------------------------
   12. PRIVACY & SECURITY MODAL WINDOW
   -------------------------------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal:not(.hidden) {
    display: flex;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(59, 53, 48, 0.6); /* Translucent dark brown warm background */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius-md-asym);
    box-shadow: 0 20px 50px rgba(59, 53, 48, 0.15);
    z-index: 2010;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-sage-op);
    color: var(--accent-sage);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 20px;
    font-family: var(--font-serif);
}

.modal-body {
    padding: 32px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.modal-body p:not(:last-child) {
    margin-bottom: 16px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 32px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: 0 0 16px 4px; /* Align with modal-content bottom corners */
}

@media (max-width: 576px) {
    .modal-header {
        padding: 20px;
    }
    .modal-body {
        padding: 20px;
        font-size: 14px;
    }
    .modal-footer {
        padding: 20px;
        flex-direction: column-reverse;
        gap: 12px;
    }
    .modal-footer .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   13. BRANDED ERROR PAGE (404)
   -------------------------------------------------------------------------- */
.error-page-body {
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.error-section {
    padding: 64px 24px;
    text-align: center;
    max-width: 550px;
    width: 100%;
    margin: auto;
}

.error-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 40px auto;
}

.error-visual-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 48px 32px;
    border-radius: var(--border-radius-lg-asym);
    box-shadow: var(--card-shadow);
}

.error-icon {
    color: var(--accent-terracotta);
    margin: 0 auto 24px auto;
}

.error-visual-card h1 {
    font-size: 32px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.error-visual-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.error-btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 576px) {
    .error-visual-card {
        padding: 32px 20px;
    }
    .error-btn-group {
        flex-direction: column;
        gap: 12px;
    }
}
