﻿/*
 * style.css — Samatva Solutions
 * Accessible, modern, WCAG 2.1 AA compliant
 * =============================================
 */

/* =============================================
   0. CUSTOM PROPERTIES (Design Tokens)
   ============================================= */
:root {
    /* Brand colors */
    --clr-primary: #1B4FD8;
    /* Deep blue – 4.54:1 on white ✓ */
    --clr-primary-dark: #1239a6;
    /* Darker hover state */
    --clr-primary-light: #dbe8ff;
    /* Tint for backgrounds & icons */

    --clr-accent: #0EA5E9;
    /* Sky blue accent */
    --clr-accent-mid: #38BDF8;
    /* Mid-sky */

    /* Hero gradient palette – soft, airy (matching reference) */
    --hero-g1: #e8f4fd;
    /* near-white sky */
    --hero-g2: #cce9f9;
    /* light powder blue */
    --hero-g3: #90d3f5;
    /* soft sky */
    --hero-g4: #29b6e8;
    /* accent teal-blue */
    --hero-g5: #0ea5e9;
    /* accent sky */

    /* Text */
    --clr-text: #111827;
    /* Near-black  – 16.75:1 on white ✓ */
    --clr-text-mid: #374151;
    /* Dark gray   – 10.7:1 ✓ */
    --clr-text-light: #6B7280;
    /* Gray        – 5.9:1 ✓ */
    --clr-text-inv: #ffffff;

    /* Interface */
    --clr-bg: #ffffff;
    --clr-bg-alt: #f8fafc;
    --clr-border: #e2e8f0;
    --clr-error: #b91c1c;
    /* 4.66:1 on white ✓ */
    --clr-success: #15803d;
    /* 5.1:1 on white ✓ */
    --clr-warn: #b45309;
    /* 4.58:1 on white ✓ */

    /* Focus */
    --clr-focus: #f59e0b;
    /* Amber – stands out on both dark/light */

    /* Typography */
    --ff-base: 'Inter', system-ui, -apple-system, sans-serif;
    --fs-xs: 0.75rem;
    /* 12px */
    --fs-sm: 0.875rem;
    /* 14px */
    --fs-base: 1rem;
    /* 16px */
    --fs-lg: 1.125rem;
    /* 18px */
    --fs-xl: 1.25rem;
    /* 20px */
    --fs-2xl: 1.5rem;
    /* 24px */
    --fs-3xl: 1.875rem;
    /* 30px */
    --fs-4xl: 2.25rem;
    /* 36px */
    --fs-5xl: 3rem;
    /* 48px */
    --fs-6xl: 3.75rem;
    /* 60px */

    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semi: 600;
    --fw-bold: 700;
    --fw-extra: 800;

    --lh-tight: 1.15;
    --lh-snug: 1.35;
    --lh-base: 1.6;

    /* Spacing */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --sp-32: 8rem;

    /* Radii */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 20px;
    --r-2xl: 28px;
    --r-full: 9999px;

    /* Shadows */
    --sh-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
    --sh-md: 0 4px 12px rgba(0, 0, 0, .10), 0 2px 4px rgba(0, 0, 0, .06);
    --sh-lg: 0 10px 30px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
    --sh-xl: 0 20px 60px rgba(0, 0, 0, .15), 0 8px 16px rgba(0, 0, 0, .08);

    /* Transitions */
    --t-fast: 150ms ease;
    --t-base: 250ms ease;
    --t-slow: 400ms ease;
    --t-slower: 600ms ease;

    /* Layout */
    --header-h: 72px;
    --content-w: 1200px;
}


/* =============================================
   1. RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--ff-base);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    color: var(--clr-text);
    background: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--t-base);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    font-size: inherit;
    line-height: inherit;
}


/* =============================================
   2. ACCESSIBILITY UTILITIES
   ============================================= */

/* Skip-to-content (WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--sp-4);
    padding: var(--sp-3) var(--sp-6);
    background: var(--clr-primary);
    color: #fff;
    font-weight: var(--fw-semi);
    border-radius: 0 0 var(--r-md) var(--r-md);
    z-index: 9999;
    text-decoration: none;
    transition: top var(--t-fast);
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--clr-focus);
    outline-offset: 2px;
}

/* Global visible focus indicator (WCAG 2.4.7) */
:focus-visible {
    outline: 3px solid var(--clr-focus);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =============================================
   3. LAYOUT UTILITIES
   ============================================= */
.container {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--sp-4);
    }
}


/* =============================================
   4. BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--r-full);
    font-weight: var(--fw-semi);
    font-size: var(--fs-base);
    text-decoration: none;
    transition:
        background var(--t-base),
        color var(--t-base),
        box-shadow var(--t-base),
        transform var(--t-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-text-inv);
    border-color: var(--clr-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    color: var(--clr-text-inv);
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

/* Hero-specific buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-8);
    background: var(--clr-primary);
    color: #fff;
    font-size: var(--fs-lg);
    font-weight: var(--fw-semi);
    border-radius: var(--r-full);
    border: 2px solid var(--clr-primary);
    text-decoration: none;
    transition: all var(--t-base);
    box-shadow: 0 4px 20px rgba(27, 79, 216, 0.3);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus-visible {
    background: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(27, 79, 216, 0.4);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-8);
    background: transparent;
    color: var(--clr-primary);
    font-size: var(--fs-lg);
    font-weight: var(--fw-semi);
    border-radius: var(--r-full);
    border: 2px solid var(--clr-primary);
    text-decoration: none;
    transition: all var(--t-base);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus-visible {
    background: var(--clr-primary-light);
    transform: translateY(-2px);
}


/* =============================================
   5. HEADER & NAVIGATION
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
    transition: box-shadow var(--t-base);
}

.site-header.scrolled {
    box-shadow: var(--sh-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--sp-8);
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Main nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-2) var(--sp-3);
    color: var(--clr-text-mid);
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    border-radius: var(--r-md);
    white-space: nowrap;
    transition: color var(--t-fast), background var(--t-fast);
    text-decoration: none;
    background: none;
    border: none;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--clr-primary);
    background: var(--clr-primary-light);
}

.nav-link[aria-current="page"] {
    color: var(--clr-primary);
    font-weight: var(--fw-semi);
}

/* CTA in nav */
.nav-cta {
    padding: var(--sp-2) var(--sp-5);
    background: var(--clr-primary);
    color: #fff !important;
    border-radius: var(--r-full);
    font-weight: var(--fw-semi);
    font-size: var(--fs-sm);
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: all var(--t-base);
    box-shadow: 0 2px 8px rgba(27, 79, 216, 0.25);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
}

