/* ==========================================================================
   ELA Factory — Design System & Mobile-First Polished Stylesheet
   Evolved Electric Violet (#503BF2) + Acid Lime (#DCFF1C) + Obsidian (#13121B)
   ========================================================================== */

:root {
    --bg-page: #ffffff;
    --bg-lavender: #f5f4fe;
    --bg-lavender-deep: #eceafd;
    --bg-dark: #13121b;
    --bg-dark-surface: #1c1b29;
    --bg-dark-card: #222032;

    --violet: #503bf2;
    --violet-dark: #3b27d4;
    --violet-deep: #291a9c;
    --violet-tint: #eae7ff;

    --lime: #dcff1c;
    --lime-hover: #cdf208;
    --lime-ink: #13121b;

    --ink: #13121b;
    --ink-secondary: #4a4861;
    --ink-muted: #64617d;
    --ink-on-dark: #f7f7fd;
    --ink-on-dark-muted: #b7b4cf;

    --border-light: rgba(19, 18, 27, 0.1);
    --border-strong: rgba(19, 18, 27, 0.18);
    --border-dark: rgba(255, 255, 255, 0.12);

    --success: #059669;
    --success-bg: #ecfdf5;
    --danger: #dc2626;
    --danger-bg: #fef2f2;

    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(19, 18, 27, 0.05);
    --shadow-md: 0 14px 36px rgba(19, 18, 27, 0.08);
    --shadow-lg: 0 24px 60px rgba(19, 18, 27, 0.13);
    --shadow-dark: 0 28px 70px rgba(0, 0, 0, 0.42);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1240px;
}

/* Base & Browser Surfaces */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    caret-color: var(--violet);
    overflow-x: clip;
}

body.drawer-open {
    overflow: hidden;
}

::selection {
    background-color: var(--lime);
    color: var(--ink);
}

::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-lavender);
}
::-webkit-scrollbar-thumb {
    background: rgba(80, 59, 242, 0.35);
    border-radius: 999px;
    border: 2px solid var(--bg-lavender);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--violet);
}

:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 3px;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-underline-offset: 0.2em;
    -webkit-tap-highlight-color: rgba(80, 59, 242, 0.12);
}

h1, h2, h3, h4 {
    margin: 0;
    text-wrap: balance;
}

p {
    margin: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--violet);
    color: #fff;
    padding: 12px 20px;
    font-weight: 700;
    z-index: 9999;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
    border-radius: var(--radius-sm);
}

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

.tabular {
    font-variant-numeric: tabular-nums;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.22s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s var(--ease-out), color 0.2s ease;
    white-space: nowrap;
}

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

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background-color: var(--violet);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(80, 59, 242, 0.24);
}
.btn-primary:hover {
    background-color: var(--violet-dark);
    box-shadow: 0 12px 28px rgba(80, 59, 242, 0.34);
}

.btn-lime {
    background-color: var(--lime);
    color: var(--lime-ink);
    box-shadow: 0 10px 26px rgba(220, 255, 28, 0.22);
}
.btn-lime:hover {
    background-color: var(--lime-hover);
    box-shadow: 0 14px 30px rgba(220, 255, 28, 0.32);
}

.btn-outline {
    background-color: transparent;
    color: var(--ink);
    border-color: var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--violet);
    color: var(--violet);
    background-color: var(--bg-lavender);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}
.btn-outline-light:hover {
    border-color: var(--lime);
    color: var(--lime);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-ghost-dark {
    background-color: transparent;
    color: var(--ink);
    border-color: var(--border-strong);
}
.btn-ghost-dark:hover {
    background-color: var(--bg-lavender);
}

.btn-sm {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 0.875rem;
}

.btn-xs {
    min-height: 38px;
    padding: 8px 15px;
    font-size: 0.82rem;
}

.btn-submit {
    min-height: 54px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Language Switcher (Desktop & Mobile)
   ========================================================================== */
.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: var(--radius-pill);
    background-color: var(--bg-lavender);
    border: 1px solid rgba(80, 59, 242, 0.16);
    gap: 2px;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 32px;
    padding: 0 9px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--ink-secondary);
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-pill:hover {
    color: var(--violet);
}

.lang-pill.is-active {
    background-color: var(--violet);
    color: #ffffff;
}

.lang-switch-dark {
    background-color: var(--bg-dark-surface);
    border-color: var(--border-dark);
}

.lang-switch-dark .lang-pill {
    color: var(--ink-on-dark-muted);
}

.lang-switch-dark .lang-pill:hover {
    color: #ffffff;
}

.lang-switch-dark .lang-pill.is-active {
    background-color: var(--lime);
    color: var(--ink);
}

/* ==========================================================================
   Header & Mobile Navigation Drawer
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(19, 18, 27, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 18px;
}

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

.brand-logo img {
    height: 34px;
    width: auto;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-size: 0.91rem;
    font-weight: 600;
    color: var(--ink-secondary);
    text-decoration: none;
    transition: color 0.18s ease;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--violet);
}

.nav-list a.nav-highlight {
    color: var(--violet);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform 0.22s var(--ease-out), opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(19, 18, 27, 0.45);
    backdrop-filter: blur(4px);
    z-index: 110;
}

.mobile-drawer {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer-inner {
    padding-block: 14px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 4px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-list a.mobile-nav-highlight {
    color: var(--violet);
}

.mobile-drawer-footer {
    padding-top: 4px;
}

/* ==========================================================================
   Hero Section — Full-Bleed Studio Photograph + Elegant Readable Boxes
   ========================================================================== */
.hero {
    position: relative;
    padding-block: 76px 64px;
    min-height: clamp(580px, 78vh, 760px);
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
    transform: scale(1.01);
}

.hero-bg-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(102deg, rgba(13, 12, 22, 0.91) 0%, rgba(16, 15, 29, 0.78) 46%, rgba(19, 17, 36, 0.44) 100%),
        linear-gradient(180deg, rgba(13, 12, 22, 0.25) 0%, rgba(13, 12, 22, 0.08) 45%, rgba(13, 12, 22, 0.76) 100%);
}

