/* ============================================================
   WAVE ASSISTENTE — Styles
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
    --primary: #5E7CB8;
    --primary-dark: #4A6694;
    --primary-light: #7A95C8;
    --primary-muted: rgba(94, 124, 184, 0.12);

    --accent: #85C33C;
    --accent-bright: #96D44E;
    --accent-dark: #6FA830;
    --accent-glow: rgba(133, 195, 60, 0.35);
    --accent-muted: rgba(133, 195, 60, 0.1);

    --dark: #0F1923;
    --dark-surface: #162234;
    --dark-card: #1B2A4A;

    --text: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --text-inverse: #F1F5F9;

    --bg: #FFFFFF;
    --bg-alt: #F7F8FC;
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-accent: 0 4px 20px var(--accent-glow);

    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --nav-height: 80px;
    --container: 1200px;
    --section-py: 100px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--nav-height);
}

html {
    overflow-x: hidden;
    max-width: 100%;
}
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; }

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

.section-header { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.section-header__sub {
    margin-top: 16px;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    line-height: 1;
}

.btn--accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
}
.btn--accent:hover {
    background: var(--accent-bright);
    box-shadow: 0 4px 24px var(--accent-glow), 0 0 0 3px var(--accent-muted);
    transform: translateY(-1px);
}

.btn--ghost {
    background: var(--primary);
    color: #fff;
    border: 1.5px solid var(--primary);
    box-shadow: 0 2px 12px rgba(94, 124, 184, 0.28);
}
.btn--ghost:hover {
    background: #4A6AA6;
    border-color: #4A6AA6;
    box-shadow: 0 4px 24px rgba(94, 124, 184, 0.35), 0 0 0 3px var(--primary-muted);
    transform: translateY(-1px);
}

.btn--outline-light {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border);
}
.btn--outline-light:hover {
    border-color: var(--primary);
    background: var(--primary-muted);
}

.btn--outline-accent {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn--outline-accent:hover {
    background: var(--accent-muted);
    border-color: var(--accent-dark);
    color: var(--accent-dark);
    box-shadow: 0 6px 18px rgba(133, 195, 60, 0.22);
    transform: translateY(-2px);
}

/* Plasma orb canvas used inside CTA buttons */
.btn-orb-canvas {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: block;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.btn--with-orb {
    padding-right: 18px;
}
.btn--with-orb .btn-orb-canvas {
    margin-left: 4px;
}

.btn--outline-blue {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: 0 1px 2px rgba(94, 124, 184, 0.08);
}
.btn--outline-blue:hover {
    background: var(--primary-muted);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
    box-shadow: 0 6px 18px rgba(94, 124, 184, 0.18);
    transform: translateY(-2px);
}

/* Plasma orb canvas used inside hero's floating demo badge */
.float-orb-canvas {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: block;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }
.btn--full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.0);
    backdrop-filter: blur(0px);
    transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}
.nav--scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

.nav__logo img { height: 52px; width: auto; }

.nav__menu {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
}

.nav__link {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--text);
    transition: color 0.25s, background 0.25s;
}
.nav__link:hover { background: rgba(94, 124, 184, 0.08); color: var(--primary); }
.nav__link--active { color: var(--accent) !important; }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions .btn { height: 42px; display: inline-flex; align-items: center; }

/* Nav dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown > .nav__link { display: flex; align-items: center; gap: 4px; }
.nav__dropdown-arrow { transition: transform 0.25s; }
.nav__dropdown:hover .nav__dropdown-arrow { transform: rotate(180deg); }

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 260px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(15, 25, 35, 0.12), 0 2px 8px rgba(15, 25, 35, 0.04);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    z-index: 100;
}
@media (hover: hover) {
    .nav__dropdown:hover .nav__dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}
.nav__dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.nav__dropdown-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-light);
    transition: color 0.2s;
}
.nav__dropdown-item:hover {
    background: rgba(94, 124, 184, 0.08);
    color: var(--primary);
}
.nav__dropdown-item:hover .nav__dropdown-icon {
    color: var(--primary);
}
.nav__back { display: none; }

.nav__mobile-actions { display: none; }

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}
.nav__hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 6px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger--open span:nth-child(2) { opacity: 0; }
.nav__hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 0 100px;
    overflow: hidden;
    background: linear-gradient(160deg, #FFFFFF 0%, var(--bg-alt) 40%, #EEF4E6 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero__grain { display: none; }
.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.hero__orb--1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(133, 195, 60, 0.10) 0%, transparent 70%);
}
.hero__orb--2 {
    width: 400px;
    height: 400px;
    bottom: -50px;
    left: -100px;
    background: radial-gradient(circle, rgba(94, 124, 184, 0.10) 0%, transparent 70%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content { max-width: 560px; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(133, 195, 60, 0.1);
    border: 1px solid rgba(133, 195, 60, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 24px;
}
.hero__badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.hero__title {
    color: var(--text);
    margin-bottom: 24px;
    font-size: clamp(2rem, 4vw, 3.1rem);
}
.hero__title .text-accent {
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent-dark) 25%,
        var(--accent) 50%,
        var(--primary) 75%,
        var(--accent-dark) 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: hero-title-gradient 7s ease-in-out infinite;
}
@keyframes hero-title-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
    .hero__title .text-accent {
        animation: none;
        background-position: 50% 50%;
    }
}

.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__ctas .btn--lg { padding: 0 22px; height: 52px; box-sizing: border-box; }
.hero__ctas .btn--with-orb { padding: 0 6px 0 22px; }

/* Hero avatars */
.hero__visual { display: flex; justify-content: center; position: relative; }
.hero__avatar-group { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; }

.hero__avatar {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
}
.hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.hero__avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(133, 195, 60, 0.3);
    animation: ring-pulse 3s ease-in-out infinite;
}

/* Avatar 1 — Sara (largest, center-left) */
.hero__avatar--1 {
    width: 200px; height: 200px;
    top: 22%; left: 18%;
    z-index: 6;
    box-shadow: 0 16px 50px rgba(0,0,0,0.12);
}
/* Avatar 2 — Marco (medium-large, right) */
.hero__avatar--2 {
    width: 150px; height: 150px;
    top: 8%; right: 10%;
    z-index: 5;
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}
/* Avatar 3 — Sofia (medium, bottom-right) */
.hero__avatar--3 {
    width: 130px; height: 130px;
    bottom: 10%; right: 20%;
    z-index: 4;
    box-shadow: 0 10px 35px rgba(0,0,0,0.10);
}
/* Avatar 4 — Luca (medium-small, top-left) */
.hero__avatar--4 {
    width: 110px; height: 110px;
    top: 2%; left: 5%;
    z-index: 3;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
/* Avatar 5 — Emma (small, bottom-left) */
.hero__avatar--5 {
    width: 100px; height: 100px;
    bottom: 10%; left: 8%;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
/* Avatar 6 — Alessandro (smallest, center-right) */
.hero__avatar--6 {
    width: 85px; height: 85px;
    top: 50%; right: 2%;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Floating badges */
.hero__float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 10;
    white-space: nowrap;
}
.hero__float-badge svg { color: var(--accent); flex-shrink: 0; }
a.hero__float-badge { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
a.hero__float-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.hero__float-badge--voice {
    top: 38%; right: -5%;
    animation: hero-float 5s ease-in-out infinite;
}
.hero__float-badge--ai {
    top: 62%; left: 20%;
    animation: hero-float 6s ease-in-out 0.6s infinite;
}
.hero__float-badge--demo {
    bottom: 2%;
    right: calc(8% - 20px);
    padding: 6px 14px 6px 6px;
    gap: 10px;
    animation: hero-float 5.5s ease-in-out 1s infinite;
}

.hero__wave { display: none; }

/* ============================================================
   HERO — Alt 06 (Alt 03 layout + first-load intro animation)
   Ordered phases (no overlap between avatars and text):
     Phase 1 (0.0 – 1.6s)   avatars fade in clustered at the PAGE
                            horizontal center; colorless ambient
                            radial waves emanate and fade
     Phase 2 (1.6 – 3.0s)   avatars glide RIGHT from page center to
                            their final Alt 03 positions
     Phase 3 (3.0 – 4.1s)   copy cascades in on the left
                            (title → tagline → subtitle → CTAs)
     Phase 4 (4.1 – 4.8s)   floating badges fade in, then pick up
                            the infinite hero-float
   Total ~5s, eased for smoothness.
   ============================================================ */

/* Leftward shift that brings avatars to the page's horizontal center
   from the right column's center. Container is 1200px, 2-col grid
   with 60px gap → right-col-center sits ~288px right of page center. */
.hero--alt6 { --a6-shift-x: -288px; }
@media (max-width: 1024px) { .hero--alt6 { --a6-shift-x: -180px; } }
@media (max-width: 768px)  { .hero--alt6 { --a6-shift-x: 0px; } }

/* Let the ambient wave escape the avatar bounds */
.hero--alt6 .hero__avatar { overflow: visible; }
.hero--alt6 .hero__avatar img { position: relative; z-index: 1; }
.hero--alt6 .hero__avatar-ring { z-index: 2; }

/* Slot 3 (Sofia) nudged down-right so she clears the chat bubble
   (bubble sits at top 62% / left 20% and is ~235px wide with nowrap).
   Balanced to keep a clear gap from Alessandro (top 50%, right 2%). */
@media (min-width: 769px) {
    .hero--alt6 .hero__avatar--3 { bottom: 3%; right: 9%; }
}

/* Colorless ambient wave — soft radial, heavy blur, low opacity.
   Reads as subtle background motion, not a colored glow. */
.hero__avatar-wave {
    position: absolute;
    inset: -40%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(120, 130, 145, 0.22) 0%,
        rgba(120, 130, 145, 0.09) 42%,
        rgba(120, 130, 145, 0) 74%
    );
    filter: blur(14px);
    pointer-events: none;
    opacity: 0;
    z-index: 0;
}
.hero--alt6 .hero__avatar-wave {
    animation: alt6-wave-pulse 1.2s ease-out 0.08s 1 both;
}
.hero--alt6 .hero__avatar--2 .hero__avatar-wave { animation-delay: 0.12s; }
.hero--alt6 .hero__avatar--3 .hero__avatar-wave { animation-delay: 0.16s; }
.hero--alt6 .hero__avatar--4 .hero__avatar-wave { animation-delay: 0.20s; }
.hero--alt6 .hero__avatar--5 .hero__avatar-wave { animation-delay: 0.24s; }
.hero--alt6 .hero__avatar--6 .hero__avatar-wave { animation-delay: 0.28s; }

@keyframes alt6-wave-pulse {
    0%   { opacity: 0;    transform: scale(0.4); filter: blur(4px); }
    32%  { opacity: 0.55; }
    100% { opacity: 0;    transform: scale(2.7); filter: blur(32px); }
}

/* Avatars: the whole scatter enters at the page's horizontal center
   (each avatar keeps its own relative offset within the group — they
   do NOT converge on one point — only a shared leftward shift is
   applied), holds through the wave phase, then glides right as a
   single cluster to the final Alt 03 positions. */
.hero--alt6 .hero__avatar--1 { animation: alt6-travel 1.0s cubic-bezier(0.65, 0.05, 0.25, 1) 0s    both; }
.hero--alt6 .hero__avatar--2 { animation: alt6-travel 1.0s cubic-bezier(0.65, 0.05, 0.25, 1) 0.02s both; }
.hero--alt6 .hero__avatar--3 { animation: alt6-travel 1.0s cubic-bezier(0.65, 0.05, 0.25, 1) 0.04s both; }
.hero--alt6 .hero__avatar--4 { animation: alt6-travel 1.0s cubic-bezier(0.65, 0.05, 0.25, 1) 0.06s both; }
.hero--alt6 .hero__avatar--5 { animation: alt6-travel 1.0s cubic-bezier(0.65, 0.05, 0.25, 1) 0.08s both; }
.hero--alt6 .hero__avatar--6 { animation: alt6-travel 1.0s cubic-bezier(0.65, 0.05, 0.25, 1) 0.10s both; }

@keyframes alt6-travel {
    0%   { opacity: 0; transform: translateX(var(--a6-shift-x)); }
    18%  { opacity: 1; transform: translateX(var(--a6-shift-x)); }
    30%  { opacity: 1; transform: translateX(var(--a6-shift-x)); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Text cascade — starts only AFTER avatars have settled */
.hero--alt6 .hero__title    { animation: alt6-fade-up 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 1.00s both; }
.hero--alt6 .hero__tagline  { animation: alt6-fade-up 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 1.10s both; }
.hero--alt6 .hero__subtitle { animation: alt6-fade-up 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 1.20s both; }
.hero--alt6 .hero__ctas     { animation: alt6-fade-up 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 1.30s both; }

@keyframes alt6-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Chat-bubble dialogue — white speech bubble at the position
   previously occupied by the "Receptionist AI" floating tag.
   Tail points up-left toward Sara (the largest avatar above). */
.hero__chat-bubble {
    position: absolute;
    top: 62%;
    left: 20%;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 25, 35, 0.10), 0 4px 10px rgba(15, 25, 35, 0.06);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    max-width: 240px;
    z-index: 10;
}
.hero__chat-bubble::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 26px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    transform: rotate(45deg);
    border-top-left-radius: 3px;
}

/* Chat bubble — fades in once and then stays fixed */
.hero--alt6 .hero__chat-bubble {
    opacity: 0;
    animation: alt6-bubble-appear 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) 1.45s both;
}
@keyframes alt6-bubble-appear {
    from { opacity: 0; transform: translateY(10px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

@media (max-width: 768px) {
    .hero__chat-bubble {
        font-size: 0.82rem;
        padding: 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero--alt6 .hero__avatar,
    .hero--alt6 .hero__avatar-wave,
    .hero--alt6 .hero__title,
    .hero--alt6 .hero__tagline,
    .hero--alt6 .hero__subtitle,
    .hero--alt6 .hero__ctas,
    .hero--alt6 .hero__chat-bubble {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ---------- Demo Frame ---------- */
.demo-frame {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 20px 0 0;
    position: relative;
    z-index: 2;
}
.demo-frame__card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 12px 12px 24px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-bright) 100%);
    border: none;
    border-radius: 18px;
    max-width: 400px;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(94, 124, 184, 0.25);
}
.demo-frame__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(94, 124, 184, 0.35);
}

.demo-frame__orb-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 32% 28%, #ffffff 0%, #f6f9fd 32%, #e4ecf7 65%, #c9d6ea 100%);
    border-radius: 50%;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.95),
        inset -5px -7px 16px rgba(120, 140, 180, 0.28),
        inset 6px 8px 18px rgba(255, 255, 255, 0.7),
        0 10px 26px rgba(60, 80, 120, 0.22),
        0 3px 8px rgba(60, 80, 120, 0.14);
}
.demo-frame__orb-wrap::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 15%;
    width: 50%;
    height: 26%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
    z-index: 2;
}
.demo-frame__canvas {
    width: 100%;
    height: 100%;
}

.demo-frame__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(94, 124, 184, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    z-index: 2;
}
.demo-frame__play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(133, 195, 60, 0.35);
}

.demo-frame__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.demo-frame__label {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    line-height: 1.5;
}

.demo-frame__cta {
    width: auto;
    text-align: center;
    justify-content: center;
    background: #fff;
    color: var(--primary);
    box-shadow: none;
}
.demo-frame__cta:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    color: var(--accent-dark);
}

