/* Easy Interface - Editorial Agency Theme */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap');

:root {
    --primary: #0f766e;
    --primary-hover: #115e59;
    --primary-light: #ccfbf1;
    --secondary: #10231f;
    --navy: #10231f;
    --navy-light: #1b3a35;
    --deep-blue: #0f766e;
    --blue: #0f766e;
    --blue-bright: #14b8a6;
    --blue-muted: #5eead4;
    --accent: #d97706;
    --accent-hover: #b45309;
    --orange: #d97706;
    --green: #0f766e;

    --text: #14211e;
    --text-muted: #5f6f69;
    --bg: #f6f4ee;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-alt: #ece7db;
    --border: rgba(20, 33, 30, 0.1);
    
    /* Typography scale - consistent across all pages */
    --font-size-xs: 0.8rem;
    --font-size-sm: 0.9rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --line-height-tight: 1.25;
    --line-height-normal: 1.6;
    
    /* UI */
    --shadow-sm: 0 12px 30px rgba(16, 35, 31, 0.06);
    --shadow: 0 24px 60px rgba(16, 35, 31, 0.12);
    --radius: 14px;
    --radius-lg: 28px;
    
    /* Spacing scale (8px grid) - use consistently */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Section spacing - unified */
    --section-padding-y: var(--space-8);
    --section-padding-x: var(--space-8);
    --card-padding: var(--space-5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 28%),
        linear-gradient(180deg, #fbfaf6 0%, var(--bg) 52%, #f3efe5 100%);
}

/* Header - Ekko style: light, minimal */
header {
    background: rgba(246, 244, 238, 0.82);
    padding: var(--space-3) var(--section-padding-x);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(20, 33, 30, 0.05);
    backdrop-filter: blur(16px);
}

nav {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text);
    text-decoration: none;
}

.logo-icon,
.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius);
}

.logo-text {
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.25;
}

.logo-text small {
    display: inline-block;
    margin-top: 2px;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-muted);
}

nav ul {
    list-style: none;
    display: flex;
    gap: var(--space-6);
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary);
    background: var(--bg-alt);
}

nav a:hover::after {
    display: none;
}

nav a.active {
    color: var(--primary);
    background: rgba(13, 148, 136, 0.1);
}

/* Main content */
main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero */
.hero {
    margin: var(--space-6) calc(-1 * var(--section-padding-x)) 0;
    position: relative;
}

.hero-ekko {
    padding: clamp(1.25rem, 3vw, 2rem) var(--section-padding-x);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.16), transparent 24%),
        radial-gradient(circle at bottom left, rgba(217, 119, 6, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.48) 100%);
    border-radius: 0 0 36px 36px;
    border-bottom: 1px solid rgba(20, 33, 30, 0.06);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: var(--space-10);
    align-items: center;
}

.hero-copy {
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.hero-headline {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: var(--space-4);
}

.hero-line {
    display: block;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 0 var(--space-6);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    margin-bottom: var(--space-8);
}

.hero-cta-btn {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.hero-cta-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.hero .hero-accent {
    color: var(--accent);
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.hero-link::after {
    content: '→';
    color: var(--accent);
}

.hero-link:hover {
    color: var(--primary);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.hero-proof span {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 33, 30, 0.08);
    background: rgba(255, 255, 255, 0.62);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-panel {
    display: grid;
    gap: var(--space-4);
}

.hero-panel-card,
.hero-mini-card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
}

.hero-panel-primary {
    padding: var(--space-6);
}

.panel-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.hero-panel-primary h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-3);
}

.hero-panel-primary p {
    color: var(--text-muted);
}

.hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.hero-mini-card {
    padding: var(--space-4);
}

.hero-mini-card strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.hero-mini-card span {
    display: block;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Process steps */
.ekko-process {
    padding-top: var(--space-6);
}

.ekko-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.ekko-section-title {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-8);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.process-step {
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.74);
    border-radius: 18px;
    border: 1px solid rgba(20, 33, 30, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(15, 118, 110, 0.18);
}

.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    margin-bottom: var(--space-3);
}

.experience-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-10);
    align-items: start;
}

.experience-copy p:last-of-type {
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: var(--space-6);
}

.experience-stack {
    display: grid;
    gap: var(--space-4);
}

.experience-card {
    padding: var(--space-6);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 33, 30, 0.08);
    box-shadow: var(--shadow-sm);
}

