/* MindTherapy Modern Styles */
:root {
    --primary: #165a5f;
    --primary-soft: #d8f4f4;
    --primary-dark: #0f4447;
    --accent: #f59e0b;
    --accent-soft: #fff4d6;
    --bg: #f7fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --border: #e2e8f0;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

button,
a {
    font-family: inherit;
    text-decoration: none;
}

main {
    flex: 1;
}

.container {
    width: min(1140px, 100% - 2rem);
    margin: 0 auto;
}

.elevated {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #0f4447;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 2px 20px rgba(10, 40, 42, 0.35);
}

.header-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    height: 68px;
}

.header-brand {
    flex-shrink: 0;
}

/* Center nav: takes remaining space, content centered */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Right-side actions: user pill or auth CTAs */
.header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Nav items shown only inside mobile dropdown */
.nav-mobile-only {
    display: none;
}

.logo img {
    height: 46px;
    width: auto;
    filter: brightness(1.15) drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    transition: opacity 0.2s ease;
}

.logo:hover img {
    opacity: 0.85;
}

/* Guest nav links */
.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: #f59e0b;
    border-radius: 999px;
    transform: scaleX(0);
    transition: transform 0.22s ease;
    transform-origin: left;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #fff;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #fff;
}

/* Vertical separator before auth CTAs */
.nav-sep {
    display: inline-block;
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.15);
    margin: 0 0.5rem;
    vertical-align: middle;
}

/* Header-specific button sizes (override global .btn padding) */
.main-nav .btn {
    padding: 0.5rem 1.15rem;
    font-size: 0.88rem;
    border-radius: 999px;
    white-space: nowrap;
}

.main-nav .btn-secondary {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.3);
}

.main-nav .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.55);
    color: #fff;
    transform: none;
}

.main-nav .btn-primary {
    box-shadow: 0 2px 12px rgba(245,158,11,0.35);
}

.main-nav .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245,158,11,0.45);
}

.main-nav li:last-child a.btn {
    white-space: nowrap;
}

/* ── Logged-in: auth nav ───────────────────────────────── */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-book-btn {
    font-size: 0.88rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(245,158,11,0.35);
}

/* User pill button */
.user-pill {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 0.4rem 0.9rem 0.4rem 0.4rem;
    cursor: pointer;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.user-pill:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-pill-name { max-width: 90px; overflow: hidden; text-overflow: ellipsis; }

.chevron {
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.user-pill[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.nav-user-menu {
    position: relative;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(15, 68, 71, 0.18), 0 2px 8px rgba(0,0,0,0.06);
    padding: 0.5rem;
    z-index: 200;
    animation: dropIn 0.18s ease;
}

.user-dropdown.open { display: block; }

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #165a5f 0%, #0f4447 100%);
    border-radius: 10px;
    margin-bottom: 0.4rem;
}

.user-dropdown-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-dropdown-header-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-dropdown-name {
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-role {
    display: block;
    font-size: 0.73rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.user-dropdown-item:hover {
    background: #f0f9ff;
    color: #165a5f;
}

.user-dropdown-item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.user-dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 0.35rem 0.5rem;
}

.user-dropdown-logout {
    color: #dc2626;
}

.user-dropdown-logout:hover {
    background: #fff1f2;
    color: #dc2626;
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.95rem 1.6rem;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-soft);
}

.btn-large {
    padding: 1rem 2rem;
}

/* Hero */
.hero {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.75) 100%), url('../images/adult-woman-stressing-out-home-1024x683.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3rem;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 40%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero h1 {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    line-height: 0.95;
    margin-bottom: 1rem;
    max-width: 720px;
}

.hero p {
    max-width: 680px;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-panel {
    position: relative;
    z-index: 1;
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.hero-list {
    display: grid;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text);
    line-height: 1.6;
}

.hero-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
}

/* About */
.about-preview {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 180px;
    flex-shrink: 0;
}

.about-image img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-text h2 {
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 1.75rem;
}

/* Services */
.services-preview {
    padding: 4rem 0;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card h3 {
    margin-top: 0;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.25rem 0;
}

.faq-hero {
    padding: 4rem 0;
}

.faq-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: center;
}

.faq-hero-copy .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.faq-hero-copy h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.1rem;
    color: var(--text);
}

.faq-hero-copy h1 span {
    color: var(--primary);
}

.faq-hero-copy p {
    max-width: 540px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
}

.faq-hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: block;
}

.faq-section {
    padding: 4rem 0;
}

.faq-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.faq-sidebar {
    position: sticky;
    top: 6rem;
}

.faq-section-header {
    text-align: left;
    margin-bottom: 1.75rem;
}

.faq-aside-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-sidebar {
        position: static;
    }
    .faq-aside-img {
        max-height: 260px;
        object-fit: cover;
    }
}

.faq-section-header .section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.faq-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin: 0;
}

.faq-accordion {
    display: grid;
    gap: 1rem;
}

.faq-accordion details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.faq-accordion summary {
    cursor: pointer;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);
    outline: none;
    list-style: none;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '+';
    float: right;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.faq-accordion details[open] summary::after {
    content: '-';
}

