/*
 * Site Template Design Foundation
 * Phase 1: design tokens, reusable section styles and clearer layout primitives
 */

:root {
    /* Brand tokens */
    --primary-color: #e37e22;
    --secondary-color: #0080ac;
    --accent-color: #0ea5a4;
    --success-color: #2f855a;
    --info-color: #0284c7;
    --warning-color: #d97706;
    --danger-color: #dc2626;

    /* Neutral tokens */
    --text-color: #243142;
    --text-light: #5b6878;
    --text-dark: #101828;
    --bg-color: #ffffff;
    --bg-light: #f4f7fb;
    --bg-dark: #16212f;
    --border-color: #d7deea;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-headings: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-base-size: 16px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Scales */
    --radius-xs: 0.5rem;
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-pill: 999px;

    --space-0: 0;
    --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;
    --space-20: 5rem;
    --space-24: 6rem;

    --shadow-sm: 0 8px 20px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 18px 45px rgba(16, 24, 40, 0.10);
    --shadow-lg: 0 28px 70px rgba(16, 24, 40, 0.14);

    --container-max: 1200px;
    --container-wide-max: 1360px;
    --section-padding: clamp(3.5rem, 7vw, 6rem);

    /* Semantic aliases */
    --color-brand: var(--primary-color);
    --color-brand-strong: color-mix(in srgb, var(--primary-color) 82%, black);
    --color-brand-soft: color-mix(in srgb, var(--primary-color) 12%, white);
    --color-accent: var(--secondary-color);
    --color-accent-soft: color-mix(in srgb, var(--secondary-color) 12%, white);
    --color-surface: #ffffff;
    --color-surface-muted: var(--bg-light);
    --color-surface-dark: var(--bg-dark);
    --color-border-strong: color-mix(in srgb, var(--border-color) 78%, #94a3b8);
    --color-heading: var(--text-dark);
    --color-body: var(--text-color);
    --color-body-muted: var(--text-light);
    --focus-ring: 0 0 0 4px color-mix(in srgb, var(--primary-color) 22%, white);

    --step--1: clamp(0.875rem, 0.82rem + 0.18vw, 0.95rem);
    --step-0: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
    --step-1: clamp(1.125rem, 1.04rem + 0.42vw, 1.35rem);
    --step-2: clamp(1.35rem, 1.16rem + 0.8vw, 1.8rem);
    --step-3: clamp(1.75rem, 1.38rem + 1.45vw, 2.6rem);
    --step-4: clamp(2.2rem, 1.7rem + 2.15vw, 3.6rem);
    --step-5: clamp(2.8rem, 2rem + 3vw, 4.8rem);
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-base-size, 16px);
}

body {
    font-family: var(--font-primary);
    color: var(--color-body);
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--primary-color) 8%, white), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    line-height: 1.65;
    font-weight: var(--font-weight-normal);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--color-brand);
    text-decoration: none;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--color-brand-strong);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

p,
ul,
ol {
    margin-bottom: var(--space-4);
}

ul,
ol {
    padding-left: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: var(--font-weight-bold);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    color: var(--color-heading);
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5 { font-size: var(--step-0); }
h6 { font-size: var(--step--1); }

small,
.text-small {
    font-size: var(--step--1);
}

.container,
.container-wide {
    width: min(100% - 2rem, var(--container-max));
    margin: 0 auto;
}

.container-wide {
    width: min(100% - 2rem, var(--container-wide-max));
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -0.75rem;
    row-gap: 1.5rem;
}

.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    padding-inline: 0.75rem;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; }
    .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flow > * + * {
    margin-top: var(--flow-space, var(--space-4));
}

.stack-lg > * + * {
    margin-top: var(--space-8);
}

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
}