.experience-tag {
    display: inline-flex;
    margin-bottom: var(--space-3);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.experience-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-2);
}

.experience-card p {
    color: var(--text-muted);
}

.process-step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text);
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Nav CTA - Ekko teal */
.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: var(--space-2) var(--space-5) !important;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-hover) !important;
    color: white !important;
}

.nav-cta.active {
    background: var(--primary) !important;
    color: white !important;
}

/* Service cards - clean, professional */
.collab-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin: var(--space-8) 0;
}

.collab-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--space-6);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(20, 33, 30, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58));
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.collab-card::before {
    content: '';
    position: absolute;
    inset: auto auto -30% -10%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.08);
}

.collab-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.32);
    pointer-events: none;
}

.collab-card-rcm::before {
    background: rgba(217, 119, 6, 0.08);
}

.collab-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(15, 118, 110, 0.16);
}

.collab-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text);
}

.collab-card-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex-grow: 1;
}

.collab-card-cta {
    display: inline-block;
    margin-top: var(--space-5);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.collab-more {
    text-align: center;
    padding: var(--space-6) 0;
    font-size: 0.9375rem;
}

.collab-more a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.collab-more a:hover {
    text-decoration: underline;
}

/* CTA links - text-based, no button look. Unified design pattern. */
.cta-buttons {
    display: flex;
    gap: var(--space-8);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.cta-link::after {
    content: '→';
    font-weight: 500;
    opacity: 0.8;
}

/* On dark backgrounds (hero, cta-blue) */
.cta-link-primary {
    color: var(--orange);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
    transition: color 0.2s ease, background 0.2s ease;
}

.cta-link-primary:hover {
    color: white;
    background: rgba(249, 115, 22, 0.25);
}

.cta-link-secondary {
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
    transition: color 0.2s ease, background 0.2s ease;
}

.cta-link-secondary:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* On light backgrounds - for form submit */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn::before {
    display: none;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Section headings - professional accent bar */
.section-heading {
    position: relative;
    padding-left: var(--space-6);
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 3px;
    background: var(--blue);
    border-radius: 2px;
}

.section-heading.text-center {
    padding-left: 0;
    text-align: center;
}
.section-heading.text-center::before {
    display: none;
}

/* Sections - unified spacing */
.section {
    padding: var(--section-padding-y) 0;
}

.section + .section {
    margin-top: 0;
}

.section-alt {
    background: rgba(236, 231, 219, 0.58);
    margin: 0 calc(-1 * var(--section-padding-x));
    padding: var(--section-padding-y) var(--section-padding-x);
    border-radius: 24px;
}

.section-alt::before {
    display: none;
}

.section h2 {
    font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-3xl));
    font-weight: 700;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    font-size: var(--font-size-lg);
}

/* Cards - unified style, gradient accent on hover */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.card {
    background: var(--bg-card);
    padding: var(--card-padding);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card h3::before {
    display: none;
}

.card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.card p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
}

.feature {
    padding: var(--space-6);
    border-radius: 22px;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(20, 33, 30, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-4);
    color: var(--primary);
}

.feature:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.feature h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2);
}

.feature p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.product-card {
    background: rgba(255, 255, 255, 0.74);
    padding: var(--card-padding);
    border-radius: 24px;
    border: 1px solid rgba(20, 33, 30, 0.08);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-1);
}

.product-card h3::before {
    display: none;
}

.product-card h4 {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.product-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(15, 118, 110, 0.09);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    margin-bottom: var(--space-3);
}

.product-card p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
}

.link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: var(--section-padding-y) var(--section-padding-x);
    margin: var(--space-8) calc(-1 * var(--section-padding-x)) 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    margin-bottom: var(--space-2);
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.cta-blue {
    background: var(--bg-alt);
    color: var(--text);
}

.cta-ekko {
    background:
        radial-gradient(circle at top left, rgba(94, 234, 212, 0.18), transparent 30%),
        linear-gradient(135deg, #153630 0%, #0f766e 100%);
    padding: clamp(1.5rem, 4vw, 2.5rem) var(--section-padding-x);
    border-radius: 24px 24px 0 0;
}

.cta-ekko h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-3);
    line-height: 1.2;
}

.cta-ekko .hero-cta-btn {
    background: white;
    color: var(--primary);
}

