/* Titilayo Eye Care Hospital — public website */

:root {
    --teal-900: #0c4a6e;
    --teal-800: #075985;
    --teal-700: #0369a1;
    --teal-600: #0284c7;
    --teal-500: #0ea5e9;
    --teal-100: #e0f2fe;
    --teal-50: #f0f9ff;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 1000;
    padding: .75rem 1rem;
    background: var(--teal-900);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

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

a { color: var(--teal-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-600); }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Top bar */
.site-topbar {
    background: var(--teal-900);
    color: rgba(255,255,255,.85);
    font-size: .875rem;
    padding: .5rem 0;
}

.site-topbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.site-topbar a { color: rgba(255,255,255,.9); }
.site-topbar a:hover { color: var(--white); }

.topbar-contacts { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.topbar-social { display: flex; gap: .75rem; }

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--teal-900);
    line-height: 1.2;
    text-decoration: none;
}

.site-brand:hover { color: var(--teal-800); }

.brand-text small {
    display: block;
    font-size: .7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.site-nav { display: flex; align-items: center; gap: .25rem; }

.site-nav a {
    padding: .5rem .85rem;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
}

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

.nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    font-family: var(--font);
    font-size: .9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--teal-700);
    border: 2px solid var(--teal-700);
}

.btn-outline:hover {
    background: var(--teal-700);
    color: var(--white);
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: .5rem;
    cursor: pointer;
    color: var(--teal-900);
}

/* Hero */
.hero {
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-slides {
    position: relative;
    min-height: 580px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility .7s;
    background-color: var(--teal-900);
    background-image: var(--hero-image, none);
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(12, 74, 110, 0.92) 0%,
        rgba(7, 89, 133, 0.78) 45%,
        rgba(3, 105, 161, 0.55) 100%
    );
    z-index: 1;
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    min-height: 580px;
    display: flex;
    align-items: center;
    padding: 4rem 0 5rem;
}

.hero-content { position: relative; z-index: 2; max-width: 640px; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255,255,255,.88);
    margin: 0 0 1.75rem;
    line-height: 1.7;
}

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

.btn-hero-outline {
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--white);
}

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

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all .2s;
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--white);
    border-color: var(--white);
}

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--teal-50); }
.section-dark { background: var(--teal-900); color: var(--white); }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--teal-600);
    margin-bottom: .5rem;
}

.section-dark .section-label { color: var(--accent); }

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 .75rem;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.0625rem;
}

.section-dark .section-header p { color: rgba(255,255,255,.75); }

/* Cards grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: box-shadow .2s, transform .2s;
}

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

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--teal-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 .5rem;
}

.card p {
    color: var(--text-muted);
    margin: 0;
    font-size: .9375rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1;
    margin-bottom: .35rem;
}

.stat-label {
    font-size: .9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* About split */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split-visual {
    background: linear-gradient(145deg, var(--teal-700), var(--teal-500));
    border-radius: var(--radius-lg);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 5rem;
    box-shadow: var(--shadow-lg);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .75rem;
    color: var(--text-muted);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal-600);
    font-weight: 700;
}

/* Eye parts */
.eye-part {
    text-align: center;
    padding: 1.5rem 1rem;
}

.eye-part-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow);
}

.eye-part h4 {
    font-family: var(--font-display);
    margin: 0 0 .5rem;
    font-size: 1rem;
}

.eye-part p {
    font-size: .875rem;
    color: var(--text-muted);
    margin: 0;
}

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 .75rem;
}

.cta-banner p {
    margin: 0 0 1.5rem;
    color: rgba(255,255,255,.85);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Page hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 .75rem;
}

.page-hero p {
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: .5rem;
    font-size: .875rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,.7);
}

.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--white); }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info-card {
    background: var(--teal-50);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.contact-info-item h4 {
    margin: 0 0 .25rem;
    font-size: .9375rem;
    font-weight: 600;
}

.contact-info-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: .9375rem;
}

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

.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: .75rem 1rem;
    font-family: var(--font);
    font-size: .9375rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
}

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

.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: .9375rem;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Services */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card p:last-of-type {
    flex-grow: 1;
}

