/* TrueMark France — Main Stylesheet */

:root {
    /* Background */
    --bg: #0a0a0a;
    --bg-white: #0d0d0d;
    --bg-section: #111111;

    /* Text */
    --text: #f0f0f0;
    --text-soft: rgba(255,255,255,0.55);
    --text-muted: rgba(255,255,255,0.35);

    /* Brand */
    --red: #B72C27;
    --red-light: #D94040;
    --red-bg: rgba(255, 51, 102, 0.07);
    --gradient-red: linear-gradient(135deg, #B72C27 0%, #D94040 100%);

    /* UI */
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.16);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 4rem);
    max-width: 1160px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0;
    box-shadow: none;
}

.header-inner {
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.header.scrolled .logo img {
    filter: none;
}

.header-nav-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.header-nav li {
    display: flex;
    align-items: center;
}

/* Vertical separator between items */
.header-nav li + li::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.header-nav a {
    color: rgba(161,161,170,0.75);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.45em;
    padding: 0 1.25rem;
}

.header-nav a:hover {
    color: #fff;
}

/* Active dot */
.header-nav a.nav-active {
    color: #fff;
}

.header-nav a.nav-active::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.aws-badge {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.btn-ghost {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.btn-ghost:hover {
    color: #fff;
}

.header.scrolled .btn-ghost {
    color: var(--text-soft);
}

.header.scrolled .btn-ghost:hover {
    color: var(--text);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.4rem;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.35);
}

.header.scrolled .btn-primary {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.header.scrolled .btn-primary:hover {
    background: rgba(255,255,255,0.06);
}

/* ==================== CASE STUDIES ==================== */

.case-studies {
    padding: 4rem 2rem;
    background: #0a0a0a;
    scroll-margin-top: 4rem;
}

.cs-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cs-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.cs-mark {
    background: none;
    color: var(--red);
    border-radius: 8px;
    padding: 0.05em 0.3em 0.05em 0;
    font-style: normal;
}

.cs-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.cs-carousel {
    overflow: hidden;
    width: 100%;
}

.cs-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card — Technical Console */
.cs-card {
    flex: 0 0 100%;
    background: #000;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

/* Body: 65/35 intentional imbalance */
.cs-card-body {
    display: grid;
    grid-template-columns: 65% 35%;
    align-items: stretch;
    flex: 1;
}

.cs-card-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 3rem 1.75rem;
}

/* Meta row */
.cs-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cs-client-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.cs-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    opacity: 0.8;
}

/* Headline */
.cs-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    line-height: 1.35;
    margin: 0;
}

.cs-card-title strong {
    font-weight: 800;
    color: #fff;
}

/* Quote — heart of the card */
.cs-quote {
    margin: 0;
    padding: 0.25rem 0 0.25rem 1.5rem;
    border-left: 2px solid #FF3131;
    background: none;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    align-self: flex-start;
}

.cs-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.3);
    margin-top: 0.75rem;
}

/* Ghost CTA */
.cs-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 100px;
    width: fit-content;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    margin-top: auto;
}

.cs-cta:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* Right — metrics pinned to right edge */
.cs-card-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 3.5rem 1.75rem 1rem;
}

.cs-impact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-end;
}

.cs-impact-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-end;
    text-align: right;
}

.cs-impact-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    letter-spacing: -0.04em;
    position: relative;
}

/* Verified dot */
.cs-impact-num::after {
    content: '';
    position: absolute;
    top: 0.15em;
    right: -0.65em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.2;
}

.cs-impact-num--secondary {
    font-size: 1.5rem;
    opacity: 0.7;
}

.cs-impact-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(113,113,122,0.7);
    line-height: 1.3;
}

/* Footer: pipeline row */
.cs-card-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cs-service-icons {
    display: flex;
    gap: 0;
    align-items: center;
}

.cs-svc-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    cursor: default;
    padding: 0 2rem;
}

.cs-svc-icon:first-child {
    padding-left: 0;
}

.cs-svc-icon + .cs-svc-icon {
    border-left: 1px solid rgba(255,255,255,0.05);
}

.cs-svc-icon svg {
    width: 24px;
    height: 24px;
}

.cs-svc-icon span {
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: rgba(255,255,255,0.22);
    transition: color 0.3s ease;
}

.cs-card:hover .cs-svc-icon { color: rgba(255,255,255,0.65); }
.cs-card:hover .cs-svc-icon span { color: rgba(255,255,255,0.5); }
.cs-svc-icon:hover { color: #fff !important; filter: drop-shadow(0 0 6px rgba(255,255,255,0.35)); }
.cs-svc-icon:hover span { color: rgba(255,255,255,0.7) !important; }

/* Nav controls */
.cs-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.cs-prev, .cs-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cs-prev:hover, .cs-next:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

.cs-dots {
    display: flex;
    gap: 8px;
}

.cs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: background 0.2s ease, width 0.2s ease;
    cursor: pointer;
}

