/**
 * Lets Chat - Design System v2
 * Premium Teal + Purple palette — matched to brand logo
 */

/* ========================================
   CSS VARIABLES / DESIGN TOKENS
   ======================================== */
:root {
    /* Primary Colors — Deep Teal (from logo left head) */
    --color-primary: #2A7B9B;
    --color-primary-dark: #1B5E7B;
    --color-primary-light: #3A9FBF;

    /* Accent Colors — Purple/Mauve (from logo right head + lock) */
    --color-accent: #8B5FBF;
    --color-accent-light: #A87FD4;
    --color-accent-dark: #6B3FA0;

    /* Brand Gradient */
    --gradient-brand: linear-gradient(135deg, #2A7B9B 0%, #4DB6AC 35%, #8B5FBF 75%, #7B1FA2 100%);
    --gradient-brand-subtle: linear-gradient(135deg, rgba(42, 123, 155, 0.08) 0%, rgba(77, 182, 172, 0.06) 50%, rgba(139, 95, 191, 0.08) 100%);
    --gradient-hero: linear-gradient(135deg, #050B14 0%, #0B132B 50%, #1A1333 100%);

    /* Semantic Colors */
    --color-success: #10B981;
    --color-success-light: #D1FAE5;
    --color-error: #EF4444;
    --color-error-light: #FEE2E2;
    --color-warning: #F59E0B;
    --color-warning-light: #FEF3C7;
    --color-info: #3B82F6;
    --color-info-light: #DBEAFE;

    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-gray-50: #F7F8FC;
    --color-gray-100: #EFF1F7;
    --color-gray-200: #E0E4EF;
    --color-gray-300: #C7CDD9;
    --color-gray-400: #94A0B8;
    --color-gray-500: #64718B;
    --color-gray-600: #475468;
    --color-gray-700: #334055;
    --color-gray-800: #1E2A3B;
    --color-gray-900: #0C1524;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 0.875rem;
    --radius-xl: 1.125rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows — tinted with brand color */
    --shadow-sm: 0 1px 3px 0 rgba(42, 123, 155, 0.06), 0 1px 2px 0 rgba(42, 123, 155, 0.04);
    --shadow-md: 0 4px 12px -2px rgba(42, 123, 155, 0.10), 0 2px 6px -1px rgba(42, 123, 155, 0.06);
    --shadow-lg: 0 12px 24px -4px rgba(42, 123, 155, 0.12), 0 4px 8px -2px rgba(42, 123, 155, 0.06);
    --shadow-xl: 0 20px 40px -8px rgba(42, 123, 155, 0.15), 0 8px 16px -4px rgba(42, 123, 155, 0.08);
    --shadow-2xl: 0 32px 64px -12px rgba(42, 123, 155, 0.20);
    --shadow-glass: 0 8px 32px 0 rgba(42, 123, 155, 0.12);
    --shadow-glow-primary: 0 0 30px rgba(42, 123, 155, 0.25);
    --shadow-glow-accent: 0 0 30px rgba(139, 95, 191, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden; /* prevent horizontal scroll at root */
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* clip any overflowing child elements */
    max-width: 100vw;   /* hard cap — nothing wider than the viewport */
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-gray-900);
    letter-spacing: -0.01em;
}

h1 {
    font-size: var(--text-5xl);
    font-weight: 700;
}

h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-4);
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary) 0%, #4DB6AC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-20) 0;
}

.section--lg {
    padding: var(--space-24) 0;
}

/* Flexbox utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* Grid utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .md\:grid-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn--primary {
    background: var(--gradient-brand);
    background-size: 200% 200%;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover:not(:disabled) {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
}

.btn--accent {
    background: var(--gradient-brand);
    background-size: 200% 200%;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--accent:hover:not(:disabled) {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-accent);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline:hover:not(:disabled) {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--ghost {
    background: transparent;
    color: var(--color-gray-700);
}

.btn--ghost:hover:not(:disabled) {
    background: var(--color-gray-100);
}

.btn--lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    border-radius: var(--radius-xl);
}

.btn--sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn--full {
    width: 100%;
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid rgba(42, 123, 155, 0.06);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card__content {
    padding: var(--space-6);
}

.card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.card__text {
    color: var(--color-gray-600);
    font-size: var(--text-sm);
}

/* Glass Card */
.card--glass {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-glass);
}

/* Service Card */
.service-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(42, 123, 155, 0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: var(--gradient-brand-subtle);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: var(--text-3xl);
    transition: transform var(--transition-bounce);
}

