/* Providence Corridor - Dark Mode Clinical Theme */
:root {
    --bg-dark: #0f172a;       /* Deep Midnight Blue */
    --bg-card: #1e293b;       /* Slate Grey */
    --bg-card-hover: #334155; /* Lighter Slate */
    
    --text-main: #f8fafc;     /* White/Off-White */
    --text-muted: #94a3b8;    /* Muted Blue-Grey */
    
    --accent-primary: #06b6d4; /* Cyan/Clinical Teal */
    --accent-secondary: #3b82f6; /* Royal Blue */
    --accent-glow: rgba(6, 182, 212, 0.4);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --glass-bg: rgba(15, 23, 42, 0.9);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 80% 60% at 15% -5%, rgba(6, 182, 212, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 85% 105%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    isolation: isolate;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem);      letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem);   letter-spacing: -0.01em; }

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-secondary);
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

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

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    /* h1 size handled by clamp() */

    /* Mobile Hero Buttons Fix */
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
}

/* Navbar - Glassmorphism */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.75rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px; /* Constrained height per request */
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif; /* Force Inter font specifically */
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--accent-primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: flex; }
    .nav-cta { display: none; }
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 8rem 0 6rem;
    background-color: var(--bg-dark);
    text-align: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero .lead {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-secondary);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    margin-left: 1rem;
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Cards */
.card {
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top-color: rgba(255, 255, 255, 0.18);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    border-top-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(6, 182, 212, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Stats/Info Bar */
.stats-bar {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    display: block;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tables (Resources) */
.table-container {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

th {
    background: rgba(0,0,0,0.2);
    text-align: left;
    padding: 1.2rem;
    color: var(--accent-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
}

td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

tr:last-child td { border-bottom: none; }

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.status-expired { background: rgba(239, 68, 68, 0.2); color: var(--danger); }
.row-expired { opacity: 0.5; text-decoration: line-through; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

/* Membership Specific */
.pricing-card {
    text-align: center;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    background: linear-gradient(to bottom, var(--bg-card), rgba(6, 182, 212, 0.05));
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--bg-dark);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    font-size: 2.5rem;
    color: var(--text-main);
    font-weight: 700;
    margin: 1.5rem 0;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.feature-list li::before {
    content: "✓";
    color: var(--accent-primary);
    margin-right: 0.8rem;
    font-weight: bold;
}

/* Footer - Expanded Layout */
footer {
    background: #020617; /* Even darker */
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* 4 columns */
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-col p, .footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    display: block;
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.address-block {
    margin-bottom: 1.5rem;
}

.address-block strong {
    color: var(--text-main);
    display: block;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
    .footer-content { grid-template-columns: 1fr; }
}
/* ============================================
   UPDATED STYLES — Services / Index / About
   ============================================ */

/* Hero eyebrow label */
.hero-eyebrow {
    display: block;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
}

/* Section header centered block */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

/* ---- SPLIT SERVICE PANELS (homepage) ---- */
.services-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.split-panel {
    padding: 5rem 4rem;
    display: flex;
    align-items: flex-start;
}

.split-left {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(15, 23, 42, 0.95));
    border-right: 1px solid var(--glass-border);
}

.split-right {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(15, 23, 42, 0.95));
}

.split-inner {
    max-width: 480px;
}

.split-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.split-inner h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.split-inner p {
    font-size: 0.97rem;
    margin-bottom: 1.5rem;
}

.split-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.split-list li {
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.split-list li::before {
    content: "→";
    color: var(--accent-primary);
    margin-right: 0.6rem;
    font-weight: bold;
}

.btn-outline-light {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    background: transparent;
    font-size: 0.9rem;
}

.btn-outline-light:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

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

/* Who section client grid */
.client-grid {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 0;
    align-items: center;
}

.client-type h4 {
    color: var(--accent-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.client-type p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 2;
}

.client-divider {
    width: 1px;
    height: 100%;
    background: var(--glass-border);
    justify-self: center;
    align-self: stretch;
    min-height: 120px;
}

/* Who section background */
.who-section {
    background: var(--bg-card);
}

/* CTA section */
.cta-section {
    background: radial-gradient(circle at center, rgba(6,182,212,0.08), transparent 70%);
}

/* Card emoji icon */
.card-icon-text {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ---- SERVICES PAGE ---- */
.service-header {
    max-width: 860px;
    margin: 0 auto 0.5rem;
}

.service-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.service-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-notice {
    background: rgba(6, 182, 212, 0.08);
    border-left: 3px solid var(--accent-primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.service-notice strong {
    color: var(--text-main);
}

/* STAT callout block */
.stat-callout {
    background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(15,23,42,0.6));
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    overflow: hidden;
}

.stat-callout-inner {
    padding: 2.5rem 3rem;
}

.stat-callout-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--danger);
    border: 1px solid var(--danger);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.stat-callout h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.stat-callout p {
    max-width: 800px;
}

.stat-triggers {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-triggers h4 {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.trigger-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.trigger-item {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.15);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Service divider */
.service-divider {
    padding: 2rem 0;
}

.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

/* Service CTA bar */
.service-cta-bar {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-cta-bar p {
    margin: 0;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .services-split { grid-template-columns: 1fr; }
    .split-left { border-right: none; border-bottom: 1px solid var(--glass-border); }
    .split-panel { padding: 3rem 2rem; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .trigger-grid { grid-template-columns: 1fr 1fr; }
    .client-grid { grid-template-columns: 1fr; }
    .client-divider { display: none; }
    .service-cta-bar { flex-direction: column; align-items: flex-start; }
    .stat-callout-inner { padding: 2rem 1.5rem; }
}

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

/* ============================================
   GLASSMORPHIC DEPTH — v2
   Grain · Ambient Blobs · Hero Blobs
   ============================================ */

/* Film-grain noise overlay — fixed, covers everything */
html::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.028;
    pointer-events: none;
    z-index: 9998;
}

/* Ambient glow blobs — visible through transparent sections */
body::before {
    content: '';
    position: fixed;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 65%);
    top: -400px;
    right: -300px;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 65%);
    bottom: -300px;
    left: -250px;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

/* Hero-specific blobs (inside isolation: isolate context) */
.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, transparent 65%);
    top: -300px;
    right: -200px;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
    bottom: -200px;
    left: -150px;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}