.cs-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
    box-shadow: none;
}

/* ==================== ANIMATIONS ==================== */

/* Fade-up base — applied via JS to any .reveal element */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero stagger — each child gets a delay via inline style set in JS */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}


/* Perspective grid */
.hero-grid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    pointer-events: none;
    z-index: 0;
    perspective: 300px;
    perspective-origin: 50% 0%;
    overflow: hidden;
}

.hero-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    transform-origin: 50% 0%;
    transform: rotateX(72deg) translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 85%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 85%);
}


/* Ghost background text */
.hero-bg-text {
    position: absolute;
    bottom: -8%;
    right: -2%;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(180px, 22vw, 320px);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.04);
    pointer-events: none;
    z-index: 0;
    user-select: none;
    line-height: 1;
}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-bottom: 0.5rem;
}

/* Entrance animations */
.hero-eyebrow,
.hero-title,
.hero-subtitle,
.hero-actions,
.hero-tagline {
    opacity: 0;
    animation: fadeUp 0.7s ease forwards;
}
.hero-eyebrow  { animation-delay: 0.05s; }
.hero-title    { animation-delay: 0.18s; }
.hero-subtitle { animation-delay: 0.30s; }
.hero-actions  { animation-delay: 0.42s; }
.hero-tagline  { animation-delay: 0.54s; }

.hero-visual {
    animation: fadeUp 0.7s ease 0.28s forwards;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Left content */
.hero-content {
    max-width: 600px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red-light);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.75rem;
}

.hero-title em {
    font-style: normal;
}

.hero-title .accent {
    color: #991b1b;
}

.hero-title .accent-aws {
    font-weight: 900;
    color: #fff;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-weight: 400;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-cta-primary {
    position: relative;
    display: inline-flex;
    padding: 2px;
    border-radius: 100px;
    background: #1c1c1c;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: linear-gradient(135deg, #B72C27 0%, #e8554e 50%, #B72C27 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-cta-primary:hover::before {
    opacity: 1;
}

.hero-cta-primary:hover {
    transform: scale(1.05);
}

.hero-cta-primary:active {
    transform: scale(0.95);
}

.hero-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.75rem;
    background: #0d0d0d;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.hero-cta-text,
.hero-cta-primary svg {
    transition: transform 0.5s ease;
}

.hero-cta-primary:hover .hero-cta-text,
.hero-cta-primary:hover svg {
    transform: translateX(3px);
}

.hero-cta-ghost {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}

.hero-cta-ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

.hero-tagline {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    border-left: 2px solid rgba(183,44,39,0.6);
    padding-left: 0.85rem;
    margin-bottom: 1.75rem;
}



.card-tilt-wrap {
    position: relative;
    perspective: 900px;
}


.card-glare {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 300ms ease;
}

.card-tilt-wrap:hover .card-glare {
    opacity: 1;
}

.assessment-card {
    background: #0d0d0f;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 4px;
    padding: 2rem 2rem 2.25rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.18);
    position: relative;
    will-change: transform;
    transition: transform 400ms ease, box-shadow 400ms ease;
    width: 100%;
    max-width: 400px;
}

.card-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red-light);
    margin-bottom: 1rem;
}

.assessment-card h3 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.assessment-card > p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
}

.card-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 0.9rem;
}

.card-step:last-child {
    padding-bottom: 0;
}

.step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 400;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
    flex-shrink: 0;
    line-height: 1.9;
    min-width: 28px;
}

.step-info strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.1rem;
}

.step-info span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.85rem;
    background: #B72C27;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 2px;
    border: 1px solid #8B1F1B;
    box-shadow: none;
    transition: background 0.2s ease;
}

.card-cta:hover {
    background: #9e2420;
}

.card-note {
    text-align: center;
    margin-top: 1.1rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
}