/* ---------- Demo Frame — Hero Banner Variant ---------- */
.demo-frame--hero {
    padding: 28px 0 0;
}
.demo-frame--hero .demo-frame__card {
    max-width: 100%;
    width: 100%;
    min-height: 160px;
    padding: 24px 40px 24px 32px;
    gap: 36px;
    border-radius: 24px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 45%, var(--accent) 100%);
    box-shadow:
        0 20px 48px rgba(94, 124, 184, 0.3),
        0 6px 18px rgba(133, 195, 60, 0.18);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.35s ease;
}
.demo-frame--hero .demo-frame__card:hover {
    transform: scale(1.015);
    box-shadow:
        0 28px 60px rgba(94, 124, 184, 0.38),
        0 10px 28px rgba(133, 195, 60, 0.24);
}
.demo-frame--hero .demo-frame__orb-wrap {
    width: 110px;
    height: 110px;
    flex: 0 0 auto;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.95),
        inset -5px -7px 16px rgba(120, 140, 180, 0.28),
        inset 6px 8px 18px rgba(255, 255, 255, 0.7),
        0 10px 28px rgba(60, 80, 120, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.35),
        0 0 42px rgba(133, 195, 60, 0.5);
}
.demo-frame--hero .demo-frame__canvas {
    width: 100%;
    height: 100%;
}
.demo-frame--hero .demo-frame__label {
    flex: 1 1 auto;
    margin: 0 auto;
    max-width: 640px;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.55vw, 1.3rem);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: #fff;
    text-align: center;
}
.demo-frame--hero .demo-frame__cta {
    flex: 0 0 auto;
    width: auto;
    background: #fff;
    color: var(--primary-dark);
    padding: 16px 34px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(15, 25, 35, 0.14);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.demo-frame--hero .demo-frame__cta:hover {
    background: #fff;
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(133, 195, 60, 0.42);
}

@media (max-width: 768px) {
    .demo-frame--hero { padding: 32px 0 0; }
    .demo-frame--hero .demo-frame__card {
        flex-direction: column;
        padding: 28px 24px;
        gap: 18px;
        min-height: 0;
        max-width: calc(100% - 24px);
    }
    .demo-frame--hero .demo-frame__orb-wrap { width: 96px; height: 96px; order: 1; }
    .demo-frame--hero .demo-frame__label { order: 2; font-size: 1rem; }
    .demo-frame--hero .demo-frame__cta { order: 3; width: 100%; padding: 13px 20px; }
}

/* ---------- Social Proof ---------- */
.social-proof {
    padding: 32px 0;
    background: var(--bg);
    overflow: hidden;
}
.social-proof__label {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.02em;
    margin-bottom: 32px;
}

.marquee { position: relative; overflow: hidden; }
.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee__track {
    display: flex;
    gap: 112px;
    width: max-content;
    animation: marquee 40s linear infinite;
    align-items: center;
}
.marquee:hover .marquee__track {
    animation-play-state: paused;
}
.marquee__item {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    height: 40px;
}
.marquee__item img {
    height: 100%;
    width: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.marquee__mask {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 25, 35, 0.55);
    -webkit-mask: var(--mask) center / contain no-repeat;
    mask: var(--mask) center / contain no-repeat;
    transition: opacity 0.35s ease;
}
.marquee__item:hover .marquee__mask,
.marquee__item:focus-within .marquee__mask {
    opacity: 0;
}
.marquee__item:hover img,
.marquee__item:focus-within img {
    opacity: 1;
}

/* ---------- Features / Value Propositions ---------- */
.features {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 44px 28px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
                border-color 0.45s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-muted);
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin-bottom: 22px;
    color: var(--accent);
    transition: color 0.4s ease, filter 0.4s ease;
}
.feature-card:hover .feature-card__icon {
    color: var(--primary);
    filter: drop-shadow(0 6px 14px rgba(94, 124, 184, 0.28));
}
.feature-card__icon svg {
    width: 40px;
    height: 40px;
}
.feature-card h3 {
    margin-bottom: 0;
    color: var(--text);
}
.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 28ch;
    margin-top: 14px;
}

/* ---------- Why Us ---------- */
.why-us {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.why-us .features__grid { margin-top: 0; }
.why-us .feature-card {
    background: var(--bg-alt);
}

/* ---------- Front Desk ---------- */
.frontdesk {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.frontdesk__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "title  title"
        "sub    sub"
        "blocks visual";
    column-gap: 60px;
    align-items: stretch;
}
.frontdesk__content { display: contents; }
.frontdesk__content > h2 { grid-area: title; max-width: 900px; margin: 0 auto 12px; text-align: center; }
.frontdesk__sub { grid-area: sub; max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.frontdesk__blocks { grid-area: blocks; max-width: 600px; }
.frontdesk__visual {
    grid-area: visual;
    position: relative;
    min-height: 100%;
}
.frontdesk__img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(15, 25, 35, 0.12), 0 6px 18px rgba(15, 25, 35, 0.08);
}
.frontdesk__sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 48px;
}
.frontdesk__blocks {
    display: flex;
    flex-direction: column;
}
.frontdesk__block {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.frontdesk__block--last {
    border-bottom: none;
}
.frontdesk__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    border-radius: 50%;
    color: var(--accent-dark);
}
.frontdesk__block h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.frontdesk__block p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.frontdesk__block p a {
    color: var(--accent-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.frontdesk__block p a:hover {
    color: var(--accent);
}
.frontdesk__bullets {
    list-style: disc;
    padding-left: 1.1rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.frontdesk__bullets li + li { margin-top: 6px; }
.frontdesk__bullets li::marker { color: var(--accent-dark); }
.frontdesk__bullets a {
    color: var(--accent-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.frontdesk__bullets a:hover { color: var(--accent); }

/* ---------- Demo CTA (avatar + QR) ---------- */
.demo-cta {
    padding: 120px 0;
    background: var(--bg);
}
.demo-cta__card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 48px;
    padding: 48px 56px;
    background: linear-gradient(135deg, rgba(133, 195, 60, 0.07) 0%, #FFFFFF 100%);
    border: 1px solid rgba(133, 195, 60, 0.14);
    border-radius: var(--radius-xl);
}
.demo-cta__avatar {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.demo-cta__avatar::before,
.demo-cta__avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: demo-cta-wave 2.8s ease-out infinite;
}
.demo-cta__avatar::after {
    animation-delay: 1.4s;
}
@keyframes demo-cta-wave {
    0%   { transform: scale(1);    opacity: 0.55; }
    70%  { opacity: 0.05; }
    100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .demo-cta__avatar::before,
    .demo-cta__avatar::after { animation: none; opacity: 0; }
}
.demo-cta__avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.demo-cta__avatar-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 2;
}
.demo-cta__content {
    min-width: 0;
}
.demo-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 12px;
}
.demo-cta__title .text-accent {
    color: var(--accent);
}
.demo-cta__sub {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 18px;
    max-width: 560px;
}
.demo-cta__phone {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}
.demo-cta__phone a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}
.demo-cta__phone a:hover {
    color: var(--accent);
}
.demo-cta__qr {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(133, 195, 60, 0.28);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
    cursor: default;
}
.demo-cta__qr img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: var(--radius-md);
}
@media (max-width: 768px) {
    .demo-cta__card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 28px;
        text-align: center;
        justify-items: center;
    }
    .demo-cta__sub {
        margin-left: auto;
        margin-right: auto;
    }
    .demo-cta__avatar,
    .demo-cta__qr {
        width: 140px;
        height: 140px;
    }
}

/* ---------- Avatar Showcase ---------- */
.avatars {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.avatars__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 260px));
    gap: 48px;
    justify-content: center;
}

.avatar-card {
    position: relative;
    background: var(--bg);
    border: none;
    border-radius: 24px;
    overflow: visible;
    transition: transform 0.3s;
}
.avatar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    border-radius: 30px;
    filter: blur(16px);
    z-index: 0;
    opacity: 0.3;
    transition: opacity 0.3s, filter 0.3s;
}
.avatar-card:hover::before {
    opacity: 0.7;
    filter: blur(16px);
}
.avatar-card:hover {
    transform: translateY(-4px);
}
.avatar-card > * {
    position: relative;
    z-index: 1;
}

.avatar-card__visual {
    border-radius: 24px 24px 0 0;
}
.avatar-card__info {
    background: var(--bg);
}
.avatar-card__player {
    background: var(--bg-alt);
    border-radius: 0 0 18px 18px;
}

.avatar-card__visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 20px 10px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.avatar-card__visual img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}
.avatar-card__badge {
    position: absolute;
    left: calc(50% + 28px);
    top: 22px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: var(--bg-alt);
    border-radius: 50%;
    z-index: 2;
}

.avatar-card__visual::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    width: 132px;
    height: 132px;
    transform: translateX(-50%) rotate(0deg);
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(94, 124, 184, 0.85) 0deg, rgba(133, 195, 60, 0.85) 100deg, transparent 160deg, transparent 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}
.avatar-card:has(.avatar-card__player.playing) .avatar-card__visual::before {
    opacity: 1;
    animation: avatar-ring-spin 2.4s linear infinite;
}
@keyframes avatar-ring-spin {
    from { transform: translateX(-50%) rotate(0deg); }
    to   { transform: translateX(-50%) rotate(360deg); }
}

.avatar-card__info {
    padding: 4px 20px 12px;
    text-align: center;
}
.avatar-card__info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.avatar-card__tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--primary-muted);
    border: 1px solid rgba(94, 124, 184, 0.25);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.avatar-card__voice-type {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2px;
}
.avatar-card__info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Avatar audio player */
.avatar-card__player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px 24px;
    margin: 0;
    background: var(--bg-alt);
    border-radius: 0 0 18px 18px;
}

.player__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.player__btn:hover {
    background: var(--accent-bright);
    box-shadow: var(--shadow-accent);
    transform: scale(1.05);
}
.player__icon-pause { display: none; }
.avatar-card__player.playing .player__icon-play { display: none; }
.avatar-card__player.playing .player__icon-pause { display: block; }
.avatar-card__player.playing .player__btn {
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(94, 124, 184, 0.32);
}
.avatar-card__player.playing .player__btn:hover {
    background: var(--primary-dark);
}

.player__wave {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    flex: 1;
    height: 28px;
    padding: 0 4px;
}
.player__wave span {
    width: 3px;
    min-width: 3px;
    flex-shrink: 0;
    flex-grow: 1;
    max-width: 3px;
    height: 30%;
    background: var(--primary-light);
    border-radius: 9999px;
    opacity: 0.35;
    transition: height 0.2s, opacity 0.2s;
}
.player__wave span:nth-child(1)  { height: 10%; }
.player__wave span:nth-child(2)  { height: 16%; }
.player__wave span:nth-child(3)  { height: 24%; }
.player__wave span:nth-child(4)  { height: 34%; }
.player__wave span:nth-child(5)  { height: 44%; }
.player__wave span:nth-child(6)  { height: 55%; }
.player__wave span:nth-child(7)  { height: 65%; }
.player__wave span:nth-child(8)  { height: 76%; }
.player__wave span:nth-child(9)  { height: 84%; }
.player__wave span:nth-child(10) { height: 90%; }
.player__wave span:nth-child(11) { height: 95%; }
.player__wave span:nth-child(12) { height: 98%; }
.player__wave span:nth-child(13) { height: 95%; }
.player__wave span:nth-child(14) { height: 90%; }
.player__wave span:nth-child(15) { height: 84%; }
.player__wave span:nth-child(16) { height: 76%; }
.player__wave span:nth-child(17) { height: 65%; }
.player__wave span:nth-child(18) { height: 55%; }
.player__wave span:nth-child(19) { height: 44%; }
.player__wave span:nth-child(20) { height: 34%; }
.player__wave span:nth-child(21) { height: 24%; }
.player__wave span:nth-child(22) { height: 16%; }
.player__wave span:nth-child(23) { height: 10%; }
.player__wave span:nth-child(24) { height: 16%; }
.player__wave span:nth-child(25) { height: 10%; }

.player__wave span.is-filled,
.player__wave span.is-current {
    background: color-mix(in srgb, var(--primary) calc((1 - var(--t, 0.5)) * 100%), var(--accent));
    opacity: 0.85;
}
.player__wave span.is-current {
    animation: wave-bar-pulse 0.45s ease-in-out infinite alternate;
}
@keyframes wave-bar-pulse {
    from { transform: scaleY(0.85); }
    to   { transform: scaleY(1.15); }
}
.avatar-card__player.playing .player__wave span:not(.is-filled):not(.is-current) {
    opacity: 0.45;
}

.player__time {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* ---------- Industry Voices ---------- */
.industry-voices {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.industry-voices__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.voice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    border-radius: 18px;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.voice-card:hover {
    transform: translateY(-4px);
}
.voice-card > * {
    position: relative;
    z-index: 1;
}
.voice-card__top {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 36px 26px;
    min-height: 200px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    position: relative;
    z-index: 1;
}
.voice-card__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    min-width: 0;
}
.voice-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.01em;
}
.voice-card__description {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}
/* Player strip at the bottom of each voice-card — matches the
   .avatar-card__player design from the "Ascolta le voci" section:
   light-grey bg-alt separator, same sizes, same static waveform. */
.voice-card__player {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 26px 22px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 18px 18px;
    position: relative;
    z-index: 1;
}
.voice-card__player .player__time {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
/* Play ↔ Pause icon swap + subtle wave-bar opacity bump (matches
   the demo-mode behavior of .avatar-card__player). Bars stay static
   at their nth-child heights — no bouncing animation. */
.voice-card.playing .player__icon-play { display: none; }
.voice-card.playing .player__icon-pause { display: block; }
.voice-card.playing .player__btn {
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(94, 124, 184, 0.32);
}
.voice-card.playing .player__btn:hover {
    background: var(--primary-dark);
}
.voice-card.playing .player__wave span:not(.is-filled):not(.is-current) {
    opacity: 0.45;
}

/* Soft blurred gradient halo behind the card — same pattern as
   .avatar-card. Subtle by default, brighter on hover. */
.voice-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    border-radius: 24px;
    filter: blur(16px);
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.voice-card:hover::before {
    opacity: 0.7;
}
.voice-card__visual {
    flex-shrink: 0;
}
.voice-card__avatar {
    position: relative;
    width: 84px;
    height: 84px;
}
.voice-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 6px 18px rgba(94, 124, 184, 0.2);
    position: relative;
    z-index: 1;
}
/* Conic-gradient ring around the avatar — spins while playing,
   matches the spinning ring on .avatar-card__visual. */
.voice-card__avatar::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(94, 124, 184, 0.85) 0deg, rgba(133, 195, 60, 0.85) 100deg, transparent 160deg, transparent 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 0;
}
.voice-card.playing .voice-card__avatar::before {
    opacity: 1;
    animation: voice-ring-spin 2.4s linear infinite;
}
@keyframes voice-ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.voice-card__industry-icon {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(15, 25, 35, 0.12);
    z-index: 2;
}
.voice-card__industry-icon svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1100px) {
    .industry-voices__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------- Integrations ---------- */
.integrations {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.integrations__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "title  title"
        "sub    sub"
        "copy   visual";
    column-gap: 60px;
    align-items: stretch;
}
.integrations__content { display: contents; }
.integrations__content > h2 {
    grid-area: title;
    max-width: 900px;
    margin: 0 auto 12px;
    text-align: center;
}
.integrations__sub {
    grid-area: sub;
    max-width: 900px;
    margin: 0 auto 56px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.75;
}
.integrations__copy {
    grid-area: copy;
    max-width: 540px;
}
.integrations__blocks {
    display: flex;
    flex-direction: column;
    margin: 0 0 32px;
}
.integrations__block {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.integrations__block:last-child {
    border-bottom: none;
}
.integrations__block-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    color: var(--accent-dark);
    border-radius: 50%;
}
.integrations__block h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.integrations__block p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}
.integrations__block p a {
    color: var(--accent-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.integrations__block p a:hover {
    color: var(--accent);
}
.integrations__bullets {
    list-style: disc;
    padding-left: 1.1rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.integrations__bullets li + li { margin-top: 6px; }
.integrations__bullets li::marker { color: var(--accent-dark); }
.integrations__bullets a {
    color: var(--accent-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.integrations__bullets a:hover { color: var(--accent); }
.integrations__cta {
    display: flex;
}
.section-header__cta {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}
@media (max-width: 900px) {
    .integrations__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "sub"
            "visual"
            "copy";
        text-align: center;
    }
    .integrations__sub { margin-bottom: 32px; }
    .integrations__copy { max-width: 100%; }
    .integrations__cta { justify-content: center; }
}

/* Left: vertical list */
.integrations__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.integration-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: background 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease,
                transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.integration-card__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.integration-card__icon img,
.integration-card__icon svg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: block;
}
.integration-card[data-integration="mycentralino"] .integration-card__icon img {
    border-radius: 0;
    object-fit: contain;
}
.orbit__item[data-integration="mycentralino"] img {
    width: calc(var(--size) * 0.72);
    height: calc(var(--size) * 0.72);
    padding: 6px;
    background: transparent;
    box-sizing: border-box;
    object-fit: contain;
    border-radius: 0;
}
.integration-card__body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 2px;
    color: var(--text);
    transition: color 0.35s ease;
}
.integration-card__body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    transition: color 0.35s ease;
}
.integration-card:hover,
.integration-card.is-active {
    background: var(--accent-muted);
    border-color: var(--accent);
    box-shadow: 0 6px 22px rgba(133, 195, 60, 0.18);
    transform: translateX(4px);
}
.integration-card:hover .integration-card__body h3,
.integration-card.is-active .integration-card__body h3 {
    color: var(--accent-dark);
}

/* Right: orbit */
.integrations__orbit {
    grid-area: visual;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.orbit {
    position: relative;
    width: 480px;
    height: 480px;
    max-width: 100%;
}
.orbit::before,
.orbit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 190px;
    height: 190px;
    margin: -95px 0 0 -95px;
    border-radius: 50%;
    border: 2px solid rgba(133, 195, 60, 0.45);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    animation: orbit-wave-inner 5s ease-out 0s 1 forwards;
}
.orbit::after {
    border-color: rgba(94, 124, 184, 0.45);
    animation: orbit-wave-outer 5s ease-out 2.5s 1 forwards;
}
@keyframes orbit-wave-inner {
    0%   { transform: scale(0.55); opacity: 0; }
    20%  { opacity: 0.6; }
    60%  { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0.45; }
}
@keyframes orbit-wave-outer {
    0%   { transform: scale(0.55); opacity: 0; }
    20%  { opacity: 0.55; }
    65%  { transform: scale(2.05); opacity: 0.45; }
    100% { transform: scale(1.9); opacity: 0.4; }
}

.orbit__center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 190px;
    height: 190px;
    margin: -95px 0 0 -95px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}
