/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
    --shadow-xl: 0 24px 60px rgba(0,0,0,.18);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ─── TYPOGRAPHY ─── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-eyebrow--light { color: var(--teal-200); }

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section-title--light { color: var(--slate-50); }

.section-sub {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-sub { margin: 0 auto; }

.lead {
    font-size: 1.1rem;
    color: var(--slate-600);
    line-height: 1.8;
    max-width: 540px;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 500;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, transform .15s, box-shadow .25s;
}

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

.btn-primary {
    background: var(--teal-600);
    color: #fff;
    border-color: var(--teal-600);
}
.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    box-shadow: 0 6px 20px rgba(13,148,136,.35);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
}

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

/* ─── HEADER ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248,250,252,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow .3s;
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

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

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

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--teal-600);
    background: var(--teal-600);
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.logo-wordmark {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--slate-800);
}

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

.main-nav a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--slate-600);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
}

.main-nav a:hover { color: var(--teal-700); background: var(--teal-50); }

.nav-cta {
    background: var(--teal-600) !important;
    color: #fff !important;
    margin-left: 8px;
}
.nav-cta:hover { background: var(--teal-700) !important; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.hamburger { position: relative; margin: 0 auto; }
.hamburger::before { content: ''; position: absolute; top: -7px; left: 0; }
.hamburger::after { content: ''; position: absolute; top: 7px; left: 0; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4,47,46,.82) 0%,
        rgba(13,148,136,.72) 50%,
        rgba(15,118,110,.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 820px;
}

.hero-eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal-200);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-200);
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,.82);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: .4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── SECTIONS ─── */
.section { padding: 100px 0; }

.section--dark {
    background: var(--slate-900);
}

.section--teal {
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--teal-600);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: .25;
}

.about-text { max-width: 500px; }

.about-text .lead { margin-bottom: 20px; }

.about-text p { color: var(--slate-600); margin-bottom: 16px; }

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: .8rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ─── CATEGORIES ─── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--slate-800);
    transition: transform .3s, box-shadow .3s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.category-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.category-card:hover .category-img-wrap img { transform: scale(1.08); }

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4,47,46,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

.category-card:hover .category-overlay { opacity: 1; }

.category-arrow {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 300;
}

.category-info { padding: 20px 24px; }

.category-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.category-desc {
    font-size: .85rem;
    color: var(--slate-400);
    line-height: 1.6;
}

/* ─── FEATURED ─── */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.featured-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}

.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.featured-img {
    aspect-ratio: 5/4;
    overflow: hidden;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.featured-card:hover .featured-img img { transform: scale(1.06); }

.featured-body { padding: 28px; }

.featured-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal-700);
    background: var(--teal-50);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.featured-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.featured-desc {
    font-size: .9rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ─── VISIT ─── */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-address {
    font-style: normal;
    margin-bottom: 32px;
}

.visit-address p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    line-height: 1.8;
}

.visit-address strong { color: #fff; }

.visit-hours h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

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

.visit-hours li {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: .925rem;
    color: rgba(255,255,255,.75);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.visit-hours li span:last-child { font-weight: 500; color: rgba(255,255,255,.95); }

.visit-contact { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }

.visit-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: var(--teal-200);
    transition: color .2s;
}

.visit-link:hover { color: #fff; }

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visit-map iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* ─── CONTACT ─── */
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text { max-width: 460px; }

.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-lg);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

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

.form-group label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--slate-700);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: .95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(20,184,166,.15);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--teal-700);
    padding: 14px 18px;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--teal-100);
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: 72px 0 0;
}

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

.logo-mark--light {
    background: var(--teal-600);
    color: #fff;
}

.logo-wordmark--light { color: var(--slate-200); }

.footer-brand p {
    margin-top: 16px;
    font-size: .9rem;
    line-height: 1.75;
    color: var(--slate-500);
    max-width: 280px;
}

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

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

.footer-links a {
    font-size: .875rem;
    color: var(--slate-500);
    transition: color .2s;
}

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

.footer-contact p {
    font-size: .875rem;
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--teal-400);
    transition: color .2s;
}

.footer-contact a:hover { color: var(--teal-300); }

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: .8rem;
    color: var(--slate-600);
    text-align: center;
}

/* ─── REVEAL ANIMATIONS ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-bottom,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity .6s ease, transform .6s ease;
    }

    .reveal-bottom { transform: translateY(30px); }
    .reveal-left { transform: translateX(-30px); }
    .reveal-right { transform: translateX(30px); }

    .reveal-bottom.is-visible,
    .reveal-left.is-visible,
    .reveal-right.is-visible {
        opacity: 1;
        transform: none;
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .categories-grid,
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

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

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(248,250,252,.97);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--slate-200);
        padding: 16px 24px;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform .35s ease, opacity .35s ease;
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a { display: block; padding: 12px 16px; }
    .nav-cta { margin-left: 0 !important; text-align: center; }

    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }

    .about-grid,
    .visit-grid,
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }

    .about-image-wrap img { height: 360px; }

    .categories-grid,
    .featured-grid { grid-template-columns: 1fr; }

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

    .contact-form-wrap { padding: 28px; }

    .footer-inner { grid-template-columns: 1fr; gap: 36px; }

    .section { padding: 72px 0; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .about-stats { flex-direction: column; gap: 24px; }
}