/* ==================== CLIENT MARQUEE ==================== */
.clients {
    padding: 2rem 0;
    position: relative;
    z-index: 2;
    margin-left: -2rem;
    margin-right: -2rem;
    border-top: 1px dashed rgba(255,255,255,0.05);
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    background: rgba(5,5,5,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.clients-label {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #52525b;
    margin-bottom: 1rem;
}

.marquee-track {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 18%,
        black 82%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 18%,
        black 82%,
        transparent 100%
    );
}

.marquee-fade-left,
.marquee-fade-right { display: none; }

.marquee-inner {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.marquee-track:hover .marquee-client {
    color: #fff;
}

.marquee-client {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    cursor: default;
    transition: color 0.25s ease;
}

.marquee-sep {
    font-size: 11px;
    color: rgba(255,255,255,0.1);
    margin: 0 2rem;
    user-select: none;
    line-height: 1;
}

/* marqueeScroll removed — driven by JS in main.js */

/* ==================== SHARED LAYOUT ==================== */
.section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header { margin-bottom: 3.5rem; }
.section-header h2 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
    margin: 0.5rem 0 0.75rem;
}
.section-header p { font-size: 1rem; color: var(--text-soft); max-width: 520px; }

.eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
}

/* ==================== SERVICES ==================== */
.services {
    padding: 7rem 2rem;
    background: var(--bg-white);
    position: relative;
}


.svc-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #ffffff;
    margin: 0.5rem 0 0.75rem;
}

.svc-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 3rem;
}

/* Tabs */
.svc-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}

.svc-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-soft);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -1px;
    white-space: nowrap;
}

.svc-tab:hover { color: var(--text); }

.svc-tab.active {
    color: var(--text);
    font-weight: 600;
    border-bottom-color: var(--red);
}

/* Panels */
.svc-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.svc-panel.active { display: grid; }

.svc-panel-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.svc-panel-text p {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.svc-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.svc-panel-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-soft);
    background: rgba(255,255,255,0.05);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.svc-panel-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.svc-panel-cta:hover {
    color: var(--red);
    border-color: var(--red);
}

.svc-accordion {
    display: flex;
    gap: 8px;
    padding: 0;
    background: transparent;
    /* dark mode: slices provide their own bg */
    height: 320px;
    overflow: hidden;
    min-width: 0;
    width: 100%;
    flex-shrink: 0;
}

.svc-accordion-slice {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%), #0a0a0a;
    border: 1px solid rgba(255,255,255,0.06);
    border-bottom: 3px solid rgba(183,44,39,0.4);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: flex 0.5s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 0.75rem;
    gap: 0.75rem;
}

.svc-accordion-slice:hover {
    flex: 4;
    background: #111111;
    border-color: rgba(183,44,39,0.3);
    border-bottom-color: var(--red);
    box-shadow: 0 4px 16px rgba(183,44,39,0.12);
}

.svc-accordion-icon {
    width: 38px;
    height: 38px;
    background: rgba(183,44,39,0.08);
    border: 1px solid rgba(183,44,39,0.2);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    flex-shrink: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.15s, max-height 0.3s ease 0.1s, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease 0.15s;
}

.svc-accordion-slice:hover .svc-accordion-icon {
    opacity: 1;
    max-height: 60px;
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: scale(1.1);
}

.svc-accordion-label {
    text-transform: uppercase;
    color: var(--red);
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    transform: rotate(-90deg);
    transition: transform 0.5s ease;
    min-width: 8em;
    text-align: center;
}

.svc-accordion-slice:hover .svc-accordion-label {
    transform: rotate(0);
}

.svc-accordion-desc {
    font-size: 0.78rem;
    color: var(--text-soft);
    line-height: 1.55;
    text-align: left;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    max-width: 200px;
    transition: opacity 0.3s ease 0.2s, max-height 0.3s ease 0.1s;
    margin: 0;
}

.svc-accordion-slice:hover .svc-accordion-desc {
    opacity: 1;
    max-height: 200px;
}

.svc-panel-img {
    background: transparent;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(0,0,0,0.2);
    font-style: italic;
    border: 1px solid var(--border);
}

.svc-panel-img::after {
    content: attr(data-placeholder);
}

/* ==================== WHY AWS – BENTO ==================== */
.why-aws {
    padding: 3.5rem 2rem;
    background: #111111;
}

.why-aws-header {
    max-width: 560px;
    margin-bottom: 2rem;
}

.why-aws-header h2 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
    margin: 0.5rem 0 0.75rem;
}

.why-aws-intro {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.75;
    margin: 0;
}

/* ---- Compact Console Grid ---- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.bento-card {
    position: relative;
    background: rgba(10,10,10,0.95);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.9rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}

/* Corner marker in top-right */
.bento-card::before {
    content: '+';
    position: absolute;
    top: 0.55rem;
    right: 0.9rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.1);
    font-weight: 300;
    line-height: 1;
    pointer-events: none;
    font-family: monospace;
}

.bento-card:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(15,15,15,0.98);
}

