/* ============================================
   CoreWave - Style Everping-like
   Clean, minimal, white, Poppins
   ============================================ */

/* --- Variables --- */
:root {
    --white: #ffffff;
    --bg: #fafafa;
    --bg-section: #f5f7fa;

    --text: #1a1a2e;
    --text-secondary: #555770;
    --text-muted: #8b8da3;
    --text-light: #b0b3c5;

    --accent: #0066ff;
    --accent-hover: #0052cc;
    --accent-light: #e8f0fe;
    --accent-bg: rgba(0, 102, 255, 0.05);

    --border: #eaedf3;
    --border-hover: #d0d5e0;

    --radius: 10px;
    --radius-lg: 16px;
    --radius-btn: 8px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);

    --transition: 0.25s ease;
    --container: 1140px;
    --header-h: 72px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
::selection { background: var(--accent); color: #fff; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
}

.header.scrolled {
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.logo { display: flex; align-items: center; z-index: 1001; }

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.3) contrast(1.5);
}

.logo img:hover {
    filter: brightness(0.2) contrast(1.5);
}

.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link:hover { color: var(--text); }

.btn-client {
    color: var(--accent) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav-separator {
    width: 1px;
    height: 24px;
    background: var(--border);
    margin: 0 4px;
    flex-shrink: 0;
}

.btn-urgence {
    color: #dc2626 !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    padding: 7px 16px !important;
    border: 1.5px solid #dc2626 !important;
    border-radius: var(--radius-btn) !important;
    letter-spacing: 0.3px;
    animation: pulse-urgence 2s infinite;
}
.btn-urgence:hover {
    background: #dc2626 !important;
    color: #fff !important;
}
@keyframes pulse-urgence {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(220,38,38,0); }
}

.btn-portal {
    color: var(--accent) !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    padding: 7px 16px !important;
    border: 1.5px solid var(--accent) !important;
    border-radius: var(--radius-btn) !important;
}
.btn-portal:hover {
    background: var(--accent) !important;
    color: #fff !important;
}

.btn-crm {
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-btn) !important;
}
.btn-crm:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.btn-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-btn) !important;
    font-weight: 600 !important;
    margin-left: 4px;
    font-size: 0.875rem !important;
}

.btn-cta:hover {
    background: var(--accent-hover) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-btn);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    font-family: inherit;
}

.btn-lg { padding: 14px 28px; font-size: 0.95rem; }
.btn-md { padding: 12px 24px; }

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

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

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--text-muted);
}

.btn-white {
    background: #fff;
    color: var(--text);
}

.btn-white:hover { background: #f0f0f0; }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
}

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

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-h);
    background: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.hero-blob-1 {
    width: 700px;
    height: 700px;
    background: var(--accent-light);
    top: -300px;
    right: -200px;
}

.hero-blob-2 {
    width: 500px;
    height: 500px;
    background: #f0e6ff;
    bottom: -200px;
    left: -150px;
}

.hero-blob-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(124,58,237,0.06));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,102,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,102,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0,102,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.hero-float {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.12;
}

.hero-float-1 { top: 20%; left: 15%; animation: floatUp 6s ease-in-out infinite; }
.hero-float-2 { top: 60%; right: 10%; animation: floatUp 8s ease-in-out infinite 2s; width: 4px; height: 4px; }
.hero-float-3 { bottom: 25%; left: 35%; animation: floatUp 7s ease-in-out infinite 4s; width: 5px; height: 5px; opacity: 0.08; }

@keyframes heroFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: var(--accent-bg);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 28px;
}

.badge-pulse {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-highlight {
    color: var(--accent);
}

.hero-highlight::after { display: none; }

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-subtitle strong { color: var(--text); font-weight: 600; }

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-metric { text-align: center; }

.hero-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.hero-metric-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.hero-metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 400;
}

.hero-metric-sep {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* --- TRUST / LOGOS --- */
.trust {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
    overflow: hidden;
}

.trust-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    letter-spacing: 0.03em;
}

.trust-logos-track {
    display: flex;
    gap: 60px;
    animation: scroll-logos 25s linear infinite;
    width: max-content;
}

.trust-logos-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-logo img {
    height: 28px;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.35);
    transition: var(--transition);
}

.trust-logo:hover img {
    filter: grayscale(0%) opacity(0.8);
}

.trust-logo-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    color: var(--text);
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.text-gradient { color: var(--accent); }

/* --- SERVICES --- */
.services { background: var(--bg-section); }

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

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    color: inherit;
}

.service-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

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