.service-tagline {
    font-size: .875rem;
    font-weight: 600;
    color: var(--teal-700);
    margin: -.25rem 0 .75rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--teal-700);
}

.service-link:hover {
    color: var(--accent-dark);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.service-detail-main {
    max-width: 720px;
}

.service-detail-icon {
    width: 72px;
    height: 72px;
    background: var(--teal-50);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-lead {
    font-size: 1.125rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.service-detail-main > p {
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}

.service-features-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
    color: var(--teal-900);
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 96px;
}

.service-sidebar-card {
    background: var(--teal-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.service-sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin: 0 0 .75rem;
    color: var(--teal-900);
}

.service-sidebar-card p {
    color: var(--text-muted);
    font-size: .9375rem;
    margin: 0 0 1.25rem;
}

.service-sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-sidebar-links li {
    margin-bottom: .6rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--border);
}

.service-sidebar-links li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-sidebar-links a {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text);
}

.service-sidebar-links a:hover {
    color: var(--teal-700);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.appointment-success-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: var(--teal-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
}

.appointment-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: #059669;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
}

.appointment-success-card h2 {
    font-family: var(--font-display);
    margin: 0 0 .75rem;
    color: var(--teal-900);
}

.appointment-success-card p {
    color: var(--text-muted);
    margin: 0 0 .75rem;
}

.appointment-reference {
    font-size: 1.0625rem;
    color: var(--text);
}

.appointment-reference strong {
    color: var(--teal-700);
}

.appointment-success-note {
    font-size: .9375rem;
}

.appointment-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

select.form-control {
    appearance: auto;
}

/* Team */
.ceo-spotlight {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.section-alt .ceo-spotlight {
    background: var(--white);
}

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

.ceo-photo img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.ceo-photo-inline {
    max-width: 320px;
    margin: 0 auto;
}

.ceo-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 .35rem;
    color: var(--teal-900);
}

.ceo-title {
    font-weight: 600;
    color: var(--teal-700);
    margin: 0 0 .25rem;
    font-size: 1.0625rem;
}

.ceo-specialty {
    color: var(--text-muted);
    margin: 0 0 1rem;
    font-size: .9375rem;
}

.ceo-bio {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.team-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.team-photo {
    aspect-ratio: 4 / 3;
    background: var(--teal-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.team-body {
    padding: 1.5rem;
}

.team-body h3 {
    font-family: var(--font-display);
    margin: 0 0 .35rem;
    font-size: 1.125rem;
}

.team-role {
    font-weight: 600;
    color: var(--teal-700);
    margin: 0 0 .25rem;
    font-size: .9375rem;
}

.team-dept,
.team-specialty {
    color: var(--text-muted);
    margin: 0 0 .25rem;
    font-size: .875rem;
}

.team-bio {
    color: var(--text-muted);
    margin: .75rem 0 0;
    font-size: .9375rem;
    line-height: 1.6;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--teal-50);
    border-radius: var(--radius);
    color: var(--text-muted);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-grid-compact .gallery-caption h3 {
    font-size: 1rem;
    margin: 0;
}

.gallery-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
}

.gallery-visual {
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, var(--gallery-color), color-mix(in srgb, var(--gallery-color) 70%, white));
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-visual-sm {
    aspect-ratio: 16 / 11;
}

.gallery-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
}

.gallery-caption {
    padding: 1.25rem;
}

.gallery-caption h3 {
    font-family: var(--font-display);
    margin: 0 0 .35rem;
    font-size: 1.0625rem;
}

.gallery-caption p {
    margin: 0;
    color: var(--text-muted);
    font-size: .9375rem;
}

.gallery-note {
    text-align: center;
    color: var(--text-muted);
    font-size: .875rem;
    margin: 2rem 0 0;
}

/* NHIS plans */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.plan-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.plan-card-header h3 {
    font-family: var(--font-display);
    margin: .75rem 0 .35rem;
    font-size: 1.25rem;
}

.plan-provider {
    color: var(--text-muted);
    margin: 0;
    font-size: .9375rem;
}

.plan-badge {
    display: inline-block;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.plan-badge-nhis {
    background: #dcfce7;
    color: #166534;
}

.plan-badge-hmo {
    background: #dbeafe;
    color: #1e40af;
}

.plan-summary {
    color: var(--text-muted);
    margin: 1rem 0;
    line-height: 1.6;
}

.plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.plan-meta-item {
    min-width: 80px;
}

.plan-meta-label {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    margin-bottom: .15rem;
}

.plan-services h4 {
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--teal-700);
    margin: 1rem 0 .75rem;
}

.plan-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.plan-service-list li {
    background: var(--teal-50);
    color: var(--teal-800);
    padding: .35rem .65rem;
    border-radius: 999px;
    font-size: .8125rem;
}

.btn-white-outline {
    border: 2px solid rgba(255,255,255,.75);
    color: var(--white);
    background: transparent;
}

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

/* Blog */
.page-hero-compact {
    padding: 2.75rem 0;
}

.blog-card {
    height: 100%;
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.blog-card-link:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    color: inherit;
}

.blog-card-visual {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--teal-800), var(--teal-500));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-icon {
    font-size: 2.5rem;
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    display: block;
    font-size: .8125rem;
    color: var(--text-muted);
    margin-bottom: .5rem;
}

.blog-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin: 0 0 .75rem;
    line-height: 1.35;
}