.bento-card:hover .bento-readout-dot {
    background: #fff;
    box-shadow: 0 0 8px #fff;
}

.bento-card:hover .bento-readout-val {
    filter: drop-shadow(0 0 6px rgba(183,44,39,0.5));
    color: #d63c37;
}

.bento-card--wide {
    grid-column: span 2;
}

/* Card content */
.bento-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.bento-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: -0.01em;
    margin: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bento-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.65;
    margin: 0;
}

/* EU-WEST-3 region accent */
.bento-region-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--red);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Footer: readout + tag perfectly baseline-aligned */
.bento-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
}

/* Metric readout */
.bento-readout {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'JetBrains Mono', monospace;
}

.bento-readout-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #52525b;
    flex-shrink: 0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.bento-readout-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 5px rgba(183,44,39,0.3));
}

.bento-readout-key {
    font-size: 0.58rem;
    color: rgba(255,255,255,0.18);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Tech tag */
.bento-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.56rem;
    font-weight: 500;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 0.2em 0.55em;
    border-radius: 3px;
    white-space: nowrap;
}

/* ==================== ABOUT ==================== */

.about {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

.about .section-inner {
    max-width: 1320px;
}


.about-top {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.about-left h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.about-intro {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Horizontal 3-column credential strip */
.about-creds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.about-cred {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1rem 1rem 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.about-cred strong::before {
    content: '|';
    color: var(--red);
    font-weight: 300;
    margin-right: 0.5em;
    opacity: 0.8;
}


.about-cred strong {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    line-height: 1.3;
}

.about-cred span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
    line-height: 1.45;
}

/* ── Terminal Metrics Window ── */
.terminal-window {
    background: #080808;
    border: 1px solid rgba(255,255,255,0.15);
    border-top: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-titlebar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
}

.terminal-label {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.12em;
    margin-left: 0.5rem;
}

.terminal-body {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.terminal-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
}

.terminal-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}

.terminal-prompt {
    font-size: 0.75rem;
    color: rgba(183,44,39,0.8);
    flex-shrink: 0;
}

.terminal-key {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.terminal-key em {
    font-style: normal;
    font-size: 0.62rem;
    font-weight: 400;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes terminal-boot {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    10%  { opacity: 0; }
    12%  { opacity: 1; }
    55%  { opacity: 1; }
    57%  { opacity: 0.6; }
    59%  { opacity: 1; }
    100% { opacity: 1; }
}

.terminal-val {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--red);
    letter-spacing: -0.04em;
    line-height: 1;
    filter: drop-shadow(0 0 12px rgba(183,44,39,0.6));
    animation: terminal-boot 1.2s ease-out both;
    flex-shrink: 0;
}

.terminal-stat:nth-child(2) .terminal-val { animation-delay: 0.15s; }
.terminal-stat:nth-child(3) .terminal-val { animation-delay: 0.3s; }
.terminal-stat:nth-child(4) .terminal-val { animation-delay: 0.45s; }

.terminal-active-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 6px rgba(183,44,39,0.9);
    flex-shrink: 0;
    margin-bottom: 2px;
}

/* ── IAM Console Personnel Directory ── */
.about-team {
    margin-top: 0;
}

.iam-console {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
}

.iam-header {
    display: grid;
    grid-template-columns: 110px 170px 260px 1fr;
    gap: 1.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255,255,255,0.025);
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(63,63,70,0.9);
    text-transform: uppercase;
}

.iam-row {
    display: grid;
    grid-template-columns: 110px 170px 260px 1fr;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease;
    cursor: default;
}

.iam-row:last-child {
    border-bottom: none;
}

/* Line-scan on hover */
.iam-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(183,44,39,0.05) 50%, transparent);
    transition: left 0.55s ease;
    pointer-events: none;
}

.iam-row:hover::before {
    left: 160%;
}

.iam-row:hover {
    background: rgba(24,24,27,0.5);
}

/* Selection cursor: red left rail on hover */
.iam-row::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--red);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.iam-row:hover::after {
    opacity: 1;
}

/* ID glitch on hover */
@keyframes id-glitch {
    0%   { color: rgba(255,255,255,0.25); }
    20%  { color: #FF3131; transform: translateX(2px); }
    40%  { color: rgba(255,255,255,0.5);  transform: translateX(-1px); }
    65%  { color: #FF9900; transform: translateX(1px); }
    100% { color: var(--red); transform: translateX(0); }
}

.iam-id {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.18);
    letter-spacing: 0.06em;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Green 'active' status dot with pulse */
@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 4px #10b981; opacity: 1; filter: blur(0); }
    40%       { box-shadow: 0 0 10px #10b981, 0 0 3px #10b981; opacity: 0.65; filter: blur(0.4px); }
}

.iam-id::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    flex-shrink: 0;
    animation: dot-pulse 2.5s ease-in-out infinite;
}

.iam-row:hover .iam-id {
    animation: id-glitch 0.45s steps(3, end) forwards;
}

.iam-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
}