.hero-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.hero-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 44px;
    align-items: end;
}

.hero-location-pill {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    margin-bottom: 22px;
    border-radius: var(--radius-pill);
    background-color: rgba(19, 18, 27, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
    color: rgba(247, 247, 253, 0.9);
}

.hero-location-pill strong {
    color: var(--lime);
    font-weight: 700;
}

.hero-pill-sep {
    opacity: 0.5;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4.35rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-title em {
    font-style: italic;
    color: var(--lime);
}

.hero-lead {
    margin-top: 20px;
    font-size: 1.08rem;
    line-height: 1.66;
    color: rgba(244, 243, 252, 0.9);
    max-width: 56ch;
}

.hero-cta-group {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.btn-hero-glass {
    background-color: rgba(19, 18, 27, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-hero-glass:hover {
    background-color: rgba(80, 59, 242, 0.85);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

/* Elegant readable checklist box on right over full-bleed photo */
.hero-features-box {
    padding: 26px 28px;
    border-radius: var(--radius-lg);
    background-color: rgba(16, 15, 26, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
}

.hero-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #f7f7fd;
    line-height: 1.35;
}

.check-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background-color: var(--violet-tint);
    color: var(--violet);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-features-box .check-icon {
    background-color: rgba(220, 255, 28, 0.16);
    color: var(--lime);
}

/* 3 Elegant Proof Boxes across the Hero Base */
.hero-proof-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hero-proof-box {
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background-color: rgba(16, 15, 26, 0.76);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.24s var(--ease-out), border-color 0.2s ease, background-color 0.2s ease;
}

.hero-proof-box:hover {
    transform: translateY(-3px);
    border-color: rgba(220, 255, 28, 0.42);
    background-color: rgba(20, 19, 32, 0.86);
}

.proof-value {
    font-family: var(--font-mono);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--lime);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.proof-label {
    font-size: 0.88rem;
    color: rgba(240, 239, 250, 0.88);
    font-weight: 500;
    line-height: 1.4;
}

/* ==========================================================================
   Sectors Trust Strip
   ========================================================================== */
.sectors-band {
    padding-block: 30px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
}

.sectors-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.sectors-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-muted);
    max-width: 24ch;
    line-height: 1.35;
}

.sectors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sectors-list li {
    padding: 8px 15px;
    border-radius: var(--radius-pill);
    background-color: var(--bg-lavender);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 600;
    border: 1px solid rgba(80, 59, 242, 0.12);
}

/* ==========================================================================
   Shared Section Typography & Rhythm
   ========================================================================== */
.section {
    padding-block: 100px;
}

.section-lavender {
    background-color: var(--bg-lavender);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--ink-on-dark);
}

.section-head {
    max-width: 720px;
}

.section-head-centered {
    margin-inline: auto;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.section-dark .section-title {
    color: #ffffff;
}

.section-title em {
    font-style: italic;
    color: var(--violet);
}

.section-dark .section-title em {
    color: var(--lime);
}

.section-subtitle {
    margin-top: 16px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink-secondary);
    max-width: 64ch;
}

.section-head-centered .section-subtitle {
    margin-inline: auto;
}

.section-dark .section-subtitle {
    color: var(--ink-on-dark-muted);
}

/* ==========================================================================
   3 Pillars
   ========================================================================== */
.pillars-layout {
    margin-top: 52px;
    border-top: 1px solid var(--border-light);
}

.pillar-row {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 38px;
    padding-block: 36px;
    border-bottom: 1px solid var(--border-light);
    align-items: start;
}

.pillar-title-col {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--violet-tint);
    color: var(--violet);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.pillar-row h3 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.3vw, 2.1rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
}

.pillar-copy {
    font-size: 1.01rem;
    line-height: 1.72;
    color: var(--ink-secondary);
    max-width: 62ch;
}

.pillar-copy strong {
    color: var(--ink);
    font-weight: 700;
}

/* ==========================================================================
   Flagship Spotlight: RPOFacile
   ========================================================================== */
.rpofacile-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 24%, rgba(80, 59, 242, 0.28) 0%, transparent 48%),
        radial-gradient(circle at 10% 85%, rgba(220, 255, 28, 0.08) 0%, transparent 40%),
        var(--bg-dark);
}