.nav-cta:hover {
    background: var(--clr-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(27, 79, 216, 0.35);
}

/* ── Dropdown ── */
.dropdown {
    position: relative;
}

.dropdown-toggle svg {
    transition: transform var(--t-base);
    flex-shrink: 0;
}

.dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    min-width: 200px;
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    padding: var(--sp-2) 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--t-base),
        transform var(--t-base),
        visibility var(--t-base);
    z-index: 300;
}

.dropdown-toggle[aria-expanded="true"]+.dropdown-menu,
.dropdown--open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-5);
    color: var(--clr-text-mid);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    transition: background var(--t-fast), color var(--t-fast);
    white-space: nowrap;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
    background: var(--clr-primary-light);
    color: var(--clr-primary);
}

.dropdown-icon {
    font-size: 1rem;
    line-height: 1;
}

/* Mobile hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: transparent;
    border: 2px solid var(--clr-border);
    cursor: pointer;
    transition: border-color var(--t-base), background var(--t-base);
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    border-color: var(--clr-primary);
    background: var(--clr-primary-light);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--clr-text-mid);
    border-radius: 2px;
    transition: all var(--t-base);
    transform-origin: center;
}

/* Animate hamburger → X */
.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* =============================================
   6. HERO SECTION — Moving gradient (matches reference exactly)
   ============================================= */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    /* White base — gradient layers on top */
    background: #ffffff;
}

/* ── Background: the exact reference gradient effect ── */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/*
 * PRIMARY GRADIENT LAYER
 * Matches reference: white/transparent upper-left → vivid cyan/teal lower-right.
 * Uses a fast 4-stop animated linear gradient with background-size trick
 * for visible, fluid movement.
 */
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    /* 4 colours that cycle — white at top-left, cyan at bottom-right */
    background:
        linear-gradient(125deg,
            #ffffff 0%,
            #e0f4fc 25%,
            #7dd3f5 55%,
            #0bbcd6 75%,
            #0590be 100%);
    background-size: 400% 400%;
    /* Fast, clearly visible sweep — 4 seconds */
    animation: heroGradientFlow 4s ease-in-out infinite alternate;
}

@keyframes heroGradientFlow {

    /* Start: gradient pushed to upper-left → mostly white visible */
    0% {
        background-position: 0% 0%;
    }

    /* Mid: gradient centre moves right/down → blue starts flooding in */
    50% {
        background-position: 100% 50%;
    }

    /* End: fully shifted — full teal/cyan visible bottom-right */
    100% {
        background-position: 100% 100%;
    }
}

/*
 * SECONDARY MASK LAYER
 * Keeps the LEFT side clean white so text remains perfectly readable.
 * This is the key detail of the reference screenshot.
 */
.hero-bg-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            #ffffff 0%,
            #ffffffd0 30%,
            #ffffff88 52%,
            transparent 70%);
}

/*
 * FLOATING ORB LAYERS — add depth & warmth to the gradient
 */
.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Large teal orb — lower right, pulses gently */
.orb-1 {
    width: 680px;
    height: 680px;
    background: radial-gradient(circle at center, #17c3e2cc 0%, #0ea5e955 50%, transparent 72%);
    bottom: -200px;
    right: -160px;
    filter: blur(40px);
    animation: orbPulse 3.5s ease-in-out infinite alternate;
}

/* Mid accent orb — upper right */
.orb-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, #a5e3f7bb 0%, #29b6e855 55%, transparent 75%);
    top: -100px;
    right: 80px;
    filter: blur(50px);
    animation: orbPulse 5s ease-in-out infinite alternate-reverse;
}

/* Small highlight orb — bottom centre-right edge */
.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, #06b6d499 0%, transparent 70%);
    bottom: 20px;
    right: 380px;
    filter: blur(35px);
    animation: orbDrift 4.5s ease-in-out infinite alternate;
}

@keyframes orbPulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.18) translate(-20px, 30px);
        opacity: 1;
    }
}

@keyframes orbDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -30px) scale(1.12);
    }
}

/* ── Respect prefers-reduced-motion (WCAG 2.3.3) ── */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-gradient {
        animation: none;
        /* Static snapshot: teal visible bottom-right, white top-left */
        background-position: 80% 100%;
    }

    .orb-1,
    .orb-2,
    .orb-3 {
        animation: none;
    }
}

/* ── Hero layout ── */
.hero-section .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/*
 * LAYOUT: matches reference exactly.
 * Single left-aligned column, text on left, gradient visible on right.
 * Max-width constrained so gradient is visible to the right of the text.
 */
.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--sp-20) 0 var(--sp-20);
    max-width: 700px;
    /* keeps text left; right side shows full gradient */
    min-height: calc(100vh - var(--header-h));
}

