/* ============================================
   UAB Sports and Exercise Medicine
   Classic & Elegant Medical Website
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Teal palette */
    --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 grey palette */
    --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;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-padding: clamp(1.25rem, 4vw, 3rem);

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

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slate-800);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--teal-700);
}

ul {
    list-style: none;
}

/* ---- Utility ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---- Reveal Animation (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition-base);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(15, 23, 42, 0.08);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--slate-900);
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal-600);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--teal-600);
}

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

.nav-link-cta {
    background: var(--teal-600);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--teal-700);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100dvh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
        transition: right var(--transition-base);
    }

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

    .nav-link {
        font-size: 1rem;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--slate-100);
    }

    .nav-link-cta {
        margin-top: 1rem;
        text-align: center;
        width: 100%;
        border-bottom: none;
    }
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 47, 46, 0.92) 0%,
        rgba(15, 23, 42, 0.85) 50%,
        rgba(30, 41, 59, 0.78) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: calc(72px + var(--container-padding)) var(--container-padding) var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 150, 136, 0.15);
    border: 1px solid rgba(14, 150, 136, 0.3);
    color: var(--teal-300);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 600;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-subheadline {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--slate-300);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

/* ---- Stat Cards ---- */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--transition-base), background var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-card--teal {
    background: rgba(13, 148, 136, 0.25);
    border-color: rgba(13, 148, 136, 0.4);
}

.stat-card--slate {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(71, 85, 105, 0.5);
}

.stat-card--white {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.9);
}

.stat-card--white .stat-card-number {
    color: var(--slate-900);
}

.stat-card--white .stat-card-label {
    color: var(--slate-500);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card--teal .stat-card-icon,
.stat-card--slate .stat-card-icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--teal-300);
}

.stat-card--white .stat-card-icon {
    background: var(--teal-50);
    color: var(--teal-600);
}

.stat-card-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.8rem;
    color: var(--slate-400);
    line-height: 1.4;
}

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

@media (max-width: 640px) {
    .hero-stats {
        flex-direction: column;
    }
    .stat-card {
        min-width: auto;
    }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #ffffff;
    border-color: var(--teal-600);
}

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

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn-outline-dark:hover {
    background: var(--slate-50);
    border-color: var(--teal-600);
    color: var(--teal-600);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ---- Section Shared ---- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 0.75rem;
}

.section-tag--light {
    color: var(--teal-300);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--slate-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--slate-500);
    max-width: 600px;
    line-height: 1.8;
}

.section-header--centered {
    text-align: center;
}

.section-header--centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Services Section ---- */
.services {
    padding: var(--section-padding) 0;
    background: var(--slate-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    border-color: var(--teal-200);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.75;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ---- About Section ---- */
.about {
    padding: var(--section-padding) 0;
    background: #ffffff;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

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

.about-content {
    max-width: 480px;
}

.about-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
}

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

.about-feature-icon {
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
    .about-image img {
        height: 350px;
    }
    .about-content {
        max-width: 100%;
    }
}

/* ---- Approach Section ---- */
.approach {
    padding: var(--section-padding) 0;
    background: var(--slate-900);
    color: #ffffff;
}

.approach .section-title {
    color: #ffffff;
}

.approach .section-subtitle {
    color: var(--slate-400);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.approach-step {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: background var(--transition-base), transform var(--transition-base);
}

.approach-step:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

.approach-step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal-500);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 1rem;
}

.approach-step-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.approach-step-desc {
    font-size: 0.875rem;
    color: var(--slate-400);
    line-height: 1.75;
}

@media (max-width: 900px) {
    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .approach-steps {
        grid-template-columns: 1fr;
    }
}

/* ---- Testimonials Section ---- */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--teal-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--teal-100);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.1);
}

.testimonial-card-quote {
    margin-bottom: 1.25rem;
}

.testimonial-card-text {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-700);
    letter-spacing: 0.02em;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ---- CTA Section ---- */
.cta {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 47, 46, 0.93) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--slate-300);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---- Contact Section ---- */
.contact {
    padding: var(--section-padding) 0;
    background: #ffffff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--slate-50);
    border-radius: 14px;
    border: 1px solid var(--slate-100);
    transition: border-color var(--transition-fast);
}

.contact-info-card:hover {
    border-color: var(--teal-200);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 0.35rem;
}

.contact-info-value {
    font-size: 0.95rem;
    color: var(--slate-700);
    line-height: 1.65;
}

.contact-info-value a {
    color: var(--teal-600);
}

.contact-info-value a:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--slate-50);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--slate-200);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: #ffffff;
    border: 1.5px solid var(--slate-200);
    border-radius: 10px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--slate-400);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 1rem 1.25rem;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: 10px;
    color: var(--teal-800);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
}

.form-success.show {
    display: flex;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* ---- Map Section ---- */
.map-section {
    background: var(--slate-200);
}

.map-section iframe {
    width: 100%;
    height: 350px;
    display: block;
    filter: saturate(0.7) contrast(1.05);
}

/* ---- Footer ---- */
.footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--slate-500);
    max-width: 280px;
}

.footer-links-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

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

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 0.25rem;
}

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

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-600);
    line-height: 1.6;
}

.footer-disclaimer {
    max-width: 500px;
}

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

/* ---- Scroll-to-top button ---- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--teal-600);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .scroll-top {
        transition: none;
    }
    .service-card,
    .testimonial-card,
    .approach-step,
    .stat-card {
        transition: none;
    }
}