.iam-role {
    font-size: 0.72rem;
    color: var(--red);
    font-weight: 500;
}

.iam-bio {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.28);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 360px;
}

/* ==================== ASSESSMENT ==================== */

.assessment {
    padding: 3.5rem 2rem;
    background: var(--bg);
}

/* Tool wrapper */
.assessment-tool {
    max-width: 760px;
    margin: 0 auto;
}

.assessment-tool-inner {
    background: #050505;
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

/* Progress bar */
.quiz-progress {
    display: none;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: #050505;
}

.quiz-progress.active { display: flex; align-items: center; gap: 1rem; }

.quiz-step-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.quiz-segs {
    display: flex;
    gap: 3px;
    flex: 1;
}

.quiz-seg {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 1px;
    transition: background 0.2s ease;
}

.quiz-seg.active {
    background: #B72C27;
}

/* Welcome screen */
.quiz-welcome {
    padding: 2.5rem 2.5rem 2rem;
}

.quiz-welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1.5rem;
}

.quiz-badge-bracket {
    color: rgba(255,255,255,0.15);
}

.quiz-welcome-header {
    margin-bottom: 2rem;
}

.quiz-ref {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.quiz-welcome h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.quiz-welcome h2 span { color: var(--red); font-weight: 800; }

.quiz-welcome-header > p {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin: 0;
    max-width: 520px;
}

/* Benefit row */
.quiz-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.quiz-feature {
    padding: 1.25rem 1.25rem 1.1rem;
    border-right: 1px dashed rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quiz-feature:last-child { border-right: none; }

.quiz-feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.4rem;
    flex-shrink: 0;
    background: rgba(255,255,255,0.03);
}

.quiz-feature-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text);
    text-transform: none;
}

.quiz-feature-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.04em;
}

.quiz-what-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-left: 2px solid rgba(183,44,39,0.6);
    border-radius: 2px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.quiz-what-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.quiz-what-box p {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin: 0;
}

.quiz-start-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.05rem 1.5rem;
    background: #B72C27;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease;
    margin-bottom: 0.85rem;
}

.quiz-start-btn:hover {
    background: #9e2420;
}

.quiz-time-estimate {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin: 0;
}

/* Question */
.quiz-question { display: none; padding: 1.5rem 1.75rem 1.25rem; }
.quiz-question.active { display: block; }

.question-header { margin-bottom: 1rem; }

.question-category {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    display: block;
    margin-bottom: 0.5rem;
}

.question-number { display: none; }

.question-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.6rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.question-hint {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: rgba(161,161,170,0.9);
    font-style: normal;
    padding: 0.45rem 0.75rem;
    border: 1px dashed rgba(255,255,255,0.07);
    border-radius: 2px;
    margin-bottom: 0;
}

.question-hint-label {
    color: rgba(113,113,122,0.5);
    text-transform: uppercase;
    margin-right: 0.5em;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    margin-top: 0.9rem;
}

.option {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.option:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.03);
}

.option:hover.selected {
    border-color: var(--red);
    background: rgba(183,44,39,0.06);
}

.option.selected {
    border-color: var(--red);
    background: rgba(183,44,39,0.06);
}

.option-indicator {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.15s ease;
    min-width: 28px;
}

.option:hover .option-indicator { color: rgba(255,255,255,0.45); }

.option.selected .option-indicator {
    color: var(--red);
}

.option-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.option-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    line-height: 1.4;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.quiz-nav-btn {
    padding: 0.55rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    box-shadow: none;
}

.quiz-nav-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.quiz-nav-btn:not(:disabled):hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }

.quiz-nav-btn.primary {
    background: #B72C27;
    border-color: #8B1F1B;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: none;
}

.quiz-nav-btn.primary:hover {
    background: #a32622;
    transform: none;
    box-shadow: none;
}

/* Results */
.quiz-results { display: none; padding: 1.75rem 2rem; }
.quiz-results.active { display: block; }

/* Score header — horizontal layout */
.results-header {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    margin-bottom: 1.75rem;
}

.results-score-circle {
    position: relative;
    width: 120px;
    flex-shrink: 0;
}

.score-bg {
    fill: none;
    stroke: rgba(255,255,255,0.07);
    stroke-width: 8;
}