.orbit__center::before {
    content: none;
}
.orbit__center img {
    position: relative;
    width: 190px;
    height: auto;
    display: block;
}
@keyframes stain-morph {
    0%, 100% { border-radius: 63% 37% 54% 46% / 42% 58% 42% 58%; transform: rotate(0deg); }
    50%      { border-radius: 42% 58% 38% 62% / 55% 45% 55% 45%; transform: rotate(12deg); }
}

@property --orbit-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}
@property --orbit-scale {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

.orbit__item {
    --angle: 0deg;
    --radius: 200px;
    --size: 72px;
    --burst-delay: 0ms;
    --spin-dur: 45s;
    --orbit-angle: var(--angle);
    --orbit-scale: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--size);
    height: var(--size);
    margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
    padding: 0;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 25, 35, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(var(--angle)) translateY(calc(var(--radius) * -1)) rotate(calc(var(--angle) * -1));
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    z-index: 3;
}
.orbit__item img,
.orbit__item svg {
    width: calc(var(--size) * 0.62);
    height: calc(var(--size) * 0.62);
    border-radius: 12px;
    display: block;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.orbit__item:hover,
.orbit__item.is-active {
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(133, 195, 60, 0.32), 0 0 0 3px rgba(133, 195, 60, 0.18);
    z-index: 5;
    animation-play-state: paused;
}
.orbit__item:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
@keyframes orbit-spin {
    from { --orbit-angle: var(--angle); }
    to   { --orbit-angle: calc(var(--angle) + 360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .orbit__item { transition-duration: 0.4s; }
    .orbit.is-visible .orbit__item { animation: none; }
}

/* ---------- Integrations diagram (constellation) ---------- */
.integrations--diagram .integrations__grid {
    align-items: center;
}
.integrations--diagram .integrations__copy {
    align-self: center;
}
.int-diagram {
    grid-area: visual;
    align-self: center;
    justify-self: center;
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border: 1px solid rgba(94, 124, 184, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    box-shadow: 0 12px 32px rgba(15, 25, 35, 0.06);
}
.int-diagram__brand {
    display: flex;
    justify-content: center;
    align-items: center;
}
.int-diagram__brand img {
    width: auto;
    height: 56px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.int-diagram__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.int-diagram__card {
    position: relative;
    background: var(--bg-alt);
    border: 1px solid rgba(94, 124, 184, 0.12);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.int-diagram__card:hover {
    transform: translateY(-2px);
    border-color: rgba(94, 124, 184, 0.28);
    background: #EEF1F7;
}
.int-diagram__card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.int-diagram__logos {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 4px;
}
.int-diagram__logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--bg-alt);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(15, 25, 35, 0.1);
    overflow: hidden;
    flex: none;
    transition: transform 0.2s ease;
}
.int-diagram__logo + .int-diagram__logo {
    margin-left: -10px;
}
.int-diagram__logo img,
.int-diagram__logo svg {
    width: 20px;
    height: 20px;
    display: block;
    border-radius: 50%;
}
@media (max-width: 600px) {
    .int-diagram { max-width: 360px; gap: 16px; padding: 20px 18px; }
    .int-diagram__brand img { height: 44px; }
    .int-diagram__card { padding: 10px 12px; }
    .int-diagram__card h3 { font-size: 0.85rem; }
    .int-diagram__logo { width: 26px; height: 26px; }
    .int-diagram__logo img,
    .int-diagram__logo svg { width: 18px; height: 18px; }
}

/* ---------- Pricing ---------- */
.pricing {
    position: relative;
    padding: var(--section-py) 0;
    background: linear-gradient(160deg, #EEF4E6 0%, var(--bg-alt) 40%, #E8EEF8 100%);
    text-align: center;
    overflow: hidden;
}
.pricing__bg { display: none; }
.pricing__grain { display: none; }

.pricing__inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    display: grid;
    grid-template-columns: 1fr 1.75fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.pricing__content {
    max-width: 520px;
}

.pricing__visual {
    display: flex;
    justify-content: flex-start;
}

.pricing__img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.pricing h2 {
    color: var(--text);
    margin-bottom: 20px;
}
.pricing p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 36px;
}
.pricing .btn--accent { font-size: 1rem; }
.pricing__note {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    opacity: 0.6;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

/* ---------- FAQ ---------- */
.faq {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.faq__list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq__item[open] { border-color: rgba(133, 195, 60, 0.3); }

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--primary); }

.faq__chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s;
}
.faq__item[open] .faq__chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq__answer {
    padding: 0 24px 16px;
    animation: faq-open 0.3s ease;
}
.faq__answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    padding: calc(var(--nav-height) + 60px) 0 60px;
    background: linear-gradient(160deg, #FFFFFF 0%, var(--bg-alt) 40%, #EEF4E6 100%);
    text-align: center;
}
.page-hero__content { max-width: 700px; margin: 0 auto; }
.page-hero__content h1 { margin-bottom: 20px; }
.page-hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: var(--section-py) 0;
    background: linear-gradient(160deg, #EEF4E6 0%, var(--bg-alt) 40%, #E8EEF8 100%);
    text-align: center;
}
.cta-banner__inner { max-width: 680px; margin: 0 auto; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
}
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
    position: relative;
    background: #1c2537;
    color: var(--text-light);
    padding-top: 0;
}
.footer__wave {
    display: none;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    padding: 60px 24px 40px;
}

.footer__logo {
    height: 52px;
    width: auto;
    margin-bottom: 16px;
}
.footer__brand p {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.6;
    line-height: 1.65;
    max-width: 300px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer__col h4 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer__col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.6;
    padding: 5px 0;
    transition: color 0.2s, opacity 0.2s;
}
.footer__col a:hover {
    color: var(--accent);
    opacity: 1;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
    text-align: center;
}
.footer__bottom p {
    font-size: 0.82rem;
    opacity: 0.4;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes ring-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.04); }
}

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

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

/* Scroll-triggered animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate="fade-in"] {
    transform: scale(0.96);
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .orbit { width: 440px; height: 440px; margin: 0 auto; }
    .orbit__item { --radius: 180px; }
    .hero__inner { gap: 40px; }
    .hero__avatar-group { max-width: 380px; }
    .hero__avatar--1 { width: 160px; height: 160px; }
    .hero__avatar--2 { width: 120px; height: 120px; }
    .hero__avatar--3 { width: 105px; height: 105px; }
    .hero__avatar--4 { width: 90px; height: 90px; }
    .hero__avatar--5 { width: 80px; height: 80px; }
    .hero__avatar--6 { width: 70px; height: 70px; }
}

@media (max-width: 768px) {
    :root {
        --section-py: 72px;
        --nav-height: 68px;
    }

    .demo-frame { padding: 40px 0 0; }
    .demo-frame__card { flex-direction: column; padding: 24px 24px 24px; max-width: 340px; }
    .demo-frame__text { align-items: center; order: 2; }
    .demo-frame__orb-wrap { order: 1; }
    .demo-frame__label { text-align: center; font-size: 0.88rem; }
    .demo-frame__orb-wrap { width: 130px; height: 130px; }
    .demo-frame__canvas { width: 130px; height: 130px; }
    .demo-frame__play { width: 48px; height: 48px; }

    /* Nav mobile */
    .nav,
    .nav--scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav--scrolled {
        background: #FFFFFF;
        box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(15, 25, 35, 0.06);
    }
    .nav__inner { justify-content: space-between; gap: 16px; }
    .nav__hamburger { order: -1; margin-right: auto; }
    .nav__logo { order: 0; }
    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: #F8FAFC;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: calc(var(--nav-height) + 20px) 0 40px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s, visibility 0.35s;
        z-index: 999;
        overflow: hidden;
    }
    .nav__menu--open {
        opacity: 1;
        visibility: visible;
    }
    .nav__menu .nav__link {
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text);
        padding: 16px 24px;
        text-align: left;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
        transition: color 0.2s, background 0.2s;
    }
    .nav__menu .nav__link:hover,
    .nav__menu .nav__link:active,
    .nav__menu .nav__link:focus {
        color: var(--accent);
        background: rgba(133, 195, 60, 0.08);
    }
    .nav__dropdown--open > .nav__link {
        color: var(--accent);
    }

    /* Dropdown trigger — label left, arrow right */
    .nav__dropdown { position: static; width: 100%; text-align: left; }
    .nav__dropdown > .nav__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        cursor: pointer;
    }
    .nav__dropdown-arrow {
        display: inline-block;
        transform: rotate(-90deg);
        transition: none;
        flex-shrink: 0;
    }

    /* Submenu slides in from right as a full panel */
    .nav__dropdown-menu {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        background: #F8FAFC;
        padding: calc(var(--nav-height) + 20px) 0 40px;
        transform: translateX(100%);
        opacity: 1;
        visibility: visible;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        z-index: 2;
        min-width: 0;
        border: none;
        box-shadow: none;
    }
    .nav__dropdown--open .nav__dropdown-menu {
        transform: translateX(0);
    }
    .nav__dropdown-item {
        display: flex;
        align-items: center;
        gap: 14px;
        color: var(--text);
        font-size: 1rem;
        font-weight: 500;
        padding: 14px 24px;
        text-align: left;
        justify-content: flex-start;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
    }
    .nav__dropdown-item {
        transition: color 0.2s, background 0.2s;
    }
    .nav__dropdown-item:hover,
    .nav__dropdown-item:active,
    .nav__dropdown-item:focus {
        background: rgba(133, 195, 60, 0.08);
        color: var(--accent);
    }
    .nav__dropdown-item:hover .nav__dropdown-icon,
    .nav__dropdown-item:active .nav__dropdown-icon,
    .nav__dropdown-item:focus .nav__dropdown-icon {
        color: var(--accent);
    }
    .nav__dropdown-icon { color: var(--text-muted); width: 20px; height: 20px; flex-shrink: 0; }

    /* Injected back button */
    .nav__back {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 24px;
        margin-bottom: 8px;
        font-family: var(--font-display);
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        background: none;
        border: none;
        border-bottom: 1px solid rgba(15, 25, 35, 0.08);
        cursor: pointer;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }
    .nav__back svg { width: 16px; height: 16px; flex-shrink: 0; }
    .nav__back:hover { color: var(--text); }

    .cta-banner__actions { flex-direction: column; align-items: center; }
    .cta-banner__actions .btn { width: 100%; max-width: 300px; }
    .nav__mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
        padding: 0 24px;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
    .nav__mobile-actions .btn { width: 100%; justify-content: center; }
    .nav__actions { display: none; }
    .nav__hamburger { display: flex; }
    .nav__hamburger--open span { background: var(--text); }

    /* Hero */
    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 48px) 0 32px;
    }
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__content {
        max-width: 340px;
        margin: 0 auto;
    }
    .hero__title {
        font-size: 1.75rem;
        line-height: 1.22;
        letter-spacing: -0.02em;
        margin-bottom: 20px;
    }
    .hero__tagline {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 16px;
    }
    .hero__subtitle {
        font-size: 0.98rem;
        line-height: 1.8;
        margin-bottom: 36px;
    }
    .hero__ctas {
        justify-content: center;
        gap: 12px;
        margin-top: 4px;
    }
    .hero__visual { order: -1; }
    .hero__avatar-group {
        max-width: 320px;
        margin: 0 auto;
    }
    .hero__avatar--1 { width: 120px; height: 120px; top: 25%; left: 20%; }
    .hero__avatar--2 { width: 92px; height: 92px; }
    .hero__avatar--3 { width: 80px; height: 80px; }
    .hero__avatar--4 { width: 66px; height: 66px; }
    .hero__avatar--5 { width: 60px; height: 60px; }
    .hero__avatar--6 { width: 52px; height: 52px; }
    .hero__float-badge { font-size: 0.7rem; padding: 7px 12px; }
    .hero__float-badge--voice { right: -2%; }
    .hero__float-badge--ai { top: 88%; left: auto; right: 40%; }
    .hero__float-badge--demo { right: 4%; bottom: -4%; padding: 5px 12px 5px 5px; }

    .frontdesk__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "visual"
            "title"
            "sub"
            "blocks";
    }
    .frontdesk__visual { position: static; min-height: 0; text-align: center; }
    .frontdesk__img { position: static; display: block; margin: 0 auto; max-width: 100%; width: auto; height: auto; }
    .pricing__inner { grid-template-columns: 1fr; text-align: center; }
    .pricing__content { max-width: 100%; }
    .pricing__visual { order: -1; }
    .pricing__img { max-width: 300px; }

    /* Grids */
    .features__grid { grid-template-columns: 1fr; gap: 16px; }
    .avatars__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .orbit { width: 280px; height: 280px; }
    .orbit::before { width: 220px; height: 220px; }
    .orbit__center { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
    .orbit__center img { width: 60px; }
    .orbit__item {
        --radius: 115px !important;
        --size: 50px !important;
        border-radius: 12px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px 24px;
    }
    .footer__links { grid-template-columns: repeat(3, 1fr); gap: 24px; }

    .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
    .avatars__grid { grid-template-columns: 1fr; }
    .footer__links { grid-template-columns: 1fr; }

    .hero__ctas { flex-direction: column; align-items: center; }
    .hero__ctas .btn { width: 100%; max-width: 300px; }
    .hero__ctas .btn--with-orb { padding: 0 6px 0 16px; gap: 8px; }
    .hero__ctas .btn--with-orb .btn-orb-canvas { width: 36px; height: 36px; }

    .avatar-card__player { padding: 12px 16px 18px; }

    .faq__question { padding: 12px 18px; font-size: 0.95rem; }
    .faq__answer { padding: 0 18px 14px; }
}

/* ============================================================
   INDUSTRY PAGE — Reusable for all 8 industries
   ============================================================ */

/* ---------- Industry Hero ---------- */
.industry-hero {
    position: relative;
    padding: calc(var(--nav-height) + 60px) 0 90px;
    background: linear-gradient(160deg, #FFFFFF 0%, var(--bg-alt) 40%, #EEF4E6 100%);
    overflow: hidden;
}
.industry-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.industry-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
}
.industry-hero__orb--1 {
    width: 520px; height: 520px;
    top: -120px; right: -100px;
    background: radial-gradient(circle, rgba(133, 195, 60, 0.11) 0%, transparent 70%);
}
.industry-hero__orb--2 {
    width: 420px; height: 420px;
    bottom: -80px; left: -120px;
    background: radial-gradient(circle, rgba(94, 124, 184, 0.11) 0%, transparent 70%);
}
.industry-hero__inner {
    position: relative;
    z-index: 2;
}
.industry-hero__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 96px;
    align-items: center;
}
.industry-hero__content { max-width: 560px; }

.industry-hero__tagline {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.industry-hero__title {
    color: var(--text);
    margin-bottom: 22px;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}
.industry-hero__subtitle {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.industry-hero__benefits {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 36px;
}
.industry-hero__benefits li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.55;
}
.industry-hero__benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    border-radius: 50%;
    color: var(--accent-dark);
}

.industry-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* Hero visual / image */
.industry-hero__visual-wrap {
    position: relative;
}
.industry-hero__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(94, 124, 184, 0.18), 0 10px 30px rgba(94, 124, 184, 0.08);
}
.industry-hero__visual-wrap--floating {
    align-self: end;
    margin-top: 0;
    margin-bottom: 80px;
}
.industry-hero__visual-inner {
    position: relative;
    max-width: 400px;
    margin-left: -40px;
    margin-right: auto;
}
.industry-hero__visual-wrap--floating .industry-hero__visual {
    aspect-ratio: 1 / 1.05;
    max-width: none;
    margin: 0;
    box-shadow: 0 20px 50px rgba(94, 124, 184, 0.14), 0 6px 18px rgba(94, 124, 184, 0.06);
}

/* Floating demo CTA — overlapping bottom-right of the image */
.demo-frame--floating {
    position: absolute;
    right: -40px;
    bottom: -32px;
    left: auto;
    transform: none;
    width: min(340px, calc(100% + 40px));
    padding: 0;
    z-index: 3;
    pointer-events: none;
}
.demo-frame--floating .demo-frame__card {
    pointer-events: auto;
    max-width: 100%;
    padding: 12px 12px 12px 22px;
    gap: 14px;
    border-radius: 18px;
    box-shadow:
        0 18px 42px rgba(94, 124, 184, 0.26),
        0 6px 14px rgba(15, 25, 35, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.demo-frame--floating .demo-frame__card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 50px rgba(94, 124, 184, 0.32),
        0 10px 22px rgba(15, 25, 35, 0.14);
}
.demo-frame--floating .demo-frame__orb-wrap {
    width: 96px;
    height: 96px;
}
.demo-frame--floating .demo-frame__text {
    gap: 10px;
}
.demo-frame--floating .demo-frame__label {
    font-size: 0.82rem;
    line-height: 1.45;
}
.demo-frame--floating .demo-frame__cta {
    padding: 10px 18px;
    font-size: 0.9rem;
}
.industry-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.industry-hero__placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(133, 195, 60, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(94, 124, 184, 0.28) 0%, transparent 55%),
        linear-gradient(160deg, #F5F9FF 0%, #EEF4E6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.industry-hero__placeholder-inner {
    text-align: center;
    color: var(--primary);
    padding: 32px;
}
.industry-hero__placeholder-inner svg {
    color: var(--primary);
    opacity: 0.55;
    margin-bottom: 16px;
}
.industry-hero__placeholder-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.industry-hero__placeholder-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    opacity: 0.7;
}