/* ── Hero content ── */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-4) var(--sp-1) var(--sp-3);
    background: rgba(27, 79, 216, 0.07);
    border: 1.5px solid rgba(27, 79, 216, 0.18);
    border-radius: var(--r-full);
    color: var(--clr-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    width: fit-content;
    letter-spacing: 0.01em;
}

.hero-title {
    /* Matches reference: large, heavy, dark, left-aligned */
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: var(--fw-extra);
    /* 800 */
    line-height: 1.12;
    color: #0d1117;
    /* near black — 19:1 on white ✓ */
    letter-spacing: -0.035em;
}

.hero-title-accent {
    color: var(--clr-primary);
    /* #1B4FD8 — 4.54:1 ✓ */
}

.hero-description {
    font-size: var(--fs-xl);
    /* 20px */
    color: #374151;
    /* WCAG AA ✓ */
    line-height: 1.65;
    max-width: 590px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    align-items: center;
    margin-top: var(--sp-2);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-6);
    padding-top: var(--sp-4);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: var(--sp-2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
    color: #374151;
    font-weight: var(--fw-medium);
}

.trust-icon {
    color: var(--clr-success);
    font-size: 1rem;
    font-weight: var(--fw-bold);
}

/* ── Hero visual (right) ── */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-card-stack {
    position: relative;
    width: 360px;
    height: 380px;
}

.hero-card {
    position: absolute;
    border-radius: var(--r-2xl);
    background: #fff;
}

.card-back {
    width: 310px;
    height: 340px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-6deg);
    background: rgba(27, 79, 216, 0.12);
    border: 1px solid rgba(27, 79, 216, 0.15);
}

.card-mid {
    width: 330px;
    height: 350px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(27, 79, 216, 0.1);
    backdrop-filter: blur(8px);
}