.service-card:hover .service-card__icon {
    transform: scale(1.08);
}

.service-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: var(--color-gray-900);
}

.service-card__price {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.service-card__price small {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--color-gray-500);
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    color: var(--color-gray-800);
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(42, 123, 155, 0.12);
}

.form-input::placeholder {
    color: var(--color-gray-400);
}

.form-input--error {
    border-color: var(--color-error);
}

.form-error {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-error);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
}

.form-check-input {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(42, 123, 155, 0.06);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.97);
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ── Logo ── */
.navbar__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;           /* never let the logo shrink/wrap */
}

.navbar__logo img:first-child { height: 80px; }
.navbar__logo img:last-child  { height: 45px; }

/* ── Nav links ── */
.navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.navbar__list {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-600);
    transition: color var(--transition-fast);
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width var(--transition-normal);
    border-radius: 1px;
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--color-primary);
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* ── Toggle button (hidden on desktop) ── */
.navbar__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gray-700);
    margin: 6px 0;
    transition: all var(--transition-fast);
}


/* ========================================
   BREAKPOINT: Large Desktop  ≥ 1280px
   Full spacing, full logo
   ======================================== */
@media (min-width: 1280px) {
    .navbar__actions .btn--outline {
        border-color: var(--color-accent);
        color: var(--color-accent);
    }
    .navbar__actions .btn--outline:hover {
        background: var(--color-accent);
        color: var(--color-white);
    }
}


/* ========================================
   BREAKPOINT: Desktop / Small Laptop  1024px – 1279px
   Tighten gaps so everything still fits inline
   ======================================== */
@media (min-width: 1024px) and (max-width: 1279px) {
    .navbar__list      { gap: var(--space-4); }
    .navbar__menu      { gap: var(--space-5); }
    .navbar__actions   { gap: var(--space-3); }
    .navbar__link      { font-size: 0.8rem; }

    .navbar__logo img:first-child { height: 60px; }
    .navbar__logo img:last-child  { height: 36px; }

    .navbar__actions .btn--outline {
        border-color: var(--color-accent);
        color: var(--color-accent);
    }
    .navbar__actions .btn--outline:hover {
        background: var(--color-accent);
        color: var(--color-white);
    }
}


/* ========================================
   BREAKPOINT: Tablet Landscape  768px – 1023px
   Compact horizontal nav — NO hamburger
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .navbar__container { height: 68px; }

    .navbar__logo img:first-child { height: 52px; }
    .navbar__logo img:last-child  { height: 25px; }

    .navbar__list    { gap: var(--space-3); }
    .navbar__menu    { gap: var(--space-4); }
    .navbar__actions { gap: var(--space-2); }

    /* Slightly smaller text so links don't crowd */
    .navbar__link { font-size: 0.78rem; }

    /* Hide the less-important secondary action button if space is tight */
    .navbar__actions .btn--ghost { display: none; }

    /* Keep outline button legible */
    .navbar__actions .btn--outline {
        padding: var(--space-2) var(--space-4);
        font-size: 0.78rem;
        border-color: var(--color-accent);
        color: var(--color-accent);
    }
    .navbar__actions .btn--outline:hover {
        background: var(--color-accent);
        color: var(--color-white);
    }

    /* Primary CTA */
    .navbar__actions .btn--primary {
        padding: var(--space-2) var(--space-4);
        font-size: 0.78rem;
    }
}


/* ========================================
   BREAKPOINT: Tablet Portrait  600px – 767px
   Show hamburger, but a SIDE DRAWER (not full-screen)
   ======================================== */