/* ---------- Hero mini audio preview (framed card under text) ---------- */
.industry-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px 14px 14px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 460px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}
.industry-preview:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(133, 195, 60, 0.4);
}
.industry-preview__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(94, 124, 184, 0.3);
}
.industry-preview__wave {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2px;
    height: 32px;
    min-width: 0;
}
.industry-preview__wave span {
    flex: 1;
    min-width: 2px;
    height: var(--h, 40%);
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 99px;
    opacity: 0.55;
    animation: preview-bar 1.3s ease-in-out infinite alternate;
}
.industry-preview__wave span:nth-child(3n) { animation-delay: 0.15s; }
.industry-preview__wave span:nth-child(4n) { animation-delay: 0.3s; }
.industry-preview__wave span:nth-child(5n) { animation-delay: 0.45s; }
.industry-preview__wave span:nth-child(7n) { animation-delay: 0.6s; }
.industry-preview__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}
.industry-preview__text strong {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}
.industry-preview__text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
@keyframes preview-bar {
    0%   { transform: scaleY(0.35); opacity: 0.4; }
    100% { transform: scaleY(1);    opacity: 0.9; }
}

/* ---------- Industry Benefits (two-column) ---------- */
.industry-benefits {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.industry-benefits__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 80px;
    align-items: start;
}
.industry-benefits__intro {
    position: sticky;
    top: calc(var(--nav-height) + 32px);
}
.industry-benefits__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 22px;
}
.industry-benefits__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
}
.industry-benefits__cta {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.industry-benefits__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent-glow, var(--shadow-lg));
}

.industry-benefits__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.benefit-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-light);
}
.benefit-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.benefit-item__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--accent-dark);
    flex-shrink: 0;
}
.benefit-item__body h3 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text);
    margin: 4px 0 8px;
}
.benefit-item__body p {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Call Demo Section ---------- */
.call-demo {
    position: relative;
    padding: var(--section-py) 0 calc(var(--section-py) + 20px);
    overflow: hidden;
    background: var(--primary);
}
.call-demo::before,
.call-demo::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}
.call-demo::before {
    width: 420px; height: 420px;
    top: -150px; right: -120px;
    background: radial-gradient(circle, rgba(133, 195, 60, 0.28) 0%, transparent 70%);
}
.call-demo::after {
    width: 360px; height: 360px;
    bottom: -120px; left: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
}
.call-demo .section-header h2 { color: #fff; }
.call-demo .section-header__sub { color: rgba(255, 255, 255, 0.88); }
.call-demo .container {
    position: relative;
    z-index: 2;
}

/* Frame — main card wrapper */
.call-demo__frame {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(94, 124, 184, 0.18), 0 10px 30px rgba(94, 124, 184, 0.08);
    overflow: hidden;
}

/* Player header */
.call-demo__player {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-alt) 100%);
    border-bottom: 1px solid var(--border-light);
}
.call-demo__ai-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.call-demo__ai-info img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.call-demo__ai-info h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text);
}
.call-demo__ai-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.call-demo__pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* Waveform */
.call-demo__wave {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 52px;
    padding: 0 6px;
    min-width: 0;
}
.call-demo__wave span {
    flex: 1;
    min-width: 2px;
    max-width: 5px;
    height: var(--h, 40%);
    background: var(--primary-light);
    border-radius: 99px;
    opacity: 0.4;
    transform-origin: center;
    transition: opacity 0.3s, background 0.3s;
}
.call-demo__frame.is-playing .call-demo__wave span {
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.95;
    animation: call-wave-bar 0.85s ease-in-out infinite alternate;
}
.call-demo__frame.is-playing .call-demo__wave span:nth-child(2n)  { animation-delay: 0.05s; }
.call-demo__frame.is-playing .call-demo__wave span:nth-child(3n)  { animation-delay: 0.1s; }
.call-demo__frame.is-playing .call-demo__wave span:nth-child(4n)  { animation-delay: 0.15s; }
.call-demo__frame.is-playing .call-demo__wave span:nth-child(5n)  { animation-delay: 0.08s; }
.call-demo__frame.is-playing .call-demo__wave span:nth-child(7n)  { animation-delay: 0.18s; }
.call-demo__frame.is-playing .call-demo__wave span:nth-child(11n) { animation-delay: 0.22s; }

@keyframes call-wave-bar {
    0%   { transform: scaleY(0.4); }
    100% { transform: scaleY(1.05); }
}

/* Controls */
.call-demo__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.call-demo__btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px var(--accent-glow);
    transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.call-demo__btn:hover {
    background: var(--accent-bright);
    transform: scale(1.06);
    box-shadow: 0 6px 22px var(--accent-glow);
}
.call-demo__btn .icon-pause { display: none; }
.call-demo__frame.is-playing .call-demo__btn--play .icon-play  { display: none; }
.call-demo__frame.is-playing .call-demo__btn--play .icon-pause { display: block; }

.call-demo__btn--reset {
    width: 42px;
    height: 42px;
    background: #fff;
    color: var(--text-muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}
.call-demo__btn--reset:hover {
    background: var(--bg-alt);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 10px rgba(94, 124, 184, 0.15);
}

.call-demo__time {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 74px;
    text-align: right;
}

/* Transcript — Spotify-style lyric sync */
.call-demo__transcript {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: 480px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.call-demo__transcript::-webkit-scrollbar {
    width: 6px;
}
.call-demo__transcript::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
}
.call-demo__transcript::-webkit-scrollbar-track {
    background: transparent;
}

.call-line {
    display: flex;
    gap: 12px;
    max-width: 82%;
    opacity: 0.28;
    transform: translateY(3px);
    transition:
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.55s;
    filter: blur(0.4px);
}
.call-line.is-past {
    opacity: 0.55;
    filter: blur(0);
    transform: translateY(0);
}
.call-line.is-active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1.015);
}

/* Caller line — left side */
.call-line--caller {
    align-self: flex-start;
    flex-direction: row;
}
.call-line--caller .call-line__bubble {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
    border-top-left-radius: 6px;
}
.call-line.is-active.call-line--caller .call-line__bubble {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 10px 28px rgba(94, 124, 184, 0.12);
}

/* AI line — right side */
.call-line--ai {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.call-line--ai .call-line__bubble {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: 1px solid transparent;
    border-top-right-radius: 6px;
}
.call-line--ai .call-line__speaker {
    color: rgba(255, 255, 255, 0.75);
}
.call-line.is-active.call-line--ai .call-line__bubble {
    box-shadow: 0 14px 32px rgba(94, 124, 184, 0.35), 0 0 0 3px rgba(133, 195, 60, 0.25);
}

/* Avatar */
.call-line__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid #fff;
}
.call-line__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.call-line__avatar--caller {
    background: var(--primary-muted);
    color: var(--primary);
}

/* Bubble */
.call-line__bubble {
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    font-size: 0.98rem;
    line-height: 1.55;
    transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
    font-family: var(--font-body);
}
.call-line__speaker {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.65;
    margin-bottom: 5px;
}

/* Footnote CTA under the frame */
.call-demo__footnote {
    max-width: 880px;
    margin: 48px auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.call-demo__footnote p {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
}
.call-demo__footnote .btn {
    background: #fff;
    color: var(--primary-dark);
    padding: 16px 34px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 4px 14px rgba(15, 25, 35, 0.14);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.call-demo__footnote .btn:hover {
    background: #fff;
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(133, 195, 60, 0.42);
}
.call-demo__footnote-note {
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
    margin-top: 4px;
}

/* Add breathing room below the hero when the floating CTA is present */
.industry-hero:has(.demo-frame--floating) {
    padding-bottom: 130px;
}

/* ---------- Responsive — Industry page ---------- */
@media (max-width: 1024px) {
    .industry-hero__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .industry-hero__content { max-width: 100%; }
    .industry-hero__visual {
        aspect-ratio: 16 / 11;
        max-width: 620px;
        margin: 0 auto;
        width: 100%;
    }
    .industry-hero__visual-wrap--floating .industry-hero__visual-inner {
        max-width: 560px;
        margin: 0 auto;
    }
    .industry-hero__visual-wrap--floating .industry-hero__visual {
        aspect-ratio: 16 / 11;
    }
    .industry-hero__visual-wrap--floating .demo-frame--floating {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .industry-benefits__grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .industry-benefits__intro {
        position: static;
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .industry-hero {
        padding: calc(var(--nav-height) + 40px) 0 60px;
    }
    .industry-hero:has(.demo-frame--floating) {
        padding-bottom: 60px;
    }
    .industry-hero__grid { gap: 36px; }
    .industry-hero__visual {
        aspect-ratio: 4 / 5;
    }
    .industry-hero__visual-wrap--floating .industry-hero__visual {
        aspect-ratio: 4 / 5;
    }
    /* Stack the floating CTA under the image on mobile — centered under the photo */
    .industry-hero__visual-wrap--floating .demo-frame--floating {
        position: static;
        left: auto;
        right: auto;
        transform: none;
        margin: 18px auto 0;
        width: 100%;
        display: flex;
        justify-content: center;
        pointer-events: auto;
    }
    .industry-hero__placeholder-inner svg { width: 72px; height: 72px; }
    .industry-hero__ctas .btn { flex: 1; min-width: 160px; }
    .industry-preview { max-width: 100%; padding: 12px 14px 12px 12px; gap: 12px; }
    .industry-preview__icon { width: 38px; height: 38px; }
    .industry-preview__wave { height: 28px; }

    .industry-benefits__grid { gap: 44px; }
    .industry-benefits__title { font-size: 1.8rem; }
    .industry-benefits__lead { font-size: 1rem; }
    .industry-benefits__list { gap: 28px; }
    .benefit-item {
        grid-template-columns: 44px 1fr;
        gap: 16px;
        padding-bottom: 28px;
    }
    .benefit-item__icon { width: 44px; height: 44px; }
    .benefit-item__icon svg { width: 20px; height: 20px; }
    .benefit-item__body h3 { font-size: 1.05rem; }
    .benefit-item__body p { font-size: 0.92rem; }

    .call-demo__player {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }
    .call-demo__ai-info { justify-content: center; }
    .call-demo__wave { width: 100%; height: 44px; }
    .call-demo__controls { justify-content: space-between; }
    .call-demo__time { text-align: right; }

    .call-demo__transcript {
        padding: 24px 18px;
        max-height: 540px;
        gap: 14px;
    }
    .call-line { max-width: 90%; gap: 10px; }
    .call-line__bubble { padding: 12px 16px; font-size: 0.92rem; }
    .call-line__avatar { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
    .industry-hero__tagline { font-size: 0.8rem; }
    .industry-hero__benefits li { font-size: 0.92rem; }
    .industry-hero__ctas { flex-direction: column; }
    .industry-hero__ctas .btn { width: 100%; max-width: 320px; }

    .call-line { max-width: 94%; }
    .call-line__bubble { font-size: 0.88rem; padding: 11px 14px; }
    .call-line__speaker { font-size: 0.65rem; }
}

/* ============================================================
   CHI SIAMO — About page
   ============================================================ */

/* ---------- Hero ---------- */
.about-hero {
    position: relative;
    padding: calc(var(--nav-height) + 90px) 0 80px;
    background:
        radial-gradient(900px 500px at 85% 10%, var(--primary-muted), transparent 60%),
        radial-gradient(700px 400px at 5% 80%, var(--accent-muted), transparent 60%),
        linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    text-align: center;
    overflow: hidden;
}
.about-hero__inner { max-width: 820px; margin: 0 auto; }
.about-hero__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 8px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.about-hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}
.about-hero__lede {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

/* ---------- Storia ---------- */
.about-storia {
    padding: 100px 0;
    background: var(--bg);
}
.about-storia--first {
    padding-top: calc(var(--nav-height) + 80px);
    background:
        radial-gradient(900px 500px at 85% 10%, var(--primary-muted), transparent 60%),
        radial-gradient(700px 400px at 5% 80%, var(--accent-muted), transparent 60%),
        linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.about-storia__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}
.about-storia__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}
.about-storia__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.about-storia__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.about-storia__body p {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.7;
}
.about-storia__body a {
    color: inherit;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.about-storia__body a:hover,
.about-storia__body a:active,
.about-storia__body a:focus {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.footer__brand a {
    color: inherit;
    transition: color 0.2s;
}
.footer__brand a:hover,
.footer__brand a:active,
.footer__brand a:focus {
    color: var(--primary-light);
}

/* ---------- Numeri / stats (typographic, gradient numbers, no cards) ---------- */
.about-numeri__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}
.about-stat {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    text-align: center;
    transition: none;
}
.about-stat:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}
.about-stat__value {
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    background-image: linear-gradient(
        120deg,
        var(--primary-dark) 0%,
        var(--primary) 35%,
        var(--primary-light) 65%,
        var(--accent) 100%
    );
    background-size: 220% auto;
    background-position: 0% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: about-stat-shimmer 9s ease-in-out infinite;
    margin-bottom: 18px;
}
@keyframes about-stat-shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}
.about-stat__value .unit {
    font-size: 0.62em;
    margin-left: 2px;
    font-weight: 800;
    color: transparent;
}
.about-stat__label {
    color: var(--text-muted);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    max-width: 240px;
    margin: 0 auto;
}
.about-stat__label {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ---------- Valori ---------- */
.about-valori {
    padding: 100px 0;
    background: var(--bg);
}
.about-valori__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.about-valore {
    padding: 36px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-valore:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}
.about-valore__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-muted);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.about-valore__icon svg { width: 26px; height: 26px; }
.about-valore h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.about-valore p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ---------- Branches / Contatti ---------- */
/* ---------- Press / Rassegna stampa ---------- */
.press {
    position: relative;
    padding: 100px 0 80px;
    background: var(--bg);
    overflow: hidden;
}
.press__header {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}
.press__eyebrow {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin: 0 0 14px;
}
.press__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 16px;
}
.press__subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.press__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}
.press-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 36px 36px 32px;
    background: var(--bg);
    border: 1px solid rgba(15, 25, 35, 0.08);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    box-shadow: 0 6px 20px rgba(15, 25, 35, 0.04);
}
.press-card:hover {
    transform: translateY(-4px);
    border-color: rgba(133, 195, 60, 0.4);
    box-shadow: 0 24px 50px rgba(15, 25, 35, 0.10), 0 6px 16px rgba(94, 124, 184, 0.10);
}
.press-card__logo {
    display: flex;
    align-items: center;
    height: 44px;
    margin-bottom: 8px;
}
.press-card__logo img {
    max-height: 36px;
    max-width: 200px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}
.press-card__date {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
}
.press-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
}
.press-card__excerpt {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
}
.press-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-dark);
    transition: gap 0.2s ease, color 0.2s ease;
}
.press-card__cta svg { width: 16px; height: 16px; }
.press-card:hover .press-card__cta { gap: 12px; color: var(--accent); }
@media (max-width: 768px) {
    .press { padding: 72px 0 56px; }
    .press__grid { grid-template-columns: 1fr; gap: 18px; }
    .press-card { padding: 28px 26px; }
    .press-card__title { font-size: 1.18rem; }
}