.card-front {
    width: 340px;
    height: 360px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-52%);
    background: #fff;
    border: 1px solid var(--clr-border);
    box-shadow: var(--sh-xl);
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateX(-52%) translateY(0);
    }

    50% {
        transform: translateX(-52%) translateY(-12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .card-front {
        animation: none;
    }
}

.card-inner {
    padding: var(--sp-5) var(--sp-5) var(--sp-4);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

/* Traffic-light dots */
.card-header {
    display: flex;
    gap: var(--sp-2);
}

.card-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #22c55e;
}

/* Score ring */
.card-score {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.score-ring {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.score-svg {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.ring-track {
    fill: none;
    stroke: var(--clr-primary-light);
    stroke-width: 3;
}

.ring-fill {
    fill: none;
    stroke: var(--clr-primary);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.score-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
    font-weight: var(--fw-extra);
    color: var(--clr-primary);
}

.score-text {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    color: var(--clr-text-mid);
    line-height: 1.4;
}

/* Check list items */
.card-checks {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    margin-top: auto;
}

.card-checks li {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-sm);
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-md);
    font-weight: var(--fw-medium);
}

.check-pass {
    background: #f0fdf4;
    color: #166534;
}

.check-pass::before {
    content: '✓';
    color: #22c55e;
    font-weight: var(--fw-bold);
    flex-shrink: 0;
}

.check-warn {
    background: #fffbeb;
    color: #92400e;
}

.check-warn::before {
    content: '!';
    color: #f59e0b;
    font-weight: var(--fw-bold);
    flex-shrink: 0;
}



/* =============================================
   6b. NEW HERO SECTION — Split layout (reference build)
   =============================================
   DESIGN: Two-column grid, exactly like the reference image.
     • Left  : light blue/periwinkle background, text content
     • Right : full-bleed photo, no padding, covers 100% height

   HOW TO CHANGE THINGS:
     • Panel split ratio  → grid-template-columns in .hero-new
     • Left BG colour     → background in .hero-new-left
     • Heading size       → font-size in .hero-new-title (uses clamp)
     • Description size   → font-size in .hero-new-desc
     • Button colour      → background in .hero-new-cta
     • Button hover colour→ background in .hero-new-cta:hover
     • Photo position     → object-position in .hero-new-img
                            e.g. "top center" = show top of photo
                                 "center"      = show middle of photo
   ============================================= */

/* ── Outer wrapper ──
   display:grid creates the two-panel layout.
   grid-template-columns: 45fr 55fr → left gets 45%, right gets 55%.
   To change the split: e.g. "40fr 60fr" makes photo bigger.
   height: 100vh fills the full viewport. Sticky header overlaps via z-index.
*/
.hero-new {
    display: grid;
    grid-template-columns: 45fr 55fr;
    /* ← change split ratio here */
    height: calc(100vh - var(--header-h));
    /* exact viewport minus nav height */
    gap: 0;
    /* no gap — panels touch each other */
    overflow: hidden;
    /* clips photo corners */
}

/* ── LEFT PANEL ──
   background: #e8f0fc = the soft periwinkle-blue from the reference.
   To change colour:  background: #hex  ← just swap the hex value.
   padding order: top | right | bottom | left
     - left padding is large (6rem) to give text breathing room from edge
     - right padding smaller because the text naturally stops at max-width
*/
.hero-new-left {
    background: #e8f0fc;
    /* ← LEFT PANEL COLOUR — change hex here */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* vertically centres content */
    align-items: flex-start;
    /* text left-aligned */
    padding: 0 4rem 0 6rem;
    /* top | right | bottom | left */
    /* ^^ To push text further right: increase left value (e.g. 8rem)       */
    /* ^^ To add top space on short screens: increase first value (e.g. 2rem)*/
}

/* ── HEADING ──
   Large black display text, matching reference exactly.
   clamp(minimum, fluid, maximum):
     2.8rem = 44.8px minimum (won't shrink smaller than this)
     5vw    = scales proportionally with window width
     3.8rem = 60.8px maximum (won't grow larger than this)
   To make it bigger: increase the third value → clamp(2.8rem, 5vw, 4.5rem)
   To make it smaller: decrease the third value → clamp(2.2rem, 4vw, 3rem)
*/
.hero-new-title {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    /* ← HEADING SIZE */
    font-weight: 800;
    /* heaviest Inter weight — matches reference bold */
    line-height: 1.08;
    /* tighter line-height for display text */
    letter-spacing: -0.03em;
    /* negative tracking = tighter, modern look */
    color: #0d1117;
    /* near-black — 19:1 contrast on light blue ✓ */
    margin: 0 0 1.5rem 0;
    /* space below heading before description */
    max-width: 380px;
    /* ← controls line wrap. Increase for longer lines */
}

/* ── DESCRIPTION ──
   Smaller body text below the heading.
   font-size: 0.9375rem = 15px (matches reference closely)
   max-width: controls column width (characters per line)
   To change: font-size / color / line-height / max-width
*/
.hero-new-desc {
    font-size: 0.9375rem;
    /* 15px ← change to 1rem (16px) or 1.125rem (18px) */
    color: #374151;
    /* dark gray — readable on light blue ✓ */
    line-height: 1.65;
    /* comfortable reading rhythm */
    max-width: 360px;
    /* ← increase to widen text block */
    margin: 0 0 2.5rem 0;
    /* space below before CTA button */
}

/* ── CTA BUTTON ──
   Pill-shaped solid blue button, exactly as in reference.
   HOW TO CHANGE:
     Colour      → background: #hex  and  :hover { background: #hex }
     Size        → padding values and font-size
     Shape       → border-radius (9999px = full pill, 8px = rounded square)
     Label text  → change in HTML: <a class="hero-new-cta">Your text</a>
*/
.hero-new-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.4rem;
    /* top-bottom | left-right ← adjust size here */
    background: #1B4FD8;
    /* ← BUTTON COLOUR (Samatva brand blue) */
    color: #ffffff;
    font-size: 0.875rem;
    /* 14px ← change to 1rem for larger button */
    font-weight: 600;
    border-radius: 9999px;
    /* full pill ← change to 6px for squared corners */
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

/* Hover state — darkens the button */
.hero-new-cta:hover {
    background: #1239a6;
    /* ← HOVER COLOUR — darker shade of brand blue */
    transform: translateY(-1px);
    /* subtle 1px lift */
    box-shadow: 0 6px 20px rgba(27, 79, 216, 0.35);
}

/* Keyboard focus ring — amber outline (WCAG 2.4.7 Focus Visible) */
.hero-new-cta:focus-visible {
    outline: 3px solid var(--clr-focus);
    outline-offset: 3px;
}

/* ── RIGHT PANEL (photo) ──
   No background colour — the photo covers it entirely.
   position: relative is required so the child <img> can use position:absolute.
   overflow: hidden clips the photo within the panel boundary.
*/
.hero-new-right {
    position: relative;
    /* anchor for absolute-positioned child img */
    overflow: hidden;
    /* clips photo to panel edges */
    /* No min-height needed at desktop — parent grid controls height */
}

/* ── HERO PHOTO IMAGE ──
   position: absolute + inset: 0
     → stretches image to fill ALL four edges of the panel (top, right, bottom, left)
   object-fit: cover
     → scales the image so it ALWAYS covers the panel, cropping excess
   object-position: center
     → which part of the image stays centred when cropping
     → "center top" shows the top (good for portraits - keeps faces visible)
     → "center"     shows the middle of the image
     → "50% 20%"   shows 20% from the top (fine-tune this for your photo)
   HOW TO REPLACE PHOTO:
     Change src in HTML to your new image path. The CSS handles sizing automatically.
     Then adjust object-position here if the crop isn't right.
*/
.hero-new-img {
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* ← CROP POSITION — try "center top" for portraits */
    display: block;
}

/* ── Responsive: Tablet (≤ 900px) ──
   Stack the two panels vertically instead of side-by-side.
   Photo moves to the top, text below.
*/
@media (max-width: 900px) {
    .hero-new {
        grid-template-columns: 1fr;
        /* single column */
        height: auto;
        /* no fixed viewport height on tablet/mobile */
        min-height: 0;
    }

    /* Photo comes first visually (order: -1 = before text) */
    .hero-new-right {
        order: -1;
        min-height: 45vw;
        max-height: 320px;
        height: 260px;
    }

    .hero-new-left {
        padding: var(--sp-10) var(--sp-8);
        justify-content: flex-start;
        /* align to top on small screens */
    }

    .hero-new-title {
        font-size: clamp(2rem, 6vw, 3rem);
        /* ← smaller heading on tablet */
    }
}

/* ── Responsive: Mobile (≤ 480px) ── */
@media (max-width: 480px) {
    .hero-new {
        height: auto;
        min-height: 0;
    }

    .hero-new-right {
        height: 220px;
        max-height: 220px;
        min-height: 0;
    }

    .hero-new-left {
        padding: var(--sp-8) var(--sp-5);
    }

    .hero-new-title {
        font-size: 1.85rem;
        max-width: 100%;
    }

    .hero-new-desc {
        font-size: var(--fs-sm);
        max-width: 100%;
    }
}

/* ── Reduced motion ──
   Disable any animations for users who prefer no motion (WCAG 2.3.3)
*/
@media (prefers-reduced-motion: reduce) {
    .hero-new-cta {
        transition: none;
    }
}


/* =============================================
   7. SECTION SHARED STYLES
   ============================================= */
.section-title {
    font-size: clamp(1.75rem, 3vw, var(--fs-4xl));
    font-weight: var(--fw-bold);
    color: var(--clr-text);
    text-align: center;
    line-height: var(--lh-snug);
    margin-bottom: var(--sp-4);
}

.section-title.left-align {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--clr-text-light);
    font-size: var(--fs-lg);
    max-width: 600px;
    margin: 0 auto var(--sp-12);
    line-height: var(--lh-base);
}


/* =============================================
   8. SERVICES SECTION
   ============================================= */
.services-section {
    padding: var(--sp-24) 0;
    background: var(--clr-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-6);
}

.service-card {
    background: #fff;
    padding: var(--sp-8);
    border-radius: var(--r-xl);
    border: 1px solid var(--clr-border);
    box-shadow: var(--sh-sm);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: rgba(27, 79, 216, 0.25);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--r-lg);
    background: var(--clr-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    flex-shrink: 0;
}

.service-card h3 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semi);
    color: var(--clr-text);
}