.score-progress {
    fill: none;
    stroke: url(#resultGradient);
    stroke-width: 8;
    stroke-linecap: butt;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 5px rgba(183,44,39,0.5));
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.score-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
}

.results-meta { flex: 1; }

.maturity-level {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.maturity-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.maturity-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}

.results-summary {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin: 0;
}

/* Section labels */
.results-section-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

/* Category grid */
.category-breakdown, .recommendations-section {
    margin-bottom: 1.75rem;
}

.category-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.category-card {
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 0.85rem 1rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6rem;
    gap: 0.5rem;
}

.category-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}

.category-score {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    flex-shrink: 0;
}

.category-bar {
    height: 2px;
    background: #3f3f46;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.category-fill {
    height: 100%;
    background: var(--red);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.2);
}

/* Recommendation feed */
.recommendation-card {
    border-left: 2px solid rgba(255,255,255,0.15);
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.02);
    margin-bottom: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.recommendation-card.priority-high {
    border-left-color: #ef4444;
}

.rec-priority {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: block;
}

.rec-priority.high { color: #ef4444; }
.rec-priority.medium { color: #f59e0b; }

.rec-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.rec-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(212,212,216,0.9);
    line-height: 1.6;
}

/* CTA dock */
.results-cta {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    margin-top: 1.75rem;
}

.results-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.results-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.results-cta-text strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.results-cta-text span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #a1a1aa;
    line-height: 1.5;
}

.results-cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.email-form {
    display: flex;
    align-items: stretch;
}

.email-input {
    width: 18rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
    border-radius: 2px 0 0 2px;
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.email-input::placeholder { color: rgba(255,255,255,0.3); }
.email-input:focus { border-color: #dc2626; }

.submit-btn {
    padding: 0.75rem 2rem;
    background: #dc2626;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    transition: background 0.2s ease;
}

.submit-btn:hover { background: #b91c1c; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.restart-btn {
    background: transparent;
    border: none;
    color: #52525b;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.restart-btn:hover { color: #fff; }

.success-message {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem 0;
}

.success-message.show { display: flex; }

.success-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: #4ade80;
    text-transform: uppercase;
}

.success-message p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

/* ==================== CONTACT ==================== */

.contact {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 6rem 2rem;
}

.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-ref {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.contact-headline span { color: var(--red); }

.contact-body {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: flex-start;
}

/* Left registry */
.contact-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.contact-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(183,44,39,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(183,44,39,0); }
}

.contact-status code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
}

.btn-calendar {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 2rem;
    color: var(--red-light);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-bottom: 1px solid rgba(183,44,39,0.35);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-calendar:hover {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.4);
}

.contact-offices {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.contact-office-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-office p {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 0;
}

.contact-cert-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-cert p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
    margin: 0;
}

/* Right form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #71717a;
    transition: color 0.15s ease;
}

.contact-field:focus-within .contact-label { color: #ef4444; }
.contact-field:focus-within .contact-input { border-color: rgba(255,255,255,0.4); }

.contact-input {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
}

.contact-input::placeholder { color: rgba(255,255,255,0.2); }
.contact-input:focus { border-color: #dc2626; }

.contact-office-readout {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    line-height: 1.8;
    display: block;
}

.contact-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-color: transparent;
}

.contact-select option {
    background: #0a0a0a;
    color: #fff;
}

.contact-textarea-wrap {
    position: relative;
}

.contact-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.contact-textarea-tag {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.12);
    pointer-events: none;
    text-transform: uppercase;
}

.contact-submit {
    width: 100%;
    padding: 1rem;
    background: #B72C27;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s ease;
    box-shadow: none;
    margin-top: 0.25rem;
}

.contact-submit:hover { background: #9e2420; }

.contact-trust {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.18);
    text-transform: uppercase;
    text-align: center;
    display: block;
}

/* ==================== COOKIE BANNER ==================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.1);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-banner-text {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex: 1;
}

.cookie-banner-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--red);
    flex-shrink: 0;
}

.cookie-banner-text p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
}

.cookie-banner-text a {
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.cookie-banner-text a:hover { color: #fff; }

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cookie-btn--refuse {
    background: transparent;
    color: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.12);
}

.cookie-btn--refuse:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}

.cookie-btn--accept {
    background: var(--red);
    color: #fff;
    border: 1px solid var(--red);
}

.cookie-btn--accept:hover { background: #9e2420; border-color: #9e2420; }

@media (max-width: 640px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 1.25rem;
    }
    .cookie-banner-text { flex-direction: column; gap: 0.4rem; }
}

/* ==================== CASE STUDY MODAL ==================== */

.cs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.cs-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cs-modal {
    background: #080808;
    border: 1px solid rgba(255,255,255,0.12);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(16px);
    transition: transform 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.cs-modal-overlay.open .cs-modal {
    transform: translateY(0);
}

.cs-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    background: transparent;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, border-color 0.15s ease;
    z-index: 1;
}

.cs-modal-close:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.cs-modal-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.cs-modal-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cs-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.25rem;
    line-height: 1.3;
    padding-right: 2rem;
}