.rpo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 54px;
    align-items: center;
}

.rpo-status-line {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background-color: rgba(220, 255, 28, 0.12);
    border: 1px solid rgba(220, 255, 28, 0.3);
    color: var(--lime);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.rpo-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--lime);
    flex-shrink: 0;
}

.rpo-lead {
    margin-top: 18px;
    font-size: 1.03rem;
    line-height: 1.7;
    color: var(--ink-on-dark-muted);
    max-width: 58ch;
}

.rpo-lead strong {
    color: #ffffff;
}

.rpo-lead code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--lime);
}

.rpo-facts {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rpo-fact {
    padding: 18px 18px;
    border-radius: var(--radius-md);
    background-color: var(--bg-dark-surface);
    border: 1px solid var(--border-dark);
}

.rpo-fact-value {
    font-family: var(--font-mono);
    font-size: 1.28rem;
    font-weight: 600;
    color: var(--lime);
    line-height: 1.2;
}

.rpo-fact-desc {
    margin-top: 6px;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--ink-on-dark-muted);
}

.rpo-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rpo-media-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--bg-dark-surface);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-dark);
}

.rpo-media-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.rpo-footnote {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--ink-on-dark-muted);
    line-height: 1.55;
}

/* ==========================================================================
   Solutions / Case Studies (CRM, ERP, MES)
   ========================================================================== */
.solutions-nav {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.solutions-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background-color: #ffffff;
    border: 1px solid var(--border-strong);
    font-size: 0.89rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.solutions-pill:hover {
    border-color: var(--violet);
    color: var(--violet);
    background-color: var(--violet-tint);
}

.case-stack {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 88px;
}

.case-block {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 50px;
    align-items: center;
}

.case-block.case-reverse .case-copy {
    order: 2;
}
.case-block.case-reverse .case-visual {
    order: 1;
}

.case-question {
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--violet);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background-color: var(--violet-tint);
    margin-bottom: 14px;
}

.case-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    font-weight: 400;
    line-height: 1.12;
    color: var(--ink);
}

.case-text {
    margin-top: 16px;
    font-size: 0.99rem;
    line-height: 1.72;
    color: var(--ink-secondary);
}

.case-text + .case-text {
    margin-top: 12px;
}

.case-outcomes {
    margin: 24px 0 28px;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background-color: #ffffff;
    border: 1px solid var(--border-light);
}

.case-outcomes-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
}

.case-outcomes ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.case-outcomes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.45;
}

.case-outcomes li svg {
    color: var(--violet);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.case-visual {
    position: relative;
}

.screenshot-stage {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid rgba(19, 18, 27, 0.1);
    box-shadow: var(--shadow-lg);
}

.screenshot-stage img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 14px 20px;
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
    font-size: 0.83rem;
    color: var(--ink-muted);
}

.screenshot-caption strong {
    color: var(--ink);
}

/* ==========================================================================
   Ecosystem Integrations Section
   ========================================================================== */
.ecosystem-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.eco-node {
    padding: 24px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-lavender);
    border: 1px solid rgba(80, 59, 242, 0.12);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.22s var(--ease-out), border-color 0.2s ease, box-shadow 0.25s var(--ease-out);
}

.eco-node:hover {
    transform: translateY(-3px);
    border-color: rgba(80, 59, 242, 0.35);
    box-shadow: var(--shadow-md);
}

.eco-node-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.eco-node h3 {
    font-size: 1.04rem;
    font-weight: 800;
    color: var(--ink);
}

.eco-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--violet);
    background-color: #ffffff;
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(80, 59, 242, 0.16);
    white-space: nowrap;
    flex-shrink: 0;
}

.eco-node p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--ink-secondary);
}

/* ==========================================================================
   AI Su Misura Section
   ========================================================================== */
.ai-section {
    background:
        radial-gradient(circle at 18% 25%, rgba(80, 59, 242, 0.25) 0%, transparent 45%),
        var(--bg-dark);
}

.ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 54px;
    align-items: center;
}

.ai-visual-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-dark);
    background-color: var(--bg-dark-surface);
}

.ai-visual-frame img {
    width: 100%;
    height: auto;
}

.ai-features {
    list-style: none;
    margin: 26px 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-features li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--ink-on-dark);
}

.ai-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background-color: rgba(220, 255, 28, 0.14);
    color: var(--lime);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   Mid-Page Violet Statement Banner
   ========================================================================== */
.cta-banner {
    padding-block: 72px;
    background:
        radial-gradient(circle at 90% 15%, rgba(220, 255, 28, 0.16) 0%, transparent 42%),
        linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
    color: #ffffff;
}

.cta-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-banner-copy {
    max-width: 640px;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.3vw, 2.9rem);
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
}