.cta-ekko .hero-cta-btn:hover {
    background: var(--bg-alt);
    color: var(--primary-hover);
}

.cta-ekko .cta-eyebrow {
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: var(--space-3);
}

.cta-ekko .cta-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto var(--space-8);
}

.cta-ekko .cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.cta-ekko .cta-ghost-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: color 0.2s;
}

.cta-ekko .cta-ghost-link:hover {
    color: white;
}

.cta-blue h2,
.cta-blue p {
    color: var(--text);
}

.cta-blue p {
    opacity: 1;
}

/* Page headers - unified dark theme (all inner pages) */
.page-header {
    text-align: center;
    padding: clamp(1.25rem, 3vw, 1.75rem) var(--section-padding-x);
    margin: var(--space-4) calc(-1 * var(--section-padding-x)) 0;
    background: linear-gradient(135deg, #163a34 0%, #0f766e 100%);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}

.page-header::after,
.page-header::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.28;
}

.page-header::before {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 70%);
    top: -140px;
    right: -80px;
}

.page-header::after {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.22), transparent 70%);
    left: -70px;
    bottom: -120px;
}

.page-header h1 {
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 800;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
    color: white;
    font-family: 'Newsreader', Georgia, serif;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header + .section,
.page-header + .tabs,
.page-header + .section-alt {
    margin-top: var(--space-6);
}

/* Forms */
.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-1);
    font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    margin-bottom: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-card);
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 90px;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: var(--space-8) var(--section-padding-x) var(--space-6);
    margin-top: var(--space-6);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.footer-grid {
    max-width: 1120px;
    margin: 0 auto var(--space-6);
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.1fr 1fr 0.7fr;
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.footer-col strong {
    display: block;
    margin-bottom: var(--space-3);
    font-size: 0.95rem;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    text-decoration: none;
    line-height: 1.5;
}

.footer-col p {
    margin-bottom: var(--space-2);
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-2);
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.footer-copy a,
.footer-col a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-copy a:hover,
.footer-col a:hover {
    color: white;
}

.legal-content h2 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-2);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

/* Tabs - link-style navigation, matches section-heading pattern */
.tabs {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
    padding: var(--space-3);
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow-sm);
    width: fit-content;
    max-width: 100%;
}

.tab-btn {
    position: relative;
    padding: 0.85rem 1.25rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-family: inherit;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    border-radius: 999px;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--blue);
    background: rgba(15, 118, 110, 0.06);
}

.tab-btn.active {
    color: white;
    font-weight: 700;
    background: linear-gradient(135deg, #163a34 0%, #0f766e 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.tab-btn.active::after {
    display: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.35s ease-out;
}

/* Keep service tabs on a single row; allow horizontal scroll if needed */
.services-tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: var(--space-3);
    justify-content: space-between;
}

.services-tabs .tab-btn {
    flex: 0 1 auto;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
}

.services-tabs::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1220px) {
    .services-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        gap: var(--space-4);
    }

    .services-tabs .tab-btn {
        flex: 0 0 auto;
        padding: 0.85rem 1.25rem;
        font-size: var(--font-size-sm);
    }
}

/* Service detail */
.service-detail-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 33, 30, 0.08);
    box-shadow: var(--shadow-sm);
}

.service-subtitle {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    max-width: 720px;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.service-item {
    padding: var(--space-5);
    border-radius: 22px;
    transition: all 0.2s ease;
    background: rgba(246, 244, 238, 0.72);
    border: 1px solid rgba(20, 33, 30, 0.06);
}

.service-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(15, 118, 110, 0.12);
}

.service-item h4 {
    font-size: 1rem;
    margin-bottom: var(--space-1);
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Check list - minimal design */
.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-2);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
}

/* About page */

.content-block p {
    margin-bottom: var(--space-4);
    color: var(--text-muted);
}

.content-block {
    max-width: 820px;
}

.company-overview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: var(--space-8);
    align-items: start;
}

.company-overview-panel {
    display: grid;
    gap: var(--space-5);
}

.overview-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.overview-stat-card,
.overview-capabilities {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.overview-stat-card {
    padding: var(--space-5);
}

.overview-stat-card strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--primary);
    margin-bottom: var(--space-2);
    font-family: 'Newsreader', Georgia, serif;
}

.overview-stat-card span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.overview-capabilities {
    padding: var(--space-6);
}

