/* =========================================================
   Bebit Landing Page — style.css
   Mobile-first. Breakpoint: 768 / 992 / 1200.
   Stylistic reference: bebit.it WordPress theme.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
    /* Colors */
    --color-primary: #07ACB2;
    --color-primary-dark: #06989D;
    --color-primary-soft: #F0FAFA;
    --color-primary-mid: #D1EDED;
    --color-primary-pastel: #CCE8E9;
    --color-primary-pale: #E1EBEB;
    --color-text: #191c1c;
    --color-text-muted: #3f4949;
    --color-dark: #1F1F1F;
    --color-bg: #ffffff;
    --color-bg-off: #FCFCFC;
    --color-bg-grey: #F7F7F7;
    --color-border: rgba(191, 200, 200, 0.3);

    /* Typography */
    --font-display: 'Nunito Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Open Sans', system-ui, -apple-system, sans-serif;

    /* Radii */
    --radius-card: 16px;
    --radius-card-lg: 24px;
    --radius-pill: 50px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
    --shadow-card: 0 8px 30px rgba(7, 172, 178, .08);

    /* Layout */
    --container-max: 1200px;
    --container-pad: 20px;
    --section-pad-y: 60px;
}

@media (min-width: 768px) {
    :root {
        --container-pad: 32px;
        --section-pad-y: 80px;
    }
}

@media (min-width: 992px) {
    :root {
        --section-pad-y: 112px;
    }
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    margin: 0 0 0.5em 0;
    color: var(--color-text);
    line-height: 1.15;
}

p {
    margin: 0 0 1em 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color .25s ease-in-out;
}

a:hover,
a:focus-visible {
    color: var(--color-primary-dark);
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section-title {
    font-size: clamp(1.75rem, 2.6vw + 1rem, 2.75rem);
    color: var(--color-text);
    margin-bottom: 2.5rem;
}

.section-title--center {
    text-align: center;
}

.section-title--left {
    text-align: left;
}

.blue {
    color: var(--color-primary);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 32px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--color-primary);
    transition: all .25s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn--primary {
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    background-color: var(--color-primary);
    color: #fff;
    border-color: transparent;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: none;
    font-size: 16px;
    letter-spacing: 0;
    padding: 16px 32px;
    box-shadow: 0 6px 18px rgba(7, 172, 178, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background-image: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(7, 172, 178, 0.35);
}

/* ===================================================
   HEADER
   =================================================== */
.site-header {
    padding: 24px 0;
    background-color: #fff;
}

.site-header__inner {
    display: flex;
    align-items: center;
}

.site-header__logo {
    display: inline-block;
    line-height: 0;
}

.site-header__logo img {
    width: auto;
    height: 48px;
}

@media (min-width: 768px) {
    .site-header {
        padding: 32px 0;
    }
    .site-header__logo img {
        height: 56px;
    }
}

/* ===================================================
   1. HERO
   =================================================== */
.hero {
    padding: 24px 0 var(--section-pad-y);
    overflow-x: clip;
}

.container.hero__grid {
    padding-right: 0px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero__eyebrow {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.8vw + 1rem, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0 0 8px 0;
    line-height: 1.1;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.25rem, 5vw + 1rem, 4.25rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero__title-accent {
    color: var(--color-primary);
}

.hero__lead {
    font-size: clamp(1rem, 0.4vw + 0.95rem, 1.25rem);
    color: var(--color-text-muted);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero__visual {
    position: relative;
    min-width: 0;
}

.hero__visual img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .hero__visual img {
        width: 700px;
        max-width: none;
        margin: 0;
    }
}

/* ===================================================
   2. PROBLEM & STRATEGY (split)
   =================================================== */
.problem-section {
    background-color: var(--color-primary-soft);
    padding: var(--section-pad-y) 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: start;
}

/* Left side: heading + 3 pill cards */
.problem-side__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.6vw + 1rem, 3rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0 0 2.5rem 0;
    color: var(--color-text);
    font-weight: 700;
}

.problem-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.problem-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 25px;
    background-color: #fff;
    border: 1px solid rgba(191, 200, 200, 0.3);
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    transition: box-shadow .25s ease-in-out, transform .25s ease-in-out;
}

.problem-card:hover {
    box-shadow: 0 6px 18px rgba(7, 172, 178, .12);
    transform: translateY(-2px);
}

.problem-card__icon {
    flex-shrink: 0;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.problem-card__text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
}

/* Right side: strategy panel with badge */
.strategy-panel {
    position: relative;
    background-color: var(--color-primary-mid);
    border-radius: var(--radius-card-lg);
    padding: 64px;
}

.strategy-panel__badge {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(7, 172, 178, .35);
}

.strategy-panel__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.8vw + 1rem, 1.875rem);
    line-height: 1.2;
    margin: 0 0 2.5rem 0;
    color: var(--color-text);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    align-items: start;
}