@media (min-width: 600px) and (max-width: 767px) {
    .navbar__container { height: 64px; }

    .navbar__logo img:first-child { height: 48px; }
    .navbar__logo img:last-child  { height: 24px; }

    .navbar__toggle { display: block; z-index: calc(var(--z-fixed) + 10); position: relative; }

    /* Hamburger → X */
    .navbar__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .navbar__toggle.active span:nth-child(2) { opacity: 0; }
    .navbar__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    /* Side drawer — narrower than full-screen */
    .navbar__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;           /* drawer, not full viewport */
        height: 100dvh;
        padding-top: 90px;      /* clear the navbar bar */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        z-index: calc(var(--z-fixed) + 5);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -6px 0 32px rgba(0, 0, 0, 0.1);
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }

    .navbar__menu.active { transform: translateX(0); }

    .navbar__list {
        flex-direction: column;
        width: 100%;
        gap: var(--space-1);
    }

    .navbar__list li { width: 100%; text-align: left; }

    .navbar__menu .navbar__link {
        display: block;
        color: var(--color-gray-800);
        font-size: var(--text-base);
        font-weight: 600;
        padding: var(--space-3) var(--space-2);
        border-radius: var(--radius-md);
        transition: all 0.2s ease;
    }
    .navbar__menu .navbar__link::after { display: none; }
    .navbar__menu .navbar__link:hover  { color: var(--color-primary); background: rgba(42, 123, 155, 0.06); }
    .navbar__menu .navbar__link.active { color: var(--color-primary); background: rgba(42, 123, 155, 0.08); }

    .navbar__menu .navbar__actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: var(--space-4);
        padding-top: var(--space-4);
        border-top: 1px solid var(--color-gray-200);
        gap: var(--space-3);
    }

    .navbar__menu .navbar__actions .btn--ghost,
    .navbar__menu .navbar__actions .btn--outline {
        width: 100%; justify-content: center;
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm); font-weight: 600;
        border-radius: var(--radius-lg);
        border: 2px solid var(--color-primary);
        color: var(--color-primary); background: transparent;
    }
    .navbar__menu .navbar__actions .btn--ghost:hover,
    .navbar__menu .navbar__actions .btn--outline:hover {
        background: var(--color-primary); color: var(--color-white);
    }
    .navbar__menu .navbar__actions .btn--primary {
        width: 100%; justify-content: center;
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm); font-weight: 600;
        border-radius: var(--radius-lg);
        background: var(--gradient-brand); color: var(--color-white);
        border: none; box-shadow: var(--shadow-md);
    }
    .navbar__menu .navbar__actions .btn--primary:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
    }

    body.menu-open { overflow: hidden; }
}


/* ========================================
   BREAKPOINT: Mobile  < 600px
   Full-screen overlay, same as your original
   ======================================== */
@media (max-width: 599px) {
    .navbar__container { height: 64px; }

    .navbar__logo img:first-child { height: 44px; }
    .navbar__logo img:last-child  { height: 20px; }

    .navbar__toggle { display: block; z-index: calc(var(--z-fixed) + 10); position: relative; }

    .navbar__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .navbar__toggle.active span:nth-child(2) { opacity: 0; }
    .navbar__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .navbar__menu {
        position: fixed;
        top: 64px;
        right: 0;
        width: 100vw;
        height: calc(100dvh - 64px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: var(--space-10) var(--space-8);
        gap: var(--space-6);
        z-index: calc(var(--z-fixed) + 5);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    }

    .navbar__menu.active { transform: translateX(0); }

    .navbar__list {
        flex-direction: column;
        width: 100%;
        gap: var(--space-2);
    }

    .navbar__list li { width: 100%; text-align: center; }

    .navbar__menu .navbar__link {
        display: block;
        color: var(--color-gray-800);
        font-size: var(--text-lg);
        font-weight: 600;
        padding: var(--space-4);
        border-radius: var(--radius-lg);
        transition: all 0.2s ease;
    }
    .navbar__menu .navbar__link::after { display: none; }
    .navbar__menu .navbar__link:hover  { color: var(--color-primary); background: rgba(42, 123, 155, 0.06); }
    .navbar__menu .navbar__link.active { color: var(--color-primary); background: rgba(42, 123, 155, 0.08); }

    .navbar__menu .navbar__actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-top: var(--space-6);
        padding-top: var(--space-6);
        border-top: 1px solid var(--color-gray-200);
        gap: var(--space-3);
    }

    .navbar__menu .navbar__actions .btn--ghost,
    .navbar__menu .navbar__actions .btn--outline {
        width: 100%; justify-content: center;
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base); font-weight: 600;
        border-radius: var(--radius-lg);
        border: 2px solid var(--color-primary);
        color: var(--color-primary); background: transparent;
    }
    .navbar__menu .navbar__actions .btn--ghost:hover,
    .navbar__menu .navbar__actions .btn--outline:hover {
        background: var(--color-primary); color: var(--color-white);
    }
    .navbar__menu .navbar__actions .btn--primary {
        width: 100%; justify-content: center;
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base); font-weight: 600;
        border-radius: var(--radius-lg);
        background: var(--gradient-brand); color: var(--color-white);
        border: none; box-shadow: var(--shadow-md);
    }
    .navbar__menu .navbar__actions .btn--primary:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
    }

    body.menu-open { overflow: hidden; }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    background-size: 300% 300%;
    animation: heroGradient 15s ease infinite;
    overflow: hidden;
    width: 100%;       /* never wider than its parent */
    max-width: 100vw;  /* hard cap against viewport bleed */
}

