/* ========================================
   DOYLESTOWN COFFEE HOUSE
   Premium Dark Luxury — Emerald + Cream
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0f0d;
    --bg-secondary: #0f1a15;
    --bg-tertiary: #141f1a;
    --bg-card: #111c16;
    --bg-card-hover: #162019;
    
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;
    
    --cream-50: #fefce8;
    --cream-100: #fef9c3;
    --cream-200: #fef08a;
    --cream-300: #faf08c;
    --cream-400: #fde68a;
    --cream-500: #fcd34d;
    
    --text-primary: #f0f4f1;
    --text-secondary: #a8c4b8;
    --text-muted: #6b8f7e;
    --text-inverse: #0a0f0d;
    
    --border-subtle: rgba(52, 211, 153, 0.12);
    --border-medium: rgba(52, 211, 153, 0.25);
    --gold-glow: rgba(251, 191, 36, 0.15);
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-gold: 0 0 40px rgba(251, 191, 36, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition-fast: 0.2s ease;
    --transition-med: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold-400);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--emerald-400);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: var(--gold-400);
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Typography ---------- */
.text-gold {
    color: var(--gold-400);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--emerald-400);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--text-inverse);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--emerald-400);
    color: var(--emerald-400);
    background: rgba(52, 211, 153, 0.05);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-med);
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(10, 15, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(52, 211, 153, 0.15));
    border: 1px solid var(--border-medium);
    color: var(--gold-400);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.logo-text em {
    font-style: italic;
    color: var(--gold-400);
    font-weight: 400;
}

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

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(52, 211, 153, 0.08);
}

.nav-cta {
    margin-left: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--text-inverse) !important;
    border-radius: var(--radius-xl);
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500)) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 13, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-med);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-secondary);
    padding: 12px 24px;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--gold-400);
}

.mobile-cta {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gold-400) !important;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 14px 32px !important;
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-toggle { display: flex; }
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 13, 0.92) 0%,
        rgba(10, 15, 13, 0.85) 40%,
        rgba(10, 15, 13, 0.75) 70%,
        rgba(10, 15, 13, 0.60) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
    padding: 120px 0 80px;
    width: 100%;
}

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold-400);
    margin-bottom: 32px;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    opacity: 0;
    transform: translateX(30px);
}

.stat-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.stat-card:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.stat-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(52, 211, 153, 0.05));
    border: 1px solid var(--border-subtle);
    color: var(--emerald-400);
    flex-shrink: 0;
}

.stat-card__number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.stat-card__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--emerald-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .stat-card {
        flex: 1;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        justify-content: center;
    }
}

/* ---------- About Section ---------- */
.about {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-medium), transparent);
}

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

.about-image {
    position: relative;
}

.about-image__main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover .about-image__main img {
    transform: scale(1.03);
}

.about-image__accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

.about-image__accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image__badge {
    position: absolute;
    top: -16px;
    left: -16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--text-inverse);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: var(--font-display);
    font-style: italic;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--emerald-400);
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-image__accent {
        width: 180px;
        bottom: -20px;
        right: -16px;
    }
}

/* ---------- Menu Section ---------- */
.menu {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-medium), transparent);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

.menu-tab {
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
}

.menu-tab:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.menu-tab.active {
    color: var(--text-inverse);
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    border-color: var(--emerald-500);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.menu-grid {
    position: relative;
    min-height: 200px;
}

.menu-panel {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.menu-panel.active {
    display: grid;
    animation: fadeSlideIn 0.4s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.menu-item:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-item__info {
    flex: 1;
}

.menu-item__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.menu-item__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.menu-item__accent {
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, var(--emerald-400), var(--emerald-700));
    border-radius: 4px;
    flex-shrink: 0;
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 16px 20px;
    background: rgba(52, 211, 153, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.menu-note svg {
    color: var(--emerald-400);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .menu-panel.active {
        grid-template-columns: 1fr;
    }
}

/* ---------- Gallery Section ---------- */
.gallery {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-medium), transparent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 13, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
}

.gallery-item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-item--wide {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    .gallery-item--large {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    .gallery-item--wide {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-item--large,
    .gallery-item--wide {
        grid-column: 1;
        grid-row: auto;
    }
    .gallery-item {
        height: 240px;
    }
}

/* ---------- Visit Section ---------- */
.visit {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-medium), transparent);
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.visit-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-fast);
}

.visit-card:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.visit-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(251, 191, 36, 0.05));
    border: 1px solid var(--border-subtle);
    color: var(--emerald-400);
}

.visit-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.visit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.visit-card a {
    color: var(--gold-400);
    transition: color var(--transition-fast);
}

.visit-card a:hover {
    color: var(--gold-300);
    text-decoration: underline;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hours-row span:first-child {
    color: var(--text-muted);
}

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

.map-wrapper iframe {
    filter: grayscale(0.6) brightness(0.8) contrast(1.1);
    transition: filter var(--transition-med);
}

.map-wrapper:hover iframe {
    filter: grayscale(0.3) brightness(0.9) contrast(1.05);
}

@media (max-width: 768px) {
    .visit-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- CTA / Contact Section ---------- */
.cta {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-medium), transparent);
}

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

.cta-content .section-title {
    text-align: left;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.cta-form-wrapper {
    position: relative;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    background: var(--bg-card-hover);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b8f7e' 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 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.form-success.show {
    display: flex;
    animation: fadeSlideIn 0.4s ease;
}

.form-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(52, 211, 153, 0.05));
    border: 1px solid var(--border-medium);
    color: var(--emerald-400);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .cta-content .section-title {
        text-align: center;
    }
    .cta-content {
        text-align: center;
    }
}

/* ---------- Footer ---------- */
.footer {
    padding: 64px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-contact address {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact p {
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--gold-400);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--gold-300);
    text-decoration: underline;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
    .stat-card {
        opacity: 1;
        transform: none;
    }
}