.faq-accordion p {
    margin-top: 0.9rem;
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.85;
}

.faq-accordion p strong {
    font-weight: 600;
    color: var(--text);
}

/* CTA */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), #0f4f56);
    color: white;
    padding: 4rem 0;
    border-radius: 32px;
    margin: 4rem 0;
    text-align: center;
}

.cta-banner h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3vw, 2.75rem);
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    max-width: 720px;
    margin: 0 auto 1.75rem;
}

.cta-banner .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-banner .btn-primary:hover {
    background: #e2f3f3;
}

/* Booking */
.booking-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.booking-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.step {
    padding: 1rem;
    background: var(--surface);
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    text-align: center;
}

.step.active {
    background: var(--primary);
    color: white;
    border-color: transparent;
}

.step-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.booking-container label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}

.booking-container input,
.booking-container select,
.booking-container textarea {
    margin-bottom: 1.5rem;
}

/* Calendar */
.calendar-header,
.time-slots-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.calendar {
    width: 100%;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem;
}

.calendar-day-name,
.calendar-day {
    padding: 0.85rem 0.5rem;
    border-radius: 16px;
    text-align: center;
}

.calendar-day-name {
    color: var(--muted);
    font-size: 0.9rem;
}

.calendar-day {
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.calendar-day:hover:not(.past):not(.selected) {
    background: var(--primary-soft);
    transform: translateY(-1px);
}

.calendar-day.past {
    opacity: 0.35;
    cursor: not-allowed;
}

.calendar-day.selected {
    background: var(--primary);
    color: white;
    border-color: transparent;
}

#selected-info {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--text);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.time-slot {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    color: var(--text);
    transition: transform 0.2s ease, background 0.2s ease;
}

.time-slot:hover {
    background: var(--primary-soft);
    transform: translateY(-1px);
}

.time-slot.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Footer */
.site-footer {
    position: relative;
    background-color: #0b2629;
    background-image: url('../images/footer-img.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0 1rem;
    margin-top: auto;
    z-index: 1000;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 38, 41, 0.85), rgba(11, 38, 41, 0.9));
    z-index: 0;
}

.footer-container,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.8fr 1.8fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
}

.footer-col a:hover {
    color: white;
}

.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-links {
    flex-direction: column;
    flex-wrap: nowrap;
}

.contact-links li a {
    box-sizing: border-box;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
}

.contact-links li a span:last-child {
    font-size: 0.82rem;
    word-break: break-all;
    line-height: 1.4;
    min-width: 0;
}

.social-icon-email {
    background: #2563eb !important;
}

.social-icon-phone {
    background: #16a34a !important;
}

.social-links li a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links li a:hover {
    background: rgba(255,255,255,0.18);
    color: white;
    transform: translateY(-1px);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    color: white;
}

.social-icon svg {
    width: 1rem;
    height: 1rem;
}

.social-links li a span:last-child {
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.75);
}

/* Forms and utilities */
input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    background: var(--surface);
    color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(28, 129, 134, 0.12);
}

.alert {
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.hidden { display: none !important; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        width: 140px;
        margin: 0 auto;
    }

    .about-image img {
        width: 140px;
        height: 170px;
    }

    .hero {
        padding-top: 4rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    /* Spans act as flex items — override block margin with gap above */
    .mobile-menu-toggle span {
        margin: 0;
    }

    /* Use header-container as anchor for the absolute nav dropdown */
    .header-container {
        position: relative;
    }

    /* Push actions to the right now that nav is out of flow */
    .header-actions {
        margin-left: auto;
    }

    /* Take nav out of flex flow; sit below the header full-width */
    .main-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        z-index: 100;
        pointer-events: none;
        flex: none;
    }

    .main-nav.active {
        pointer-events: auto;
    }

    /* Hide desktop-only auth CTAs on mobile; show mobile-only nav items */
    .header-desktop-only { display: none !important; }
    .nav-mobile-only { display: list-item; }

    .main-nav ul {
        display: none;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(22, 90, 95, 0.98) 0%, rgba(15, 68, 71, 0.98) 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: 0 20px 40px rgba(22, 90, 95, 0.3);
        backdrop-filter: blur(10px);
        margin: 0.5rem 0 0;
    }

    .main-nav.active ul {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        color: rgba(255, 255, 255, 0.9);
    }

    .main-nav a.nav-link {
        border-radius: 8px;
    }

    .main-nav a.nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
    }

    /* Suppress underline pseudo-element on mobile (background hover is used instead) */
    .nav-link::after {
        display: none;
    }

    /* Hide separator on mobile (it shows inside the dropdown) */
    .nav-sep {
        display: none;
    }

    /* Auth nav on mobile */
    .nav-auth {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .user-dropdown {
        right: 0;
        left: auto;
        min-width: 200px;
    }

    /* Hide pill name text on mobile — show only avatar + chevron */
    .user-pill-name { display: none; }
    .user-pill { padding: 0.35rem 0.6rem 0.35rem 0.35rem; }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100%, 100% - 1.5rem);
    }

    .hero {
        padding: 3rem 0 2.5rem;
    }
}