.step__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 14px;
    flex-shrink: 0;
}

.step__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: var(--color-text);
    font-weight: 700;
}

.step__text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 992px) {
    .problem-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

@media (max-width: 1220px) {
    p.site-footer__copy, ul.site-footer__links {
        margin-right: 15px;
    }
}

@media (max-width: 600px) {
    .strategy-panel {
        padding: 48px 24px 32px;
    }
    .strategy-panel__badge {
        width: 64px;
        height: 64px;
        top: -16px;
        left: 16px;
    }
}

/* ===================================================
   3. KPI (bento — 3 variant backgrounds)
   =================================================== */
.kpi-section {
    padding: var(--section-pad-y) 0 40px;
    background-color: var(--color-bg-off);
}

.kpi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.kpi {
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    min-height: 184px;
}
@media (min-width: 768px) {
    .kpi-first {
        padding-top: 57px !important;
        padding-bottom: 39px !important;
    }
}
.kpi--solid {
    background-color: var(--color-primary);
}
.kpi--solid .kpi__value { color: #fff; }
.kpi--solid .kpi__label { color: #fff; }

.kpi--mid {
    background-color: var(--color-primary-pastel);
}
.kpi--mid .kpi__value { color: var(--color-primary); }
.kpi--mid .kpi__label { color: var(--color-text-muted); }

.kpi--pale {
    background-color: var(--color-primary-pale);
}
.kpi--pale .kpi__value { color: var(--color-primary); }
.kpi--pale .kpi__label { color: var(--color-text-muted); }

.kpi__value {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 4vw + 1rem, 3.75rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.kpi__label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================================================
   4. LOGO WALL (clients)
   =================================================== */
.clients-section {
    padding: 40px 0 var(--section-pad-y);
    background-color: var(--color-bg-off);
}

.brand-wall__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2rem;
}

/* Marquee track — full width, infinite horizontal scroll */
.brand-marquee {
    overflow: hidden;
    width: 100%;
    margin-top: 2rem;
    /* Soft fade on both edges so logos enter/exit gradually */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.brand-marquee__track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    padding: 8px 32px;
    animation: brand-marquee-scroll 22s linear infinite;
    will-change: transform;
}

.brand-marquee:hover .brand-marquee__track,
.brand-marquee:focus-within .brand-marquee__track {
    animation-play-state: paused;
}

/* Translate by exactly 1 set width = 1/6 of total (6 copies in DOM).
   Same content lands at the same visual position → seamless loop. */
@keyframes brand-marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(-100% / 6), 0, 0); }
}

.client-logo {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #6c7878;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity .25s ease-in-out;
    white-space: nowrap;
}

.client-logo:hover {
    opacity: 1;
}

/* Screen-reader-only utility */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    .brand-marquee__track {
        gap: 40px;
    }
    .client-logo {
        font-size: 1.05rem;
    }
}

/* ===================================================
   5. CASE STUDIES (overlay cards)
   =================================================== */
.cases-section {
    padding: 40px 0 var(--section-pad-y);
    background-color: #F7F7F7;
;
}

.cases__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.8vw + 1rem, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 1rem;
}

.case-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.case-card__media {
    position: relative;
    display: block;
    border-radius: var(--radius-card-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background-color: #ddd;
    text-decoration: none;
    color: inherit;
}

.case-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease-in-out;
}

.case-card__media:hover img,
.case-card__media:focus-visible img {
    transform: scale(1.04);
}

.case-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 28, 28, 0) 0%, rgba(25, 28, 28, 0.8) 100%);
    pointer-events: none;
}

.case-card__badge {
    position: absolute;
    left: 24px;
    bottom: 76px;
    display: inline-block;
    padding: 5px 13px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background-color: rgba(7, 172, 178, 0.2);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(7, 172, 178, 0.2);
    border-radius: 9999px;
    line-height: 1.4;
}

.case-card__title {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.33;
    letter-spacing: -0.01em;
    color: #fff;
    font-weight: 700;
}

.case-card__desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================================================
   6. FAQ
   =================================================== */
.faq-section {
    padding: var(--section-pad-y) 0;
    background-color: #F0FAFA;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 896px;
    margin: 0 auto;
}

.faq {
    background-color: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq__question {
    width: 100%;
    min-height: 60px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color .2s ease-in-out;
}

.faq__question:hover {
    color: var(--color-primary);
}

.faq__icon {
    flex-shrink: 0;
    position: relative;
    width: 16px;
    height: 16px;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--color-primary);
    transition: transform .25s ease-in-out;
}

