/* ============================================
   EASTERN OKLAHOMA MEDICAL CONSULTANTS
   Bold Editorial — Teal + Slate Grey
   ============================================ */

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

:root {
    --teal-900: #134E4A;
    --teal-800: #115E59;
    --teal-700: #0F766E;
    --teal-600: #0D9488;
    --teal-500: #14B8A6;
    --teal-100: #CCFBF1;
    --teal-50:  #F0FDFA;
    
    --slate-950: #050C13;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50:  #F8FAFC;
    
    --white: #FFFFFF;
    --cream: #FAFAF8;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(5,12,19,0.04), 0 1px 3px rgba(5,12,19,0.06);
    --shadow-md: 0 4px 6px -1px rgba(5,12,19,0.06), 0 2px 4px -2px rgba(5,12,19,0.06);
    --shadow-lg: 0 10px 25px -3px rgba(5,12,19,0.08), 0 4px 10px -4px rgba(5,12,19,0.06);
    --shadow-xl: 0 20px 50px -12px rgba(5,12,19,0.12);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.6;
    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;
}

ul { list-style: none; }

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

/* ── LOADER ───────────────────────────────── */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--teal-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-mark {
    animation: pulse-loader 1.2s ease-in-out infinite;
}

@keyframes pulse-loader {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ── SKIP LINK ────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--teal-600);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

/* ── HEADER ───────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15,23,42,0.06);
    transition: box-shadow var(--transition);
}

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

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-line1 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.logo-line2 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-900);
}

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--teal-700) !important;
    background: var(--teal-50) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav-phone:hover {
    background: var(--teal-100) !important;
}

/* Nav toggle */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav-toggle:hover { background: var(--slate-100); }

.hamburger {
    position: relative;
    width: 20px;
    height: 14px;
    display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger::before { top: 0; }
.hamburger span { top: 6px; }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 6px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 6px;
    transform: rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--slate-200);
        padding: 16px 24px;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .nav-phone {
        margin-left: 0;
        justify-content: center;
        margin-top: 8px;
    }
}

/* ── HERO ─────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--cream);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero content */
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--slate-950);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

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

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

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
}

.trust-item svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 520px;
}

.hero-image-main img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    bottom: -40px;
    left: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
    width: 240px;
}

.hero-image-accent img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.hero-badge {
    position: absolute;
    top: 40px;
    right: -20px;
    background: var(--teal-900);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.badge-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--teal-100);
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: var(--slate-300);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual {
        order: -1;
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-image-main img {
        height: 500px;
    }
    
    .hero-image-accent {
        width: 180px;
        bottom: -30px;
        left: -20px;
    }
    
    .hero-image-accent img {
        height: 280px;
    }
    
    .hero-badge {
        right: 0;
        top: 20px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        text-align: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-visual {
        max-width: 360px;
    }
    
    .hero-image-main img {
        height: 380px;
    }
    
    .hero-image-accent {
        width: 140px;
        bottom: -20px;
        left: -10px;
        border-width: 4px;
    }
    
    .hero-image-accent img {
        height: 220px;
    }
    
    .hero-badge {
        padding: 14px 18px;
    }
    
    .badge-number {
        font-size: 1.75rem;
    }
}

/* ── BUTTONS ──────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

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

.btn-ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
    background: var(--teal-50);
}

.btn-white {
    background: var(--white);
    color: var(--teal-900);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--slate-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
    width: 100%;
}

.btn-full {
    width: 100%;
}

/* ── SECTION COMMON ───────────────────────── */
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--slate-950);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: italic;
    color: var(--teal-700);
}

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

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--teal-600);
    border: none;
    border-radius: 2px;
    margin: 24px 0;
}

/* ── SERVICES ─────────────────────────────── */
.services {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 72px;
}

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

.service-card {
    padding: 40px 32px;
    background: var(--slate-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-100);
    transition: all var(--transition);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--teal-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
    margin-bottom: 24px;
    transition: all var(--transition);
}

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

.service-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

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

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

@media (max-width: 640px) {
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
}

