/* ── AgentProp — Editorial/Magazine aesthetic ──
   Typography: DM Serif Display + DM Sans
   Palette: Deep forest green + warm amber + tinted neutrals
   Layout: Asymmetric, varied rhythm, no card grids
   Guided by impeccable design principles
── */

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

:root {
    /* Warm-tinted neutrals — never pure gray */
    --bg: oklch(97.5% 0.005 85);
    --bg-warm: oklch(95% 0.01 75);
    --bg-dark: oklch(15% 0.03 160);
    --bg-card: oklch(99% 0.003 85);
    --surface: oklch(99% 0.003 85);
    --bg-card-dark: oklch(20% 0.025 160);

    /* Text — never pure black or gray */
    --text: oklch(20% 0.01 85);
    --text-secondary: oklch(45% 0.02 85);
    --text-light: oklch(95% 0.005 85);

    /* Primary: deep forest green — trust, growth, real estate */
    --primary: oklch(38% 0.1 160);
    --primary-light: oklch(92% 0.03 160);
    --primary-dark: oklch(28% 0.08 160);

    /* Accent: warm amber/gold — luxury, warmth */
    --accent: oklch(72% 0.15 75);
    --accent-light: oklch(92% 0.06 75);

    /* Semantic */
    --green: oklch(55% 0.15 150);
    --red: oklch(55% 0.2 25);
    --whatsapp: oklch(60% 0.17 150);

    /* Borders */
    --border: oklch(88% 0.01 85);
    --border-dark: oklch(30% 0.02 160);

    /* Spacing scale — 4pt base grid per Impeccable */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */
    --space-5xl: 8rem;     /* 128px */

    /* Type — metric-matched fallbacks to reduce layout shift */
    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Radii — hierarchy: sm for inner elements, md for cards, lg for sections */
    --radius: 8px;
    --radius-lg: 16px;

    /* Shadows — warm-tinted */
    --shadow: 0 1px 3px oklch(30% 0.02 85 / 0.08);
    --shadow-lg: 0 24px 64px oklch(20% 0.02 85 / 0.12);

    /* Motion — exponential easing per Impeccable */
    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
    /* Safe area insets for notch devices */
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* Focus-visible ring for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h4 {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.3;
}

p {
    text-wrap: pretty;
}

a { color: inherit; text-decoration: none; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.15s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
    border: none;
    text-align: center;
    justify-content: center;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 2px 8px oklch(38% 0.1 160 / 0.25);
}

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

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 2px 8px oklch(60% 0.17 150 / 0.25);
}

.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.875rem; min-height: 2.75rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: oklch(97.5% 0.005 85 / 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
    height: 3.75rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    min-height: 2.75rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
    padding: 0.625rem 0;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    border-radius: 1px;
}

.mobile-menu {
    position: fixed;
    top: 3.75rem;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out-expo), opacity 0.2s var(--ease-out);
    display: flex;
    box-shadow: 0 8px 24px oklch(20% 0.02 85 / 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    padding: 0.5rem 0;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
}