.overview-capabilities h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-4);
}

.focus-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.focus-card {
    background: rgba(255, 255, 255, 0.76);
    padding: var(--card-padding);
    padding-left: calc(var(--card-padding) + var(--space-4));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 33, 30, 0.08);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.focus-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: var(--space-4);
    bottom: var(--space-4);
    width: 3px;
    background: linear-gradient(180deg, var(--blue), var(--orange));
    border-radius: 2px;
}

.focus-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
}

.focus-card h3 {
    position: relative;
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-3);
    border-bottom: 1px solid var(--border);
}


.who-we-serve {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.serve-column,
.security-col,
.integration-col {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-radius: 24px;
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.serve-column h3,
.integration-col strong {
    display: block;
    margin-bottom: var(--space-3);
    font-size: 1.1rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
}

.why-card {
    background: rgba(255, 255, 255, 0.76);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-left: 3px solid var(--blue);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.2);
    box-shadow: var(--shadow);
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.approach-step {
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.74);
    border-radius: 22px;
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-left: 3px solid var(--blue);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.approach-step:hover {
    border-color: var(--blue);
}

/* Technology page */
.tech-intro-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.64));
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-left: 3px solid var(--blue);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tech-architecture-grid,
.devops-grid,
.why-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.tech-card,
.devops-card,
.why-tech-card {
    background: rgba(255, 255, 255, 0.74);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 33, 30, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.tech-card:hover,
.devops-card:hover,
.why-tech-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 118, 110, 0.18);
    box-shadow: var(--shadow);
}

.tech-subtitle {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}

/* Products page */
.product-overview {
    background: rgba(255, 255, 255, 0.76);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-left: 3px solid var(--blue);
    box-shadow: var(--shadow-sm);
}

.product-detail-section {
    display: grid;
    gap: var(--space-6);
}

.product-detail-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    letter-spacing: -0.03em;
}

.product-subtitle {
    max-width: 720px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
}

.product-feature-card {
    background: rgba(255, 255, 255, 0.74);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 33, 30, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.product-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 118, 110, 0.18);
    box-shadow: var(--shadow);
}

.product-feature-card h4 {
    font-weight: 600;
    letter-spacing: -0.01em;
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-4);
}

.custom-solution-cta {
    background: rgba(236, 231, 219, 0.68);
    margin: 0 calc(-1 * var(--section-padding-x));
    padding: var(--space-12) var(--section-padding-x);
    border-top: 1px solid rgba(20, 33, 30, 0.08);
    border-radius: 28px;
}

.custom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.custom-tag {
    background: rgba(255, 255, 255, 0.72);
    padding: var(--space-2) var(--space-4);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid rgba(20, 33, 30, 0.08);
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

.contact-left,
.contact-right {
    display: grid;
    gap: var(--space-6);
}

.get-in-touch,
.why-contact,
.contact-form-block {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
}

.get-in-touch,
.why-contact {
    padding: var(--space-6);
}

.contact-form-block {
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
}

.contact-details {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.contact-details p {
    padding: var(--space-3) 0;
    border-top: 1px solid rgba(20, 33, 30, 0.08);
    color: var(--text-muted);
}

.contact-details p:first-child {
    border-top: none;
    padding-top: 0;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
}

.help-card {
    background: rgba(255, 255, 255, 0.76);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 33, 30, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.help-card:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 118, 110, 0.18);
    box-shadow: var(--shadow);
}

.text-center {
    text-align: center;
    margin-bottom: var(--space-6);
}

.section-subtitle.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.74);
    padding: var(--card-padding);
    padding-top: calc(var(--card-padding) + var(--space-4));
    border-radius: 24px;
    border: 1px solid rgba(20, 33, 30, 0.08);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.12;
    pointer-events: none;
}

.testimonial-quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: var(--space-5);
    line-height: 1.65;
    position: relative;
}

.testimonial-attribution {
    padding-top: var(--space-4);
    border-top: 1px solid rgba(20, 33, 30, 0.07);
}

.testimonial-author-name {
    display: block;
    font-weight: 700;
    color: var(--text);
    font-size: 0.9rem;
}