@keyframes heroGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    33% {
        background-position: 50% 100%;
    }

    66% {
        background-position: 100% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(77, 182, 172, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 95, 191, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(42, 123, 155, 0.08) 0%, transparent 70%);
}

.hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-12);
    position: relative;
    z-index: 1;
}

.hero__content {
    flex: 1 1 50%;
    max-width: 600px;
}

.hero__visual {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__logo-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(139, 95, 191, 0.4));
    animation: float 10s ease-in-out infinite;
}

/* Tablet landscape: compact hero, keep logo visible but smaller */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        min-height: auto;
        padding: calc(68px + var(--space-10)) 0 var(--space-10);
    }

    .hero__inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }

    .hero__content {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
    }

    .hero__badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }

    .hero__text {
        font-size: var(--text-base);
        margin-bottom: var(--space-6);
    }

    .hero__visual {
        width: 100%;
    }

    .hero__logo-img {
        max-width: 140px;
    }
}

/* Tablet portrait: similar but narrower */
@media (min-width: 600px) and (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: calc(64px + var(--space-8)) 0 var(--space-8);
    }

    .hero__inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-5);
    }

    .hero__content {
        max-width: 100%;
        margin-bottom: 0;
    }

    .hero__badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__title {
        font-size: clamp(1.9rem, 5vw, 2.4rem);
    }

    .hero__text {
        font-size: var(--text-base);
        margin-bottom: var(--space-5);
    }

    .hero__logo-img {
        max-width: 120px;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: #4DB6AC;
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, var(--text-6xl));
    color: var(--color-white);
    margin-bottom: var(--space-6);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero__title span {
    background: linear-gradient(135deg, #4DB6AC, #A87FD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.hero__decorative {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    opacity: 0.1;
}

/* Floating shapes */
.hero__shape {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero__shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
    background: radial-gradient(circle, rgba(77, 182, 172, 0.08) 0%, transparent 70%);
    animation-delay: 0s;
}

.hero__shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 25%;
    background: radial-gradient(circle, rgba(139, 95, 191, 0.08) 0%, transparent 70%);
    animation-delay: 2s;
}