/* Mobile CTA button inside menu */
.mobile-menu .btn-primary {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

/* ── Hero ── */
.hero {
    position: relative;
    padding: clamp(7rem, 12vw, 10rem) 0 var(--space-3xl);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, oklch(90% 0.05 160 / 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.hero-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.hero h1 em {
    color: var(--primary);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    color: var(--text-secondary);
    max-width: 28rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.hero-note {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

/* ── Phone Mockup ── */
.hero-visual { position: relative; }

.phone-mockup {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: oklch(30% 0.06 160);
    color: white;
}

.phone-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.phone-name { font-weight: 600; font-size: 0.9375rem; }
.phone-status { font-size: 0.75rem; opacity: 0.7; }

.chat-messages {
    padding: 1rem;
    background: oklch(93% 0.01 75);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 340px;
    max-height: 400px;
    overflow-y: auto;
}

.chat-msg {
    max-width: 85%;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.84rem;
    line-height: 1.5;
}

.chat-msg p + p { margin-top: 0.375rem; }

.chat-msg.incoming {
    background: var(--bg-card);
    align-self: flex-start;
    border-top-left-radius: 2px;
}

.chat-msg.outgoing {
    background: oklch(90% 0.06 150);
    align-self: flex-end;
    border-top-right-radius: 2px;
}

.chat-msg-enter {
    animation: msgSlideIn 0.3s var(--ease-out);
}

@keyframes msgSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.msg-time {
    display: block;
    text-align: right;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.msg-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 100px;
    margin-top: 0.25rem;
    animation: badgePop 0.4s var(--ease-out);
}

.badge-hot {
    background: oklch(90% 0.06 25);
    color: oklch(45% 0.15 25);
}

@keyframes badgePop {
    0% { transform: scale(0); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.chat-typing {
    padding: 0.5rem 1rem;
    background: oklch(93% 0.01 75);
    display: none;
}

.chat-typing.visible { display: block; }

.typing-dots {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 0.625rem 0.875rem;
    display: inline-flex;
    gap: 4px;
    border-top-left-radius: 2px;
}

.typing-dots span {
    width: 5px;
    height: 5px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chat-replay-btn {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.chat-replay-btn.visible { opacity: 1; }
/* ── Case Study — asymmetric layout ── */
.section-casestudy {
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--border);
}

.casestudy-card {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}

.casestudy-badge {
    position: absolute;
    top: -0.75rem;
    left: clamp(2rem, 4vw, 3rem);
    background: var(--accent);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.875rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.casestudy-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.casestudy-text h3 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    margin-bottom: 0.5rem;
}

.casestudy-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.casestudy-stats {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.cs-stat {
    display: flex;
    flex-direction: column;
}

.cs-stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.cs-stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 10rem;
}

/* ── Before / After ── */
.section-beforeafter {
    padding: var(--space-4xl) 0 var(--space-3xl);
}

/* Section Headers — left-aligned, not centered */
.section-header {
    max-width: 32rem;
    margin-bottom: var(--space-2xl);
}

.section-header.centered {
    text-align: center;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

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

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.ba-column {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.ba-header {
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    font-family: var(--font-body);
}

.ba-header-bad {
    background: oklch(94% 0.04 25);
    color: oklch(35% 0.12 25);
    border-bottom: 2px solid oklch(85% 0.08 25);
}

.ba-header-good {
    background: oklch(94% 0.04 160);
    color: oklch(30% 0.08 160);
    border-bottom: 2px solid oklch(85% 0.08 160);
}

.ba-timeline {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-card);
}

.ba-event {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ba-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 4.5rem;
    padding-top: 0.125rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ba-content strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
}

.ba-content p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ba-content-empty {
    padding: 0.75rem 1rem;
    background: oklch(95% 0.04 75);
    border-radius: 6px;
}

.ba-content-empty p {
    font-style: italic;
    color: oklch(40% 0.06 75);
}

.ba-result {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 0.5rem;
}

.ba-result-bad { background: oklch(95% 0.03 25); }
.ba-result-good { background: oklch(95% 0.03 160); }

.ba-result-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.ba-result-bad .ba-result-icon { background: oklch(85% 0.08 25); color: oklch(45% 0.15 25); }
.ba-result-good .ba-result-icon { background: oklch(85% 0.08 160); color: oklch(40% 0.12 160); }

.ba-result strong { display: block; font-size: 0.875rem; margin-bottom: 0.125rem; }
.ba-result p { font-size: 0.8125rem; color: var(--text-secondary); }

/* ── Solutions — alternating full-width sections ── */
.solutions-intro {
    padding: var(--space-4xl) 0 var(--space-xl);
}

.solution-section {
    padding: var(--space-3xl) 0;
}

.solution-section.sol-alt {
    background: var(--bg-warm);
}

.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.sol-reverse .solution-text { order: 2; }
.sol-reverse .solution-visual { order: 1; }

.solution-text h3 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.solution-text > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.solution-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-whatsapp { background: oklch(60% 0.17 150 / 0.15); color: oklch(55% 0.15 150); }
.icon-phone { background: oklch(60% 0.1 280 / 0.15); color: oklch(55% 0.12 280); }
.icon-crm { background: oklch(65% 0.12 340 / 0.15); color: oklch(60% 0.12 340); }
.icon-analytics { background: oklch(72% 0.15 75 / 0.15); color: oklch(60% 0.15 75); }

.solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.solution-features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
}

.solution-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 0.75rem;
}

/* ── Shared mockup container ── */
.solution-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out);
}

/* ── Mockup: WhatsApp Chat (static) ── */
.mockup-chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: oklch(30% 0.06 160);
    color: white;
}

.mockup-chat-body {
    padding: 1rem;
    background: oklch(93% 0.01 75);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ── Mockup: Call Agent ── */
.mockup-call {
    background: var(--bg-card);
}

.call-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: oklch(30% 0.06 160);
    color: white;
    font-size: 0.8125rem;
    font-weight: 500;
}

.call-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.call-status-dot {
    width: 8px;
    height: 8px;
    background: oklch(75% 0.2 145);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}

.call-number {
    font-size: 0.75rem;
    opacity: 0.7;
    font-variant-numeric: tabular-nums;
}

.call-layout {
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 1px;
    background: var(--border);
}

.call-main {
    background: var(--bg-card);
    padding: 1rem;
}

.call-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 48px;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: oklch(96% 0.005 85);
    border-radius: var(--radius);
}

.wave-bar {
    width: 3px;
    height: var(--h);
    background: var(--primary);
    border-radius: 2px;
    animation: waveAnim 0.8s ease-in-out infinite alternate;
}

.wave-bar:nth-child(even) { animation-delay: 0.15s; }
.wave-bar:nth-child(3n) { animation-delay: 0.3s; }
.wave-bar:nth-child(4n+1) { animation-delay: 0.45s; }

@keyframes waveAnim {
    from { transform: scaleY(0.5); }
    to { transform: scaleY(1.3); }
}

.call-transcript {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.transcript-line {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.transcript-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.transcript-agent .transcript-label {
    background: var(--primary-light);
    color: var(--primary);
}

.transcript-lead .transcript-label {
    background: oklch(93% 0.01 85);
    color: var(--text-secondary);
}

.transcript-line p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.call-sidebar {
    background: oklch(97% 0.005 85);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.call-score {
    text-align: center;
}

.score-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: conic-gradient(oklch(55% 0.18 25) 0% 87%, var(--border) 87% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.375rem;
    position: relative;
}

.score-ring::before {
    content: '';
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: oklch(97% 0.005 85);
    position: absolute;
}

.score-value {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: oklch(55% 0.18 25);
}

.score-label {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.call-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.call-tag {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.1875rem 0.5rem;
    border-radius: 100px;
}

.tag-hot { background: oklch(90% 0.06 25); color: oklch(45% 0.15 25); }
.tag-interest { background: oklch(92% 0.06 75); color: oklch(45% 0.12 75); }
.tag-project { background: var(--primary-light); color: var(--primary); }

.call-meta {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border);
}

.meta-row:last-child { border-bottom: none; }
.meta-row span:last-child { font-weight: 600; color: var(--text); }

/* ── Mockup: CRM Pipeline ── */
.mockup-crm {
    background: var(--bg-card);
}

.crm-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

.crm-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
}

.crm-filters {
    display: flex;
    gap: 0.375rem;
}

.crm-filter {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    color: var(--text-secondary);
    cursor: default;
}

.crm-filter.active {
    background: var(--primary-light);
    color: var(--primary);
}

.crm-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1rem;
    background: oklch(96% 0.005 85);
}

.crm-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.crm-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.crm-col-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.crm-col-count {
    font-size: 0.625rem;
    font-weight: 700;
    background: var(--border);
    color: var(--text-secondary);
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crm-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
}

.crm-card-highlight {
    box-shadow: 0 0 0 2px oklch(55% 0.18 25 / 0.2);
    border-color: oklch(55% 0.18 25 / 0.3);
}

.crm-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.crm-card-name {
    font-size: 0.8125rem;
    font-weight: 600;
}

.crm-temp {
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 0.125rem 0.4375rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.temp-cold { background: oklch(92% 0.02 240); color: oklch(45% 0.08 240); }
.temp-warm { background: oklch(92% 0.06 75); color: oklch(45% 0.12 75); }
.temp-hot { background: oklch(90% 0.06 25); color: oklch(45% 0.15 25); }

.crm-card-detail {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.crm-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.6875rem;
    color: oklch(55% 0.01 85);
}

/* ── Mockup: Dashboard ── */
.mockup-dashboard {
    background: var(--bg-card);
}

.dash-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

.dash-period {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.25rem 0.625rem;
    border: 1px solid var(--border);
    border-radius: 100px;
}

.dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.dash-metric {
    background: var(--bg-card);
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.dash-metric-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text);
}

.dash-metric-label {
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

.dash-metric-delta {
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 100px;
    padding: 0.0625rem 0.375rem;
    align-self: center;
}

.dash-metric-delta.positive {
    background: oklch(92% 0.05 150);
    color: oklch(40% 0.12 150);
}

.dash-chart {
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.dash-chart-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.dash-bars {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.dash-bar-row {
    display: grid;
    grid-template-columns: 70px 1fr 36px;
    gap: 0.75rem;
    align-items: center;
}

.dash-bar-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.dash-bar-track {
    height: 8px;
    background: oklch(93% 0.005 85);
    border-radius: 4px;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--whatsapp);
    transition: width 0.8s var(--ease-out-expo);
}

.dash-bar-phone { background: oklch(55% 0.12 280); }
.dash-bar-web { background: var(--accent); }

.dash-bar-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.dash-funnel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-top: 1px solid var(--border);
    background: oklch(96% 0.005 85);
}

.funnel-step {
    text-align: center;
    flex: 1;
}

.funnel-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.125rem;
}

.funnel-label {
    font-size: 0.625rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.funnel-arrow {
    color: var(--border);
    font-size: 1rem;
}

/* ── How it works — vertical timeline, left-aligned ── */
.section-how {
    padding: var(--space-4xl) 0;
}

.steps-grid {
    max-width: 42rem;
    display: flex;
    flex-direction: column;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--primary);
    background: var(--primary-light);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 1.5px;
    height: 2rem;
    background: var(--border);
    margin-left: 1.3125rem;
}

/* ── Results ── */
.section-results {
    padding: var(--space-4xl) 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-results .section-tag { color: var(--accent); }
.section-results .section-header h2 { color: var(--text-light); }
.section-results .section-header p { color: oklch(60% 0.01 85); }

.results-grid {
    display: flex;
    justify-content: space-between;
    gap: 0;
}

.result-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    flex: 1;
    position: relative;
    transition: transform 0.3s var(--ease-out);
}

.result-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: oklch(30% 0.02 160);
}

.result-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.result-label {
    font-size: 0.875rem;
    color: oklch(65% 0.01 85);
    line-height: 1.45;
}

/* ── Integration ── */
.section-integration {
    padding: var(--space-4xl) 0;
    background: var(--bg-warm);
}

.integration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.integration-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.integration-text > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.integration-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.integration-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.integration-list svg { color: var(--green); flex-shrink: 0; }

.integration-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.integration-hub {
    position: relative;
    width: 320px;
    height: 320px;
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5.5rem;
    height: 5.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.6875rem;
    font-family: var(--font-display);
    box-shadow: 0 8px 30px oklch(38% 0.1 160 / 0.3);
    z-index: 2;
}

.hub-center span { font-size: 1.25rem; line-height: 1; }

.hub-item {
    position: absolute;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.hub-1 { top: 10px; left: 50%; transform: translateX(-50%); }
.hub-2 { top: 65px; right: 0; }
.hub-3 { bottom: 65px; right: 10px; }
.hub-4 { bottom: 10px; left: 50%; transform: translateX(-50%); }
.hub-5 { top: 50%; left: 0; transform: translateY(-50%); }

/* ── FAQ ── */
.section-faq {
    padding: var(--space-4xl) 0;
}

.faq-grid {
    max-width: 44rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

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

.faq-item summary {
    padding: 1.125rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform 0.2s var(--ease-out);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 65ch;
}

/* ── CTA ── */
.section-cta {
    padding: var(--space-4xl) 0;
    background: var(--bg-dark);
}

.cta-card {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
}

.cta-card h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.cta-card > p {
    font-size: 1.0625rem;
    color: oklch(65% 0.01 85);
    margin-bottom: 2.25rem;
    line-height: 1.65;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-field label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: oklch(70% 0.01 85);
    letter-spacing: 0.01em;
}

.cta-form input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--border-dark);
    background: var(--bg-card-dark);
    color: var(--text-light);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.cta-form input::placeholder { color: oklch(40% 0.01 85); }

/* Focus: outline ring per Impeccable — never outline:none without replacement */
.cta-form input:focus,
.cta-form select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px oklch(38% 0.1 160 / 0.15);
}

.cta-form select {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--border-dark);
    background: var(--bg-card-dark);
    color: var(--text-light);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.cta-form select option { background: var(--bg-card-dark); color: var(--text-light); }

.form-error {
    font-size: 0.8125rem;
    color: oklch(70% 0.15 25);
    background: oklch(25% 0.04 25);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid oklch(35% 0.06 25);
    line-height: 1.5;
    animation: msgSlideIn 0.3s var(--ease-out);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Thank you state */
.demo-thankyou {
    padding: 2rem 0;
    text-align: center;
}

.thankyou-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.demo-thankyou h2 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.demo-thankyou p {
    color: oklch(65% 0.01 85);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.demo-thankyou .btn-ghost {
    border-color: var(--border-dark);
    color: var(--text-light);
}

.cta-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
}

.cta-divider::before,
.cta-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-dark);
}

.cta-divider span {
    font-size: 0.8125rem;
    color: oklch(45% 0.01 85);
    white-space: nowrap;
}

.cta-note {
    font-size: 0.8125rem;
    color: oklch(45% 0.01 85);
    margin-top: 1rem;
    text-align: center;
}

/* ── Footer ── */
.footer {
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    max-width: 18rem;
}

.footer-links h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ── Legal pages ── */
.legal-page {
    padding: clamp(7rem, 12vw, 10rem) 0 var(--space-4xl);
}

.legal-page .container {
    max-width: 42rem;
}

.legal-page h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.5rem;
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.legal-page h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-top: var(--space-xl);
    margin-bottom: 0.5rem;
}

.legal-page h3 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: var(--space-md);
    margin-bottom: 0.375rem;
}