.cta-banner p {
    margin-top: 12px;
    font-size: 1.03rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

/* ==========================================================================
   About & Process Timeline
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: start;
}

.about-body {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 1.01rem;
    line-height: 1.72;
    color: var(--ink-secondary);
}

.about-body strong {
    color: var(--ink);
}

.about-credentials {
    display: grid;
    gap: 15px;
}

.credential-row {
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-lavender);
    border: 1px solid rgba(80, 59, 242, 0.12);
}

.credential-row h3 {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--ink);
}

.credential-row p {
    margin-top: 7px;
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--ink-secondary);
}

.about-photos {
    margin-top: clamp(32px, 5vw, 56px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-photo {
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--bg-lavender);
    border: 1px solid rgba(80, 59, 242, 0.12);
    box-shadow: 0 18px 44px rgba(22, 18, 54, 0.10);
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-photo figcaption {
    padding: 16px 24px 18px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-secondary);
    background-color: #fff;
    border-top: 1px solid rgba(80, 59, 242, 0.10);
}

.process-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process-step {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.process-num {
    font-family: var(--font-mono);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--violet);
    background-color: var(--violet-tint);
    width: fit-content;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
}

.process-step p {
    font-size: 0.93rem;
    line-height: 1.62;
    color: var(--ink-secondary);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--border-strong);
    background-color: #ffffff;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.slider-btn:hover {
    border-color: var(--violet);
    background-color: var(--violet);
    color: #ffffff;
}

.swipe-hint {
    display: none;
    margin-top: 16px;
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--violet);
}

.testimonials-track {
    margin-top: 38px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 370px);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
    scrollbar-width: thin;
}

.testimonial-item {
    scroll-snap-align: start;
    padding: 26px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-lavender);
    border: 1px solid rgba(80, 59, 242, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.stars {
    display: inline-flex;
    gap: 3px;
    color: var(--violet);
}

.stars svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.testimonial-quote {
    margin-top: 13px;
    font-size: 0.95rem;
    line-height: 1.66;
    color: var(--ink);
}

.testimonial-author {
    padding-top: 15px;
    border-top: 1px solid rgba(19, 18, 27, 0.08);
}

.testimonial-author strong {
    display: block;
    font-size: 0.94rem;
    color: var(--ink);
}

.testimonial-author span {
    display: block;
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-top: 2px;
}

/* ==========================================================================
   Contact Form Section (iOS-safe 16px inputs & high-craft touch targets)
   ========================================================================== */
.contact-section {
    background:
        radial-gradient(circle at 85% 20%, rgba(80, 59, 242, 0.14) 0%, transparent 45%),
        var(--bg-lavender);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: stretch;
}

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

.contact-promises {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-roadmap-card {
    margin-top: 26px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.contact-roadmap-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
}

.contact-roadmap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-roadmap-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.roadmap-num {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--violet);
    background-color: var(--violet-tint);
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-roadmap-list strong {
    display: block;
    font-size: 0.92rem;
    color: var(--ink);
    line-height: 1.35;
}

.contact-roadmap-list span {
    display: block;
    font-size: 0.85rem;
    color: var(--ink-secondary);
    line-height: 1.5;
    margin-top: 2px;
}

.contact-trust-bar {
    margin-top: auto;
    padding-top: 20px;
}

.contact-trust-company {
    padding: 16px 20px 10px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background-color: var(--bg-dark);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.contact-trust-tags {
    padding: 0 20px 16px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background-color: var(--bg-dark);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-trust-tags span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lime);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background-color: rgba(220, 255, 28, 0.11);
    border: 1px solid rgba(220, 255, 28, 0.25);
}

.contact-promises li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.contact-promises strong {
    display: block;
    font-size: 0.96rem;
    color: var(--ink);
}

.contact-promises span {
    display: block;
    font-size: 0.89rem;
    color: var(--ink-secondary);
    margin-top: 2px;
}

.contact-form-panel {
    padding: 38px;
    border-radius: var(--radius-xl);
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--ink);
}

.req {
    color: var(--violet);
}

/* 16px minimum prevents iOS Safari automatic zoom on input focus */
.form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(19, 18, 27, 0.16);
    background-color: #ffffff;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.4;
    color: var(--ink);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    appearance: none;
    -webkit-appearance: none;
}

.form-select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23503bf2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.form-control::placeholder {
    color: #7c7994;
}

.form-control:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 4px rgba(80, 59, 242, 0.12);
}

.form-control.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

textarea.form-control {
    min-height: 126px;
    resize: vertical;
}

.field-error {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--danger);
    min-height: 1em;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 44px;
    padding-block: 4px;
    font-size: 0.88rem;
    color: var(--ink-secondary);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-row input[type="checkbox"] {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    accent-color: var(--violet);
    flex-shrink: 0;
}

.checkbox-row a {
    color: var(--violet);
    font-weight: 600;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-status {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.5;
}

.form-status.is-success {
    background-color: var(--success-bg);
    color: #065f46;
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.form-status.is-error {
    background-color: var(--danger-bg);
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.form-footer-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--ink-muted);
    text-align: center;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
    margin-top: 44px;
    max-width: 900px;
    margin-inline: auto;
    border-top: 1px solid var(--border-light);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-item summary {
    list-style: none;
    padding: 22px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    transition: color 0.18s ease;
}

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

.faq-item summary:hover {
    color: var(--violet);
}

.faq-plus {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--bg-lavender);
    color: var(--violet);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-plus {
    transform: rotate(45deg);
    background-color: var(--violet);
    color: #ffffff;
}

.faq-answer {
    padding: 0 0 24px;
    color: var(--ink-secondary);
    font-size: 0.96rem;
    line-height: 1.72;
    max-width: 72ch;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--ink-on-dark);
    padding-block: 72px 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
    gap: 52px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-dark);
}