.grid-auto,
.footer-columns,
.card-grid,
.stats-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 2rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.surface,
.card,
.feature-card,
.contact-form-wrapper,
.contact-info-wrapper,
.sidebar-widget,
.cta-box {
    background: var(--color-surface);
    border: 1px solid color-mix(in srgb, var(--border-color) 70%, white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.section,
.features-section,
.cta-section,
.page-content,
.homepage-content {
    padding-block: var(--section-padding);
}

.section-muted,
.features-section,
.page-header {
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-light) 92%, white) 0%, #ffffff 100%);
}

.section-dark,
.site-footer,
.cta-section {
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-dark) 92%, black) 0%, var(--bg-dark) 100%);
    color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--primary-color) 10%, white);
    color: var(--color-brand-strong);
    font-size: var(--step--1);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-header,
.page-copy,
.hero-copy,
.cta-copy {
    max-width: 48rem;
}

.section-header {
    margin-inline: auto;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-title,
.page-title,
.hero-title,
.cta-title {
    margin-bottom: var(--space-4);
}

.section-subtitle,
.page-subtitle,
.hero-subtitle,
.cta-text,
.feature-description {
    font-size: var(--step-0);
    color: var(--color-body-muted);
}

.skip-to-main {
    position: absolute;
    top: -3rem;
    left: 1rem;
    background: var(--color-brand);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 10000;
}

.skip-to-main:focus {
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.85rem 1.3rem;
    font-size: 0.98rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--color-brand-strong);
    border-color: var(--color-brand-strong);
    color: white;
}

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

.btn-secondary:hover {
    background-color: color-mix(in srgb, var(--secondary-color) 80%, black);
    color: white;
}

.btn-light {
    background-color: white;
    color: var(--color-brand-strong);
    border-color: white;
}

.btn-light:hover {
    color: var(--color-brand-strong);
    background-color: color-mix(in srgb, white 88%, var(--primary-color));
}

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

.btn-outline-light:hover {
    background-color: white;
    color: var(--color-brand-strong);
    border-color: white;
}

.btn-ghost {
    background: transparent;
    border-color: color-mix(in srgb, var(--border-color) 75%, white);
    color: var(--color-heading);
}

.btn-lg {
    min-height: 3.5rem;
    padding: 1rem 1.55rem;
    font-size: 1.04rem;
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-control {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-body);
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: var(--focus-ring);
}

label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: var(--font-weight-medium);
}

.top-bar {
    background-color: color-mix(in srgb, var(--bg-dark) 88%, black);
    color: white;
    padding: 0.6rem 0;
    font-size: 0.875rem;
}

.top-bar-content,
.top-bar-left,
.top-bar-right,
.hero-actions,
.footer-bottom-content,
.contact-info-item,
.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-content,
.header-content,
.footer-bottom-content {
    justify-content: space-between;
    flex-wrap: wrap;
}

.top-bar-left,
.top-bar-right {
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.92);
}

.site-header {
    position: relative;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(215, 222, 234, 0.9);
    backdrop-filter: blur(16px);
}

.site-header.sticky {
    position: sticky;
    top: 0;
}

.header-content {
    padding-block: 1rem;
}

.site-logo a {
    display: inline-flex;
    align-items: center;
}

.logo-image {
    display: block;
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-brand);
}

.mobile-menu-toggle {
    display: none;
    background: color-mix(in srgb, var(--bg-light) 88%, white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    cursor: pointer;
    padding: 0.65rem 0.8rem;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger .line {
    width: 24px;
    height: 2px;
    background-color: var(--color-heading);
    transition: all 0.3s ease;
}

.main-navigation {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--color-body);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-pill);
}

.nav-link:hover,
.nav-item.active > .nav-link,
.nav-item.current > .nav-link {
    color: var(--color-brand-strong);
    background: color-mix(in srgb, var(--primary-color) 10%, white);
}