.branches {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(900px 500px at 82% 8%, var(--primary-muted), transparent 60%),
        radial-gradient(800px 500px at 10% 95%, var(--accent-muted), transparent 60%),
        linear-gradient(180deg, var(--bg-alt) 0%, #EEF2F9 100%);
    overflow: hidden;
}
.branches__header {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.branches__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 18px;
}
.branches__subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 32px 28px;
    background: var(--bg);
    border: 1px solid rgba(15, 25, 35, 0.06);
    border-radius: var(--radius-xl);
    box-shadow: 0 16px 40px rgba(15, 25, 35, 0.06), 0 2px 8px rgba(94, 124, 184, 0.06);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(133, 195, 60, 0.4);
    box-shadow: 0 28px 60px rgba(15, 25, 35, 0.10), 0 6px 18px rgba(94, 124, 184, 0.10);
}
.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-muted), rgba(94, 124, 184, 0.10));
    color: var(--accent-dark);
    margin-bottom: 14px;
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card__label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
}
.contact-card__value {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--text);
    margin: 2px 0 4px;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
}
.contact-card__user {
    font-size: 1.35rem;
    color: var(--text);
    letter-spacing: -0.01em;
}
.contact-card__domain {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0;
}
.contact-card__meta {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}
.contact-card--phone .contact-card__icon {
    background: linear-gradient(135deg, var(--accent), #6FA82F);
    color: #fff;
}
.contact-card--phone .contact-card__value {
    font-size: 1.4rem;
    color: var(--accent-dark);
}
.contact-extras {
    max-width: 1180px;
    margin: 28px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.contact-extra {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 25, 35, 0.08);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s;
}
.contact-extra svg { width: 16px; height: 16px; color: var(--accent-dark); }
.contact-extra:hover {
    color: var(--text);
    border-color: rgba(133, 195, 60, 0.5);
    background: #fff;
}

/* ---------- About intro hero (deep navy + 3D wave dot grid) ---------- */
.about-intro {
    position: relative;
    margin-top: var(--nav-height);
    padding: 120px 0 140px;
    background: linear-gradient(160deg, #FFFFFF 0%, var(--bg-alt) 40%, #EEF4E6 100%);
    color: var(--text);
    overflow: hidden;
    isolation: isolate;
}
.about-intro__waves {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    pointer-events: none;
    filter: blur(0.6px);
}
.about-intro__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to left, rgba(15, 25, 35, 0.55) 0%, rgba(15, 25, 35, 0.22) 38%, transparent 62%),
        radial-gradient(900px 500px at 100% 50%, rgba(15, 25, 35, 0.40), transparent 65%);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 38%, #000 62%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 38%, #000 62%, #000 100%);
}
.about-intro__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: center;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}
.about-intro__grid--two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
    gap: 60px;
    justify-items: stretch;
    align-items: center;
    text-align: left;
}
.about-intro__content {
    grid-column: 1;
    justify-self: center;
}
.about-intro__grid--two-col .about-intro__content {
    justify-self: stretch;
}
.about-intro__grid--two-col .about-intro__body {
    margin: 0;
    align-items: flex-start;
    text-align: left;
}
.about-intro__grid--two-col .about-intro__title {
    text-align: left;
}
.about-intro__diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* ---------- Brand tree (Chi siamo hero) ---------- */
.brand-tree {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 0.92;
    margin: 0 auto;
}
.brand-tree::before,
.brand-tree::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    z-index: 0;
    pointer-events: none;
}
.brand-tree::before {
    /* blue stain — top-left */
    width: 68%;
    height: 68%;
    top: -6%;
    left: -12%;
    background: var(--primary);
    opacity: 0.30;
}
.brand-tree::after {
    /* green stain — bottom-right */
    width: 62%;
    height: 62%;
    bottom: -6%;
    right: -10%;
    background: var(--accent);
    opacity: 0.28;
}
.brand-tree__node,
.brand-tree__children,
.brand-tree__icon {
    z-index: 1;
}
.brand-tree__node {
    position: absolute;
    background: #fff;
    border-radius: 22px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(15, 25, 35, 0.10);
    border: 3px solid transparent;
}
.brand-tree__node img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.brand-tree__node--root {
    top: 0;
    left: 50%;
    width: 44%;
    aspect-ratio: 1 / 1;
    transform: translateX(-50%);
    z-index: 2;
    border-color: #6BC8B5;
}
.brand-tree__children {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}
.brand-tree__node--child {
    position: relative;
    width: 32%;
    aspect-ratio: 1 / 1;
}
.brand-tree__node--child:first-child {
    border-color: #EC5B26;
}
.brand-tree__node--wave {
    border-color: #85C33C;
    padding: 18px 14px;
}

/* ---------- Brand-tree decorative icons ---------- */
.brand-tree__icon {
    position: absolute;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    color: var(--primary);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(15, 25, 35, 0.10), 0 0 0 1px rgba(94, 124, 184, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    animation: brand-tree-icon-drift-a 6s ease-in-out infinite;
}
.brand-tree__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}
/* 5 icons placed on the convex hull around the 3-logo triangle so
   { logos + icons } reads as a single circular silhouette. */
.brand-tree__icon--1 { top: 8%;  left: 8%;  animation-delay: 0s; }
.brand-tree__icon--2 { top: 8%;  left: 92%; animation-delay: -1.2s; animation-name: brand-tree-icon-drift-b; }
.brand-tree__icon--3 { top: 50%; left: 0;   animation-delay: -2.4s; animation-duration: 7.2s; animation-name: brand-tree-icon-drift-c; }
.brand-tree__icon--4 { top: 50%; left: 100%;animation-delay: -3.6s; animation-duration: 7.2s; animation-name: brand-tree-icon-drift-b; }
.brand-tree__icon--5 { top: 96%; left: 50%; animation-delay: -4.8s; animation-name: brand-tree-icon-drift-c; }
@keyframes brand-tree-icon-drift-a {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-3px, -5px); }
}
@keyframes brand-tree-icon-drift-b {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(4px, -3px); }
}
@keyframes brand-tree-icon-drift-c {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(2px, 4px); }
}
@media (prefers-reduced-motion: reduce) {
    .brand-tree__icon { animation: none; transform: none; }
}
.about-intro__body {
    max-width: 720px;
    margin: 0 auto;
    align-items: center;
    animation: about-intro-fade 0.9s cubic-bezier(0.22, 0.94, 0.36, 1) both;
}
@keyframes about-intro-fade {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.about-intro__title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
    margin-bottom: 28px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent-dark) 25%,
        var(--accent) 50%,
        var(--primary) 75%,
        var(--accent-dark) 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: hero-title-gradient 7s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .about-intro__title {
        animation: none;
        background-position: 50% 50%;
    }
}
.about-intro__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 720px;
    text-align: center;
    align-items: center;
}
.about-intro__body h1 {
    color: var(--text);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.25;
    margin: 0;
}
.about-intro__body p {
    color: var(--text);
    font-size: 1.08rem;
    line-height: 1.7;
}
.about-intro__body a {
    color: var(--primary);
    border-bottom: 1px solid rgba(94, 124, 184, 0.45);
    transition: border-color 0.2s;
}
.about-intro__body a:hover,
.about-intro__body a:focus {
    border-bottom-color: var(--primary);
}
.about-intro__more-toggle {
    display: none;
    align-self: flex-start;
    margin-top: 4px;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.about-intro__more-toggle:hover,
.about-intro__more-toggle:focus-visible {
    opacity: 0.85;
}
.about-intro__more-toggle svg { display: none; }

/* ---------- Numeri section (standalone) ---------- */
.about-numeri {
    padding: 60px 0 120px;
    background: var(--bg);
}

/* ---------- Powered By (static logo strip — no animation) ---------- */
.powered-by {
    padding: 0 0 100px;
    background: var(--bg);
}
.powered-by__label {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.12em;
    margin: 0 0 32px;
}
.powered-by__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 64px 80px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.powered-by__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(15, 25, 35, 0.55);
}
.powered-by__mark {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}
.powered-by__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: inherit;
}
@media (max-width: 640px) {
    .powered-by__row { gap: 24px 40px; }
    .powered-by__name { font-size: 1rem; }
}

/* Compact banner variant (used on product page after hero) */
.powered-by--banner {
    padding: 28px 0;
    background: var(--primary);
}
.powered-by--banner .powered-by__label {
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 14px;
}
.powered-by--banner .powered-by__row {
    gap: 18px 56px;
}
.powered-by--banner .powered-by__item {
    color: rgba(255, 255, 255, 0.92);
}
.powered-by--banner .powered-by__name {
    font-size: 1rem;
}
.powered-by__wordmark {
    height: 22px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}
.powered-by--banner .powered-by__wordmark { opacity: 1; }
@media (max-width: 640px) {
    .powered-by--banner { padding: 22px 0; }
    .powered-by--banner .powered-by__row { gap: 14px 32px; }
}

/* ---------- Mission & Vision ---------- */
.mission-vision {
    padding: 120px 0 40px;
    background: var(--bg);
}
.mission-vision .container { max-width: 1160px; }
.mv-block {
    display: grid;
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    column-gap: 80px;
    align-items: start;
    padding: 56px 0;
}
.mv-block + .mv-block {
    border-top: 1px solid var(--border);
}
.mv-block__headline h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text);
    margin: 0;
}
.mv-block__body {
    max-width: 620px;
}
.mv-block__body p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--text);
    margin: 0;
}
.mv-block__body strong {
    font-weight: 700;
    color: var(--text);
}

@media (max-width: 860px) {
    .mission-vision { padding: 80px 0; }
    .mv-block {
        grid-template-columns: 1fr;
        row-gap: 20px;
        padding: 40px 0;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .about-storia__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-intro__grid { grid-template-columns: 1fr; }
    .about-intro__content { grid-column: 1; }
    .about-intro__grid--two-col {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        justify-items: center;
    }
    .about-intro__grid--two-col .about-intro__title,
    .about-intro__grid--two-col .about-intro__body { text-align: center; align-items: center; }
    .about-intro__diagram { order: -1; }
    .brand-tree { max-width: 360px; }
    .about-intro__overlay {
        background:
            linear-gradient(to top, rgba(15, 25, 35, 0.55) 0%, rgba(15, 25, 35, 0.22) 40%, transparent 65%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 35%, #000 60%, #000 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, transparent 35%, #000 60%, #000 100%);
    }
    .about-numeri__grid { grid-template-columns: repeat(2, 1fr); }
    .about-valori__grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
    .contact-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-card { padding: 26px 22px; }
}
@media (max-width: 768px) {
    .about-intro__more-text {
        display: none;
    }
    .about-intro__body.is-expanded .about-intro__more-text {
        display: block;
    }
    .about-intro__more-toggle {
        display: inline-block;
    }
}
@media (max-width: 560px) {
    .about-storia,
    .about-valori { padding: 72px 0; }
    .about-intro { padding: 80px 0 96px; }
    .about-numeri { padding: 64px 0; }
    .about-numeri__grid { grid-template-columns: 1fr; gap: 56px; }
    .about-numeri { padding: 80px 0; }
    .branches { padding: 72px 0; }
    .branch-card { padding: 28px 24px; }
    .branch-card__city { font-size: 1.5rem; }
}

/* ---------- Legal pages (Privacy / Cookie) ---------- */
.legal-hero {
    margin-top: var(--nav-height);
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}
.legal-hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, var(--accent-muted) 0%, transparent 65%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}
.legal-hero__inner {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.legal-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--primary-muted);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.legal-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 16px;
    color: var(--text);
}
.legal-hero h1 .text-accent { color: var(--accent); }
.legal-hero__lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 0 8px;
}
.legal-hero__meta {
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.legal {
    padding: 72px 0 120px;
    background: var(--bg);
}
.legal__layout {
    max-width: 880px;
    margin: 0 auto;
}
.legal__content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
}
.legal__content > h2 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text);
    margin: 56px 0 18px;
    padding-top: 12px;
    border-top: 2px solid var(--accent);
    display: inline-block;
    padding-right: 24px;
}
.legal__content > h2:first-child { margin-top: 0; }
.legal__content > h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 36px 0 10px;
    letter-spacing: -0.01em;
}
.legal__content > h4 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    margin: 24px 0 8px;
    letter-spacing: 0;
}
.legal__content p {
    margin: 0 0 14px;
    color: var(--text);
}
.legal__content p + p { margin-top: 14px; }
.legal__content strong { color: var(--text); font-weight: 600; }
.legal__content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary-muted);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.legal__content a:hover {
    color: var(--accent-dark);
    text-decoration-color: var(--accent);
}
.legal__content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 18px;
}
.legal__content ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.7;
}
.legal__content ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}
.legal__card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 28px 0;
}
.legal__card h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    color: var(--text) !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.legal__card p {
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.legal__card p strong { color: var(--text); }
.legal__card a { color: var(--primary-dark); }
.legal__nav {
    margin-top: 72px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}
.legal__nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.legal__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.legal__nav-link:hover {
    background: var(--primary-muted);
    border-color: var(--primary-muted);
    color: var(--primary-dark);
}
.legal__nav-back {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 720px) {
    .legal-hero { padding: 60px 0 44px; }
    .legal { padding: 56px 0 80px; }
    .legal__content { font-size: 0.96rem; line-height: 1.7; }
    .legal__content > h2 { margin: 44px 0 14px; }
    .legal__card { padding: 20px 22px; }
    .legal__nav { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PREZZI — Intro (white) + Form section (full-width blue)
   ============================================================ */

/* White intro with title */
.prezzi-intro {
    position: relative;
    margin-top: var(--nav-height);
    padding: 120px 0 96px;
    background: var(--bg-alt);
    color: var(--text);
}
.prezzi-intro__head {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.prezzi-intro__head .prezzi-hero__title {
    max-width: none;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .prezzi-intro__head .prezzi-hero__title { white-space: normal; }
}
.prezzi-intro__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 8px;
}
@media (max-width: 540px) {
    .prezzi-intro__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
}
.prezzi-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--accent-muted);
    color: var(--accent-dark);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid rgba(133, 195, 60, 0.3);
}
.prezzi-hero__title {
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.12;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.prezzi-hero__lead {
    color: var(--text-muted);
    font-size: 1.06rem;
    line-height: 1.65;
    margin: 0;
    max-width: 560px;
}

/* Full-width blue form section */
.prezzi-form-section {
    position: relative;
    padding: 72px 0 180px;
    background: var(--primary);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.prezzi-form-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 85% -10%, rgba(133, 195, 60, 0.18), transparent 60%),
        radial-gradient(700px 480px at 10% 110%, rgba(255, 255, 255, 0.08), transparent 55%);
    pointer-events: none;
    z-index: -1;
}
.prezzi-form-section__inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: left;
}

/* Progress indicator — inline bookli-style row */
.prezzi-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}
.prezzi-progress__step {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.prezzi-progress__bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.prezzi-progress__label {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.005em;
    transition: color 0.3s ease;
}
.prezzi-progress__step.is-active .prezzi-progress__bubble {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}
.prezzi-progress__step.is-active .prezzi-progress__label {
    color: #fff;
    font-weight: 600;
}
.prezzi-progress__step.is-complete .prezzi-progress__bubble {
    background: var(--accent);
    color: #fff;
}
.prezzi-progress__step.is-complete .prezzi-progress__label {
    color: rgba(255, 255, 255, 0.85);
}
.prezzi-progress__track {
    flex: 1;
    height: 1px;
    margin: 0 16px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    position: relative;
}
.prezzi-progress__fill {
    display: block;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.prezzi-progress[data-current="2"] .prezzi-progress__fill { width: 100%; }

/* Form */
.prezzi-form {
    position: relative;
    display: block;
    text-align: left;
}
.prezzi-form__step {
    display: none;
    flex-direction: column;
    gap: 18px;
    border: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.prezzi-form__step.is-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.prezzi-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.prezzi-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.prezzi-form__field label {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}
.prezzi-form__field input,
.prezzi-form__field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    font-family: var(--font-body);
    font-size: 1rem;
    color: #fff;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.prezzi-form__field input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.prezzi-form__field input:hover,
.prezzi-form__field select:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.28);
}
.prezzi-form__field input:focus,
.prezzi-form__field select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(133, 195, 60, 0.22);
}
.prezzi-form__field input:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px rgba(94, 124, 184, 0.9) inset;
    caret-color: #fff;
}

/* Custom dropdown (replaces native <select> for full styling control) */
.prezzi-select {
    position: relative;
}
.prezzi-select__trigger {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, border-radius 0.2s ease;
}
.prezzi-select__trigger:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.28);
}
.prezzi-select__trigger:focus-visible,
.prezzi-select.is-open .prezzi-select__trigger {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(133, 195, 60, 0.22);
}
.prezzi-select.is-open .prezzi-select__trigger {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.prezzi-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.prezzi-select__value--placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.prezzi-select__caret {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.25s ease;
}
.prezzi-select.is-open .prezzi-select__caret {
    transform: rotate(180deg);
}
.prezzi-select__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border-light);
    border-top: 0;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    box-shadow: 0 16px 48px rgba(15, 25, 35, 0.18), 0 2px 8px rgba(15, 25, 35, 0.06);
    max-height: 280px;
    overflow-y: auto;
    z-index: 20;
    display: none;
}
.prezzi-select.is-open .prezzi-select__menu {
    display: block;
    animation: prezzi-select-in 0.18s ease-out;
}
@keyframes prezzi-select-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.prezzi-select__option {
    padding: 10px 12px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.prezzi-select__option:hover {
    background: rgba(94, 124, 184, 0.08);
    color: var(--primary);
}
.prezzi-select__option.is-selected {
    background: var(--accent);
    color: #fff;
}
.prezzi-select__option.is-selected:hover {
    background: var(--accent-bright);
    color: #fff;
}
.prezzi-select.is-error .prezzi-select__trigger {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.prezzi-form__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}
.prezzi-form__actions--split {
    flex-direction: row;
    align-items: center;
    gap: 14px;
}
.prezzi-form__actions--split > .btn {
    flex: 1;
    justify-content: center;
}
.prezzi-form__actions .btn--accent {
    justify-content: center;
}

.prezzi-form__back {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.prezzi-form__back:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-1px);
}
.prezzi-form__back svg {
    transition: transform 0.25s ease;
}
.prezzi-form__back:hover svg {
    transform: translateX(-2px);
}