.footer-tagline {
    margin-top: 16px;
    margin-bottom: 22px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink-on-dark-muted);
    max-width: 38ch;
}

.footer-brand-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer-col h3 {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    display: inline-block;
    padding-block: 2px;
    font-size: 0.91rem;
    color: var(--ink-on-dark-muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-col a:hover {
    color: var(--lime);
}

.footer-legal {
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-legal-row p {
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--ink-on-dark-muted);
}

.footer-legal-row strong {
    color: #ffffff;
}

.footer-rpo-note {
    margin-top: 6px;
    color: rgba(183, 180, 207, 0.82);
}

.footer-bottom-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.81rem;
    color: rgba(183, 180, 207, 0.72);
}

/* ==========================================================================
   Mobile Sticky CTA & Cookie Banner (Coordinated — Zero Overlap)
   ========================================================================== */
.mobile-sticky-cta {
    display: none;
}

body.cookie-open .mobile-sticky-cta {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 250;
    max-width: 720px;
    margin-inline: auto;
    background-color: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px 22px;
}

.cookie-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-text {
    flex: 1 1 280px;
}

.cookie-text strong {
    display: block;
    font-size: 0.94rem;
    color: var(--ink);
}

.cookie-text p {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--ink-secondary);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--violet);
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Legal pages */
.legal-page {
    padding-block: 64px 90px;
}
.legal-content {
    max-width: 78ch;
}
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--violet);
    text-decoration: none;
    margin-bottom: 18px;
}
.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 400;
    color: var(--ink);
}
.legal-content h2 {
    margin-top: 32px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
}
.legal-content p, .legal-content li {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--ink-secondary);
}
.legal-content p + p {
    margin-top: 12px;
}

/* ==========================================================================
   Responsive Breakpoints — Tablet (<= 1080px)
   ========================================================================== */