.nav-list .level-1,
.nav-list .level-2 {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid color-mix(in srgb, var(--border-color) 80%, white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 100;
}

.nav-list .level-2 {
    left: calc(100% + 0.5rem);
    top: 0;
}

.nav-item.has-children:hover > .level-1,
.level-1 .nav-item.has-children:hover > .level-2 {
    display: flex;
}

.submenu-indicator {
    margin-left: 0.35rem;
    font-size: 0.75em;
}

.hero-section,
.marketing-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(5rem, 10vw, 8rem);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--secondary-color) 28%, white) 0%, transparent 32%),
        radial-gradient(circle at left center, color-mix(in srgb, var(--primary-color) 20%, white) 0%, transparent 36%),
        linear-gradient(135deg, color-mix(in srgb, var(--bg-dark) 8%, white) 0%, #ffffff 45%, color-mix(in srgb, var(--primary-color) 7%, white) 100%);
}

.hero-shell {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
}

.hero-title {
    max-width: 13ch;
}

.hero-subtitle {
    max-width: 52rem;
}

.hero-panel {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}

.hero-panel .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
    padding: 1.1rem;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--bg-light) 72%, white);
    border: 1px solid color-mix(in srgb, var(--border-color) 75%, white);
}

.stat-value {
    display: block;
    margin-bottom: 0.35rem;
    font-size: var(--step-2);
    font-weight: var(--font-weight-bold);
    color: var(--color-heading);
}

.stat-label {
    color: var(--color-body-muted);
    font-size: var(--step--1);
}

.marketing-section {
    position: relative;
}

.section-band {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 10%, white), color-mix(in srgb, var(--secondary-color) 9%, white));
    border: 1px solid color-mix(in srgb, var(--border-color) 80%, white);
}

.card,
.feature-card {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.feature-card:hover,
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon,
.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
    color: white;
    font-size: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.feature-title,
.card-title {
    margin-bottom: 0.75rem;
}

.page-header {
    padding-block: clamp(3rem, 6vw, 5rem);
    margin-bottom: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 65%, white);
}

.page-header.onepage-header {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--primary-color) 12%, white), transparent 32%),
        linear-gradient(180deg, color-mix(in srgb, var(--bg-light) 92%, white) 0%, #ffffff 100%);
}

.page-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

.main-content-area > .frame {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 72%, white);
}

.main-content-area > .frame:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar {
    position: sticky;
    top: 7rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: var(--color-body-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    padding-right: 0.4rem;
}

.breadcrumb-item.active {
    color: var(--color-body-muted);
}

.contact-info-item {
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
    color: white;
}

.service-features {
    margin: 3rem 0;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-light) 90%, white) 0%, white 100%);
    border: 1px solid color-mix(in srgb, var(--border-color) 72%, white);
    border-radius: var(--radius-xl);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.7rem 0;
    color: var(--color-body);
}

.feature-list i {
    color: var(--color-brand);
    margin-top: 0.25rem;
}

.cta-section {
    padding-block: clamp(3.5rem, 7vw, 5rem);
}

.cta-shell {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
}

.cta-title,
.section-dark .section-title,
.section-dark h2,
.section-dark h3,
.site-footer .footer-heading {
    color: white;
}

.section-dark .section-subtitle,
.cta-text,
.site-footer a,
.site-footer p,
.site-footer address {
    color: rgba(255, 255, 255, 0.82);
}

.footer-main {
    padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer-heading {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

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

.footer-nav li + li {
    margin-top: 0.7rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem 0;
    margin-top: 1rem;
}

.footer-legal-nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 18%, white);
    color: white;
}

.social-link:hover {
    background: var(--color-brand);
    color: white;
    transform: translateY(-2px);
}

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--color-brand);
    color: white;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: white;
    transform: translateY(-3px);
}

.onepage-anchor {
    display: block;
    position: relative;
    top: -110px;
    visibility: hidden;
}

.nav-list-onepage {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.logo-cloud-grid,
.process-grid,
.testimonial-grid,
.team-grid,
.contact-option-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 2rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.logo-cloud-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: center;
}