.hero__shape:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 35%;
    background: radial-gradient(circle, rgba(42, 123, 155, 0.10) 0%, transparent 70%);
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(180deg, var(--color-gray-900) 0%, #060C16 100%);
    color: var(--color-gray-300);
    padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.footer__description {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    color: var(--color-gray-400);
}

.footer__social {
    display: flex;
    gap: var(--space-3);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    color: var(--color-gray-400);
    transition: all var(--transition-normal);
}

.footer__social a:hover {
    background: var(--gradient-brand);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer__title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__links a {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
}

.footer__links a:hover {
    color: #4DB6AC;
    padding-left: 4px;
}

.footer__bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer__copyright {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.footer__legal {
    display: flex;
    gap: var(--space-6);
}

.footer__legal a {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.footer__legal a:hover {
    color: #4DB6AC;
}

@media (max-width: 1023px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   ALERTS & MESSAGES
   ======================================== */
.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.alert--success {
    background: var(--color-success-light);
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert--error {
    background: var(--color-error-light);
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert--warning {
    background: var(--color-warning-light);
    color: #92400E;
    border: 1px solid #FDE68A;
}

.alert--info {
    background: var(--color-info-light);
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

/* ========================================
   MODAL
   ======================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 21, 36, 0.6);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    z-index: var(--z-modal);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal__header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal__title {
    font-size: var(--text-xl);
}

.modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}

.modal__close:hover {
    color: var(--color-gray-800);
}

.modal__body {
    padding: var(--space-6);
}

.modal__footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
}

/* ========================================
   BADGES & TAGS
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.badge--primary {
    background: rgba(42, 123, 155, 0.1);
    color: var(--color-primary);
}

.badge--info {
    background: rgba(77, 182, 172, 0.12);
    color: #0D9488;
}

.badge--success {
    background: var(--color-success-light);
    color: #065F46;
}

.badge--warning {
    background: var(--color-warning-light);
    color: #92400E;
}

.badge--error {
    background: var(--color-error-light);
    color: #991B1B;
}

/* ========================================
   LOADING SPINNER
   ======================================== */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-gray-200);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner--sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   LAYOUT UTILITIES (extended)
   ======================================== */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

.gap-12 {
    gap: var(--space-12);
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   TEXT UTILITIES
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-gray-500);
}

.text-white {
    color: var(--color-white);
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-gray-50 {
    background-color: var(--color-gray-50);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   TRUST BANNER
   ======================================== */
.trust-banner {
    background: var(--gradient-brand);
    padding: var(--space-5) 0;
    overflow: hidden;
    position: relative;
}

.trust-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.trust-banner__item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--text-sm);
    font-weight: 500;
}

.trust-banner__item svg {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   CATEGORY CARDS
   ======================================== */
.category-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: 0 4px 6px -1px rgba(42, 123, 155, 0.05), 0 2px 4px -1px rgba(139, 95, 191, 0.03);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
    border: 1px solid rgba(42, 123, 155, 0.1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height var(--transition-normal), opacity var(--transition-normal);
    opacity: 0.8;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(42, 123, 155, 0.1), 0 10px 10px -5px rgba(139, 95, 191, 0.04);
}

.category-card:hover::before {
    height: 5px;
    opacity: 1;
}

.category-card--financial::before {
    background: linear-gradient(90deg, #2A7B9B, #4DB6AC);
}

.category-card--legal::before {
    background: linear-gradient(90deg, #6B3FA0, #8B5FBF);
}

.category-card--health::before {
    background: linear-gradient(90deg, #0D9488, #4DB6AC);
}

.category-card--personal::before {
    background: linear-gradient(90deg, #A87FD4, #EC4899);
}

.category-card--emotional::before {
    background: linear-gradient(90deg, #4DB6AC, #8B5FBF);
}

.category-card--general::before {
    background: linear-gradient(90deg, var(--color-gray-400), var(--color-gray-300));
}

.category-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    font-size: var(--text-2xl);
    transition: transform var(--transition-bounce);
}

.category-card:hover .category-card__icon {
    transform: scale(1.1);
}

.category-card--financial .category-card__icon {
    background: linear-gradient(135deg, rgba(42, 123, 155, 0.12), rgba(77, 182, 172, 0.12));
    color: #2A7B9B;
}

.category-card--legal .category-card__icon {
    background: linear-gradient(135deg, rgba(107, 63, 160, 0.12), rgba(139, 95, 191, 0.12));
    color: #6B3FA0;
}

.category-card--health .category-card__icon {
    background: rgba(13, 148, 136, 0.12);
    color: #0D9488;
}

.category-card--personal .category-card__icon {
    background: linear-gradient(135deg, rgba(168, 127, 212, 0.12), rgba(236, 72, 153, 0.10));
    color: #A87FD4;
}

.category-card--emotional .category-card__icon {
    background: linear-gradient(135deg, rgba(77, 182, 172, 0.12), rgba(139, 95, 191, 0.10));
    color: #8B5FBF;
}

.category-card--general .category-card__icon {
    background: rgba(100, 116, 139, 0.1);
    color: var(--color-gray-600);
}

.category-card__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-gray-900);
}

.category-card__text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   HOW IT WORKS TIMELINE
   ======================================== */
.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(42, 123, 155, 0.15), rgba(139, 95, 191, 0.15));
    border-radius: 2px;
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-item__number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(42, 123, 155, 0.08), rgba(139, 95, 191, 0.08));
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(42, 123, 155, 0.15);
    box-shadow: 0 8px 32px rgba(42, 123, 155, 0.05);
    transition: transform var(--transition-bounce), box-shadow var(--transition-normal);
}

.step-item:hover .step-item__number {
    transform: scale(1.12);
    box-shadow: 0 12px 36px rgba(139, 95, 191, 0.1);
    border-color: rgba(139, 95, 191, 0.3);
}

.step-item__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.step-item__text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin: 0;
}

/* ========================================
   TRUST PILLARS
   ======================================== */
.trust-pillar {
    text-align: center;
    padding: var(--space-8);
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(42, 123, 155, 0.06);
}

.trust-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.trust-pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
}

.trust-pillar:hover::before {
    transform: scaleX(1);
}

.trust-pillar__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand-subtle);
    color: var(--color-primary);
    transition: transform var(--transition-bounce);
}

.trust-pillar:hover .trust-pillar__icon {
    transform: scale(1.08);
}

.trust-pillar__title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.trust-pillar__text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin: 0;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.stat-item {
    text-align: center;
}

.stat-item__number {
    font-size: var(--text-5xl);
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-item__label {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    font-weight: 500;
    margin-top: var(--space-2);
}

/* ========================================
   TESTIMONIAL CARDS
   ======================================== */
.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid rgba(42, 123, 155, 0.06);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card__quote {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-gray-700);
    font-style: italic;
    margin-bottom: var(--space-6);
    position: relative;
    padding-left: var(--space-6);
}

.testimonial-card__quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: var(--text-5xl);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    font-family: serif;
    line-height: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-sm);
    color: white;
}