.service-card p {
    font-size: var(--fs-base);
    color: var(--clr-text-light);
    line-height: var(--lh-base);
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--clr-primary);
    font-weight: var(--fw-semi);
    font-size: var(--fs-sm);
    padding: var(--sp-2) 0;
    transition: gap var(--t-base), color var(--t-fast);
}

.card-link:hover {
    gap: var(--sp-3);
    color: var(--clr-primary-dark);
}


/* =============================================
   9. ACCORDION / WHY SECTION
   ============================================= */
.why-section {
    padding: var(--sp-24) 0;
    background: #fff;
}

.accordion-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--clr-border);
}

.accordion-heading {
    margin: 0;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-6) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--clr-text);
    font-size: var(--fs-lg);
    font-weight: var(--fw-semi);
    border-radius: 0;
    transition: color var(--t-fast);
}

.accordion-trigger:hover {
    color: var(--clr-primary);
}

.accordion-trigger:focus-visible {
    outline: 3px solid var(--clr-focus);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

.accordion-title {
    flex: 1;
}

.accordion-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--r-full);
    background: var(--clr-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    transition: transform var(--t-base), background var(--t-base);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
    background: var(--clr-primary);
    color: #fff;
}

.accordion-content {
    padding-bottom: var(--sp-6);
    color: var(--clr-text-light);
    line-height: var(--lh-base);
    font-size: var(--fs-base);
}

/* Smooth accordion open/close via max-height hack */
.accordion-content:not([hidden]) {
    display: block;
}


/* =============================================
   10. CONTACT SECTION
   ============================================= */
.contact-section {
    padding: var(--sp-24) 0;
    background: linear-gradient(135deg, var(--clr-primary-dark) 0%, #1B4FD8 100%);
    color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: start;
}

.contact-info .section-title {
    color: #fff;
    font-size: clamp(1.75rem, 3vw, var(--fs-3xl));
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-lg);
    line-height: var(--lh-base);
    margin-top: var(--sp-4);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: rgba(255, 255, 255, 0.9);
}

.contact-details a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--t-fast);
}

.contact-details a:hover {
    color: #fff;
}

/* Contact form */
.contact-form {
    background: #fff;
    padding: var(--sp-8);
    border-radius: var(--r-2xl);
    box-shadow: var(--sh-xl);
    color: var(--clr-text);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.form-instructions {
    font-size: var(--fs-sm);
    color: var(--clr-text-light);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--clr-border);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.form-group label {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    color: var(--clr-text);
}

.form-group abbr {
    text-decoration: none;
    color: var(--clr-error);
    cursor: default;
}

.form-group input,
.form-group textarea {
    padding: var(--sp-3) var(--sp-4);
    border: 2px solid var(--clr-border);
    border-radius: var(--r-md);
    font-family: var(--ff-base);
    font-size: var(--fs-base);
    color: var(--clr-text);
    background: #fff;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(27, 79, 216, 0.15);
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: var(--clr-error);
}

.form-hint {
    font-size: var(--fs-xs);
    color: var(--clr-text-light);
}

.error-message {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semi);
    color: var(--clr-error);
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.error-message::before {
    content: '⚠ ';
}

.btn-submit {
    margin-top: var(--sp-2);
    padding: var(--sp-4) var(--sp-6);
    font-size: var(--fs-base);
    font-weight: var(--fw-semi);
    border-radius: var(--r-full);
    background: var(--clr-primary);
    color: #fff;
    border: 2px solid var(--clr-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    transition: all var(--t-base);
    width: 100%;
    box-shadow: 0 4px 16px rgba(27, 79, 216, 0.25);
}

.btn-submit:hover,
.btn-submit:focus-visible {
    background: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 79, 216, 0.35);
}

.form-success {
    padding: var(--sp-4);
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--r-md);
    color: #166534;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}


/* =============================================
   11. FOOTER
   ============================================= */
.site-footer {
    background: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-border);
    padding: var(--sp-10) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--sp-8);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.footer-logo-img {
    height: 36px;
    width: auto;
}

.footer-tagline {
    font-size: var(--fs-sm);
    color: var(--clr-text-light);
}

.footer-copy {
    font-size: var(--fs-xs);
    color: var(--clr-text-light);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2) var(--sp-6);
}

.footer-nav a {
    font-size: var(--fs-sm);
    color: var(--clr-text-light);
    transition: color var(--t-fast);
    padding: var(--sp-1) 0;
}

.footer-nav a:hover {
    color: var(--clr-primary);
    text-decoration: underline;
}