.logo-cloud-item {
    min-height: 6.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--bg-light) 86%, white);
    border: 1px solid color-mix(in srgb, var(--border-color) 72%, white);
    color: var(--color-body-muted);
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stats-band {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.stats-band .section-title,
.contact-options-section .section-title {
    color: var(--color-heading);
}

.stats-band .section-subtitle,
.contact-options-section .section-subtitle {
    color: var(--color-body-muted);
}

.stats-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card-highlight {
    background: rgba(255, 255, 255, 0.86);
}

.process-card {
    position: relative;
    overflow: hidden;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 14%, white);
    color: var(--color-brand-strong);
    font-family: var(--font-headings);
    font-size: var(--step-1);
    font-weight: var(--font-weight-bold);
}

.testimonial-card {
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--bg-light) 78%, white) 100%);
}

.testimonial-rating {
    color: var(--warning-color);
    letter-spacing: 0.12em;
    font-size: 0.95rem;
}

.testimonial-quote {
    margin: 0;
    font-size: var(--step-1);
    line-height: 1.6;
    color: var(--color-heading);
}

.testimonial-person {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: var(--color-body-muted);
}

.faq-layout {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.faq-accordion {
    display: grid;
    gap: 1rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border: 0;
    background: transparent;
    color: var(--color-heading);
    font: inherit;
    font-weight: var(--font-weight-bold);
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 12%, white);
    color: var(--color-brand-strong);
    transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 4.75rem;
    height: 4.75rem;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
    color: white;
    font-family: var(--font-headings);
    font-size: var(--step-1);
    font-weight: var(--font-weight-bold);
}

.team-role {
    color: var(--color-brand-strong);
    font-weight: var(--font-weight-medium);
}

.contact-options-section {
    background: linear-gradient(135deg, color-mix(in srgb, var(--bg-dark) 92%, black) 0%, color-mix(in srgb, var(--secondary-color) 42%, var(--bg-dark)) 100%);
}

.contact-options-shell {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
}

.contact-options-section .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.contact-options-section .section-title,
.contact-options-section .section-subtitle {
    color: white;
}

.contact-option-card {
    height: 100%;
    padding: 1.5rem;
}

.contact-option-card a {
    font-weight: var(--font-weight-bold);
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: inline-flex;
    }

    .hero-shell,
    .cta-shell,
    .page-shell,
    .stats-band,
    .faq-layout,
    .contact-options-shell {
        grid-template-columns: 1fr;
    }

    .stats-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-navigation {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(82vw, 22rem);
        height: 100vh;
        padding: 1.5rem;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        z-index: 9999;
    }

    .main-navigation.active {
        transform: translateX(0);
    }

    .nav-list,
    .nav-list.level-0 {
        width: 100%;
        flex-direction: column;
        gap: 0.2rem;
    }

    .nav-list .level-1,
    .nav-list .level-2 {
        position: static;
        min-width: auto;
        margin-top: 0.3rem;
        box-shadow: none;
        display: none;
        padding: 0.35rem 0 0.35rem 0.85rem;
        border: 0;
        background: transparent;
    }

    .nav-item.has-children.open > .level-1,
    .nav-item.has-children.open > .level-2 {
        display: flex;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    body {
        background-size: auto;
    }

    .container,
    .container-wide {
        width: min(100% - 1.25rem, var(--container-max));
    }

    .top-bar-content,
    .top-bar-left,
    .top-bar-right,
    .footer-bottom-content,
    .hero-actions {
        align-items: flex-start;
    }

    .top-bar-content,
    .footer-bottom-content,
    .hero-actions {
        flex-direction: column;
    }

    .hero-panel .stats-grid,
    .stats-grid-4 {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
    }
}

@media print {
    .site-header,
    .top-bar,
    .site-footer,
    .back-to-top,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

    a {
        text-decoration: underline;
    }
}
