/* ==========================================================
   ALBANIA DENTAL AESTHETIC (ADA) — LANDING PAGE (IT)
   Funnel landing page for Google Ads (headline hero + price cards, video, popup lead form).
   Brand: forest green #173404 (--teal tokens), gold CTA #f2c14e (--coral tokens)
   Audience: pazienti di lingua italiana (IT)
========================================================== */

:root {
    /* Brand */
    --teal: #173404;
    --teal-bright: #2c5a12;
    --teal-light: #eaf3de;
    --teal-soft: #f4f8ee;

    --coral: #f2c14e;
    --coral-dark: #dcaa34;
    --coral-light: #fbecc5;
    --coral-soft: #fdf8ea;

    --green: #173404;

    --gold: #f2c14e;

    /* Neutrals — warm, not cold */
    --bg: #F7FAF3;
    --bg-warm: #F2F6EC;
    --surface: #FFFFFF;
    --surface-warm: #F8FBF4;

    --text: #1c2b17;
    --text-strong: #0e1a0a;
    --text-muted: #4B5563;
    --text-light: #6B7280;
    --text-faint: #9CA3AF;

    --border: #E5E7EB;
    --border-warm: #E2EAD8;
    --border-strong: #D1D5DB;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
    --shadow-teal: 0 8px 24px rgba(23, 52, 4, 0.22);
    --shadow-coral: 0 8px 24px rgba(242, 193, 78, 0.4);

    /* Radius */
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 24px;

    /* Layout */
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

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

.container--narrow {
    max-width: 880px;
}

.text-teal {
    color: var(--coral);
    font-weight: 600;
    font-style: italic;
}

/* ==========================================================
   STICKY HEADER (preserved)
========================================================== */
.afd-old-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    background: transparent;
    margin-bottom: -98px;
}

.afd-old-header__box {
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px 8px 10px;
    max-width: var(--container);
    width: 100%;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.6);
    gap: 12px;
}

.afd-old-header__logo {
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.afd-old-header__btn {
    background: var(--coral);
    color: var(--teal);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    padding: 12px 24px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(220, 170, 52, 0.38);
    white-space: nowrap;
}

.afd-old-header__btn:hover {
    background: var(--coral-dark);
    color: var(--teal);
    transform: translateY(-1px);
}

/* ==========================================================
   SHARED — eyebrows, buttons
========================================================== */
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
    padding: 8px 16px;
    background: var(--teal-light);
    border-radius: 100px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 30px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn--primary {
    background: var(--coral);
    color: var(--teal);
    box-shadow: 0 4px 14px rgba(220, 170, 52, 0.38);
}

.btn--primary:hover {
    background: var(--coral-dark);
    color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(220, 170, 52, 0.45);
}

.btn__arrow {
    transition: transform 0.25s ease;
}

.btn--primary:hover .btn__arrow {
    transform: translateX(4px);
}

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

.btn--ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}

/* ==========================================================
   FAQ
========================================================== */
.faq {
    padding: 90px 0;
    background: var(--bg-warm);
}

.faq__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}

.faq__eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--coral-dark);
    margin-bottom: 12px;
}

.faq__title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--teal);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.faq__lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Each item gets its own subtle card enclosure — a plain border by
   default, gold on hover, and a gold left-accent while open. The border
   lives on .afd-faq-item (not .afd-faq-question) so the answer's own
   padding stays visually aligned with the question above it. */
.afd-faq-item {
    background: #ffffff;
    border: 1px solid var(--border-warm);
    border-left: 3px solid transparent;
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.afd-faq-item:hover {
    border-color: var(--coral);
}

.afd-faq-item.active {
    border-left-color: var(--coral);
}

.afd-faq-question {
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--teal);
    padding: 18px 22px;
    transition: color 0.2s ease;
}

.afd-faq-question:hover {
    color: var(--coral-dark);
}

.afd-faq-question::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: var(--coral);
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.afd-faq-item.active .afd-faq-question::after {
    transform: rotate(45deg);
}

.afd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.65;
}

.afd-faq-answer p {
    margin: 0;
    padding: 0 22px 20px;
}

/* ==========================================================
   GOOGLE REVIEWS STRIP — auto-scrolling, seamless (same duplicated-
   content trick as .ticker__track), sits right before the navy #contact
   section. Distinct namespace (.gr-*) from the pre-existing, unused
   .greviews/.greview-card grid rules further down — those aren't wired
   into any markup and are left untouched.
========================================================== */
.gr-strip {
    padding: 90px 0 70px;
    background: var(--bg-warm);
}

.gr-strip__header {
    text-align: center;
    margin-bottom: 40px;
}

.gr-strip__stars {
    color: var(--coral);
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.gr-strip__label {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--teal);
}

.gr-strip__wrap {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.gr-strip__track {
    display: inline-flex;
    gap: 20px;
    animation: grStripScroll 60s linear infinite;
    will-change: transform;
}

.gr-strip__wrap:hover .gr-strip__track {
    animation-play-state: paused;
}

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

.gr-card {
    flex: 0 0 340px;
    width: 340px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gr-card__stars {
    color: var(--coral);
    font-size: 15px;
    letter-spacing: 2px;
}

.gr-card__text {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--teal);
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gr-card__name {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--teal);
    margin: 0;
}

.gr-card__name span {
    font-weight: 500;
    color: var(--text-light);
}

.gr-strip__more {
    text-align: center;
    margin-top: 40px;
}

.gr-strip__more a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    border-bottom: 1.5px solid var(--coral);
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.gr-strip__more a:hover {
    color: var(--coral-dark);
}

@media (prefers-reduced-motion: reduce) {
    .gr-strip__track {
        animation: none;
    }
}

@media (max-width: 480px) {
    .gr-card {
        flex: 0 0 280px;
        width: 280px;
    }
}

/* ==========================================================
   CTA / FORM SECTION — compact navy statement + one white form card
========================================================== */
.cta {
    padding: 70px 0;
    background: var(--teal);
}

.cta__inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.cta__eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 14px;
}

.cta__title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.cta__lead {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}

.cta__card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    text-align: left;
}