/* =====================================================
   MODAL — Prenota consulenza
   ===================================================== */
.prezzi-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow: hidden;
}
.prezzi-modal[hidden] { display: none; }

.prezzi-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 35, 0.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: prezzi-modal-fade 0.25s ease-out;
    cursor: pointer;
}
.prezzi-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: min(640px, calc(100vh - 48px));
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 80px rgba(15, 25, 35, 0.5), 0 2px 8px rgba(15, 25, 35, 0.15);
    color: #FFF;
    isolation: isolate;
    animation: prezzi-modal-in 0.35s cubic-bezier(0.22, 0.94, 0.36, 1);
}
.prezzi-modal__dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(600px 400px at 100% 0%, rgba(133, 195, 60, 0.22), transparent 60%),
        radial-gradient(500px 340px at 0% 100%, rgba(255, 255, 255, 0.08), transparent 55%);
    z-index: -1;
}
.prezzi-modal__dialog .prezzi-form-section__inner {
    max-width: 100%;
    gap: 28px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 48px 40px 40px;
    overscroll-behavior: contain;
}

.prezzi-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    z-index: 3;
}
.prezzi-modal__close svg { width: 18px; height: 18px; }
.prezzi-modal__close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.28);
    color: #FFF;
    transform: rotate(90deg);
}
.prezzi-modal__close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(133, 195, 60, 0.35);
}

.prezzi-modal__head {
    text-align: center;
    padding: 0 20px;
}
.prezzi-modal__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #FFF;
    letter-spacing: -0.01em;
}
.prezzi-modal__subtitle {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

/* Body scroll lock when modal is open */
body.has-modal-open { overflow: hidden; }

/* ---------- Demo CTA modal (industry pages) ---------- */
.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
}
.demo-modal[hidden] { display: none; }
.demo-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 35, 0.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: prezzi-modal-fade 0.25s ease-out;
    cursor: pointer;
}
.demo-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 880px;
    margin: auto;
    animation: prezzi-modal-in 0.35s cubic-bezier(0.22, 0.94, 0.36, 1);
    z-index: 1;
}
.demo-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    z-index: 4;
    box-shadow: var(--shadow-sm);
}
.demo-modal__close svg { width: 18px; height: 18px; }
.demo-modal__close:hover {
    background: var(--bg-alt);
    border-color: var(--accent);
    color: var(--text);
    transform: rotate(90deg);
}
.demo-modal__close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(133, 195, 60, 0.35);
}
.demo-modal .demo-cta__card {
    background: #FFFFFF;
    border-color: var(--border);
    box-shadow: 0 24px 80px rgba(15, 25, 35, 0.35), 0 2px 8px rgba(15, 25, 35, 0.12);
}

@keyframes prezzi-modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes prezzi-modal-in {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Call modal (cal.com embed) ---------- */
.call-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}
.call-modal[hidden] { display: none; }
.call-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 35, 0.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: prezzi-modal-fade 0.25s ease-out;
    cursor: pointer;
}
.call-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 980px;
    height: min(90vh, 640px);
    margin: auto;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(15, 25, 35, 0.35), 0 2px 8px rgba(15, 25, 35, 0.12);
    animation: prezzi-modal-in 0.35s cubic-bezier(0.22, 0.94, 0.36, 1);
    overflow: hidden;
    z-index: 1;
}
.call-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    z-index: 4;
    box-shadow: var(--shadow-sm);
}
.call-modal__close svg { width: 18px; height: 18px; }
.call-modal__close:hover {
    background: var(--bg-alt);
    border-color: var(--accent);
    color: var(--text);
    transform: rotate(90deg);
}
.call-modal__close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(133, 195, 60, 0.35);
}
.call-modal__frame {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 64px;
    background: var(--bg-alt);
    overflow: auto;
}
.call-modal__embed {
    width: 100%;
    height: 100%;
}
.call-modal__embed > div,
.call-modal__embed cal-inline,
.call-modal__embed cal-modal-box {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    display: block !important;
}
.call-modal__embed iframe {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    border: 0 !important;
    display: block;
}
.call-modal__loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-muted);
    background: var(--bg-alt);
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 2;
}
.call-modal__loader.is-hidden { opacity: 0; pointer-events: none; }
.call-modal__error {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    padding: 24px;
    font-family: var(--font-body);
    color: var(--text);
}
.call-modal__error[hidden] { display: none; }
.call-modal__error p { margin: 0; max-width: 380px; }
.call-modal__spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(94, 124, 184, 0.18);
    border-top-color: var(--accent);
    animation: call-spin 0.9s linear infinite;
}
@keyframes call-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .call-modal { padding: 0; }
    .call-modal__dialog {
        height: 100vh;
        height: 100dvh;
        max-width: 100%;
        border-radius: 0;
    }
}

/* Mobile — full-height modal feel */
@media (max-width: 560px) {
    .prezzi-modal { padding: 0; align-items: stretch; }
    .prezzi-modal__dialog {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    .prezzi-modal__dialog .prezzi-form-section__inner {
        padding: 56px 22px 28px;
    }
    .prezzi-modal__close { top: 12px; right: 12px; }
    .prezzi-modal__head { padding: 0; }
}

/* ============================================================
   EMAIL MODAL — Send quotation by email (light theme)
   ============================================================ */
.email-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow: hidden;
}
.email-modal[hidden] { display: none; }
.email-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 25, 35, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: prezzi-modal-fade 0.25s ease-out;
    cursor: pointer;
}
.email-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 80px rgba(15, 25, 35, 0.35), 0 2px 8px rgba(15, 25, 35, 0.1);
    color: var(--text);
    animation: prezzi-modal-in 0.35s cubic-bezier(0.22, 0.94, 0.36, 1);
}
.email-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}
.email-modal__close svg { width: 16px; height: 16px; }
.email-modal__close:hover { background: var(--border-light); color: var(--text); transform: rotate(90deg); }
.email-modal__close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(133, 195, 60, 0.3); }

.email-modal__inner { padding: 36px 32px 28px; }

.email-modal__head {
    text-align: center;
    margin-bottom: 24px;
}
.email-modal__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: var(--accent-muted);
    color: var(--accent-dark);
    border-radius: var(--radius-full);
}
.email-modal__icon svg { width: 26px; height: 26px; }
.email-modal__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.email-modal__subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    max-width: 360px;
    margin-inline: auto;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.email-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.email-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.email-form__field label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.email-form__field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.email-form__field input[type="email"]::placeholder { color: var(--text-light); }
.email-form__field input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(133, 195, 60, 0.18);
}
.email-form__field input[type="email"][aria-invalid="true"] {
    border-color: #DC2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.email-form__gdpr {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-muted);
    cursor: pointer;
}
.email-form__gdpr input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
    flex: 0 0 18px;
}
.email-form__gdpr a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.email-form__gdpr a:hover { color: var(--primary-dark); }
.email-form__gdpr strong { color: var(--text); }

.email-form__status {
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    display: none;
}
.email-form__status.is-error {
    display: block;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #B91C1C;
}
.email-form__status.is-success {
    display: block;
    background: rgba(133, 195, 60, 0.12);
    border: 1px solid rgba(133, 195, 60, 0.4);
    color: var(--accent-dark);
}

.email-form__submit { gap: 10px; }
.email-form__submit[disabled] { opacity: 0.7; cursor: progress; }
.email-form__submit svg { transition: transform 0.2s ease; }

@media (max-width: 560px) {
    .email-modal { padding: 0; align-items: stretch; }
    .email-modal__dialog {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
        overflow-y: auto;
    }
    .email-modal__inner { padding: 56px 22px 28px; }
    .email-modal__close { top: 12px; right: 12px; }
}

/* Honeypot — hidden from humans, visible to bots */
.prezzi-form__honeypot {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Inline status banner (error) */
.prezzi-form__status {
    display: none;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}
.prezzi-form__status.is-error {
    display: flex;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #FECACA;
}
.prezzi-form__status.is-error svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: #FCA5A5;
}

/* Submit button loading state */
.prezzi-form .btn.is-loading {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
}
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFF;
    border-radius: var(--radius-full);
    animation: btn-spin 0.7s linear infinite;
    vertical-align: -3px;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Success panel (replaces the form after submit) */
.prezzi-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 48px 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    color: #FFF;
    animation: prezzi-success-in 0.45s ease-out;
}
@keyframes prezzi-success-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.prezzi-success__icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: #FFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(133, 195, 60, 0.4);
    margin-bottom: 8px;
}
.prezzi-success__icon svg {
    width: 36px;
    height: 36px;
}
.prezzi-success__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #FFF;
    letter-spacing: -0.01em;
}
.prezzi-success__text {
    margin: 0;
    max-width: 440px;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}
.prezzi-success__text strong {
    color: var(--accent-bright);
    font-weight: 700;
}
.prezzi-success__note {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
}
.prezzi-success__cta {
    margin-top: 10px;
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFF;
}
.prezzi-success__cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Screen-reader-only helper (scoped if not already global) */
.prezzi-form .sr-only,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   CONFIGURATORE — cost calculator (between intro & form)
   ===================================================== */
/* ============================================================
   PREZZI — Plans (4 card overview, ElevenLabs-style)
   ============================================================ */
.prezzi-plans {
    position: relative;
    margin-top: var(--nav-height);
    padding: 96px 0 96px;
    background: var(--bg-alt);
    color: var(--text);
}
.prezzi-plans__head {
    max-width: 720px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.prezzi-plans__head .prezzi-hero__title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.prezzi-plans__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Single plan card */
.prezzi-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.prezzi-plan:hover {
    transform: translateY(-4px);
    border-color: rgba(94, 124, 184, 0.35);
    box-shadow: var(--shadow-lg);
}

/* Card header: name + tagline + price */
.prezzi-plan__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 22px;
}
.prezzi-plan__name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.01em;
}
.prezzi-plan__tagline {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
    min-height: 2.6em;
}
.prezzi-plan__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 12px;
    font-family: var(--font-display);
    color: var(--text);
}
.prezzi-plan__currency {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
}
.prezzi-plan__amount {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}
.prezzi-plan__period {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}
.prezzi-plan__price-note {
    margin: 4px 0 0;
    font-size: 0.78rem;
    color: var(--text-light);
}

/* CTA */
.prezzi-plan__cta {
    width: 100%;
    margin-bottom: 22px;
}

/* Includes line ("Tutto di X, più:") */
.prezzi-plan__includes {
    margin: 0 0 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-display);
}

/* Features list */
.prezzi-plan__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.prezzi-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text);
}
.prezzi-plan__features li svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--accent-dark);
    background: var(--accent-muted);
    border-radius: var(--radius-full);
    padding: 2px;
}
.prezzi-plan__features li strong {
    font-weight: 700;
    color: var(--text);
}

/* Platform fee callout (under cards) */
.prezzi-plans__platform {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 880px;
    margin: 48px auto 28px;
    padding: 20px 24px;
    background: var(--primary-muted);
    border: 1px solid rgba(94, 124, 184, 0.22);
    border-radius: var(--radius-lg);
}
.prezzi-plans__platform-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: var(--radius-md);
    color: var(--primary);
}
.prezzi-plans__platform-icon svg {
    width: 22px;
    height: 22px;
}
.prezzi-plans__platform-text h4 {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px;
}
.prezzi-plans__platform-text p {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

/* Trust perks row */
.prezzi-plans__perks {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 880px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
}
.prezzi-plans__perks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.prezzi-plans__perks li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-dark);
    background: var(--accent-muted);
    border-radius: var(--radius-full);
    padding: 2px;
    flex-shrink: 0;
}
.prezzi-plans__perks li strong {
    color: var(--text);
    font-weight: 700;
}

/* Responsive — plans grid */
@media (max-width: 1100px) {
    .prezzi-plans__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 720px) {
    .prezzi-plans { padding: 64px 0 64px; }
    .prezzi-plans__head { margin-bottom: 36px; }
    .prezzi-plans__grid { grid-template-columns: 1fr; gap: 16px; }
    .prezzi-plan { padding: 24px 22px; }
    .prezzi-plans__platform { flex-direction: column; align-items: flex-start; padding: 18px; }
    .prezzi-plans__perks { flex-direction: column; gap: 10px; align-items: flex-start; padding: 0 16px; }
}

.prezzi-configurator {
    position: relative;
    padding: 120px 0 88px;
    background: var(--bg);
    color: var(--text);
}
.prezzi-configurator__head {
    max-width: 720px;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}
.prezzi-configurator__head .prezzi-hero__title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.configurator {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
}

/* Inputs — centered bar above result */
.configurator__inputs {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.configurator__field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.configurator__field:hover {
    border-color: rgba(94, 124, 184, 0.25);
    box-shadow: 0 2px 12px rgba(94, 124, 184, 0.06);
}
.configurator__field-head {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}
.configurator__field-hint {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.configurator__field-hint strong { color: var(--primary); font-weight: 600; }
.configurator__calc-btn {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 22px;
    margin-top: 0;
    justify-content: center;
}
.configurator__field label {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.005em;
}
.configurator__value {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.configurator__value:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(133, 195, 60, 0.2);
}
.configurator__value input {
    width: 68px;
    border: 0;
    background: transparent;
    padding: 4px 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-align: right;
    -moz-appearance: textfield;
}
.configurator__value input:focus { outline: none; }
.configurator__value input::-webkit-outer-spin-button,
.configurator__value input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.configurator__unit {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Range slider (custom, green accent) */
.configurator__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--cfg-fill, 30%), rgba(94, 124, 184, 0.15) var(--cfg-fill, 30%), rgba(94, 124, 184, 0.15) 100%);
    outline: none;
    cursor: pointer;
    margin: 4px 0;
}
.configurator__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: #fff;
    border: 3px solid var(--accent);
    box-shadow: 0 2px 10px rgba(133, 195, 60, 0.3), 0 1px 3px rgba(15, 25, 35, 0.08);
    cursor: grab;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.configurator__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: #fff;
    border: 3px solid var(--accent);
    box-shadow: 0 2px 10px rgba(133, 195, 60, 0.3), 0 1px 3px rgba(15, 25, 35, 0.08);
    cursor: grab;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.configurator__slider:hover::-webkit-slider-thumb { transform: scale(1.08); }
.configurator__slider:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.12); }
.configurator__slider:hover::-moz-range-thumb { transform: scale(1.08); }
.configurator__slider:active::-moz-range-thumb { cursor: grabbing; transform: scale(1.12); }
.configurator__slider:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 6px rgba(133, 195, 60, 0.2), 0 2px 10px rgba(133, 195, 60, 0.3);
}
.configurator__scale {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

/* Right column — result card (primary gradient) */
.configurator__result {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 36px 32px;
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(94, 124, 184, 0.28), 0 2px 8px rgba(15, 25, 35, 0.06);
    overflow: hidden;
    isolation: isolate;
}
.configurator__result::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(500px 320px at 110% -10%, rgba(133, 195, 60, 0.22), transparent 60%),
        radial-gradient(380px 240px at -10% 110%, rgba(255, 255, 255, 0.08), transparent 55%);
    pointer-events: none;
    z-index: -1;
}
.configurator__result-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 22px;
}
.configurator__result-label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.configurator__result-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #fff;
}
.configurator__price-currency {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}
.configurator__price-amount {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
    transition: color 0.2s ease;
}
.configurator__price-period {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-left: 2px;
}
.configurator__price-vat {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 4px 10px;
    background: rgba(133, 195, 60, 0.18);
    border: 1px solid rgba(133, 195, 60, 0.35);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-bright);
    transform: translateY(-6px);
}
.configurator__package-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    align-self: flex-start;
}

/* Green chip used to highlight plan name (works on light + dark backgrounds) */
.cfg-plan-chip {
    display: inline-block;
    padding: 3px 12px;
    background: linear-gradient(135deg, rgba(133, 195, 60, 0.22), rgba(133, 195, 60, 0.12));
    border: 1px solid rgba(133, 195, 60, 0.55);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
    vertical-align: 1px;
    box-shadow: 0 1px 6px rgba(133, 195, 60, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}
.configurator__result-note {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}
.configurator__result-note #cfg-minutes { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

/* Sales mode (volume > 3× Enterprise) */
.configurator__sales {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 8px 4px 4px;
}
.configurator__sales[hidden] { display: none; }
.configurator__sales-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(133, 195, 60, 0.18);
    border: 1px solid rgba(133, 195, 60, 0.4);
    color: var(--accent);
}
.configurator__sales-icon svg { width: 26px; height: 26px; }
.configurator__sales-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}
.configurator__sales-text {
    margin: 0;
    max-width: 460px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}