.service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-icon-blue svg { stroke: var(--accent); }
.service-icon-purple svg { stroke: #7c3aed; }
.service-icon-teal svg { stroke: #0891b2; }
.service-icon-orange svg { stroke: #ea580c; }
.service-icon-green svg { stroke: #059669; }
.service-icon-pink svg { stroke: #db2777; }

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 3px 10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.service-card > p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    font-weight: 400;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
    flex: 1;
}

.service-list li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
    font-weight: 400;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    margin-top: auto;
}

/* --- WHY SECTION --- */
.why { background: var(--white); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

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

.why-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.why-icon svg { width: 26px; height: 26px; stroke: var(--accent); }

.why-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.why-card p strong { color: var(--text); font-weight: 600; }

/* --- SECTORS --- */
.sectors { background: var(--bg-section); }

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

.sector-card {
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.sector-emoji {
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1;
}

.sector-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.sector-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* --- STATS --- */
.stats { background: var(--white); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 36px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- TESTIMONIALS --- */
.testimonials { background: var(--bg-section); }

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

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

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: normal;
    margin-bottom: 20px;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* --- FAQ --- */
.faq { background: var(--white); }

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--accent);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--accent); }

.faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer { padding: 0 22px 18px; }

.faq-answer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
}

.faq-answer strong { color: var(--text); font-weight: 600; }

/* --- CTA --- */
.cta {
    padding: 32px 0 96px;
    background: var(--white);
}

.cta-card {
    background: var(--accent);
    border-radius: var(--radius-lg);
    padding: 64px 40px;
    text-align: center;
}

.cta-card h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cta-card > p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin: 0 auto 28px;
    font-weight: 400;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-brand { max-width: 260px; }

.footer-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(2) contrast(0.8);
}

.footer-brand p {
    font-size: 0.8rem;
    line-height: 1.7;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.footer-phone {
    display: block;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.footer-phone:hover { color: var(--accent); }

.footer-email {
    display: block;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.85rem;
}

.footer-email:hover { text-decoration: underline; }

.footer-links h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.footer-location { margin-top: 4px; }

/* --- AOS --- */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-aos="fade-down"] { transform: translateY(-20px); }
[data-aos="zoom-in"] { transform: scale(0.96); }

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }
    .section { padding: 64px 0; }

    .nav-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 90px 24px 32px;
        gap: 2px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        align-items: stretch;
    }

    .nav.active { right: 0; }

    .nav-link {
        padding: 12px 14px;
        font-size: 0.95rem;
        width: 100%;
    }

    .btn-client, .btn-cta {
        margin-left: 0 !important;
        text-align: center;
        justify-content: center;
        margin-top: 4px;
    }

    .hero-content { padding: 32px 20px 56px; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
    .hero-subtitle { font-size: 0.95rem; }

    .hero-metrics {
        flex-direction: column;
        gap: 16px;
    }
    .hero-metric-sep { width: 36px; height: 1px; }

    .services-grid,
    .why-grid,
    .sectors-grid,
    .testimonials-grid { grid-template-columns: 1fr; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-brand { max-width: 100%; }

    .cta-card { padding: 40px 20px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-lg { justify-content: center; }
    .stats-grid { grid-template-columns: 1fr; }
}

@media print {
    .header, .hero-bg, .cta, .trust { display: none !important; }
    body { background: #fff; color: #000; }
    .section { padding: 16px 0; }
}

/* ============================================
   Subpage Styles
   ============================================ */
.breadcrumb { padding-top: calc(var(--header-h) + 16px); padding-bottom: 0; }

.breadcrumb-list {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.825rem; color: var(--text-muted);
}

.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li:not(:last-child)::after { content: "/"; opacity: 0.5; }
.breadcrumb-list a { color: var(--text-secondary); }
.breadcrumb-list a:hover { color: var(--accent); }
.breadcrumb-list li[aria-current="page"] { color: var(--text); }

.hero-subpage { min-height: auto; padding-top: 32px; padding-bottom: 64px; }
.hero-subpage .hero-content { padding-top: 32px; }
.hero-subpage .hero-title { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }

.content-wrapper { max-width: 800px; margin: 0 auto; }

.content-block { margin-bottom: 48px; }
.content-block:last-child { margin-bottom: 0; }
.content-block h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.content-block h3 { font-size: 1.1rem; font-weight: 600; margin-top: 28px; margin-bottom: 10px; }
.content-block p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; font-size: 0.95rem; }
.content-block strong { color: var(--text); font-weight: 600; }
.content-block ul, .content-block ol { color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; padding-left: 20px; }
.content-block li { margin-bottom: 6px; }

.services-related { border-top: 1px solid var(--border); }
.services-grid-compact { grid-template-columns: repeat(3, 1fr); }
.services-grid-compact .service-card { text-align: center; }

@media (max-width: 768px) {
    .hero-subpage { padding-top: 16px; padding-bottom: 48px; }
    .services-grid-compact { grid-template-columns: 1fr; }
    .content-block h2 { font-size: 1.3rem; }
    .breadcrumb { padding-top: calc(var(--header-h) + 10px); }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid-compact { grid-template-columns: repeat(2, 1fr); }
}