/* Form — classes/names unchanged, form-validation.js untouched.
   Minimal skin: no boxed inputs, just an underline that turns gold on
   focus. */
.afd-form:not([hidden]) {
    display: grid;
    gap: 16px;
}

.afd-form input,
.afd-form textarea {
    width: 100%;
    background: transparent;
    color: var(--teal);
    border: none;
    border-bottom: 1.5px solid var(--border-strong);
    font-family: 'Inter', sans-serif;
    border-radius: 0;
    padding: 10px 2px;
    transition: border-color 0.2s ease;
    font-size: 16px;
    line-height: 1.4;
}

.afd-form input::placeholder,
.afd-form textarea::placeholder {
    color: var(--text-light);
}

.afd-form input:focus,
.afd-form textarea:focus {
    outline: none;
    border-color: var(--coral);
}

.afd-form textarea {
    min-height: 80px;
    resize: vertical;
}

.afd-btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    background: var(--coral);
    color: var(--teal);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 22px;
    line-height: 1;
    text-align: center;
    transition: all 0.2s ease;
    border-radius: 100px;
    margin-top: 6px;
}

.afd-btn-submit:hover {
    background: var(--coral-dark);
    color: var(--teal);
    transform: translateY(-1px);
}

.afd-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.cta__privacy {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 14px 0 0;
    text-align: center;
}

.cta__privacy a {
    color: var(--teal);
    text-decoration: underline;
    font-weight: 600;
}

.cta__trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cta__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.cta__trust-check {
    width: 20px;
    height: 20px;
    background: var(--coral);
    color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Form success (ID unchanged) */
.afd-form-success {
    text-align: center;
    animation: afdFadeIn 0.4s ease;
}

.afd-form-success:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.afd-form-success__icon {
    width: 56px;
    height: 56px;
    background: var(--teal);
    color: var(--coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 16px;
    animation: afdScaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.afd-form-success__title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--teal);
    margin: 0 0 10px;
}

.afd-form-success__text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 20px;
    max-width: 38ch;
}

.afd-form-success__btn {
    background: var(--coral);
    color: var(--teal);
    box-shadow: 0 4px 14px rgba(242, 193, 78, 0.38);
    border: none;
    border-radius: 100px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.afd-form-success__btn:hover {
    background: var(--coral-dark);
}

.afd-form-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: afdSlideUp 0.3s ease;
    max-width: 90%;
    border: 1px solid rgba(242, 193, 78, 0.4);
}

.afd-form-toast.afd-form-toast--warning {
    background: #92400e;
    border-color: rgba(242, 193, 78, 0.5);
}

/* Responsive down to 360px */
@media (max-width: 900px) {
    .cta {
        padding: 56px 0;
    }

    .cta__card {
        padding: 30px 24px;
    }

    .faq {
        padding: 64px 0;
    }

    .faq__header {
        margin-bottom: 32px;
    }

    .faq__title {
        font-size: 24px;
    }

    .afd-faq-question {
        font-size: 16px;
        padding: 16px 18px;
    }

    .afd-faq-answer p {
        padding: 0 18px 18px;
    }
}

@media (max-width: 400px) {
    .cta__card {
        padding: 24px 18px;
    }

    .cta__title {
        font-size: 24px;
    }

    .afd-faq-question {
        font-size: 15px;
        padding: 14px 16px;
    }

    .afd-faq-answer p {
        padding: 0 16px 16px;
    }
}

/* ==========================================================
   COOKIE BANNER — Bottom banner, GDPR compliant
========================================================== */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 99999;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.15);
    padding: 20px 24px;
    max-width: 1100px;
    margin: 0 auto;
    display: none;
}

.cookie-banner.active {
    display: block;
    animation: cookieSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-banner__text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.cookie-banner__icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.cookie-banner__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 4px;
}

.cookie-banner__desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.cookie-banner__desc a {
    color: var(--teal);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner__desc a:hover {
    color: var(--teal-bright);
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 100px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-banner__btn--reject {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border-strong);
}

.cookie-banner__btn--reject:hover {
    background: var(--surface-warm);
    color: var(--text-strong);
}

.cookie-banner__btn--accept {
    background: var(--coral);
    color: var(--teal);
    box-shadow: 0 4px 14px rgba(220, 170, 52, 0.38);
}

.cookie-banner__btn--accept:hover {
    background: var(--coral-dark);
    color: var(--teal);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(23, 52, 4, 0.35);
}

.cookie-reopen {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #ffffff;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cookie-reopen::before {
    content: "🍪";
    font-size: 14px;
}

.cookie-reopen:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-1px);
}

.cookie-reopen[hidden] {
    display: none;
}

/* ==========================================================
   ANIMATIONS
========================================================== */
@keyframes afdFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes afdScaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes afdSlideUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ==========================================================
   RESPONSIVE — TABLET (1024px)
========================================================== */