.testimonial-card__name {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-gray-800);
}

.testimonial-card__topic {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}

/* ========================================
   SECTION VARIANTS
   ======================================== */
.section--gradient {
    background: var(--gradient-brand-subtle);
}

.section--dark {
    background: linear-gradient(135deg, #050B14 0%, #0B132B 40%, #171026 100%);
    color: white;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: white;
}

.section--dark p {
    color: rgba(255, 255, 255, 0.75);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #050B14 0%, #0B132B 50%, #1A1333 100%);
    padding: calc(80px + var(--space-16)) 0 var(--space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(77, 182, 172, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 95, 191, 0.10) 0%, transparent 50%);
}

.page-header__title {
    color: var(--color-white);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    position: relative;
}

.page-header__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    position: relative;
}

.page-header__breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.page-header__breadcrumb a:hover {
    color: #4DB6AC;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

/* ── Tablet Landscape  768px – 1023px ── */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --container-padding: 1.25rem;
    }

    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }

    .section     { padding: var(--space-16) 0; }
    .section--lg { padding: var(--space-20) 0; }

    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    .steps-timeline::before { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .trust-banner__inner { gap: var(--space-5); flex-wrap: wrap; }

    .page-header {
        padding: calc(68px + var(--space-10)) 0 var(--space-10);
    }
    .page-header__title { font-size: var(--text-3xl); }
}

/* ── Tablet Portrait  600px – 767px ── */
@media (min-width: 600px) and (max-width: 767px) {
    :root {
        --container-padding: 1rem;
    }

    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }

    .section     { padding: var(--space-12) 0; }
    .section--lg { padding: var(--space-16) 0; }

    .hero__buttons { flex-direction: column; align-items: center; }
    .hero__buttons .btn { width: 100%; max-width: 320px; }

    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }
    .steps-timeline::before { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .trust-banner__inner { gap: var(--space-4); flex-wrap: wrap; }

    .page-header {
        padding: calc(64px + var(--space-8)) 0 var(--space-8);
    }
    .page-header__title { font-size: var(--text-2xl); }

    .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile  < 600px ── */
@media (max-width: 599px) {
    :root {
        --container-padding: 1rem;
    }

    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }

    .section     { padding: var(--space-10) 0; }
    .section--lg { padding: var(--space-12) 0; }

    /* Hero — tight, no wasted space */
    .hero {
        min-height: auto;
        padding: calc(64px + var(--space-8)) 0 var(--space-8);
    }

    .hero__inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-5);
    }

    .hero__content  { max-width: 100%; margin-bottom: 0; }

    .hero__badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .hero__text {
        font-size: var(--text-base);
        margin-bottom: var(--space-5);
    }

    .hero__logo-img { max-width: 100px; }

    .hero__buttons  { flex-direction: column; align-items: center; }
    .hero__buttons .btn { width: 100%; }

    /* Steps */
    .steps-timeline {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }
    .steps-timeline::before { display: none; }

    .step-item__number {
        width: 60px;
        height: 60px;
        font-size: var(--text-xl);
    }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
    .stat-item__number { font-size: var(--text-4xl); }

    /* Grids */
    .md\:grid-cols-5,
    .md\:grid-cols-3,
    .md\:grid-cols-2 { grid-template-columns: 1fr; }

    /* Trust banner */
    .trust-banner { padding: var(--space-4) 0; }
    .trust-banner__inner {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }

    /* Cards: compact */
    .service-card  { padding: var(--space-6); }
    .service-card__icon { width: 60px; height: 60px; }

    .category-card { padding: var(--space-5); }
    .category-card__icon { width: 52px; height: 52px; font-size: var(--text-xl); }

    .trust-pillar  { padding: var(--space-6); }
    .trust-pillar__icon { width: 56px; height: 56px; }

    .testimonial-card { padding: var(--space-5); }

    /* Page header */
    .page-header {
        padding: calc(64px + var(--space-6)) 0 var(--space-6);
    }
    .page-header__title { font-size: var(--text-2xl); }

    /* Footer */
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
}