.blog-card-body p {
    color: var(--text-muted);
    margin: 0 0 1rem;
    flex: 1;
    font-size: .9375rem;
}

.blog-post-meta {
    color: rgba(255,255,255,.8);
    margin: 0;
}

.blog-article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
}

.blog-article {
    max-width: 760px;
}

.blog-article-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.blog-article-image img {
    width: 100%;
    display: block;
}

.blog-article-lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.blog-article-body {
    color: var(--text-muted);
    line-height: 1.8;
}

.blog-article-body p {
    margin: 0 0 1rem;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 96px;
}

.blog-sidebar .service-sidebar-links small {
    display: block;
    color: var(--text-muted);
    font-size: .8125rem;
    margin-top: .15rem;
}

.blog-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.blog-pagination nav {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 .75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .9375rem;
    text-decoration: none;
}

.blog-pagination a:hover {
    background: var(--teal-50);
    border-color: var(--teal-500);
    color: var(--teal-700);
}

.blog-pagination span[aria-current="page"] {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: var(--white);
}

.blog-pagination span[aria-disabled="true"] {
    opacity: .45;
}

/* About page */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mission-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.mission-card h3 {
    font-family: var(--font-display);
    color: var(--teal-700);
    margin: 0 0 .75rem;
    font-size: 1.25rem;
}

.mission-card p {
    margin: 0;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: var(--teal-900);
    color: rgba(255,255,255,.8);
    padding: 4rem 0 0;
}

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

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    display: block;
    background: var(--white);
    padding: .5rem .75rem;
    border-radius: 8px;
}

.footer-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-about {
    font-size: .9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-social { display: flex; gap: .75rem; }

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: .9375rem;
    font-weight: 600;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: .6rem; }

.footer-links a {
    color: rgba(255,255,255,.75);
    font-size: .9375rem;
}

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

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: .875rem;
    color: rgba(255,255,255,.6);
}

.footer-bottom p {
    margin: .5rem 0 0;
}

.footer-credit {
    font-size: .8125rem;
    opacity: .85;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.footer-credit a:hover {
    color: var(--white);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255,255,255,.75);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--teal-900);
    margin: 2rem 0 .75rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .split-section, .contact-grid, .service-detail, .blog-article-layout, .ceo-spotlight { grid-template-columns: 1fr; }
    .service-sidebar, .blog-sidebar { position: static; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

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

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .site-nav.open { display: flex; }

    .site-nav a { padding: .75rem 1rem; }

    .nav-actions {
        flex-direction: column;
        margin-left: 0;
        margin-top: .5rem;
    }

    .nav-actions .btn { width: 100%; }

    .site-header .container { position: relative; flex-wrap: wrap; }

    .grid-2, .grid-3, .mission-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-slides { min-height: 480px; }
    .hero-slide-inner { min-height: 480px; padding: 3rem 0 4.5rem; }
    .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
    .grid-4, .stats-grid, .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar-contacts { flex-direction: column; gap: .35rem; }
}