@media (max-width: 1080px) {
    .main-nav {
        display: none;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .hero-top-grid,
    .rpo-grid,
    .case-block,
    .ai-grid,
    .about-grid,
    .contact-grid,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .case-block.case-reverse .case-copy,
    .case-block.case-reverse .case-visual {
        order: initial;
    }
    .ecosystem-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   Responsive Breakpoints — Mobile (<= 720px)
   ========================================================================== */
@media (max-width: 720px) {
    .about-photos {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    html {
        scroll-padding-top: 76px;
    }
    .container {
        padding-inline: 16px;
    }
    .header-inner {
        height: 66px;
        gap: 10px;
    }
    .brand-logo img {
        height: 29px;
    }
    .header-cta {
        display: none;
    }
    .hero {
        padding-block: 42px 46px;
        min-height: auto;
    }
    .hero-bg-scrim {
        background: linear-gradient(180deg, rgba(13, 12, 22, 0.84) 0%, rgba(16, 15, 29, 0.8) 50%, rgba(13, 12, 22, 0.92) 100%);
    }
    .hero-stage {
        gap: 24px;
    }
    .hero-location-pill {
        font-size: 0.76rem;
        padding: 7px 12px;
        margin-bottom: 16px;
    }
    .hero-lead {
        font-size: 0.98rem;
        margin-top: 14px;
    }
    .hero-features-box {
        padding: 18px 16px;
        border-radius: var(--radius-md);
    }
    .hero-checklist {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hero-cta-group {
        margin-top: 22px;
    }
    .hero-proof-boxes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .hero-proof-box {
        padding: 14px 12px;
    }
    .proof-value {
        font-size: 1.15rem;
    }
    .proof-label {
        font-size: 0.74rem;
    }

    /* Sectors: tidy 2-column grid on mobile */
    .sectors-band {
        padding-block: 24px;
    }
    .sectors-label {
        max-width: none;
    }
    .sectors-list {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .sectors-list li {
        text-align: center;
        padding: 9px 10px;
        font-size: 0.8rem;
        border-radius: var(--radius-md);
    }

    /* Sections & Typography */
    .section {
        padding-block: 60px;
    }
    .section-subtitle {
        font-size: 0.98rem;
        margin-top: 12px;
    }

    /* Pillars */
    .pillars-layout {
        margin-top: 34px;
    }
    .pillar-row {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-block: 24px;
    }

    /* RPOFacile: compact 2x2 metrics grid on mobile */
    .rpo-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .rpo-fact {
        padding: 14px;
    }
    .rpo-fact-value {
        font-size: 1.06rem;
    }
    .rpo-fact-desc {
        font-size: 0.79rem;
    }
    .rpo-media-frame {
        border-radius: var(--radius-lg);
    }

    /* Solutions quick nav & case stack */
    .solutions-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        margin-inline: -16px;
        padding-inline: 16px;
        scrollbar-width: none;
    }
    .solutions-nav::-webkit-scrollbar {
        display: none;
    }
    .case-stack {
        margin-top: 40px;
        gap: 56px;
    }
    .case-outcomes {
        padding: 16px 18px;
    }
    .screenshot-stage {
        border-radius: var(--radius-lg);
    }
    .screenshot-caption {
        padding: 12px 15px;
        font-size: 0.8rem;
    }

    /* Ecosystem, Process, Form, FAQ */
    .ecosystem-grid,
    .process-grid,
    .form-grid,
    .faq-answer ul {
        grid-template-columns: 1fr;
    }
    .eco-node {
        padding: 20px;
    }
    .ai-visual-frame {
        border-radius: var(--radius-lg);
    }
    .cta-banner {
        padding-block: 52px;
    }
    .cta-banner-action {
        width: 100%;
    }
    .cta-banner-action .btn {
        width: 100%;
    }
    .process-step {
        padding: 22px 20px;
    }

    /* Testimonials mobile swipe UX */
    .slider-controls {
        display: none;
    }
    .swipe-hint {
        display: block;
    }
    .testimonials-track {
        margin-top: 14px;
        grid-auto-columns: 84vw;
        gap: 14px;
        margin-inline: -16px;
        padding-inline: 16px;
        scroll-padding-inline: 16px;
    }
    .testimonial-item {
        padding: 22px;
    }

    /* Contact form panel */
    .contact-form-panel {
        padding: 24px 18px;
        border-radius: var(--radius-lg);
    }

    /* FAQ */
    .faq-item summary {
        font-size: 1rem;
        padding: 18px 0;
    }

    /* Footer: compact 2-column layout on mobile */
    .site-footer {
        padding-block: 54px 104px;
    }
    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }
    .footer-col-legal {
        grid-column: 1 / -1;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Mobile Sticky CTA */
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(19, 18, 27, 0.94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--border-dark);
        transform: translateY(100%);
        transition: transform 0.25s var(--ease-out);
    }
    .mobile-sticky-cta.is-visible {
        transform: translateY(0);
    }

    /* Cookie banner mobile actions */
    .cookie-banner {
        left: 12px;
        right: 12px;
        padding: 16px;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-actions .btn {
        flex: 1 1 0;
    }
}

/* Extra-small phones (<= 480px) */
@media (max-width: 480px) {
    .brand-logo img {
        height: 26px;
    }
    .hero-cta-group .btn,
    .rpo-actions .btn,
    .case-copy .btn,
    .ai-copy .btn {
        width: 100%;
    }
    .hero-proof-boxes {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hero-proof-box {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        gap: 12px;
    }
    .hero-proof-box .proof-label {
        text-align: right;
        font-size: 0.82rem;
    }
    .screenshot-caption {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 350px) {
    .rpo-facts,
    .sectors-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    .js-motion .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Refined Graphic Effects & Choreographed Micro-Interactions
   ========================================================================== */

/* 1. Soft atmospheric lighting & luminous section dividers */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    z-index: 3;
    background: linear-gradient(90deg, transparent 0%, rgba(80, 59, 242, 0.7) 35%, rgba(220, 255, 28, 0.65) 65%, transparent 100%);
    pointer-events: none;
}

.rpofacile-section::before,
.ai-section::before {
    content: '';
    position: absolute;
    width: 580px;
    height: 580px;
    top: -160px;
    right: -140px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(80, 59, 242, 0.26) 0%, rgba(80, 59, 242, 0.06) 45%, transparent 72%);
}

.rpofacile-section::after,
.ai-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(80, 59, 242, 0.65) 35%, rgba(220, 255, 28, 0.55) 65%, transparent 100%);
    pointer-events: none;
}

.rpofacile-section > .container,
.ai-section > .container {
    position: relative;
    z-index: 1;
}

.ai-section {
    position: relative;
    overflow: hidden;
}

/* 2. Reading scroll progress hairline under header */
.scroll-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: transparent;
    pointer-events: none;
    overflow: hidden;
}

.scroll-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--violet) 0%, #7d6bff 70%, var(--lime) 100%);
    will-change: transform;
}

/* 3. Active desktop nav underline indicator */
.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--violet);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s var(--ease-out);
}

.nav-list a {
    position: relative;
}

.nav-list a:hover::after,
.nav-list a.is-current::after {
    transform: scaleX(1);
}

.nav-list a.is-current {
    color: var(--violet);
}

/* 4. Editorial emphasis accent on Hero italic words */
.hero-title em {
    position: relative;
    display: inline-block;
}

.hero-title em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.02em;
    height: 0.08em;
    background: linear-gradient(90deg, var(--lime) 0%, rgba(220, 255, 28, 0.25) 100%);
    border-radius: 4px;
}

/* 5. Live RPO status pulse */
.rpo-status-dot {
    position: relative;
}