/* ==========================================================
   RESPONSIVE — MOBILE (768px)
========================================================== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 16px;
    }

    /* Header */
    .afd-old-header {
        padding: 10px 12px;
        margin-bottom: -78px;
    }

    .afd-old-header__box {
        padding: 6px 10px 6px 8px;
    }

    .afd-old-header__logo {
        height: 44px;
    }

    .afd-old-header__btn {
        font-size: 13px;
        padding: 10px 18px;
    }

    .eyebrow {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 14px;
    }

    .btn {
        width: 100%;
        font-size: 15px;
        padding: 15px 24px;
    }

    /* CTA form + FAQ — main responsive tweaks live in the dedicated
       max-width: 900px / 400px blocks near the .cta rules; this just
       tightens the trust row and answer text a touch further down. */
    .cta__trust {
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .afd-faq-answer {
        font-size: 15px;
    }

    /* Cookie banner — stack on mobile, float off the bottom edge */
    .cookie-banner {
        bottom: 18px;
        left: 10px;
        right: 10px;
        width: auto;
        padding: 16px;
        border-radius: 14px;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-banner__icon {
        font-size: 24px;
    }

    .cookie-banner__title {
        font-size: 14px;
    }

    .cookie-banner__desc {
        font-size: 13px;
    }

    .cookie-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cookie-banner__btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Collapse to an icon-only white circle on mobile (shown only after a consent choice) */
    .cookie-reopen {
        bottom: 12px;
        left: 12px;
        width: 44px;
        height: 44px;
        padding: 0;
        gap: 0;
        font-size: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .cookie-reopen::before {
        font-size: 18px;
    }

}

/* ==========================================================
   RESPONSIVE — SMALL MOBILE (480px)
========================================================== */
@media (max-width: 480px) {
    .afd-old-header__logo {
        height: 38px;
    }

    .afd-old-header__btn {
        font-size: 11px;
        padding: 9px 14px;
    }

    

    
}

/* ============================================
   SCROLLING TICKER
   ============================================ */

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

.ticker-wrap {
  width: 100%;
  background: var(--teal);
  overflow: hidden;
  padding: 15px 0;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  align-items: center;
  animation: tickerScroll 32s linear infinite;
  will-change: transform;
}

/* First ticker on the page: reverse playback of the same keyframe scrolls
   it left-to-right instead of right-to-left. The loop stays seamless
   because the track's content is duplicated end-to-end — translateX(0)
   and translateX(-50%) are visually identical, so the restart jump (at
   either end, forward or reversed) is imperceptible either way. */
.ticker-wrap--reverse .ticker__track {
  animation-direction: reverse;
}

.ticker-wrap:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0 28px;
  flex-shrink: 0;
}

.ticker__check {
  color: var(--coral);
}

.ticker__sep {
  color: var(--coral);
  font-size: 0.7rem;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

/* ============================================
   REVIEW CAROUSEL ("Hai ancora qualche dubbio?") — MOBILE ONLY
   ============================================ */

/* Hidden on desktop */
.vid-carousel {
  display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
  .vid-carousel {
    display: block;
    padding: 24px 0 20px;
    background: #fff;
  }

  .vid-carousel__track {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 10px;
  }

  .vid-carousel__track::-webkit-scrollbar {
    display: none;
  }

  /* Each card: portrait tile, ~2.2 cards visible. The card takes the
     image's own shape, so a review is never cropped. */
  .vid-card {
    flex: 0 0 44vw;
    min-width: 44vw;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    background: #eef3e8;
    cursor: zoom-in;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
    -webkit-tap-highlight-color: transparent;
  }

  .vid-card:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
  }

  .vid-card__image {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Small "tap to enlarge" hint */
  .vid-card__zoom {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    pointer-events: none;
  }

  .vid-card__zoom svg {
    width: 16px;
    height: 16px;
  }
}

@keyframes badgeFloatTop {
  0%, 100% { transform: translateY(-100%) translateY(0px); }
  50%       { transform: translateY(-100%) translateY(-5px); }
}

@keyframes badgeFloatBottom {
  0%, 100% { transform: translateY(95%) translateY(0px); }
  50%       { transform: translateY(95%) translateY(5px); }
}

/* ============================================
   STEPS V2 — ZIG-ZAG ANIMATED
   ============================================ */

.steps-v2 {
  padding: 80px 0;
  background: #fff;
}

.steps-v2__eyebrow {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal, #173404);
  background: rgba(23,52,4,0.07);
  padding: 5px 16px;
  border-radius: 50px;
  width: fit-content;
  margin: 0 auto 16px;
}

.steps-v2__title {
  font-family: 'Fraunces', Georgia, serif;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
}

.steps-v2__lead {
  text-align: center;
  font-size: 1rem;
  color: #666;
  max-width: 580px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.steps-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  align-items: start;
}

/* SVG zig-zag connector */
.steps-v2__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

#stepsPath {
  stroke: var(--teal, #173404);
  stroke-opacity: 0.3;
  stroke-width: 2;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.2s ease 0.4s;
}

#stepsPath.is-drawn {
  stroke-dashoffset: 0;
}

/* Alternate row offset for zig-zag */
.step-v2--2,
.step-v2--4 {
  margin-top: 80px;
}

/* Step cards */
.step-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(32px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-v2.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.step-v2.is-visible .step-v2__icon {
  animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.step-v2--2.is-visible .step-v2__icon { animation-delay: 0.12s; }
.step-v2--3.is-visible .step-v2__icon { animation-delay: 0.24s; }
.step-v2--4.is-visible .step-v2__icon { animation-delay: 0.36s; }

@keyframes iconPop {
  0%   { transform: scale(0.5) rotate(-10deg); opacity: 0; }
  70%  { transform: scale(1.15) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.step-v2--2 { transition-delay: 0.12s; }
.step-v2--3 { transition-delay: 0.24s; }
.step-v2--4 { transition-delay: 0.36s; }

.step-v2__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.step-v2__icon svg {
  width: 28px;
  height: 28px;
}

.step-v2--1 .step-v2__icon { background: #E1F5EE; color: #0F6E56; }
.step-v2--2 .step-v2__icon { background: #FAECE7; color: #993C1D; }
.step-v2--3 .step-v2__icon { background: #E6F1FB; color: #185FA5; }
.step-v2--4 .step-v2__icon { background: #EAF3DE; color: #3B6D11; }

.step-v2__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-v2__body p {
  font-size: 0.86rem;
  color: #666;
  line-height: 1.6;
}

/* Mobile: 2 per row */
@media (max-width: 768px) {
  .steps-v2__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .step-v2--2,
  .step-v2--4 {
    margin-top: 0;
  }
  .steps-v2__svg {
    display: none;
  }
}

.vid-carousel-header {
  display: none;
}

@media (max-width: 768px) {
  .vid-carousel-header {
    display: block;
    padding: 32px 24px 0;
    background: transparent;
    text-align: center;
    position: relative;
  }

  .vid-carousel-header__title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
    line-height: 1.25;
    margin: 0 0 10px;
    display: inline-block;
    position: relative;
    z-index: 1;
  }

  .vid-carousel-header__title::before {
    content: '';
    position: absolute;
    inset: -5px -16px -3px -12px;
    background: #FFD60A;
    z-index: -1;
    filter: url(#marker-rough);
    transform: rotate(-1deg);
    border-radius: 2px;
  }

  .vid-carousel-header__sub {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
  }
}

/* "Seguici su Instagram" — mobile-only, same hidden-by-default /
   shown-below-768px pattern as the carousel above it. */
.vid-carousel-instagram {
  display: none;
}

@media (max-width: 768px) {
  .vid-carousel-instagram {
    display: flex;
    justify-content: center;
    padding: 4px 24px 28px;
    background: #fff;
  }

  .vid-carousel-instagram__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 100px;
    border: 1.5px solid var(--border-strong);
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .vid-carousel-instagram__link:hover {
    border-color: var(--teal);
  }

  .vid-carousel-instagram__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

/* Explicit, self-documenting confirmation that all three stay hidden on
   desktop — otherwise redundant with the display: none defaults above
   (only overridden back to visible at max-width: 768px), but stated
   directly here so it doesn't silently depend on that breakpoint if it
   ever changes. The hero-collapse side cards cover this role ≥901px. */
@media (min-width: 901px) {
  .vid-carousel-header,
  .vid-carousel,
  .vid-carousel-instagram {
    display: none !important;
  }
}

/* ============================================
   LEAD-CAPTURE POPUP FORM
   ============================================ */

/* Design tokens — tweak these to rebrand the whole form */
:root {
  --brand: #173404;
  --brand-dark: #0f2502;
  --brand-soft: #eaf3de;
  --ink: #0f1a14;
  --ink-2: #4a5650;
  --ink-3: #8a948f;
  --line: #e6eae7;
  --card: #ffffff;
  --accent-1: #ff7a3c;
  --accent-2: #e8559f;
  --accent-3: #8b5cf6;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-pop: 0 30px 80px -20px rgba(15, 26, 20, 0.35);
  --font-sans: 'Nunito', system-ui, -apple-system, sans-serif;
}

/* ===== FORM (everything below is required) ===== */
*, *::before, *::after { box-sizing: border-box; }

.ada-form {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  position: relative;
  font-family: var(--font-sans);
  color: var(--ink);
}

.ada-form__progress {
  display: flex; gap: 6px;
  padding: 24px 22px 0;
}
.ada-form__progress span {
  flex: 1; height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}
.ada-form__progress span::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 999px;
  transform: translateX(-100%);
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.ada-form__progress span:nth-child(1)::after { background: var(--accent-1); }
.ada-form__progress span:nth-child(2)::after { background: var(--accent-2); }
.ada-form__progress span:nth-child(3)::after { background: var(--accent-3); }
.ada-form__progress span:nth-child(4)::after { background: var(--brand); }
.ada-form__progress span.is-done::after { transform: translateX(0); }

.ada-form__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 0;
  min-height: 36px;
}
.ada-form__back {
  background: transparent; border: none; cursor: pointer;
  padding: 6px; margin-left: -6px;
  border-radius: 8px; color: var(--ink-2);
  display: inline-flex; align-items: center;
  transition: background .15s ease, color .15s ease;
}
.ada-form__back:hover { background: var(--brand-soft); color: var(--ink); }
.ada-form__back[hidden] { visibility: hidden; }
.ada-form__close {
  background: transparent; border: none; cursor: pointer;
  color: var(--brand); font-weight: 600; font-size: 14px;
  padding: 6px 8px; border-radius: 8px;
  transition: background .15s ease;
}
.ada-form__close:hover { background: var(--brand-soft); }
.ada-form__close.hidden { display: none; }

.ada-form__body { padding: 8px 28px 24px; min-height: 360px; position: relative; }
.ada-form__brand {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  margin: 8px 0 18px;
}
.ada-form__logo {
  width: 72px; height: 72px;
  border-radius: 50%; overflow: hidden;
  background: white; margin-bottom: 10px;
  display: grid; place-items: center;
}
.ada-form__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ada-form__brand-name {
  font-size: 13px; color: var(--ink-2);
  font-weight: 600; letter-spacing: 0.02em;
}

.ada-step {
  display: none;
  animation: fadeUp .45s cubic-bezier(.2,.8,.2,1) both;
}
.ada-step.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ada-step__title {
  font-family: var(--font-sans);
  font-weight: 800; font-size: 22px;
  line-height: 1.25; letter-spacing: -0.01em;
  text-align: center; margin: 0 0 6px;
  color: var(--ink);
}
.ada-step__sub {
  text-align: center; color: var(--ink-2);
  font-size: 14px; margin: 0 0 22px;
}

/* Step 1 — choice list */
.ada-choices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.ada-choice {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 14px 20px;
  background: white;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  text-align: left;
  transition: all .18s ease;
  position: relative;
}
.ada-choice:hover { border-color: var(--brand); transform: translateY(-1px); }
.ada-choice.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
}
.ada-choice.is-selected::after {
  content: '\2713';
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand); font-weight: 700;
}

/* Inputs */
.ada-field { margin-bottom: 14px; }
.ada-field input,
.ada-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: white;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.ada-field textarea { min-height: 110px; line-height: 1.5; }
.ada-field input:focus,
.ada-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(23, 52, 4, 0.12);
}
.ada-field input::placeholder,
.ada-field textarea::placeholder { color: var(--ink-3); }
.ada-field__hint {
  font-size: 12px; color: var(--ink-3);
  margin-top: 6px; text-align: right;
}
.ada-field__hint.is-error { color: #c0392b; }

/* Phone field with country picker */
.ada-phone {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color .15s ease, box-shadow .15s ease;
  position: relative;
}
.ada-phone:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(23, 52, 4, 0.12);
}
.ada-phone__country {
  position: relative;
  border-right: 1.5px solid var(--line);
  background: var(--brand-soft);
  border-top-left-radius: 9px;
  border-bottom-left-radius: 9px;
}
.ada-phone__country-btn {
  height: 100%;
  background: transparent; border: none;
  padding: 0 6px 0 10px;
  cursor: pointer;
  display: flex; align-items: center; gap: 3px;
  font-family: inherit;
}
.ada-phone__flag { font-size: 18px; line-height: 1; }
.ada-phone__caret {
  width: 9px; height: 9px;
  color: var(--brand-dark);
  transition: transform .2s ease;
  opacity: 0.7;
}
.ada-phone__country.is-open .ada-phone__caret { transform: rotate(180deg); }
.ada-phone__list {
  position: absolute;
  top: calc(100% + 6px); left: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px -8px rgba(15, 26, 20, 0.18);
  list-style: none;
  padding: 4px; margin: 0;
  z-index: 10;
  max-height: 240px; overflow-y: auto;
}
.ada-phone__list[hidden] { display: none; }
.ada-phone__list li {
  padding: 9px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--ink);
  transition: background .12s ease;
}
.ada-phone__list li:hover { background: var(--brand-soft); }
.ada-phone__list li.is-selected {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
}
.ada-phone__list .name { flex: 1; }
.ada-phone__list .code { color: var(--ink-3); font-size: 13px; font-weight: 500; }
.ada-phone__list li.is-selected .code { color: var(--brand); }
.ada-field .ada-phone input {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
  box-shadow: none !important;
  padding: 14px 16px;
  min-width: 0;
  background: transparent;
}
.ada-field .ada-phone input:focus {
  box-shadow: none !important;
  border: none !important;
}
.ada-phone-hint {
  font-size: 12px; color: var(--ink-3);
  margin-top: 6px; text-align: right;
}
.ada-phone-hint.is-error { color: #c0392b; }

.ada-disclaimer {
  font-size: 11.5px; color: var(--ink-3);
  line-height: 1.5; margin: 14px 0 0;
}

/* CTA */
.ada-cta {
  width: calc(100% - 56px);
  margin: 8px 28px 22px;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--coral);
  color: var(--teal);
  box-shadow: 0 4px 14px rgba(220, 170, 52, 0.38);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease, opacity .15s ease;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ada-cta:hover:not(:disabled) { background: var(--coral-dark); color: var(--teal); }
.ada-cta:active:not(:disabled) { transform: scale(0.99); }
.ada-cta:disabled { opacity: 0.4; cursor: not-allowed; }
.ada-cta__spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.ada-cta.is-loading .ada-cta__spinner { display: inline-block; }
.ada-cta.is-loading .ada-cta__label { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

.ada-form__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px 16px;
  font-size: 12px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
}
.ada-form__footer-arrows { display: flex; gap: 6px; }
.ada-form__footer-arrows button {
  width: 26px; height: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  cursor: pointer;
  color: var(--ink-2);
  display: grid; place-items: center;
  transition: background .15s ease;
}
.ada-form__footer-arrows button:hover:not(:disabled) { background: var(--brand-soft); }
.ada-form__footer-arrows button:disabled { opacity: .35; cursor: not-allowed; }

/* Success step */
.ada-success { text-align: center; padding: 18px 8px 8px; }
.ada-success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: grid; place-items: center;
  color: var(--brand);
  animation: pop .5s cubic-bezier(.2,1.4,.4,1) both;
}
@keyframes pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.ada-success__icon svg { width: 30px; height: 30px; }
.ada-success h3 {
  font-family: var(--font-sans);
  font-weight: 800; font-size: 22px;
  margin: 0 0 8px; letter-spacing: -0.01em;
}
.ada-success p {
  color: var(--ink-2);
  font-size: 14.5px; line-height: 1.55;
  margin: 0 0 22px;
  max-width: 320px; margin-inline: auto;
}

/* Popup overlay */
.ada-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 26, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ada-overlay.is-open { display: flex; opacity: 1; }
.ada-overlay .ada-form {
  box-shadow: var(--shadow-pop);
  animation: popIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes popIn {
  from {
    transform: translateY(60px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.ada-overlay .ada-form__close { z-index: 2; }

.mobile-sticky-cta { display: none; }

/* Mobile sticky bar: WhatsApp (left) + "Richiedi un preventivo" (right) */
@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 9998;
  }
  .mobile-sticky-cta__btn {
    background: var(--coral);
    color: var(--teal);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(220, 170, 52, 0.38);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
  }
  .mobile-sticky-cta__btn:active { transform: scale(0.97); }
  .mobile-sticky-cta__wa {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.42);
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-sticky-cta__wa svg { width: 25px; height: 25px; }
  .mobile-sticky-cta__wa:active { transform: scale(0.95); }
}

@media (max-width: 360px) {
  .mobile-sticky-cta__btn { font-size: 13px; padding: 0 14px; }
  .mobile-sticky-cta__btn svg { display: none; }
}

/* ===== Perf: skip rendering of far-below-fold content ===== */
.faq { content-visibility: auto; contain-intrinsic-size: auto 1200px; }

/* ==========================================================
   SITE FOOTER
========================================================== */
.site-footer {
    background: var(--teal);
    padding: 56px 0 28px;
}

.site-footer__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.site-footer__logo img {
    height: 40px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

.site-footer__desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px;
}

.site-footer__desc a {
    color: var(--coral);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.site-footer__desc a:hover {
    color: var(--coral-dark);
}

.site-footer__legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    margin-bottom: 16px;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.site-footer__legal a:hover {
    color: var(--coral);
}

.site-footer__legal span {
    color: rgba(255, 255, 255, 0.3);
}

.site-footer__copy {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 480px) {
    .site-footer {
        padding: 44px 0 24px;
    }

    .site-footer__legal {
        flex-direction: column;
        gap: 6px;
    }

    .site-footer__legal span {
        display: none;
    }
}

/* ===== Section reveal ===== */
.vid-carousel-header, .vid-carousel, .vid-carousel-instagram, .gr-strip, .steps-v2, .cta, .faq, .site-footer {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}
.vid-carousel-header.in-view, .vid-carousel.in-view, .vid-carousel-instagram.in-view,
.gr-strip.in-view, .steps-v2.in-view, .cta.in-view, .faq.in-view,
.site-footer.in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .vid-carousel-header, .vid-carousel, .vid-carousel-instagram, .gr-strip, .steps-v2, .cta, .faq, .site-footer {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== Cookie banner: Garante model ===== */
.cookie-banner__close {
    display: none;
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
}
.cookie-banner.is-prefs-open .cookie-banner__close { display: block; }
.cookie-banner__close:hover { color: #0f172a; }
.cookie-prefs {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    display: grid;
    gap: 12px;
}
.cookie-pref {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cookie-pref p { margin: 2px 0 0; font-size: 12.5px; color: #64748b; }
.cookie-pref strong { font-size: 13.5px; }
.cookie-switch {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background .2s ease;
}
.cookie-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.cookie-switch:checked { background: var(--teal); }
.cookie-switch:checked::after { transform: translateX(20px); }
.cookie-switch:disabled { opacity: 0.55; cursor: not-allowed; }
.cookie-prefs__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.cookie-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9, 22, 4, 0.32);
    opacity: 0;
    pointer-events: none;   /* never blocks interaction */
    transition: opacity .35s ease;
    z-index: 99998;         /* one below .cookie-banner's z-index: 99999 */
}
.cookie-backdrop.is-visible { opacity: 1; }
.cookie-prefs__note {
    margin: 0 0 2px;
    font-size: 12.5px;
    color: #64748b;
}
.cookie-prefs[hidden] { display: none !important; }
.cookie-banner.is-prefs-open .cookie-banner__actions { display: none; }

/* ==========================================================
   CHI SIAMO — founder layout; route panel instead of photos
========================================================== */
.founder {
    position: relative;
    padding: 96px 0;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border-warm);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.founder.in-view {
    opacity: 1;
    transform: none;
}

/* Wave divider — closes the navy hero-collapse into the cream founder
   section. Absolutely positioned (adds no height, doesn't touch the hero's
   sticky/scroll math) and full-bleed (ignores .container's max-width). A
   1px negative top offset overlaps the hero's navy so no hairline seam can
   show at any viewport width, even with subpixel rounding. */
.founder__wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.founder__wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.founder__wave-fill {
    fill: var(--teal);
}

.founder__wave-line {
    stroke: var(--coral);
    stroke-width: 2px;
    opacity: 0.7;
}

@media (max-width: 900px) {
    .founder__wave {
        height: 48px;
    }
}

.founder__inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
}

/* Media column: one framed square panel (see .about-route). */
.founder__media {
    position: relative;
}

.founder__photo-frame {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-warm);
    background: var(--surface);
}

.founder__photo-frame::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1.5px solid rgba(242, 193, 78, 0.55);
    border-radius: calc(var(--r-xl) - 8px);
    pointer-events: none;
}

/* Small gold pill tag on the media frame */
.founder__tag {
    position: absolute;
    background: var(--coral);
    color: var(--teal);
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 14px;
    padding: 7px 14px;
    border-radius: 100px;
    box-shadow: 0 6px 18px rgba(23, 52, 4, 0.25);
    letter-spacing: 0.01em;
    white-space: nowrap;
    z-index: 3;
}

.founder__tag--then {
    top: 16px;
    right: 16px;
}

.founder__title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.15;
    color: var(--text-strong);
    margin: 14px 0 22px;
    letter-spacing: -0.01em;
}

.founder__para {
    font-size: 17.5px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 60ch;
}

.founder__quote {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(19px, 2vw, 23px);
    font-style: italic;
    font-weight: 500;
    line-height: 1.45;
    color: var(--teal);
    border-left: 3px solid var(--coral);
    padding: 6px 0 6px 22px;
    margin: 26px 0 8px;
}

.founder__quote-attribution {
    font-size: 13.5px;
    font-style: italic;
    color: var(--text-light);
    padding-left: 22px;
    margin: 0 0 26px;
}

.founder__stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border-warm);
    padding-top: 26px;
}

.founder__stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 18px;
}

.founder__stat + .founder__stat {
    border-left: 1px solid var(--border-warm);
    padding-left: 22px;
}

.founder__stat-num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.founder__stat-label {
    font-size: 13.5px;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 900px) {
    .founder {
        padding: 64px 0;
    }

    .founder__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .founder__media {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
        padding: 0;
    }


    .founder__stats {
        flex-wrap: wrap;
        gap: 18px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .founder {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   NARROW-VIEWPORT FIX (<=400px) — the header (logo + CTA) and the
   cookie-banner action row had a min-content width of ~355px, which
   overflowed narrow screens, widened the layout viewport, and let the
   whole page pan left-right while clipping sections at the right edge.
============================================ */
@media (max-width: 400px) {
    .afd-old-header {
        padding: 10px 10px;
    }

    .afd-old-header__box {
        padding: 6px 8px 6px 6px;
        gap: 8px;
        min-width: 0;
    }

    .afd-old-header__logo {
        height: 36px;
        flex-shrink: 1;
        min-width: 0;
        max-width: 45%;
    }

    .afd-old-header__btn {
        font-size: 12.5px;
        padding: 9px 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        padding: 16px 16px;
    }

    .cookie-banner__actions {
        flex-wrap: wrap;
    }

    .cookie-banner__btn {
        flex: 1 1 auto;
        padding: 11px 16px;
        font-size: 13.5px;
        text-align: center;
    }
}

/* ==========================================================
   ADA — ADDITIONS
========================================================== */

/* Logo: any logo shape fits without pushing the header button off-screen */
.afd-old-header__logo {
    width: auto;
    max-width: min(240px, 52vw);
    object-fit: contain;
    object-position: left center;
}

/* HERO — headline, description, review proof, CTAs + 3 cards */
.hero2 {
    position: relative;
    padding: 128px 0 36px;
    background:
        radial-gradient(60% 55% at 88% 0%, rgba(242, 193, 78, 0.18) 0%, rgba(242, 193, 78, 0) 60%),
        radial-gradient(55% 55% at 0% 12%, rgba(44, 90, 18, 0.10) 0%, rgba(44, 90, 18, 0) 60%),
        var(--bg);
    overflow: hidden;
}

.hero2__text {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.hero2__title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(32px, 4.3vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--teal);
    margin-bottom: 16px;
}

.hero2__desc {
    font-size: clamp(16px, 1.35vw, 18.5px);
    line-height: 1.6;
    color: var(--text);
    max-width: 640px;
    margin: 0 auto 20px;
}

.hero2__proof {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero2__avatars { display: flex; }

.hero2__avatars span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background: var(--c);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hero2__avatars span:first-child { margin-left: 0; }

.hero2__proof-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--text);
    text-align: left;
}

.hero2__stars {
    color: #f2b33a;
    font-size: 15px;
    letter-spacing: 2px;
}

.hero2__ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero2__wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 100px;
    border: 1.5px solid rgba(23, 52, 4, 0.18);
    background: #ffffff;
    color: var(--teal);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hero2__wa svg { width: 20px; height: 20px; color: #25D366; flex-shrink: 0; }
.hero2__wa:hover { border-color: #25D366; transform: translateY(-1px); }

.hero2__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.hcard {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: clamp(250px, 33vh, 320px);
    padding: 22px;
    border-radius: 22px;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(23, 52, 4, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hcard:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(23, 52, 4, 0.22); }

.hcard--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center 30%;
    transition: transform 0.6s ease;
}

.hcard--photo:hover::before { transform: scale(1.04); }

.hcard--photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(9, 22, 4, 0.9) 0%, rgba(9, 22, 4, 0.4) 42%, rgba(9, 22, 4, 0) 68%);
}

.hcard--impianti::before { background-image: url('https://media.albaniadentalaesthetics.com/denti_fissi.webp'); }
.hcard--corone::before { background-image: url('https://media.albaniadentalaesthetics.com/corona_faccetter.jpg'); background-position: center 22%; }

.hcard--offer {
    justify-content: flex-start;
    background: radial-gradient(120% 90% at 85% 0%, #2f5e15 0%, #173404 55%, #0e2403 100%);
    border: 1px solid rgba(242, 193, 78, 0.45);
}

.hcard__badge {
    align-self: flex-start;
    background: var(--coral);
    color: var(--teal);
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.hcard__label {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 6px;
}

.hcard__price {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--coral);
    margin-bottom: 10px;
}

.hcard__price small {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    margin-left: 4px;
}

.hcard__list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.hcard__list li { position: relative; padding-left: 20px; }
.hcard__list li::before { content: '✓'; position: absolute; left: 0; color: var(--coral); font-weight: 700; }

.hcard__link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.hcard--photo .hcard__link { margin-top: 0; }

.hero2__note {
    text-align: center;
    font-size: 12.5px;
    color: var(--text);
    opacity: 0.6;
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .hcard__label { font-size: 19px; }
    .hcard__price { font-size: 30px; }
    .hcard { padding: 18px; }
}

@media (max-width: 768px) {
    .hero2 { padding: 108px 0 26px; }
    .hero2__ctas { flex-direction: column; align-items: stretch; }
    .hero2__ctas .btn,
    .hero2__wa { width: 100%; justify-content: center; }
    .hero2__cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 16px;
        scrollbar-width: none;
        gap: 12px;
        margin: 26px -16px 0;
        padding: 0 16px 8px;
    }
    .hero2__cards::-webkit-scrollbar { display: none; }
    .hcard {
        flex: 0 0 78vw;
        height: 290px;
        scroll-snap-align: start;
    }
}

/* VIDEO section */
.vsec {
    padding: 72px 0 78px;
    background: var(--teal);
    text-align: center;
}

.vsec .eyebrow {
    background: rgba(242, 193, 78, 0.16);
    color: var(--coral);
}

.vsec__title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.15;
    color: #ffffff;
    margin: 0 auto 28px;
    max-width: 720px;
}

.vsec__frame { display: flex; justify-content: center; }

.vsec__wrap {
    position: relative;
    max-width: 100%;
    line-height: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #0f2408;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.vsec__video {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: min(78vh, 720px);
    min-width: min(100%, 340px);
    min-height: 200px;
    background: #0f2408;
}

/* PREZZI section */
.prices {
    padding: 76px 0 80px;
    background: #ffffff;
}

.prices__head {
    max-width: 640px;
    margin: 0 auto 36px;
    text-align: center;
}

.prices__title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.15;
    color: var(--teal);
    margin-bottom: 10px;
}

.prices__lead {
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--text);
}

.prices__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    background: #ffffff;
    border: 1px solid var(--border-warm);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(23, 52, 4, 0.07);
}

.pcard__name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
}