/* =============================================
   12. SCROLL ANIMATIONS
   ============================================= */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.75s ease-out, transform 0.75s ease-out;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    .stagger-load>* {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.55s ease-out, transform 0.55s ease-out;
    }

    .stagger-load.active>* {
        opacity: 1;
        transform: translateY(0);
    }

    .stagger-load.active>*:nth-child(1) {
        transition-delay: 0.05s;
    }

    .stagger-load.active>*:nth-child(2) {
        transition-delay: 0.15s;
    }

    .stagger-load.active>*:nth-child(3) {
        transition-delay: 0.25s;
    }
}

/* If user prefers reduced motion – ensure content is always visible */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .stagger-load>* {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}


/* =============================================
   13. RESPONSIVE BREAKPOINTS
   ============================================= */
/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        padding: var(--sp-16) 0 var(--sp-12);
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        text-align: center;
        max-width: 640px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
    }

    .hero-card-stack {
        width: 320px;
        height: 340px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    /* Hero — on tablet the gradient is still visible on the right,
       the white mask naturally leaves space. Text stays left. */
    .hero-layout {
        padding: var(--sp-16) 0 var(--sp-14);
        max-width: 580px;
    }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    /* Mobile nav */
    .mobile-menu-toggle {
        display: flex;
        order: 2;
        /* ensure hamburger stays on right inside flex header */
    }

    /* Push main content below sticky header so hero never hides behind it */
    body>main,
    body>section:first-of-type {
        margin-top: 0;
    }

    .main-nav {
        /* Take nav out of header flow and show as a full-screen panel */
        position: fixed !important;
        top: var(--header-h) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: calc(100vh - var(--header-h)) !important;
        /* Reset ALL base-rule overrides */
        margin: 0 !important;
        gap: 0 !important;
        /* Panel styling */
        background: #ffffff;
        border-top: 1px solid var(--clr-border);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        z-index: 199;
        /* Layout */
        display: none;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 1rem 1rem 1.5rem;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-list>li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        /* compact: tighter padding + smaller font so all items fit */
        padding: 0.55rem var(--sp-3);
        font-size: var(--fs-base);
        justify-content: space-between;
        border-radius: var(--r-md);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: var(--clr-bg-alt);
        border-radius: var(--r-md);
        margin: 0.25rem 0 0.25rem var(--sp-3);
        padding: 0.25rem 0;
        display: none;
        width: 100%;
    }

    .dropdown-toggle[aria-expanded="true"]+.dropdown-menu,
    .dropdown--open .dropdown-menu {
        display: block;
        transform: none;
    }

    /* Dropdown li on mobile: show link + chevron side by side */
    .dropdown {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
    }

    .nav-split-link {
        flex: 1;
        white-space: normal;
    }

    .nav-split-chevron {
        flex-shrink: 0;
        padding: 0.4rem 0.5rem;
        color: var(--clr-text-mid);
        border-radius: var(--r-md);
        min-width: 36px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Full-width dropdown menu panel below the dropdown row */
    .dropdown .dropdown-menu {
        flex-basis: 100%;
        margin-left: 0;
    }

    /* Compact dropdown links on mobile */
    .dropdown-link {
        padding: 0.45rem var(--sp-4);
        font-size: var(--fs-sm);
        white-space: normal;
    }

    .nav-cta {
        margin-top: var(--sp-3);
        width: 100%;
        justify-content: center;
        padding: 0.65rem var(--sp-4);
        font-size: var(--fs-sm);
        border-radius: var(--r-lg);
    }

    /* Hero — single column already, just adjust padding & font */
    .hero-layout {
        padding: var(--sp-12) 0 var(--sp-10);
        max-width: 100%;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: var(--fs-base);
    }

    .btn-hero-primary {
        width: 100%;
        justify-content: center;
    }

    /* On mobile the gradient orbs may overflow: clip cleanly */
    .hero-bg-mask {
        background: linear-gradient(to right,
                #ffffff 0%,
                #ffffffcc 50%,
                transparent 100%);
    }

    /* Sections */
    .services-section,
    .why-section,
    .contact-section {
        padding: var(--sp-16) 0;
    }

    .contact-form {
        padding: var(--sp-6);
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        flex-direction: column;
        gap: var(--sp-2);
    }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
    :root {
        --header-h: 60px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}


/* =============================================
   SBS — "Services built for scale" Section
   Matches reference screenshot exactly
   ============================================= */

.sbs-section {
    background: #ffffff;
    padding: var(--sp-20) 0 var(--sp-16);
}

/* ── Section Header ── */
.sbs-header {
    text-align: center;
    margin-bottom: var(--sp-12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
}

/* "Core" eyebrow label — small, bold, black */
.sbs-eyebrow {
    font-size: var(--fs-sm);
    /* 14px */
    font-weight: var(--fw-bold);
    color: #111827;
    letter-spacing: 0.04em;
    text-transform: none;
}

/* "Services built for scale" — very large, serif-weight, matches reference */
.sbs-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    /* 800 */
    color: #000000;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 0;
}

/* Subtitle paragraph */
.sbs-subtitle {
    font-size: var(--fs-base);
    color: #222222;
    text-align: center;
    line-height: 1.6;
    max-width: 480px;
    margin: 0;
}

/* ── Cards Grid ── */
/*
 * 3 columns:
 * [text card] [text card] [combined: photo-left + strategy-right]
 * Combined card spans the width of 2 text cards (roughly).
 */
.sbs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
    align-items: stretch;
}

/* ── Base Card ── */
.sbs-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-slow);
    position: relative;
    overflow: hidden;
}

.sbs-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    border-color: #d1d5db;
    transform: translateY(-3px);
}