.configurator__sales-text strong { color: #fff; font-weight: 700; }
.configurator__sales .btn { margin-top: 4px; }

/* When result is in sales mode, hide the standard breakdown/price content. */
.configurator__result[data-mode="sales"] .configurator__result-head,
.configurator__result[data-mode="sales"] .configurator__breakdown,
.configurator__result[data-mode="sales"] .configurator__perks,
.configurator__result[data-mode="sales"] .configurator__actions,
.configurator__result[data-mode="sales"] .configurator__tip { display: none; }
.configurator__result[data-mode="sales"] .configurator__sales { display: flex; }

/* Action row (Export PDF + Prenota consulenza) */
.configurator__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.configurator__actions .btn { flex: 1 1 200px; justify-content: center; }
.configurator__export {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
.configurator__export:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.6);
}


/* Breakdown list */
.configurator__breakdown {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.configurator__breakdown > li {
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(15, 25, 35, 0.06);
}
/* Primary item (Piano) — visually emphasised */
.configurator__breakdown-item--primary {
    padding: 18px 20px !important;
    background: #fff !important;
    border: 1.5px solid rgba(133, 195, 60, 0.45) !important;
    box-shadow: 0 4px 16px rgba(133, 195, 60, 0.12), 0 1px 3px rgba(15, 25, 35, 0.04) !important;
    position: relative;
}
.configurator__breakdown-item--primary::before {
    content: "Piano consigliato";
    position: absolute;
    top: -10px;
    left: 16px;
    padding: 3px 10px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 6px rgba(133, 195, 60, 0.3);
}
.configurator__breakdown-item--primary .configurator__breakdown-title {
    font-size: 1.02rem;
}
.configurator__breakdown-item--primary .configurator__breakdown-amount {
    font-size: 1.1rem;
}
/* Secondary item (Piattaforma) — slightly muted */
.configurator__breakdown-item--secondary {
    background: var(--bg-alt) !important;
    box-shadow: none !important;
    opacity: 0.92;
}
/* Visual gap to separate the Piattaforma block from the AI Agent group above */
.configurator__breakdown-item--separated {
    margin-top: 14px;
}
.configurator__breakdown-item--secondary .configurator__breakdown-title {
    color: var(--text-muted);
    font-weight: 500;
}
.configurator__breakdown-item--secondary .configurator__breakdown-amount {
    color: var(--text-muted);
    font-weight: 600;
}
.configurator__breakdown-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.configurator__breakdown-title {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}
.configurator__breakdown-amount {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}
.configurator__breakdown-amount > span:last-child {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.78rem;
}
.configurator__breakdown-note {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.configurator__breakdown-note strong {
    color: var(--primary);
    font-weight: 600;
}

/* Platform feature list (inside breakdown card) */
.configurator__breakdown-note--lead {
    margin-top: 6px;
    font-weight: 600;
    color: var(--text);
}
.configurator__breakdown-list {
    list-style: none;
    padding: 6px 0 0;
    margin: 4px 0 0;
    display: grid;
    gap: 6px;
}
.configurator__breakdown-list li {
    position: relative;
    padding: 0 0 0 22px;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.configurator__breakdown-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(133, 195, 60, 0.18);
    border: 1.5px solid var(--accent);
}
.configurator__breakdown-list li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* Tip callout (savings suggestion) */
.configurator__tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 22px;
    padding: 14px 16px;
    background: rgba(133, 195, 60, 0.14);
    border: 1px solid rgba(133, 195, 60, 0.4);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.95);
    animation: cfgTipIn 0.28s ease both;
}
.configurator__tip[hidden] { display: none; }
.configurator__tip svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--accent);
}
.configurator__tip-text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
}
.configurator__tip-text strong { color: #fff; font-weight: 700; }
.configurator__tip-text .tip-rate { color: var(--accent); font-weight: 700; }
@keyframes cfgTipIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Perks */
.configurator__perks {
    list-style: none;
    padding: 18px 0 0;
    margin: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.configurator__perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}
.configurator__perks svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 2px;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: #fff;
}
.configurator__perks strong {
    color: #fff;
    font-weight: 700;
}

/* Bridge section — "Se sei interessato, contattaci" */
.prezzi-bridge {
    background: var(--bg-alt);
    padding: 120px 0 140px;
}
.prezzi-configurator__bridge {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.prezzi-configurator__bridge-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.2;
    margin: 0;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.prezzi-configurator__bridge-text {
    margin: 0;
    max-width: 480px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.prezzi-configurator__bridge-cta {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.prezzi-configurator__bridge-cta svg {
    transition: transform 0.25s ease;
}
.prezzi-configurator__bridge-cta:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 720px) {
    .prezzi-intro { padding: 56px 0 36px; }
    .prezzi-form-section {
        padding: 48px 0 140px;
    }
    .prezzi-form-section__inner { gap: 32px; }
    .prezzi-progress__track { margin: 0 12px; }
    .prezzi-progress__bubble { width: 26px; height: 26px; font-size: 0.8rem; }
    .prezzi-progress__label { font-size: 0.85rem; }

    .prezzi-configurator { padding: 24px 0 64px; }
    .prezzi-configurator__head { margin-bottom: 32px; }
    .configurator { gap: 18px; }
    .configurator__field {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }
    .configurator__calc-btn { width: 100%; padding: 12px 18px; }
    .configurator__result { padding: 28px 24px 24px; }
    .prezzi-bridge { padding: 52px 0 64px; }
}
@media (max-width: 560px) {
    .prezzi-form__row { grid-template-columns: 1fr; }
    .prezzi-form__actions--split { flex-direction: column-reverse; }
    .prezzi-form__actions--split > .btn { width: 100%; }

    .configurator__field-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .configurator__value { align-self: stretch; justify-content: space-between; }
    .configurator__value input { width: auto; flex: 1; text-align: left; }
    .configurator__breakdown-head {
        flex-direction: column;
        gap: 4px;
    }
    .configurator__breakdown-amount { font-size: 1.1rem; }
}


/* ============================================================
   PRODOTTO / FUNZIONALITÀ — full feature page
   ============================================================ */

/* ---------- Image placeholder (LLM prompt boxes) ---------- */
.img-placeholder {
    position: relative;
    margin: 0;
    padding: 28px 26px;
    background:
        radial-gradient(circle at 25% 20%, rgba(133, 195, 60, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(94, 124, 184, 0.20) 0%, transparent 55%),
        linear-gradient(160deg, #F7FAFE 0%, #EEF4E6 100%);
    border: 1.5px dashed rgba(94, 124, 184, 0.35);
    border-radius: var(--radius-xl);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.img-placeholder__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 5px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
}
.img-placeholder__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 14px;
}
.img-placeholder__prompt-wrap {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(4px);
}
.img-placeholder__prompt-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.img-placeholder__prompt {
    font-family: 'Courier New', ui-monospace, Consolas, monospace;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    white-space: pre-wrap;
}
.img-placeholder--hero { min-height: 420px; }
.img-placeholder--code { min-height: 380px; }

/* ---------- Product Hero ---------- */
.prod-hero {
    position: relative;
    padding: calc(var(--nav-height) + 56px) 0 80px;
    overflow: hidden;
    background: linear-gradient(160deg, #FFFFFF 0%, var(--bg-alt) 40%, #EEF4E6 100%);
}
.prod-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.prod-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.prod-hero__orb--1 {
    width: 440px; height: 440px;
    top: -120px; right: -80px;
    background: radial-gradient(circle, rgba(133, 195, 60, 0.18) 0%, transparent 70%);
}
.prod-hero__orb--2 {
    width: 380px; height: 380px;
    bottom: -80px; left: -60px;
    background: radial-gradient(circle, rgba(94, 124, 184, 0.16) 0%, transparent 70%);
}
.prod-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: center;
}
.prod-hero__content { max-width: 580px; }
.prod-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.prod-hero__img {
    width: 100%;
    max-width: 780px;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}
.prod-hero__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-muted);
    color: var(--accent-dark);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 22px;
}
.prod-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 22px;
}
.prod-hero__subtitle {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 560px;
}
.prod-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- Product Overview grid ---------- */
.prod-overview {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.prod-overview__grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ---------- Vertical stepper (Cosa fa l'AI Receptionist) ---------- */
.prod-stepper {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
    counter-reset: prod-stepper;
}
.prod-stepper__item {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 56px minmax(0, 1.4fr);
    gap: 28px;
    align-items: stretch;
    padding-bottom: 32px;
}
.prod-stepper__item:last-child {
    padding-bottom: 0;
}
.prod-stepper__photo {
    margin: 0;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #EEF1F7 0%, #F7F8FC 100%);
    border: 1px dashed rgba(94, 124, 184, 0.28);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
}
.prod-stepper__photo-badge {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(94, 124, 184, 0.10);
    padding: 5px 12px;
    border-radius: var(--radius-full);
}
.prod-stepper__photo-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}
.prod-stepper__rail {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 14px;
}
.prod-stepper__rail::before {
    content: "";
    position: absolute;
    top: 56px;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(94, 124, 184, 0.22);
}
.prod-stepper__item:last-child .prod-stepper__rail::before {
    display: none;
}
.prod-stepper__dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(94, 124, 184, 0.30);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    z-index: 1;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.prod-stepper__item.is-open .prod-stepper__dot {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: scale(1.04);
}
.prod-stepper__content {
    display: flex;
    flex-direction: column;
    padding-top: 4px;
}
.prod-stepper__head {
    background: none;
    border: 0;
    padding: 14px 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font: inherit;
    color: inherit;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(15, 25, 35, 0.08);
}
.prod-stepper__head:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}
.prod-stepper__head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.prod-stepper__chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.25s ease;
}
.prod-stepper__item.is-open .prod-stepper__chevron {
    transform: rotate(180deg);
    color: var(--accent-dark);
}
.prod-stepper__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s ease;
}
.prod-stepper__body > ul {
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}
.prod-stepper__item.is-open .prod-stepper__body {
    grid-template-rows: 1fr;
}
.prod-stepper__body li {
    position: relative;
    padding: 8px 0 8px 24px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.98rem;
}
.prod-stepper__body li::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.prod-stepper__item.is-open .prod-stepper__body > ul {
    padding-top: 14px;
    padding-bottom: 6px;
}

@media (max-width: 900px) {
    .prod-stepper__item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 18px;
    }
    .prod-stepper__photo {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
        order: -1;
    }
    .prod-stepper__rail { padding-top: 8px; }
    .prod-stepper__rail::before { top: 48px; bottom: -32px; }
    .prod-stepper__dot { width: 36px; height: 36px; font-size: 0.92rem; }
    .prod-stepper__head h3 { font-size: 1.05rem; }
    .prod-stepper__body li { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
    .prod-stepper__body { transition: none; }
    .prod-stepper__chevron, .prod-stepper__dot { transition: none; }
}

/* ---------- Product Highlight (2-col alternating) ---------- */
.prod-highlight {
    padding: calc(var(--section-py) - 20px) 0;
    background: var(--bg);
}
.prod-highlight--alt { background: var(--bg-alt); }

.prod-highlight__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.prod-highlight__grid--reverse .prod-highlight__content { order: 2; }
.prod-highlight__grid--reverse .prod-highlight__visual { order: 1; }

.prod-highlight__content { max-width: 560px; }
.prod-highlight__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-muted);
    color: var(--primary-dark);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}
.prod-highlight__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 18px;
}
.prod-highlight__lead {
    font-size: 1.04rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.prod-highlight__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.prod-highlight__bullets li {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}
.prod-highlight__bullets li::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-muted);
}
.prod-highlight__bullets li::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 4px;
    width: 10px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.prod-highlight__bullets strong {
    color: var(--text);
    font-weight: 700;
}
.prod-highlight__link {
    display: inline-block;
    color: var(--accent-dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.prod-highlight__link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* ---------- Secondary Features (3-col cards) ---------- */
.prod-secondary {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.prod-secondary__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.prod-secondary__card {
    padding: 40px 32px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.prod-secondary__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-muted);
}
.prod-secondary__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--accent-muted);
    color: var(--accent-dark);
    margin-bottom: 22px;
}
.prod-secondary__card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.prod-secondary__card > p {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.prod-secondary__list {
    list-style: none;
    padding: 16px 0 0;
    margin: 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.prod-secondary__list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}
.prod-secondary__list li::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
    width: 14px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ---------- Product Integrations ---------- */
.prod-integrations {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.prod-integrations__filter {
    max-width: 1040px;
    margin: 0 auto 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.prod-integrations__filter-btn {
    padding: 10px 22px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.prod-integrations__filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.prod-integrations__filter-btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(94, 124, 184, 0.25);
}
.prod-integrations__block.is-hidden {
    display: none;
}
.prod-integrations__block {
    max-width: 1040px;
    margin: 0 auto 48px;
    padding: 36px 40px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}
.prod-integrations__block:last-child { margin-bottom: 0; }
.prod-integrations__header h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.prod-integrations__header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.prod-integrations__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.prod-integration-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 14px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.prod-integration-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-muted);
}
.prod-integration-logo img,
.prod-integration-logo svg {
    flex-shrink: 0;
    border-radius: 8px;
}

/* ---------- Showcase variant — used on /integrazioni page.
   Adds the "ecosystem" feel: subtle background orbs, a vertical
   connecting line through the stack with node markers per block,
   stronger hover lift, eyebrow + benefit-driven heading hierarchy. */
.prod-integrations--showcase {
    position: relative;
    overflow: hidden;
}
.prod-integrations--showcase .prod-integrations__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--bg-alt);
}
.prod-integrations--showcase > .container {
    position: relative;
    z-index: 1;
}
.prod-integrations--showcase .section-header { margin-bottom: 56px; }

/* Vertical "spine" connecting all blocks. Node bullets sit on it via
   .prod-integrations__block::before. */
.prod-integrations--showcase .prod-integrations__stack {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
}
.prod-integrations--showcase .prod-integrations__stack::before {
    content: '';
    position: absolute;
    top: 36px;
    bottom: 36px;
    left: 40px;
    width: 2px;
    background: linear-gradient(to bottom,
        rgba(94, 124, 184, 0.0) 0%,
        rgba(94, 124, 184, 0.45) 12%,
        rgba(133, 195, 60, 0.35) 88%,
        rgba(133, 195, 60, 0.0) 100%);
    z-index: 0;
    pointer-events: none;
}

.prod-integrations--showcase .prod-integrations__block {
    position: relative;
    margin: 0 0 56px;
    padding: 36px 40px 36px 80px;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.prod-integrations--showcase .prod-integrations__block:hover {
    transform: translateY(-3px);
    border-color: rgba(94, 124, 184, 0.25);
    box-shadow: 0 24px 50px rgba(15, 25, 35, 0.08), 0 6px 18px rgba(94, 124, 184, 0.10);
}
/* Node marker on the spine, aligned with each block header */
.prod-integrations--showcase .prod-integrations__block::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 32px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(94, 124, 184, 0.18), 0 0 22px rgba(94, 124, 184, 0.35);
    z-index: 2;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.prod-integrations--showcase .prod-integrations__block:hover::before {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(94, 124, 184, 0.28), 0 0 26px rgba(94, 124, 184, 0.45);
}

.prod-integrations__label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.005em;
}
.prod-integrations--showcase .prod-integrations__header h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin-bottom: 10px;
}
.prod-integrations--showcase .prod-integrations__header p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 640px;
}

/* ---------- Use Case (Google Calendar) — its own section on a subtle off-white
   so it reads as visually distinct from the integrations section above, while
   keeping the page in an all-white palette. ---------- */
.prod-usecase-section {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.prod-usecase {
    max-width: 1100px;
    margin: 0 auto;
}
.prod-usecase__intro {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.prod-usecase__title {
    margin: 0;
}
.prod-usecase__lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}
.prod-usecase__body {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* 3-column row of photo placeholder cards */
.prod-usecase__steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.prod-usecase__step-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.prod-usecase__placeholder {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(94, 124, 184, 0.06), rgba(133, 195, 60, 0.06)),
        var(--bg-alt);
    border: 1.5px dashed rgba(94, 124, 184, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.prod-usecase__placeholder:hover {
    border-color: rgba(94, 124, 184, 0.55);
    box-shadow: 0 12px 28px rgba(94, 124, 184, 0.10);
}
.prod-usecase__placeholder-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.prod-usecase__photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 28px rgba(15, 25, 35, 0.10), 0 4px 10px rgba(94, 124, 184, 0.10);
}
.prod-usecase__step-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.4;
}
.prod-usecase__step-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 4px 12px rgba(94, 124, 184, 0.25);
}
.prod-usecase__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

@media (max-width: 860px) {
    .prod-usecase__steps-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .prod-usecase__cta { margin-top: 36px; }
}

/* Bottom CTA — soft white card spanning the section width */
.prod-integrations__cta {
    max-width: 1040px;
    margin: 88px auto 0;
    padding: 56px 48px;
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 50px rgba(15, 25, 35, 0.06);
    background-image:
        radial-gradient(420px 240px at 100% 0%, rgba(94, 124, 184, 0.08), transparent 60%),
        radial-gradient(420px 240px at 0% 100%, rgba(133, 195, 60, 0.08), transparent 60%);
    background-color: var(--bg);
}
.prod-integrations__cta h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 12px;
}
.prod-integrations__cta p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 auto 28px;
    max-width: 560px;
}
.prod-integrations__cta-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 720px) {
    .prod-integrations--showcase .prod-integrations__stack::before { left: 24px; }
    .prod-integrations--showcase .prod-integrations__block {
        padding: 28px 22px 28px 56px;
    }
    .prod-integrations--showcase .prod-integrations__block::before {
        top: 36px;
        left: 16px;
        width: 16px;
        height: 16px;
    }
    .prod-integrations__cta { padding: 40px 28px; margin-top: 64px; }
    .prod-integrations__cta-actions { flex-direction: column; align-items: stretch; }
    .prod-integrations__cta-actions .btn { width: 100%; }
}