.legal-page p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-page ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0.75rem;
}

.legal-page ul li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.legal-page ul li::before {
    content: '·';
    position: absolute;
    left: 0.25rem;
    color: var(--primary);
    font-weight: 700;
}

.legal-page a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page a:hover {
    color: var(--primary-dark);
}

/* ── Animations — per Impeccable: staggered, GPU-only (transform+opacity) ── */
.will-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.will-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternate animation directions for variety */
.will-animate:nth-child(even) {
    transform: translateY(20px) translateX(-8px);
}

.will-animate:nth-child(even).visible {
    transform: translateY(0) translateX(0);
}

/* Fallback: if JS hasn't loaded or observer hasn't fired after 2s, show content */
@media (prefers-reduced-motion: no-preference) {
    .will-animate {
        animation: fallback-reveal 0s 2s forwards;
    }
    @keyframes fallback-reveal {
        to { opacity: 1; transform: translateY(0); }
    }
    .will-animate.visible {
        animation: none;
    }
}

/* ── Sticky mobile CTA bar — hidden on desktop ── */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s var(--ease-out-expo);
}

.mobile-cta-bar.visible {
    transform: translateY(0) !important;
}

.mobile-cta-bar .btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
}

/* ── Performance: content-visibility for below-fold sections (desktop only) ── */
@media (min-width: 769px) {
    .section-casestudy,
    .section-beforeafter,
    .solutions-intro,
    .solution-section,
    .section-how,
    .section-results,
    .section-integration,
    .section-faq,
    .section-cta {
        content-visibility: auto;
        contain-intrinsic-size: auto 600px;
    }
}

