/* ── 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;

    --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;

    --cream: #fef9f0;
    --cream-dark: #f5eed6;
    --warm-white: #fffaf3;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.14);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

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

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

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--teal-700);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
}
.skip-link:focus {
    top: 16px;
}

/* ── Typography ── */
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

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

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

.text-teal { color: var(--teal-600); }
.text-cream { color: #d4a853; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #fff;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}
.btn-primary:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.btn-outline-light {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

.btn-cream {
    background: var(--cream);
    color: var(--slate-900);
    box-shadow: var(--shadow-md);
}
.btn-cream:hover {
    background: var(--cream-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    background: transparent;
    color: var(--teal-600);
    border: 1.5px solid var(--teal-600);
}
.btn-outline-primary:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
}

.btn-directions {
    margin-top: 24px;
    background: var(--slate-800);
    color: #fff;
}
.btn-directions:hover {
    background: var(--slate-700);
    transform: translateY(-2px);
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(255, 250, 243, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

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

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

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

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--slate-800);
    letter-spacing: -0.01em;
}

.site-header.scrolled .logo-text { color: var(--slate-800); }

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

.primary-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color var(--transition-fast);
    position: relative;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-500);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.primary-nav a:hover { color: var(--teal-600); }
.primary-nav a:hover::after { width: 100%; }

.btn-nav {
    background: var(--teal-600) !important;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}
.btn-nav::after { display: none; }
.btn-nav:hover {
    background: var(--teal-700) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.nav-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/18617712/pexels-photo-18617712.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1200') center center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(15, 23, 42, 0.45) 50%,
        rgba(13, 148, 136, 0.25) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-200);
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title .text-teal {
    color: var(--teal-300);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 36px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ── About ── */
.about {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--warm-white);
}

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

.about-text p {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-700);
}

.feature-icon {
    color: var(--teal-500);
    flex-shrink: 0;
}

/* ── Specialties ── */
.specialties {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.specialties .section-subtitle {
    margin: 0 auto;
}

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

.specialty-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.specialty-img {
    height: 240px;
    overflow: hidden;
}

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

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

.specialty-body {
    padding: 28px;
}

.specialty-body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.specialty-body p {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ── Gallery ── */
.gallery {
    padding: 120px 0;
    background: var(--warm-white);
}

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

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ── CTA Banner ── */
.cta-banner {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/302902/pexels-photo-302902.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center center / cover no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19, 78, 74, 0.9) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-eyebrow {
    background: rgba(255,255,255,0.12);
    color: var(--teal-200);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
}

.cta-title {
    color: #fff;
    margin-bottom: 20px;
}

.cta-title .text-cream {
    color: #f0c97e;
    font-style: italic;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

/* ── Visit ── */
.visit {
    padding: 120px 0;
    background: var(--slate-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit-info h2 {
    margin-bottom: 40px;
}

.info-block {
    margin-bottom: 32px;
}

.info-block h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.info-block address,
.info-block p {
    font-style: normal;
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.info-block a {
    color: var(--teal-600);
    font-weight: 500;
    transition: color var(--transition-fast);
}
.info-block a:hover { color: var(--teal-700); }

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.95rem;
    color: var(--slate-600);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--slate-200);
}

.hours-row:last-child { border-bottom: none; }

.hours-row span:first-child { font-weight: 500; color: var(--slate-700); }

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

/* ── Footer ── */
.site-footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 80px 0 0;
}

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

.footer-brand .logo-text { color: #fff; }
.footer-brand p {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--slate-400);
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--slate-400);
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--teal-400); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    color: var(--teal-400);
    font-weight: 500;
    transition: color var(--transition-fast);
}
.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: 0.85rem;
    color: var(--slate-500);
    text-align: center;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid { gap: 48px; }
    .about-images { height: 480px; }
}

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

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--warm-white);
        box-shadow: var(--shadow-xl);
        padding: 80px 32px 32px;
        transition: right var(--transition-base);
        z-index: 99;
    }

    .primary-nav.open { right: 0; }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .primary-nav a { font-size: 1.1rem; }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.5);
        z-index: 98;
    }
    .nav-overlay.active { display: block; }

    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-images { height: 400px; }

    .specialties-grid { grid-template-columns: 1fr; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .visit-grid { grid-template-columns: 1fr; }
    .visit-map { height: 320px; }

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

    .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .about, .specialties, .gallery, .visit { padding: 80px 0; }
    .cta-banner { padding: 80px 0; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(2) img,
    .gallery-item:nth-child(3) img,
    .gallery-item:nth-child(5) img,
    .gallery-item:nth-child(6) img {
        height: 250px;
    }
}