/* ── Icon ── exactly as in reference: dark silhouette of two people */
.sbs-card-icon {
    color: #111827;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

/* ── Card Title ── large bold heading like reference */
.sbs-card-title {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: var(--fw-bold);
    color: #003366;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

/* ── Card Description ── small gray body copy */
.sbs-card-desc {
    font-size: var(--fs-sm);
    color: #333333;
    line-height: 1.55;
    flex: 1;
    margin: 0;
}

/* ── "Learn >" link ── matches reference: "Learn >" in black, no underline */
.sbs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi);
    color: #111827;
    text-decoration: none;
    margin-top: auto;
    transition: gap var(--t-base), color var(--t-fast);
}

.sbs-card-link:hover {
    color: var(--clr-primary);
    gap: var(--sp-2);
}

.sbs-card-link:focus-visible {
    outline: 3px solid var(--clr-focus);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

/* ── Combined Card (photo left + strategy text right) ── */
.sbs-card--combined {
    padding: 0;
    overflow: hidden;
    display: grid;
    /* USE GRID instead of flex — grid properly distributes height */
    /* Left photo col (48%) | Right text col (rest) */
    grid-template-columns: 48% 1fr;
    /* Fixed height so both cells always have a defined height to fill */
    min-height: 340px;
    /* Ensure both columns stretch to the same height */
    align-items: stretch;
    gap: 0;
}

.sbs-card--combined:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
    transform: translateY(-3px);
}

/* Left photo half — must have a defined height for the img to fill */
.sbs-combined-photo {
    /* overflow hidden clips the image to the rounded left corners */
    overflow: hidden;
    position: relative;
    border-radius: 11px 0 0 11px;
    /* min-height gives a floor so image always shows on short content */
    min-height: 320px;
}

/* The image — absolute fill within the relative parent */
.sbs-combined-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}


.sbs-card--combined:hover .sbs-combined-img {
    transform: scale(1.04);
}

/* Right strategy text half */
.sbs-combined-content {
    flex: 1;
    padding: var(--sp-6) var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    justify-content: flex-start;
}

/* "Strategy" tag above title */
.sbs-strategy-tag {
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: #111827;
    letter-spacing: 0.04em;
    display: block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sbs-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Combined card full-width on tablet */
    .sbs-card--combined {
        grid-column: 1 / -1;
        min-height: 280px;
    }

    .sbs-combined-photo {
        flex: 0 0 50%;
    }

    .sbs-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }
}

@media (max-width: 640px) {
    .sbs-section {
        padding: var(--sp-16) 0 var(--sp-12);
    }

    .sbs-grid {
        grid-template-columns: 1fr;
    }

    /* Stack photo on top, text below on mobile */
    .sbs-card--combined {
        grid-column: 1;
        grid-template-columns: 1fr;
        /* single column — photo above, text below */
        min-height: auto;
    }

    .sbs-combined-photo {
        min-height: 220px;
        /* give photo a fixed height when stacked */
        border-radius: 11px 11px 0 0;
    }

    .sbs-combined-content {
        border-radius: 0 0 11px 11px;
    }

    .sbs-title {
        font-size: 2.2rem;
    }
}


/* =============================================
   FAQ SECTION
   Two-column split: intro left | accordion right
   Matches the reference: soft lavender/grey bg,
   white accordion cards, filled circle chevrons.
   ============================================= */

/* Outer section — matches site's soft blue palette */
.faq-section {
    background: #f4f7ff;
    padding: 6rem 0;
}

/* Two-column grid: 45% intro | 55% accordion */
.faq-grid {
    display: grid;
    grid-template-columns: 42fr 58fr;
    gap: 5rem;
    align-items: flex-start;
}

/* ── LEFT: intro panel ── */
.faq-intro {
    position: sticky;
    top: calc(72px + 2rem);
    /* stick below header as user scrolls */
}

/* Eyebrow pill badge */
.faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.9rem 0.3rem 0.65rem;
    background: #e8f0fc;
    /* light blue tint */
    border: 1.5px solid #c7d9f8;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1B4FD8;
    /* brand blue */
    margin-bottom: 1.5rem;
}

.faq-eyebrow svg {
    color: #1B4FD8;
    flex-shrink: 0;
}

/* Large heading — two lines, second line in accent */
.faq-title {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0d1117;
    margin-bottom: 1.25rem;
}

.faq-title-accent {
    color: #1B4FD8;
    /* brand blue accent */
}

/* Intro paragraph + link */
.faq-intro-text {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.7;
    max-width: 340px;
}

.faq-intro-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #1B4FD8;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-intro-link:hover {
    color: #1239a6;
    text-decoration: underline;
}

.faq-intro-link:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
    border-radius: 3px;
}

/* ── RIGHT: accordion list ── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Individual card */
.faq-item {
    background: #ffffff;
    border: 1.5px solid #dce9f8;
    /* soft blue border */
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(27, 79, 216, 0.08);
    border-color: #a5c0f0;
}

/* h3 wrapper — removes default heading margin */
.faq-item-heading {
    margin: 0;
}

/* The clickable trigger row */
.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    font-family: var(--ff-base, 'Inter', sans-serif);
}

.faq-q-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0d1117;
    line-height: 1.4;
    flex: 1;
}

/* Circular filled chevron — brand blue */
.faq-chevron {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1B4FD8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.2s ease, transform 0.3s ease;
}

.faq-trigger:hover .faq-chevron,
.faq-trigger:focus-visible .faq-chevron {
    background: #1239a6;
}

.faq-item--open .faq-chevron {
    transform: rotate(0deg);
    background: #1B4FD8;
}