/* ── Hover: only on devices with hover capability per Impeccable ── */
@media (hover: hover) {
    .btn-primary:hover {
        background: var(--primary-dark);
        box-shadow: 0 4px 16px oklch(38% 0.1 160 / 0.35);
        transform: translateY(-1px);
    }

    .btn-ghost:hover {
        border-color: var(--text-secondary);
        background: var(--bg-card);
    }

    .btn-whatsapp:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px oklch(60% 0.17 150 / 0.35);
    }

    .nav-links a:hover {
        color: var(--text);
        transform: translateY(-1px);
    }

    .solution-visual:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 32px 80px oklch(20% 0.02 85 / 0.16);
    }

    .faq-item:hover {
        box-shadow: 0 4px 12px oklch(20% 0.01 85 / 0.06);
        transform: translateY(-1px);
    }

    .faq-item summary:hover { background: oklch(96% 0.005 85); }

    .result-card:hover {
        transform: translateY(-2px);
    }

    .footer-links a:hover { color: var(--text); }
    .chat-replay-btn:hover { color: var(--primary); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-sub { max-width: none; }

    .hero-visual {
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* ── Nav ── */
    .nav-links, .nav .btn { display: none; }
    .mobile-menu-btn { display: flex; }

    .mobile-menu {
        box-shadow: 0 8px 24px oklch(20% 0.02 85 / 0.12);
    }

    .mobile-menu .btn {
        margin-top: 0.5rem;
    }

    /* ── Hero — tighter on mobile ── */
    .hero {
        padding-top: clamp(5.5rem, 8vw, 7rem);
        padding-bottom: var(--space-2xl);
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-visual {
        margin-top: var(--space-lg);
    }

    /* ── Section spacing — less padding on mobile ── */
    .solution-section {
        padding: var(--space-2xl) 0;
    }

    .solutions-intro {
        padding: var(--space-3xl) 0 var(--space-lg);
    }

    .section-casestudy {
        padding: var(--space-2xl) 0;
    }

    .section-beforeafter {
        padding: var(--space-3xl) 0 var(--space-2xl);
    }

    .section-how {
        padding: var(--space-3xl) 0;
    }

    .section-results {
        padding: var(--space-3xl) 0;
    }

    .section-integration {
        padding: var(--space-3xl) 0;
    }

    .section-faq {
        padding: var(--space-3xl) 0;
    }

    .section-cta {
        padding: var(--space-3xl) 0;
    }

    /* ── Section headers ── */
    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    /* ── Solutions ── */
    .solution-row { grid-template-columns: 1fr; }
    .sol-reverse .solution-text,
    .sol-reverse .solution-visual { order: unset; }
    .solution-visual { order: 2; }

    .solution-text h3 {
        font-size: 1.25rem;
    }

    /* ── Call agent — stack sidebar below ── */
    .call-layout { grid-template-columns: 1fr; }
    .call-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .call-score { flex: 1; min-width: 70px; }
    .call-tags { flex: 2; }
    .call-meta { flex: 1 1 100%; }

    /* ── CRM — horizontal scroll with snap ── */
    .crm-columns {
        overflow-x: auto;
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.75rem;
    }

    .crm-column {
        scroll-snap-align: start;
    }

    /* ── Case study ── */
    .casestudy-grid { grid-template-columns: 1fr; }
    .casestudy-stats {
        flex-direction: row;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .cs-stat { flex: 1; min-width: 80px; }

    /* ── Before/After ── */
    .ba-grid { grid-template-columns: 1fr; }

    /* ── Results — compact 2x2 grid ── */
    .results-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        flex-wrap: unset;
    }

    .result-card {
        padding: 1.5rem 1rem;
        flex: none;
    }

    .result-card:not(:last-child)::after { display: none; }

    .result-number {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .result-label {
        font-size: 0.8125rem;
    }

    /* ── Integration — stack and simplify hub ── */
    .integration-grid { grid-template-columns: 1fr; gap: 2rem; }
    .integration-visual { order: -1; }
    .integration-hub { width: 280px; height: 280px; }
    .hub-center { width: 4.5rem; height: 4.5rem; font-size: 0.625rem; }
    .hub-center span { font-size: 1rem; }

    .hub-item {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    /* ── FAQ — tighter ── */
    .faq-item summary {
        padding: 1rem 1.25rem;
        font-size: 0.875rem;
    }

    .faq-item p {
        padding: 0 1.25rem 1rem;
        font-size: 0.875rem;
    }

    /* ── CTA form ── */
    .form-row { grid-template-columns: 1fr; }

    .cta-card h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    /* ── Footer — cleaner stacking ── */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* ── Dashboard — stack metrics ── */
    .dash-metrics {
        grid-template-columns: 1fr;
    }

    .dash-bar-row {
        grid-template-columns: 55px 1fr 30px;
    }

    /* ── Sticky CTA bar ── */
    .mobile-cta-bar {
        display: block;
    }

    body {
        padding-bottom: 4.5rem;
    }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }

    /* Results go full-width stacked on very small screens */
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Integration hub even smaller */
    .integration-hub { width: 240px; height: 240px; }

    /* Footer fully stacked */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* CRM columns narrower */
    .crm-columns {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }
}

/* ── Testimonials Section ── */
.section-testimonials {
    padding: 6rem 0;
    background: var(--surface);
}

.section-testimonials .section-header {
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 77, 60, 0.1);
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ── Pricing Section ── */
.section-pricing {
    padding: 6rem 0;
    background: var(--bg);
}

.section-pricing .section-header {
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 77, 60, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(34, 77, 60, 0.03) 0%, var(--surface) 100%);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    vertical-align: top;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.price-period {
    color: var(--text-light);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text);
    font-size: 0.95rem;
}

.pricing-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-light);
    opacity: 0.6;
}

.pricing-features li.disabled svg {
    color: var(--text-light);
}

.full-width {
    width: 100%;
    display: block;
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: white;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featureed {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}