.cs-modal-metrics {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.cs-modal-metric {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cs-modal-metric-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--red);
    letter-spacing: -0.04em;
    line-height: 1;
}

.cs-modal-metric-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.cs-modal-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.cs-modal-col {
    padding: 1.5rem 1.75rem;
    border-right: 1px solid rgba(255,255,255,0.07);
}

.cs-modal-col:last-child {
    border-right: none;
}

.cs-modal-section-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1rem;
}

.cs-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cs-modal-list li {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    padding-left: 0.9rem;
    position: relative;
}

.cs-modal-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--red);
    font-size: 0.7rem;
}

.cs-modal-list li strong {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.cs-modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.cs-modal-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cs-modal-table tr:last-child {
    border-bottom: none;
}

.cs-modal-table td {
    padding: 0.45rem 0;
    vertical-align: top;
    line-height: 1.5;
}

.cs-modal-table td:first-child {
    color: rgba(255,255,255,0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-right: 0.75rem;
    padding-top: 0.55rem;
}

.cs-modal-table td:last-child {
    color: rgba(255,255,255,0.6);
}

.cs-modal-table td strong {
    color: #fff;
    font-weight: 600;
}

.cs-modal-footer {
    padding: 1.25rem 1.75rem;
}

.cs-modal-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.cs-modal-service-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    padding: 0.2rem 0.6rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .cs-modal-body {
        grid-template-columns: 1fr;
    }
    .cs-modal-col {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .cs-modal-col:last-child { border-bottom: none; }
}

/* ==================== FOOTER ==================== */

.footer {
    background: #111111;
    color: rgba(255,255,255,0.65);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-aws-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-aws-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #71717a;
}

.footer-aws-img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.25s ease, box-shadow 0.25s ease;
    display: block;
}

.footer-aws-img:hover {
    opacity: 1;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.footer-badges-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #71717a;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-linkedin:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.footer-section h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #71717a !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: #52525b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: #fff; }

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.825rem;
    line-height: 1.6;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    opacity: 0.5;
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
}

.footer-contact-text a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-text a:hover { color: #fff; }

.footer-global {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1.25rem;
}

.footer-office-id {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.footer-office p {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.3);
    margin: 0 0 0.4rem;
}

.footer-office-data {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.35);
    line-height: 1.8;
}

.footer-office-data a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-office-data a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
}

.footer-copyright {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #52525b;
    margin: 0;
    text-transform: uppercase;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal-sep {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #3f3f46;
    user-select: none;
}

.footer-legal a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: #52525b;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-legal a:hover {
    color: #fff;
    border-bottom-color: #B72C27;
}