.rpo-status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--lime);
    opacity: 0;
    animation: rpo-pulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes rpo-pulse {
    0% {
        transform: scale(0.75);
        opacity: 0.85;
    }
    70%, 100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

/* 6. Subtle button hover sheen & arrow nudge */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .icon {
    transition: transform 0.24s var(--ease-out);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn-lime::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
    transition: left 0.55s var(--ease-out);
    pointer-events: none;
}

.btn-lime:hover::before,
.btn-primary:hover::before {
    left: 140%;
}

/* 7. Cursor-reactive subtle spotlight on cards (fine pointer / desktop only) */
@media (hover: hover) and (pointer: fine) {
    .spotlight-card,
    .spotlight-card-dark {
        position: relative;
        overflow: hidden;
    }
    .spotlight-card::before,
    .spotlight-card-dark::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .spotlight-card::before {
        background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(80, 59, 242, 0.11), transparent 65%);
    }
    .spotlight-card-dark::before {
        background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(220, 255, 28, 0.11), transparent 65%);
    }
    .spotlight-card:hover::before,
    .spotlight-card-dark:hover::before {
        opacity: 1;
    }
    .spotlight-card > *,
    .spotlight-card-dark > * {
        position: relative;
        z-index: 1;
    }
}

/* 8. Process horizontal connector line on desktop */
@media (min-width: 1081px) {
    .process-grid {
        position: relative;
    }
    .process-grid::before {
        content: '';
        position: absolute;
        left: 60px;
        right: 60px;
        top: 44px;
        height: 1px;
        background: repeating-linear-gradient(90deg, rgba(80, 59, 242, 0.35) 0 6px, transparent 6px 13px);
        z-index: 0;
        pointer-events: none;
    }
    .process-step {
        z-index: 1;
        transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.25s ease;
    }
    .process-step:hover {
        transform: translateY(-4px);
        border-color: rgba(80, 59, 242, 0.32);
        box-shadow: var(--shadow-md);
    }
}

/* 9. Screenshot zoomable hover polish + Lightbox modal */
.zoomable-media {
    position: relative;
    cursor: zoom-in;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.25s ease;
}

.zoomable-media img {
    transition: transform 0.55s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .zoomable-media:hover {
        transform: translateY(-4px);
        border-color: rgba(80, 59, 242, 0.35);
    }
    .zoomable-media:hover img {
        transform: scale(1.02);
    }
}

.zoom-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    background-color: rgba(19, 18, 27, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.16);
    opacity: 0.86;
    transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s var(--ease-out);
    pointer-events: none;
}

.zoomable-media:hover .zoom-badge {
    opacity: 1;
    background-color: var(--violet);
    transform: translateY(-1px);
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(12, 11, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: lb-fade 0.22s var(--ease-out);
}

.lightbox-modal[hidden] {
    display: none;
}

@keyframes lb-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-figure {
    margin: 0;
    max-width: min(1160px, 94vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.lightbox-figure figcaption {
    font-size: 0.9rem;
    color: var(--ink-on-dark-muted);
    text-align: center;
}

.lightbox-close {
    position: fixed;
    top: max(18px, env(safe-area-inset-top));
    right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: var(--violet);
    transform: rotate(90deg);
}

/* 10. Choreographed scroll reveal (visible by default without JS) */
.js-motion .reveal {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
    transition-delay: var(--delay, 0ms);
}

.js-motion .reveal.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Subtle hero image float-in */
.hero-image-frame {
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .hero-image-frame:hover {
        transform: translateY(-3px);
        box-shadow: 0 30px 70px rgba(19, 18, 27, 0.18);
    }
}

/* ==========================================================================
   Digital Marketing Division & 7 Vertical SEO Pages
   ========================================================================== */
.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: rgba(240, 239, 252, 0.78);
    margin-bottom: -18px;
}

.breadcrumb-nav a {
    color: rgba(240, 239, 252, 0.9);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-nav a:hover {
    color: var(--lime);
}

.verticals-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.vertical-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 26px;
    border-radius: var(--radius-lg);
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.26s var(--ease-out), border-color 0.2s ease, box-shadow 0.28s var(--ease-out);
}

.vertical-card:hover {
    transform: translateY(-4px);
    border-color: rgba(80, 59, 242, 0.36);
    box-shadow: var(--shadow-md);
}

.vertical-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vertical-card h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
}

.vertical-card p {
    font-size: 0.93rem;
    line-height: 1.62;
    color: var(--ink-secondary);
    flex: 1 1 auto;
}

.vertical-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--violet);
    padding-top: 8px;
}

.vertical-card-link .icon {
    transition: transform 0.22s var(--ease-out);
}

.vertical-card:hover .vertical-card-link .icon {
    transform: translateX(4px);
}

.vertical-card-wide {
    grid-column: span 2;
    background-color: var(--bg-dark);
    color: #ffffff;
    border-color: rgba(220, 255, 28, 0.24);
}

.vertical-card-wide:hover {
    border-color: rgba(220, 255, 28, 0.55);
}

.vertical-card-wide h3 {
    color: #ffffff;
}

.vertical-card-wide p {
    color: var(--ink-on-dark-muted);
    max-width: 62ch;
}

.pillar-icon-lime {
    background-color: rgba(220, 255, 28, 0.15);
    color: var(--lime);
}

.eco-tag-dark {
    background-color: var(--bg-dark-surface);
    color: var(--lime);
    border-color: rgba(220, 255, 28, 0.28);
}

.vertical-card-link-lime {
    color: var(--lime);
}

@media (max-width: 1080px) {
    .vertical-card-wide {
        grid-column: span 1;
    }
}