.pcard__price {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    color: var(--teal);
    margin: 14px 0 4px;
}

.pcard__unit {
    font-size: 14px;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 18px;
}

.pcard__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--text);
}

.pcard__list li { position: relative; padding-left: 28px; }

.pcard__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--teal-light);
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcard__cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 100px;
    border: 1.5px solid var(--teal);
    color: var(--teal);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.pcard__cta:hover { background: var(--teal); color: #ffffff; }

.pcard--offer {
    background: radial-gradient(120% 90% at 85% 0%, #2f5e15 0%, #173404 55%, #0e2403 100%);
    border-color: rgba(242, 193, 78, 0.5);
    color: #ffffff;
}

.pcard--offer .pcard__name,
.pcard--offer .pcard__unit,
.pcard--offer .pcard__list { color: #ffffff; }
.pcard--offer .pcard__unit { opacity: 0.8; }
.pcard--offer .pcard__price { color: var(--coral); }
.pcard--offer .pcard__list li::before { background: var(--coral); color: var(--teal); }
.pcard--offer .pcard__cta { background: var(--coral); border-color: var(--coral); color: var(--teal); }
.pcard--offer .pcard__cta:hover { background: var(--coral-dark); border-color: var(--coral-dark); }

.pcard__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--coral);
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 11px;
    border-radius: 100px;
}

.prices__note {
    text-align: center;
    font-size: 13px;
    color: var(--text);
    opacity: 0.6;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .prices__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .vsec { padding: 52px 0 56px; }
    .prices { padding: 54px 0 58px; }
}

/* HEADINGS — bold sans + italic serif accent word(s) */
.hero2__title,
.vsec__title,
.prices__title,
.founder__title,
.steps-v2__title,
.cta__title,
.faq__title {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.hero2__title em,
.vsec__title em,
.prices__title em,
.founder__title em,
.steps-v2__title em,
.cta__title em,
.faq__title em {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.005em;
    font-size: 1.12em;
}

.hero2__title { font-size: clamp(30px, 4.1vw, 52px); }

/* Review-photo carousel now sits right under the dark video section (phones) */
@media (max-width: 768px) {
    .vid-carousel-header { padding-top: 26px; background: #ffffff; }
}

/* PRIVACY TICK-BOX (main form + popup) */
.afd-consent,
.ada-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 14px;
    line-height: 1.45;
    cursor: pointer;
}
.afd-consent { color: var(--text); margin: 2px 0 6px; }
.ada-consent { color: var(--ink-2); }
.afd-consent input,
.ada-consent input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--teal);
    cursor: pointer;
}
.afd-consent a,
.ada-consent a { color: var(--teal); font-weight: 600; text-decoration: underline; }
.ada-consent.is-consent-error { animation: adaConsentShake 0.35s ease; }
.ada-consent.is-consent-error span { color: #c0392b; }
.ada-consent.is-consent-error input { outline: 2px solid #c0392b; outline-offset: 2px; }
@keyframes adaConsentShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Short privacy note under the tick-box (popup) */
.ada-privacy-note { margin-top: 8px; }
.ada-privacy-note a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* Chi siamo wave now follows the white price section */
.founder__wave-fill { fill: #ffffff; }

/* CHI SIAMO — Italy -> Tirana route panel inside the founder frame */
.about-route {
    aspect-ratio: 1 / 1;
    background: radial-gradient(120% 95% at 18% 8%, #2f5e15 0%, #173404 55%, #0e2403 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.about-route__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.about-route__path {
    fill: none;
    stroke: var(--coral);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 1 10;
    animation: adaRouteFlow 2.4s linear infinite;
}

@keyframes adaRouteFlow {
    to { stroke-dashoffset: -22; }
}

.about-route__ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1.5;
}

.about-route__ring--gold { stroke: rgba(242, 193, 78, 0.55); }
.about-route__dot { fill: #ffffff; }
.about-route__dot--gold { fill: var(--coral); }
.about-route__plane { fill: #ffffff; }

.about-route__from {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    fill: rgba(255, 255, 255, 0.85);
}

.about-route__to {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    fill: #ffffff;
}

.about-route__caption {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-route__big {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(22px, 2.3vw, 28px);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
}

.about-route__small {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--coral);
}

@media (max-width: 480px) {
    .about-route__caption { left: 24px; right: 24px; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .about-route__path { animation: none; }
}

/* GOOGLE REVIEWS STRIP — seamless loop (each card carries its own spacing) */
.gr-strip__track { gap: 0; }
.gr-card { margin-right: 20px; }

/* HERO — sound button */
.hero-sound {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(9, 22, 4, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.hero-sound:hover { background: rgba(9, 22, 4, 0.75); }
.hero-sound svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-sound .ic-on { display: none; }
.hero-sound.is-on .ic-on { display: block; }
.hero-sound.is-on .ic-off { display: none; }
.hero-sound.is-on { background: var(--coral); color: var(--teal); border-color: transparent; }
.hero-sound:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

@media (max-width: 900px) {
    .hero-sound {
        top: 14px;
        bottom: auto;
        right: 14px;
        padding: 9px 13px;
        font-size: 13px;
    }
}

/* REVIEW LIGHTBOX */
.rv-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 72px;
    background: rgba(8, 18, 4, 0.92);
    opacity: 0;
    transition: opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.rv-lightbox[hidden] { display: none; }
.rv-lightbox.is-open { opacity: 1; }

.rv-lightbox__img {
    max-width: min(100%, 560px);
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.rv-lightbox__close,
.rv-lightbox__nav {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.rv-lightbox__close { top: 14px; right: 14px; font-size: 30px; }
.rv-lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 34px; padding-bottom: 4px; }
.rv-lightbox__nav--prev { left: 14px; }
.rv-lightbox__nav--next { right: 14px; }

.rv-lightbox__close:hover,
.rv-lightbox__nav:hover { background: rgba(255, 255, 255, 0.26); }

.rv-lightbox__count {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .rv-lightbox { padding: 66px 14px 74px; }
    .rv-lightbox__nav { top: auto; bottom: 12px; transform: none; }
    .rv-lightbox__nav--prev { left: 18px; }
    .rv-lightbox__nav--next { right: 18px; }
    .rv-lightbox__count { bottom: 26px; }
}

/* CTA — WhatsApp alternative under the form */
.cta__wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.cta__wa svg {
    width: 20px;
    height: 20px;
    color: #25D366;
    flex-shrink: 0;
}

.cta__wa span { border-bottom: 1.5px solid rgba(255, 255, 255, 0.35); }
.cta__wa:hover { opacity: 1; }

/* Phones: sticky bar never covers the footer's last line or the lightbox */
@media (max-width: 768px) {
    .site-footer { padding-bottom: 92px; }
}
body.rv-open .mobile-sticky-cta,
body.rv-open .cookie-reopen { display: none; }

/* FOOTER — white logo on green, short partner-clinic disclaimer */
.site-footer__logo {
    display: block;
    line-height: 0;
    margin: 0 auto 22px;
}

.site-footer__logo img {
    height: 44px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    margin: 0 auto;
}

.site-footer__disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    max-width: 62ch;
    margin: 0 auto 20px;
}

.site-footer__legal {
    flex-wrap: wrap;
    row-gap: 6px;
}

/* Mobile sticky: one green WhatsApp button (quote button is in the header) */
@media (max-width: 768px) {
    .mobile-sticky-cta__wa {
        flex: 0 0 auto;
        width: auto;
        height: 48px;
        padding: 0 18px 0 14px;
        gap: 8px;
        border-radius: 100px;
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #ffffff;
        text-decoration: none;
        white-space: nowrap;
    }
    .mobile-sticky-cta__wa svg { width: 22px; height: 22px; }
}