/* ==================== RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card--wide {
        grid-column: span 2;
    }

    .cs-card {
        grid-template-columns: 1fr;
    }

    .cs-card-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 2.5rem 2rem;
    }

    .cs-card-right {
        padding: 2rem;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .cs-impact {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: flex-start;
    }

    .cs-impact-divider {
        display: none;
    }

    .about-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .iam-header,
    .iam-row {
        grid-template-columns: 80px 150px 1fr;
    }

    /* Hide bio column on tablet */
    .iam-header span:last-child,
    .iam-bio {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Mobile */
/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.header.scrolled .hamburger span {
    background: #1a1a2e;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    /* Header */
    .header {
        top: 0.75rem;
        width: calc(100% - 2rem);
        border-radius: 9999px;
    }

    .header-inner {
        padding: 0.6rem 1rem;
        flex-wrap: nowrap;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .header-nav-wrap {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        background: rgba(15,15,15,0.97);
        backdrop-filter: blur(12px);
        border-radius: 16px;
        padding: 1rem 1.5rem;
        border: 1px solid rgba(255,255,255,0.08);
        z-index: 100;
    }
    .header.scrolled .header-nav-wrap {
        background: rgba(255,255,255,0.97);
    }

    .header-nav-wrap.open {
        display: flex;
    }

    .header-nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .header-nav li {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .header.scrolled .header-nav li {
        border-color: rgba(0,0,0,0.06);
    }
    .header-nav li:last-child { border-bottom: none; }

    .header-nav a {
        display: block;
        padding: 0.85rem 0;
        font-size: 1rem;
        color: rgba(255,255,255,0.85);
    }
    .header.scrolled .header-nav a { color: #1a1a2e; }

    .header-actions {
        display: none;
    }

    .aws-badge {
        display: none;
    }

    .btn-ghost {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 4.5rem 1.25rem 1.5rem;
        min-height: auto;
    }

    .hero-inner {
        gap: 2rem;
    }

    .hero-eyebrow {
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7.5vw, 2.5rem);
        margin-bottom: 0.85rem;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 0.85rem;
    }

    .hero-tagline {
        margin-bottom: 1.1rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .hero-benefits {
        gap: 0.6rem;
    }

    .hero-benefit {
        font-size: 0.85rem;
    }

    /* Clients */
    .clients {
        padding: 1.25rem 0 1.5rem;
    }

    /* Services */
    .services {
        padding: 5rem 1.25rem;
    }

    .svc-tabs {
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .svc-tab {
        font-size: 0.8rem;
        padding: 0.45rem 0.9rem;
    }

    .svc-panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .svc-panel-img {
        height: 200px;
    }

    /* Services accordion — vertical tap-to-expand on mobile */
    .svc-accordion {
        flex-direction: column;
        height: auto;
        gap: 6px;
    }

    .svc-accordion-slice {
        flex: none;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 0.9rem 1rem;
        gap: 0.75rem;
        min-height: 52px;
    }

    /* Cancel desktop hover expansion on touch */
    .svc-accordion-slice:hover {
        flex: none;
        background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%), #0a0a0a;
        border-color: rgba(255,255,255,0.06);
        border-bottom-color: rgba(183,44,39,0.4);
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .svc-accordion-slice:hover .svc-accordion-icon {
        opacity: 0;
        max-height: 0;
        background: rgba(183,44,39,0.08);
        border-color: rgba(183,44,39,0.2);
        color: var(--red);
        transform: none;
    }
    .svc-accordion-slice:hover .svc-accordion-label { transform: rotate(0); }
    .svc-accordion-slice:hover .svc-accordion-desc { opacity: 0; max-height: 0; }

    /* Label: always horizontal on mobile */
    .svc-accordion-label {
        transform: rotate(0);
        text-align: left;
        min-width: 0;
        white-space: normal;
    }

    /* Active state (tap) — mirrors desktop hover */
    .svc-accordion-slice.active {
        flex-direction: column;
        align-items: flex-start;
        background: #111111;
        border-bottom-color: var(--red);
        box-shadow: 0 4px 16px rgba(183,44,39,0.12);
    }
    .svc-accordion-slice.active .svc-accordion-icon {
        opacity: 1;
        max-height: 60px;
        background: var(--red);
        border-color: var(--red);
        color: #fff;
        transform: none;
    }
    .svc-accordion-slice.active .svc-accordion-desc {
        opacity: 1;
        max-height: 200px;
        max-width: 100%;
    }

    /* Why AWS */
    .why-aws {
        padding: 5rem 1.25rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .bento-card--wide {
        grid-column: span 1;
    }

    /* Case Studies */
    .case-studies {
        padding: 5rem 1.25rem;
    }

    .cs-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .cs-impact-num {
        font-size: 2.6rem;
    }

    .cs-impact-num--secondary {
        font-size: 1.9rem;
    }

    .cs-quote {
        font-size: 0.92rem;
    }

    /* About */
    .about {
        padding: 5rem 1.25rem;
    }

    .about-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    /* IAM on mobile: just ID + name + role stacked */
    .iam-header,
    .iam-row {
        grid-template-columns: 70px 1fr;
    }

    .iam-header span:nth-child(3),
    .iam-header span:nth-child(4),
    .iam-role,
    .iam-bio {
        display: none;
    }

    /* Assessment */
    .assessment {
        padding: 5rem 1.25rem;
    }

    .quiz-welcome, .quiz-question, .quiz-results {
        padding: 1.75rem 1.25rem;
    }

    .quiz-features { gap: 0.75rem; }
    .quiz-feature { min-width: 90px; padding: 0.75rem; }

    .email-form { flex-direction: column; }
    .email-input, .submit-btn { width: 100%; }

    /* Footer */
    .footer {
        padding: 3rem 1.25rem 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.7rem, 7vw, 2.1rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-primary {
        justify-content: center;
    }

    .hero-cta-ghost {
        text-align: center;
    }

    .hero-tagline {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    .assessment-card {
        padding: 1.75rem;
    }

    .cs-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .header-nav {
        gap: 1.25rem;
    }
}