/* ---------- API section ---------- */
.prod-api {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.prod-api__grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 64px;
    align-items: stretch;
}
.prod-api__content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
}
.prod-api__content .frontdesk__blocks {
    flex: 1;
    justify-content: space-between;
}
.prod-api__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 18px;
}
.prod-api__lead {
    font-size: 1.04rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.prod-api__photo {
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 60px -28px rgba(15, 25, 35, 0.28);
    background: var(--bg-alt);
}
.prod-api__photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Final CTA banner ---------- */
.prod-final-cta {
    padding: calc(var(--section-py) - 20px) 0 calc(var(--section-py) + 10px);
    background: var(--bg);
}
.prod-final-cta__card {
    position: relative;
    padding: 72px 64px;
    background: linear-gradient(135deg, #0F1923 0%, #1E3A5F 60%, #2D5A3A 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
    color: #fff;
}
.prod-final-cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.prod-final-cta__orb--1 {
    width: 360px; height: 360px;
    top: -100px; right: -80px;
    background: radial-gradient(circle, rgba(133, 195, 60, 0.45) 0%, transparent 70%);
}
.prod-final-cta__orb--2 {
    width: 320px; height: 320px;
    bottom: -120px; left: -60px;
    background: radial-gradient(circle, rgba(94, 124, 184, 0.5) 0%, transparent 70%);
}
.prod-final-cta__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.prod-final-cta__content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 18px;
}
.prod-final-cta__content > p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}
.prod-final-cta__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.prod-final-cta__ctas .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.prod-final-cta__ctas .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}
.prod-final-cta__note {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ---------- Responsive: Prodotto page ---------- */
@media (max-width: 960px) {
    .prod-hero { padding: calc(var(--nav-height) + 40px) 0 64px; }
    .prod-hero__grid,
    .prod-highlight__grid,
    .prod-api__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .prod-hero__content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    .prod-hero__subtitle { margin-left: auto; margin-right: auto; }
    .prod-hero__ctas { justify-content: center; }
    .prod-hero__img { max-width: 640px; }
    .prod-highlight__grid--reverse .prod-highlight__content { order: 1; }
    .prod-highlight__grid--reverse .prod-highlight__visual { order: 2; }
    .prod-overview__grid { grid-template-columns: repeat(2, 1fr); }
    .prod-secondary__grid { grid-template-columns: 1fr; gap: 20px; }
    .prod-final-cta__card { padding: 56px 32px; }
}

@media (max-width: 560px) {
    .prod-hero { padding: calc(var(--nav-height) + 28px) 0 48px; }
    .prod-hero__title { font-size: 1.9rem; margin-bottom: 16px; }
    .prod-hero__subtitle { font-size: 1rem; margin-bottom: 24px; }
    .prod-hero__grid { gap: 28px; }
    .prod-hero__img { border-radius: var(--radius-lg); max-width: 100%; }
    .prod-hero__ctas .btn,
    .prod-final-cta__ctas .btn { width: 100%; }
    .prod-overview__grid { grid-template-columns: 1fr; }
    .prod-integrations__block { padding: 28px 20px; }
    .prod-integrations__logos { gap: 12px; }
    .prod-integration-logo { padding: 10px 16px 10px 10px; font-size: 0.88rem; }
    .prod-final-cta__card { padding: 48px 24px; }
    .img-placeholder { padding: 22px 18px; min-height: 280px; }
    .img-placeholder--hero { min-height: 340px; }
}

/* ---------- Homepage final CTA (full-width, hero gradient bg) ---------- */
.home-final-cta {
    position: relative;
    padding: clamp(80px, 10vw, 140px) 0;
    background: linear-gradient(160deg, #FFFFFF 0%, var(--bg-alt) 40%, #EEF4E6 100%);
    overflow: hidden;
    text-align: center;
}
.home-final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}
.home-final-cta__inner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 14px;
}
.home-final-cta__title {
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent-dark) 25%,
        var(--accent) 50%,
        var(--primary) 75%,
        var(--accent-dark) 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: hero-title-gradient 7s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .home-final-cta__title {
        animation: none;
        background-position: 50% 50%;
    }
}
.home-final-cta__inner > p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 32px;
}
.home-final-cta__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 560px) {
    .home-final-cta__ctas .btn { width: 100%; }
}

/* ---------- AI Features (homepage: 2-col accordion + device mockup) ---------- */
.ai-features {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.ai-features__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 80px;
    align-items: center;
}
.ai-features__intro { max-width: 620px; }
.ai-features__title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 16px;
    color: var(--text);
}
.ai-features__sub {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 28px;
}
.ai-features__cta {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}
.ai-features__visual {
    position: relative;
    isolation: isolate;
}

/* IONOS-style accordion (left column) — large titles, dividers, +/- on the right */
.ai-accordion {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(15, 25, 35, 0.10);
}
.ai-accordion__item {
    border-bottom: 1px solid rgba(15, 25, 35, 0.10);
}
.ai-accordion__head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 24px 4px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: var(--text);
}
.ai-accordion__head:hover { opacity: 0.9; }

.ai-accordion__label {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: inherit;
}

.ai-accordion__marker {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    border: 0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}
.ai-accordion__item.is-open .ai-accordion__marker {
    background: var(--primary);
    color: #fff;
}
.ai-accordion__icon-minus { display: none; }
.ai-accordion__item.is-open .ai-accordion__icon-plus { display: none; }
.ai-accordion__item.is-open .ai-accordion__icon-minus { display: inline-block; }

.ai-accordion__body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
}
.ai-accordion__item.is-open .ai-accordion__body {
    max-height: 320px;
    opacity: 1;
    padding: 0 4px 24px;
}
.ai-accordion__body ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.ai-accordion__body li {
    position: relative;
    padding-left: 22px;
    font-size: 0.96rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.ai-accordion__body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(94, 124, 184, 0.18);
}

/* Image slot (right column) — premium, rounded, soft shadow, swaps per active item */
.ai-features__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 30px 60px -30px rgba(15, 25, 35, 0.22),
        0 8px 24px -12px rgba(94, 124, 184, 0.16);
    isolation: isolate;
}
.ai-mockup {
    position: absolute;
    inset: 0;
    margin: 0;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(94, 124, 184, 0.18) 0%, transparent 55%),
        radial-gradient(80% 70% at 100% 100%, rgba(133, 195, 60, 0.16) 0%, transparent 60%),
        linear-gradient(135deg, #F4F6FB 0%, #FFFFFF 60%, #EEF3FA 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
    padding: 40px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition:
        opacity 0.5s ease-in-out,
        visibility 0.5s ease-in-out,
        transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ai-mockup.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.ai-mockup__badge {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(94, 124, 184, 0.10);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    align-self: flex-start;
}
.ai-mockup__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    max-width: 86%;
}

@media (max-width: 960px) {
    .ai-features__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ai-features__intro { max-width: 100%; }
    .ai-features__visual { max-width: 560px; margin: 0 auto; aspect-ratio: 4 / 3; border-radius: 18px; }
    .ai-features__cta { margin-top: 36px; }
    .ai-accordion__head { padding: 20px 2px; }
    .ai-accordion__label { font-size: 1.1rem; }
    .ai-accordion__marker { width: 32px; height: 32px; }
    .ai-mockup { padding: 28px; }
    .ai-mockup__title { font-size: 1.15rem; }
    .ai-accordion__item.is-open .ai-accordion__body { max-height: 380px; padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .ai-accordion__head,
    .ai-accordion__label,
    .ai-accordion__marker,
    .ai-accordion__body,
    .ai-mockup { transition: none; }
}

/* ---------- Mockup variant: real photo / screenshot ---------- */
.ai-mockup--photo {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
}
.ai-mockup--photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* ---------- Mockup variant: Call Management dashboard ---------- */
.ai-mockup--calls {
    padding: 0;
    /* inherits .ai-mockup light-gradient base */
    color: var(--text);
    align-items: stretch;
    justify-content: stretch;
}
.mock-calls {
    width: 100%;
    height: 100%;
    padding: clamp(18px, 4.2%, 28px);
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: clamp(10px, 2.4%, 16px);
    font-size: clamp(13px, 1.7%, 15px);
    line-height: 1.4;
}

/* Top bar */
.mock-calls__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.mock-calls__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--text);
}
.mock-calls__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(133, 195, 60, 0.20);
}
.mock-calls__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.92em;
    color: var(--text-muted);
}
.mock-calls__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: mock-pulse 1.6s ease-in-out infinite;
}
@keyframes mock-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}

/* Active call card */
.mock-calls__panel {
    background: #fff;
    border: 1px solid rgba(94, 124, 184, 0.18);
    border-radius: 14px;
}
.mock-calls__call {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}
.mock-calls__call-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(94, 124, 184, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mock-calls__call-icon svg {
    transform-origin: 50% 50%;
    animation: mock-phone-ring 2.4s ease-in-out infinite;
}
@keyframes mock-phone-ring {
    0%, 55%, 100% { transform: rotate(0); }
    5%   { transform: rotate(-15deg); }
    10%  { transform: rotate(15deg); }
    15%  { transform: rotate(-15deg); }
    20%  { transform: rotate(12deg); }
    25%  { transform: rotate(-10deg); }
    30%  { transform: rotate(8deg); }
    35%  { transform: rotate(-5deg); }
    40%  { transform: rotate(0); }
}
.mock-calls__call-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mock-calls__call-num {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
    font-size: 1.05em;
    letter-spacing: -0.01em;
}
.mock-calls__call-sub {
    color: var(--text-muted);
    font-size: 0.86em;
}
.mock-calls__call-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(133, 195, 60, 0.18);
    color: var(--accent-dark, #6FA830);
    font-size: 0.8em;
    font-weight: 600;
    white-space: nowrap;
}
.mock-calls__call-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: mock-pulse 1.4s ease-in-out infinite;
}

/* Routing flow */
.mock-calls__flow {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 10px;
    padding: 22px 18px;
    background: #fff;
    border: 1px solid rgba(94, 124, 184, 0.18);
    border-radius: 14px;
}
.mock-flow__col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mock-flow__col--avatars {
    align-items: center;
}
.mock-flow__node {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78em;
    font-weight: 500;
    color: var(--text);
}
.mock-flow__node-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(94, 124, 184, 0.10);
    border: 1px solid rgba(94, 124, 184, 0.22);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mock-flow__label {
    letter-spacing: 0.01em;
    line-height: 1.2;
}
.mock-flow__arrows {
    width: 100%;
    height: 100%;
    align-self: stretch;
    overflow: visible;
}
.mock-flow__arrows > path {
    stroke: rgba(94, 124, 184, 0.55);
    stroke-width: 1.4;
    stroke-dasharray: 3 3;
    fill: none;
    vector-effect: non-scaling-stroke;
}
.mock-flow__arrows marker path {
    fill: #5E7CB8;
}
.mock-flow__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2.4px solid #fff;
    box-shadow: 0 2px 6px rgba(15, 25, 35, 0.12);
    background: #fff;
}
.mock-flow__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mock-flow__avatar.is-selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(133, 195, 60, 0.22);
}
.mock-calls__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}
.mock-calls__node-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(94, 124, 184, 0.10);
    border: 1px solid rgba(94, 124, 184, 0.22);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.mock-calls__node-label {
    font-size: 0.78em;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* Vertical avatar column (selected one is highlighted) */
.mock-calls__avatars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0;
}
.mock-calls__avatar {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: visible;
    opacity: 0.55;
    filter: grayscale(0.4);
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}
.mock-calls__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(94, 124, 184, 0.30);
}
.mock-calls__avatar.is-selected {
    opacity: 1;
    filter: none;
    transform: scale(1.35);
    margin: 4px 0;
}
.mock-calls__avatar.is-selected img {
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 3px rgba(133, 195, 60, 0.30);
}
.mock-calls__arrow {
    flex: 1 1 auto;
    height: 1px;
    position: relative;
    margin-top: -10px;
    background: transparent;
}
.mock-calls__arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 18px);
    width: 36px;
    height: 1.4px;
    background: var(--primary);
}
.mock-calls__arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% + 13px);
    width: 6px;
    height: 6px;
    border-top: 1.6px solid var(--primary);
    border-right: 1.6px solid var(--primary);
    transform: translateY(-50%) rotate(45deg);
}

/* Transfer chips */
.mock-calls__transfers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.mock-calls__chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid rgba(94, 124, 184, 0.18);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.86em;
    font-weight: 500;
    min-width: 0;
}
.mock-calls__chip-icon {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mock-calls__toggle {
    margin-left: auto;
    width: 22px;
    height: 12px;
    background: rgba(94, 124, 184, 0.18);
    border-radius: 999px;
    position: relative;
    flex-shrink: 0;
    transition: background 0.25s ease;
}
.mock-calls__toggle i {
    position: absolute;
    top: 1.5px;
    left: 1.5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 25, 35, 0.15);
    transition: left 0.25s ease, background 0.25s ease;
}
.mock-calls__toggle.is-on { background: var(--accent); }
.mock-calls__toggle.is-on i { left: 11.5px; background: #fff; }

@media (max-width: 960px) {
    .mock-calls { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .mock-calls__pulse,
    .mock-calls__call-tag::before,
    .mock-calls__call-icon svg { animation: none; }
}

/* =========================================================
   AI FEATURES — classic variant (homepage)
   Phone mockup left + radial waves + capability cards right
   ========================================================= */
.ai-features--classic {
    position: relative;
    overflow: hidden;
}
.ai-features--classic .ai-features__layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 56px;
}
.ai-features--classic .ai-features__visual {
    position: relative;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: auto;
    width: auto;
    padding: 40px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    isolation: auto;
}
.ai-features--classic .ai-features__visual::before,
.ai-features--classic .ai-features__visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 460px;
    height: 460px;
    margin: -230px 0 0 -230px;
    border: 1.5px solid rgba(94, 124, 184, 0.45);
    border-radius: 50%;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    animation: ai-features-wave 8s ease-out infinite;
}
.ai-features--classic .ai-features__visual::after {
    animation-delay: 4s;
}
@keyframes ai-features-wave {
    0%   { transform: scale(1.0); opacity: 0; }
    15%  { opacity: 0.75; }
    100% { transform: scale(2.3); opacity: 0; }
}
.ai-features__phone {
    position: relative;
    z-index: 3;
    display: block;
    max-height: 480px;
    width: auto;
    height: auto;
    transform-origin: 50% 50%;
}
.ai-features__phone.is-ringing {
    animation: phone-ring 4s ease-in-out infinite;
}
@keyframes phone-ring {
    0%   { transform: rotate(0); }
    4%   { transform: rotate(-2.5deg); }
    10%  { transform: rotate(2.5deg); }
    16%  { transform: rotate(-2deg); }
    22%  { transform: rotate(2deg); }
    28%  { transform: rotate(-1deg); }
    34%  { transform: rotate(1deg); }
    40%  { transform: rotate(0); }
    100% { transform: rotate(0); }
}

.ai-features--classic .ai-features__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
    max-width: 480px;
    flex: 0 1 480px;
    height: 480px;
}
.ai-feature-card {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(94, 124, 184, 0.18);
    border-radius: var(--radius-lg);
    padding: 0 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.ai-feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(94, 124, 184, 0.45);
}
.ai-feature-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-muted);
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ai-feature-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    color: var(--text);
}

@media (max-width: 900px) {
    .ai-features--classic .ai-features__layout { gap: 36px; }
    .ai-features__phone { max-height: 320px; }
    .ai-features--classic .ai-features__list { height: 320px; gap: 10px; }
    .ai-feature-card { padding: 0 16px; gap: 12px; }
    .ai-feature-card__icon { width: 36px; height: 36px; }
    .ai-feature-card__title { font-size: 0.94rem; }
}
@media (max-width: 600px) {
    .ai-features--classic .ai-features__layout { gap: 28px; }
    .ai-features--classic .ai-features__list {
        flex: 1 1 100%;
        height: 280px;
        max-width: 100%;
    }
    .ai-features__phone { max-height: 280px; }
    .ai-features--classic .ai-features__visual::before,
    .ai-features--classic .ai-features__visual::after {
        width: 260px; height: 260px; margin: -130px 0 0 -130px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ai-features--classic .ai-features__visual::before,
    .ai-features--classic .ai-features__visual::after,
    .ai-features__phone.is-ringing { animation: none; }
    .ai-features--classic .ai-features__visual::before,
    .ai-features--classic .ai-features__visual::after { display: none; }
}