.testimonial-author-role {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.testimonial-author {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.testimonial-stars {
    color: #d97706;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: var(--space-3);
}

/* Stats strip - Ekko light */
.stats-strip {
    background: rgba(255, 255, 255, 0.58);
    margin: 0 calc(-1 * var(--section-padding-x));
    padding: var(--space-8) var(--section-padding-x);
    border-top: 1px solid rgba(20, 33, 30, 0.06);
    border-bottom: 1px solid rgba(20, 33, 30, 0.06);
    border-radius: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    color: var(--text);
}

.stat-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Newsreader', Georgia, serif;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Engagement models */
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-5);
}

.engagement-card {
    background: rgba(255, 255, 255, 0.72);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 33, 30, 0.08);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.engagement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.12);
}

.engagement-popular {
    border-top: 3px solid var(--primary);
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.04) 0%, rgba(255, 255, 255, 0.72) 100%);
}

.engagement-badge {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    padding: var(--space-1) var(--space-3);
    background: rgba(15, 118, 110, 0.1);
    border-radius: var(--radius);
    margin-bottom: var(--space-4);
}

.engagement-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-1);
}

.engagement-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.engagement-card .check-list {
    margin: var(--space-4) 0;
}

.engagement-best {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin: var(--space-4) 0;
}

.engagement-card .cta-link {
    color: var(--blue);
    font-weight: 600;
}

.engagement-card .cta-link:hover {
    text-decoration: underline;
}

/* RCM Guide section */
.rcm-guide-card {
    background: rgba(255, 255, 255, 0.76);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(20, 33, 30, 0.08);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.rcm-guide-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.rcm-feature {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.rcm-guide-list {
    margin-bottom: var(--space-6);
}

.rcm-guide-cta {
    display: inline-block;
    margin-bottom: var(--space-5);
    color: var(--blue);
    font-weight: 700;
}

.rcm-guide-cta:hover {
    color: var(--orange);
}

.rcm-guide-note {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Specialties */
.specialties-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

.specialty-badge {
    padding: var(--space-2) var(--space-5);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 33, 30, 0.08);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.specialty-badge:hover {
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.06);
}

/* Service Learn More link */
.service-learn-more {
    display: inline-block;
    margin-top: var(--space-6);
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.service-learn-more:hover {
    text-decoration: underline;
}

/* Contact form select & checkbox */
.contact-form select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: var(--font-size-base);
    background: white;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--blue);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    font-size: var(--font-size-sm);
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 4px;
    flex-shrink: 0;
}

.form-feedback {
    margin-top: var(--space-3);
    min-height: 1.4em;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.form-feedback.is-success {
    color: #0f766e;
}

.form-feedback.is-error {
    color: #b91c1c;
}

.thank-you-block {
    padding: var(--space-6) var(--space-4);
    text-align: center;
}

.thank-you-block h3 {
    font-size: var(--font-size-xl);
    color: #0f766e;
    margin-bottom: var(--space-2);
}

.thank-you-block p {
    color: var(--text-secondary);
}

/* Hamburger menu */
.nav-toggle {
    display: none;
    order: 2;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 0 var(--space-4);
    }

    .hero,
    .section-alt,
    .cta-section,
    .page-header,
    .custom-solution-cta {
        margin: 0 calc(-1 * var(--space-4));
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-layout,
    .experience-split {
        grid-template-columns: 1fr;
    }

    .hero-ekko {
        border-radius: 0 0 28px 28px;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 9vw, 2.6rem);
    }

    .hero-panel-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tabs {
        width: 100%;
        border-radius: 28px;
    }

    nav {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    nav ul.nav-menu {
        display: none;
        width: 100%;
        flex-basis: 100%;
        flex-direction: column;
        gap: var(--space-2);
        order: 3;
    }

    nav ul.nav-menu.open {
        display: flex;
    }

    nav .logo {
        order: 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: var(--space-2);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }

    .hero-badges {
        gap: var(--space-3);
    }

    .rcm-guide-features {
        grid-template-columns: 1fr;
    }

    .collab-services {
        grid-template-columns: 1fr;
        margin: var(--space-8) 0;
    }

    .collab-card {
        min-height: auto;
        padding: var(--space-8);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .collab-card {
        padding: var(--space-8);
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .hero-panel-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .logo-icon,
    .logo-img {
        width: 36px;
        height: 36px;
    }

    .overview-stat-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        border-radius: 24px;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }

    .services-tabs .tab-btn {
        width: auto;
    }
}

@media (max-width: 980px) {
    .company-overview-layout {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    nav ul.nav-menu {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