/* Focus ring on trigger */
.faq-trigger:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: -3px;
    border-radius: 14px;
}

/* Answer panel — uses max-height animation for smooth expand/collapse */
.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

/* Open state — set via .faq-item--open class (toggled by JS) */
.faq-item--open .faq-answer {
    max-height: 300px;
    /* large enough for any answer */
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.75;
    border-top: 1px solid #e8f0fc;
    padding-top: 1rem;
}

.faq-answer strong {
    color: #0d1117;
    font-weight: 600;
}

.faq-inline-link {
    color: #1B4FD8;
    font-weight: 600;
    text-decoration: none;
}

.faq-inline-link:hover {
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .faq-intro {
        position: static;
        /* un-stick on tablet */
    }

    .faq-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 600px) {
    .faq-section {
        padding: 4rem 0;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-trigger {
        padding: 0.9rem 1rem;
    }

    .faq-item--open .faq-answer {
        padding: 0 1rem 1rem;
    }
}


/* ═══════════════════════════════════════════════════════
   WHO WE WORK WITH — matches original screenshot design
   ═══════════════════════════════════════════════════════ */

/* Section */
.wwww-section {
    background: #eef1ff;
    padding: 6rem 0 7rem;
}

/* Centred header */
.wwww-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}

.wwww-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #1B4FD8;
    margin-bottom: 0.75rem;
}

.wwww-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.9rem;
}

.wwww-subtitle {
    font-size: 1.0625rem;
    color: #222222;
    line-height: 1.7;
    margin: 0;
}

/* 3-column grid: card | or-pill | card */
.wwww-grid {
    display: grid;
    grid-template-columns: 1fr 44px 1fr;
    gap: 0;
    align-items: stretch;
}

/* White rounded card */
.wwww-card {
    background: #ffffff;
    border: 1.5px solid #dde4f5;
    border-radius: 20px;
    padding: 2rem 1.875rem;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    box-shadow: 0 2px 16px rgba(27, 79, 216, 0.06);
}

.wwww-card--owners:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(27, 79, 216, 0.13);
    border-color: #b3c9f5;
}

.wwww-card--partners {
    background: #f6fef9;
    border-color: #b7e8ce;
}

.wwww-card--partners:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(5, 150, 105, 0.11);
    border-color: #6dd9a8;
}

/* Decorative radial blob (subtle) */
.wwww-blob {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(27, 79, 216, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.wwww-blob--green {
    background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, transparent 65%);
}

/* Card header: avatar icon + YOU ARE A + title */
.wwww-card-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.wwww-avatar {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wwww-avatar--blue {
    background: #e8f0fd;
    color: #1B4FD8;
}

.wwww-avatar--green {
    background: #d1fae5;
    color: #059669;
}

.wwww-audience-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.2rem;
}

.wwww-card-title {
    font-size: 1.3125rem;
    font-weight: 800;
    color: #0d1117;
    letter-spacing: -0.025em;
    margin: 0;
    line-height: 1.2;
}

/* Description */
.wwww-card-desc {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.75;
    margin: 0;
}

.wwww-card-desc strong {
    color: #1B4FD8;
    font-weight: 700;
}

.wwww-card--partners .wwww-card-desc strong {
    color: #007a33;
}

/* Feature list */
.wwww-features {
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid #eef0f8;
    border-bottom: 1px solid #eef0f8;
}

.wwww-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

.wwww-feature-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1B4FD8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wwww-feature-icon--green {
    background: #d1fae5;
    color: #059669;
}

/* Metric strip */
.wwww-metric-row {
    display: flex;
    align-items: center;
    background: #f4f7ff;
    border: 1.5px solid #dde4f5;
    border-radius: 13px;
    padding: 0.8rem 1.125rem;
    margin-top: auto;
}

.wwww-metric-row--green {
    background: #f0fdf4;
    border-color: #a7f3d0;
}

.wwww-metric {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.wwww-metric-num {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #1B4FD8;
    letter-spacing: -0.01em;
}

.wwww-metric-num--green {
    color: #007a33;
}

.wwww-metric-lbl {
    font-size: 0.7rem;
    color: #222222;
    text-align: center;
    line-height: 1.35;
}

.wwww-metric-div {
    width: 1px;
    height: 30px;
    background: #dde4f5;
    flex-shrink: 0;
}

.wwww-metric-div--green {
    background: #a7f3d0;
}

/* CTA buttons */
.wwww-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    width: 100%;
    letter-spacing: -0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.18s ease;
}

.wwww-cta--primary {
    background: #1B4FD8;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(27, 79, 216, 0.3);
}

.wwww-cta--primary:hover {
    background: #1440c4;
    box-shadow: 0 8px 28px rgba(27, 79, 216, 0.42);
    transform: translateY(-2px);
}

.wwww-cta--green {
    background: #007a33;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.3);
}

.wwww-cta--green:hover {
    background: #047857;
    box-shadow: 0 8px 28px rgba(5, 150, 105, 0.42);
    transform: translateY(-2px);
}

/* "OR" centred pill */
.wwww-or {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.wwww-or span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #dde4f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 1px 6px rgba(27, 79, 216, 0.08);
}

/* Responsive */
@media (max-width: 860px) {
    .wwww-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .wwww-or {
        flex-direction: row;
        padding: 0.25rem 0;
    }

    .wwww-or::before,
    .wwww-or::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #dde4f5;
    }

    .wwww-or span {
        margin: 0 0.75rem;
    }
}

@media (max-width: 520px) {
    .wwww-section {
        padding: 4rem 0 5rem;
    }

    .wwww-card {
        padding: 1.625rem 1.375rem;
    }
}