/* ── ABOUT ────────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-visual {
    position: relative;
}

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

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

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--cream);
    width: 220px;
}

.about-img-secondary img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -30px;
    background: var(--teal-900);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.exp-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-100);
    margin-bottom: 6px;
}

.exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.exp-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 4px;
}

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

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

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

.value-icon {
    color: var(--teal-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--teal-600);
    border: none;
    border-radius: 2px;
    margin: 24px 0;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .about-img-main img {
        height: 480px;
    }
    
    .about-img-secondary {
        width: 160px;
        bottom: -30px;
        right: -20px;
    }
    
    .about-img-secondary img {
        height: 240px;
    }
    
    .about-experience-badge {
        top: -15px;
        left: -15px;
        padding: 18px 22px;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 80px 0;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .about-img-main img {
        height: 360px;
    }
    
    .about-img-secondary {
        width: 120px;
        bottom: -20px;
        right: -10px;
    }
    
    .about-img-secondary img {
        height: 180px;
    }
}

/* ── PATIENTS ─────────────────────────────── */
.patients {
    padding: 120px 0;
    background: var(--white);
}

.patients-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: start;
}

.patients-content {
    max-width: 600px;
}

.patients-divider {
    width: 60px;
    height: 3px;
    background: var(--teal-600);
    border: none;
    border-radius: 2px;
    margin: 24px 0;
}

/* Accordion */
.info-accordion {
    margin-top: 40px;
}

.accordion-item {
    border-bottom: 1px solid var(--slate-200);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--slate-800);
    text-align: left;
    transition: color var(--transition);
}

.accordion-header:hover {
    color: var(--teal-700);
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--slate-100);
    color: var(--slate-500);
    flex-shrink: 0;
    transition: all var(--transition);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    background: var(--teal-600);
    color: var(--white);
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
}

.accordion-header[aria-expanded="true"] + .accordion-body {
    max-height: 300px;
    padding-bottom: 24px;
}

.accordion-body p,
.accordion-body li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-600);
}

.accordion-body ul {
    padding-left: 20px;
}

.accordion-body li {
    list-style: disc;
    margin-bottom: 6px;
}

.info-note {
    font-size: 0.8125rem !important;
    color: var(--slate-400) !important;
    margin-top: 8px !important;
    font-style: italic;
}

/* Aside */
.patients-aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.aside-card {
    background: var(--teal-900);
    color: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.aside-card-icon {
    margin-bottom: 20px;
}

.aside-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.aside-card-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-300);
    margin-bottom: 28px;
}

.aside-hours {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.875rem;
    color: var(--slate-400);
}

.aside-hours p {
    margin-bottom: 4px;
}

.aside-hours strong {
    color: var(--white);
}

.aside-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.aside-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .patients-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    .patients {
        padding: 80px 0;
    }
}

/* ── CTA BANNER ───────────────────────────── */
.cta-banner {
    padding: 100px 0;
    background: var(--teal-900);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(20,184,166,0.2) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(13,148,136,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text {
    max-width: 600px;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cta-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--slate-300);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex-shrink: 0;
}

.cta-actions .btn {
    padding: 18px 36px;
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 80px 0;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cta-actions .btn {
        flex: 1;
        max-width: 240px;
    }
}

/* ── CONTACT ──────────────────────────────── */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

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

.contact-divider {
    width: 60px;
    height: 3px;
    background: var(--teal-600);
    border: none;
    border-radius: 2px;
    margin: 24px 0;
}

.contact > .container > .contact-grid > .contact-info > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 6px;
}

.contact-detail p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate-700);
}

.contact-detail a {
    color: var(--teal-700);
    transition: color var(--transition);
}

.contact-detail a:hover {
    color: var(--teal-500);
    text-decoration: underline;
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

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

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

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

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #EF4444;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

.form-success svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--teal-800);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    .contact {
        padding: 80px 0;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-footer {
    margin-bottom: 20px;
}

.logo-text-footer .logo-line1 {
    color: var(--slate-500);
}

.logo-text-footer .logo-line2 {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 300px;
}

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

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

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

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

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-phone a,
.footer-email a {
    color: var(--teal-400);
    transition: color var(--transition);
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--teal-300);
    text-decoration: underline;
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--slate-600);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--slate-700);
    line-height: 1.5;
}

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

@media (max-width: 640px) {
    .site-footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
}

/* ── REVEAL ANIMATIONS ────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* Staggered for grid items */
.services-grid .reveal {
    transition-delay: calc(var(--i, 0) * 0.08s);
}

/* ── FOCUS VISIBLE ────────────────────────── */
:focus-visible {
    outline: 2px solid var(--teal-600);
    outline-offset: 2px;
}

/* ── 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; }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