.faq__icon::before {
    width: 16px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq__icon::after {
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.faq__answer {
    padding: 0 24px 20px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq__answer p {
    margin: 0;
}

/* ===================================================
   7. PRE-FOOTER (replica bebit.it #preFooter — full-width)
   =================================================== */

/* Heading block (contained, centered) */
.pre-footer-heading {
    padding: var(--section-pad-y) 0 32px;
    background-color: var(--color-bg);
}

.pre-footer-heading__lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* Full-width 2-column block */
.pre-footer {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 32px;
}

@media (min-width: 992px) {
    .pre-footer {
        grid-template-columns: minmax(320px, 1fr) 2fr;
    }
}

/* Left dark column */
.sx_block {
    background-color: #474747;
    color: #fff;
}

.pre-footer__sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 32px;
}

.box_details_contact {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.box_details_contact__title {
    margin: 0 0 32px 0;
}

.box_details_contact__title .title_details_contact {
    display: block;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.box_details_contact__sub {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 1vw + 1.1rem, 1.85rem);
    line-height: 1.25;
    color: #fff;
    text-transform: none;
    font-weight: 400;
}

.blue_bebit {
    color: var(--color-primary);
}

.adress {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    justify-content: center;
    margin: 32px 0;
}

.box_contact_single h4 {
    margin: 0 0 10px 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.box_contact_single p, .box_contact_single a {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    font-weight: 300;
}

p.box_contact_tel {
    margin-top: 10px;
}

.social {
    margin-top: 40px;
}

.list_horizontal {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background-color .25s ease-in-out;
}

.social a:hover,
.social a:focus-visible {
    background-color: var(--color-primary);
    color: #fff;
}

.social a svg {
    width: 20px;
    height: 20px;
}

/* Right grey column with the form */
.grey {
    background-color: var(--color-bg-grey);
}

.pre-footer__form {
    padding: 40px 24px;
}

.form-contact_footer {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pre-footer__sidebar {
        padding: 72px 40px;
    }
    .pre-footer__form {
        padding: 72px 56px;
    }
}

@media (min-width: 1200px) {
    .pre-footer__form {
        padding: 96px 80px;
    }
}

/* ---------- Mini grid system per il form Zoho ---------- */
.zoho-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 24px;
}

.zoho-col-5,
.zoho-col-6,
.zoho-col-7,
.zoho-col-12 {
    grid-column: 1 / -1;
    min-width: 0;
}

@media (min-width: 768px) {
    .zoho-row {
        grid-template-columns: repeat(12, 1fr);
    }
    .zoho-col-5  { grid-column: span 5; }
    .zoho-col-6  { grid-column: span 6; }
    .zoho-col-7  { grid-column: span 7; }
    .zoho-col-12 { grid-column: span 12; }
}

/* ---------- Form fields ---------- */
.form-pre-footer {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    margin-bottom: 28px;
    padding: 12px 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: var(--color-text);
    background-color: transparent;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s ease-in-out;
}

.form-pre-footer::placeholder {
    color: var(--color-text);
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    opacity: 1;
}

.form-pre-footer:focus {
    outline: 0;
    border-bottom-color: var(--color-primary);
}

textarea.form-pre-footer {
    min-height: 120px;
    resize: vertical;
}

select.form-pre-footer {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23222'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px 6px;
    padding-right: 24px;
}

/* Phone wrapper with country selector */
.phone-wrapper {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.phone-wrapper .phone-country {
    flex: 0 0 auto;
    width: 32%;
    max-width: 130px;
}

.phone-wrapper input {
    flex: 1 1 auto;
}

/* Privacy + recaptcha + submit */
.zoho-recaptcha {
    margin: 16px 0 8px;
}

.zoho-privacy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.privacy-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.privacy-label input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--color-primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.privacy_text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text);
    font-weight: 300;
}

.privacy_text a {
    color: var(--color-primary);
    font-weight: 400;
}

.zoho-err-msg {
    font-size: 12px;
    color: #d33;
}

.box_submit_footer {
    text-align: right;
    margin-top: 16px;
    align-self: end;
}

.btn_submit {
    transition: all .25s ease-in-out;
    color: #fff;
    background-color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 28px;
    min-height: 44px;
    cursor: pointer;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.btn_submit:hover,
.btn_submit:focus-visible {
    color: var(--color-primary);
    background-color: #fff;
}

.btn_submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .box_submit_footer {
        text-align: center;
    }
    .btn_submit {
        width: 100%;
    }
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
    background-color: #fff;
    border-top: 1px solid var(--color-border);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
    padding: 24px 0 28px;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.site-footer__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-footer__links a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: underline;
}

.footer-partita-iva {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}    

.site-footer__links a:hover {
    color: var(--color-primary);
}

.site-footer__bar {
    height: 12px;
    width: 100%;
    background-color: var(--color-primary);
}

/* ===================================================
   Motion preferences
   =================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Marquee: drop the animation and show a static centered set */
    .brand-marquee {
        -webkit-mask-image: none;
                mask-image: none;
    }
    .brand-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 32px 48px;
    }
    .brand-marquee__track .client-logo:nth-child(n+6) {
        display: none; /* hide the 25 duplicate logos */
    }
}