/* Comparison grid: Shared vs Exclusive */
.compare-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.compare-col {
    padding: 34px 32px;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.compare-bad {
    background-color: var(--bg-lavender);
    border: 1px solid var(--border-light);
}

.compare-good {
    background-color: var(--bg-dark);
    color: #ffffff;
    border: 1px solid rgba(220, 255, 28, 0.26);
    box-shadow: var(--shadow-lg);
}

.compare-col h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.15;
}

.compare-good h3 {
    color: var(--lime);
}

.compare-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compare-col li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.96rem;
    line-height: 1.55;
}

.compare-bad li {
    color: var(--ink-secondary);
}

.compare-good li {
    color: rgba(247, 247, 253, 0.92);
}

.cmp-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.cmp-icon-bad {
    background-color: rgba(220, 38, 38, 0.12);
    color: var(--danger);
}

.cmp-icon-good {
    background-color: rgba(220, 255, 28, 0.16);
    color: var(--lime);
}

/* Marketing + Tech points list */
.dm-points-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dm-point-row {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background-color: var(--bg-dark-surface);
    border: 1px solid var(--border-dark);
}

.dm-point-row strong {
    display: block;
    font-size: 1rem;
    color: var(--lime);
}

.dm-point-row p {
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-on-dark-muted);
}

.channels-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* Vertical benefits & cross-links */
.vertical-benefits-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.vertical-benefit-title {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
}

.other-sectors-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.other-sector-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.22s var(--ease-out), border-color 0.2s ease, box-shadow 0.24s var(--ease-out);
}

.other-sector-pill:hover {
    transform: translateY(-2px);
    border-color: var(--violet);
    box-shadow: var(--shadow-sm);
}

.other-sector-pill strong {
    display: block;
    font-size: 0.98rem;
    color: var(--ink);
}

.other-sector-pill span {
    display: block;
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-top: 2px;
}

.other-sector-pill .icon {
    color: var(--violet);
}

/* Home Page Digital Marketing Cross-Link Section */
.dm-home-box {
    padding: 44px;
    border-radius: var(--radius-xl);
    background-color: #ffffff;
    border: 1px solid rgba(80, 59, 242, 0.14);
    box-shadow: var(--shadow-md);
}

.dm-home-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.dm-home-head > div {
    max-width: 680px;
}

.dm-home-pills {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dm-sector-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background-color: var(--bg-lavender);
    border: 1px solid rgba(80, 59, 242, 0.16);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}

.dm-sector-chip:hover {
    background-color: var(--violet);
    border-color: var(--violet);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Footer 4 columns on desktop */
.footer-links-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1080px) {
    .verticals-grid,
    .vertical-benefits-grid,
    .other-sectors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-links-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .verticals-grid,
    .compare-grid,
    .channels-grid,
    .vertical-benefits-grid,
    .other-sectors-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .vertical-card,
    .compare-col {
        padding: 22px 20px;
    }
    .dm-home-box {
        padding: 26px 20px;
        border-radius: var(--radius-lg);
    }
    .dm-home-head .btn {
        width: 100%;
    }
    .dm-home-pills {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .dm-sector-chip {
        justify-content: space-between;
        padding: 9px 12px;
        font-size: 0.81rem;
        border-radius: var(--radius-md);
    }
    .breadcrumb-nav {
        margin-bottom: -10px;
        font-size: 0.78rem;
    }
}

@media (max-width: 380px) {
    .dm-home-pills {
        grid-template-columns: 1fr;
    }
}



/* ===================================================================
   Tendina delle verticali sotto Digital Marketing
   Si apre al passaggio del mouse e anche con il Tab, cosi' e'
   raggiungibile da tastiera senza JavaScript.
   =================================================================== */
.nav-has-sub { position: relative; }

.nav-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 17rem;
    margin: 0;
    padding: .5rem;
    list-style: none;
    background: var(--bg-page);
    border: 1px solid var(--violet-tint);
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(19, 18, 27, .06), 0 20px 44px -22px rgba(19, 18, 27, .32);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
    z-index: 60;
}

.nav-has-sub:hover > .nav-sub,
.nav-has-sub:focus-within > .nav-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-sub li { margin: 0; }

.nav-sub a {
    display: block;
    padding: .55rem .85rem;
    border-radius: 9px;
    font-size: .95rem;
    line-height: 1.35;
    color: var(--ink-secondary);
    text-decoration: none;
    white-space: nowrap;
}

.nav-sub a:hover,
.nav-sub a:focus-visible {
    background: var(--violet-tint);
    color: var(--violet-deep);
}

.nav-sub-sep { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid var(--violet-tint); }

/* il cassetto mobile non ha tendine: le verticali stanno annidate e sempre visibili */
.mobile-nav-child a {
    padding-left: 1.5rem;
    font-size: .95rem;
    color: var(--ink-secondary);
}
.mobile-nav-child a::before {
    content: "";
    display: inline-block;
    width: .5rem;
    height: 1px;
    margin-right: .55rem;
    vertical-align: middle;
    background: var(--violet);
}

@media (prefers-reduced-motion: reduce) {
    .nav-sub { transition: none; }
}
