/* ==========================================================================
   EasyWattPay - Foglio di stile
   ========================================================================== */

:root {
    --green-900: #0b2e20;
    --green-800: #0f3d2a;
    --green-700: #137a47;
    --green-600: #1f9d55;
    --green-500: #3fae4a;
    --green-400: #6cc04a;
    --green-200: #cfeec4;
    --green-100: #e8f7e4;
    --green-50:  #f3fbf1;

    --accent:      #ffc857;
    --accent-dark: #f0a91e;

    --ink:     #1d2326;
    --ink-2:   #3b4145;
    --muted:   #5f6b66;
    --line:    #e3ebe6;
    --bg:      #ffffff;
    --bg-soft: #f6faf5;

    --grad-brand: linear-gradient(135deg, #6cc04a 0%, #1f9d55 50%, #137a47 100%);

    --radius-sm: 12px;
    --radius:    20px;
    --radius-lg: 32px;

    --shadow-sm: 0 2px 6px rgba(11, 46, 32, .06);
    --shadow:    0 12px 32px rgba(11, 46, 32, .10);
    --shadow-lg: 0 30px 60px rgba(11, 46, 32, .16);

    --font-head: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 40px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }

.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sm { width: 20px; height: 20px; }
.icon-xs { width: 16px; height: 16px; }

.text-gradient { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-green { color: var(--green-600); }
.text-lime { color: var(--green-400); }

/* ---------- Bottoni ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-head); font-weight: 600; font-size: 1rem;
    padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(31, 157, 85, .32); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(31, 157, 85, .42); }
.btn-outline { border-color: var(--green-600); color: var(--green-700); background: #fff; }
.btn-outline:hover { background: var(--green-50); color: var(--green-700); }
.btn-accent { background: var(--accent); color: #3b2a00; box-shadow: 0 10px 24px rgba(240, 169, 30, .35); }
.btn-accent:hover { background: #ffd47a; color: #3b2a00; }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Eyebrow / pill ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--green-700); background: var(--green-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow-light { color: #d7f5c8; background: rgba(108, 192, 74, .18); }
.pill {
    display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600;
    color: var(--green-700); background: var(--green-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.pill-accent { color: #7a4f00; background: #fff1cf; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 44px; height: auto; }
.brand-word { width: 176px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; list-style: none; gap: 6px; }
.nav-link {
    position: relative; display: block; padding: 8px 14px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--ink-2);
}
.nav-link:hover { color: var(--green-700); background: var(--green-50); }
.nav-link.is-active { color: var(--green-700); background: var(--green-100); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 10px; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 70px 0 110px; overflow: hidden; background: linear-gradient(180deg, #f3fbf1 0%, #ffffff 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .22; animation: float 16s ease-in-out infinite; }
.blob-1 { width: 520px; height: 520px; background: #c9f0b5; top: -160px; right: -120px; }
.blob-2 { width: 380px; height: 380px; background: #ffe7a8; bottom: -120px; left: -120px; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; background: #b8ecd0; top: 40%; left: 40%; animation-delay: -10s; opacity: .4; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -30px) scale(1.08); }
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 60px; align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.lead strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.hero-points .icon { color: #fff; background: var(--green-600); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.hero-visual { position: relative; }
.hero-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(1.5deg); transition: transform .5s ease; }
.hero-visual:hover .hero-image { transform: rotate(0); }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.95); border-radius: 18px; padding: 12px 18px 12px 12px;
    box-shadow: var(--shadow); backdrop-filter: blur(6px);
    animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.2; }
.float-card strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); line-height: 1.3; }
.float-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green-100); color: var(--green-700); }
.float-icon-accent { background: #fff1cf; color: #b77800; }
.float-card-1 { top: 8%; left: -40px; }
.float-card-2 { bottom: 14%; right: -30px; flex-wrap: wrap; animation-delay: -2s; }
.float-card-3 { bottom: -26px; left: 10%; animation-delay: -4s; }
.mini-bar { flex-basis: 100%; height: 6px; background: var(--green-100); border-radius: 6px; overflow: hidden; }
.mini-bar span { display: block; height: 100%; background: var(--grad-brand); border-radius: 6px; }

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

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--green-800); color: #d9eadf; }
.trust-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3; }
.trust-item .icon { width: 34px; height: 34px; color: var(--green-400); }
.trust-item strong { color: #fff; font-weight: 600; }

/* ==========================================================================
   Sezioni generiche
   ========================================================================== */
.section { position: relative; padding: 110px 0; }
.section-tinted { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split-media img.media-plain { box-shadow: var(--shadow-lg); }
.split-copy > p { color: var(--muted); font-size: 1.07rem; }

.media-badge {
    position: absolute; right: -20px; bottom: 36px; display: flex; align-items: center; gap: 12px;
    background: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite;
}
.media-badge .icon { color: var(--green-600); width: 30px; height: 30px; }
.media-badge span { font-size: .82rem; color: var(--muted); line-height: 1.3; }
.media-badge strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .98rem; }

.feature-list { display: grid; gap: 18px; margin: 28px 0; }
.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row h3 { margin-bottom: 2px; font-size: 1.05rem; }
.feature-row p { margin: 0; color: var(--muted); font-size: .96rem; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700); flex-shrink: 0; }

.note-box { display: flex; gap: 14px; align-items: flex-start; background: #fffaf0; border: 1px solid #ffe3a3; padding: 16px 18px; border-radius: var(--radius-sm); }
.note-box .icon { color: #c98a00; margin-top: 2px; }
.note-box p { margin: 0; font-size: .95rem; color: #5a4a22; }

.check-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.check-list .icon { color: var(--green-600); background: var(--green-100); border-radius: 8px; padding: 4px; width: 28px; height: 28px; flex-shrink: 0; margin-top: -1px; }

/* ---------- Steps ---------- */
.steps-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step-card {
    position: relative; background: #fff; border-radius: var(--radius); padding: 32px 28px 28px;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-200); }
.step-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.step-card:hover::after { transform: scaleX(1); }
.step-number { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--green-100); line-height: 1; }
.step-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--grad-brand); color: #fff; margin-bottom: 20px; box-shadow: 0 10px 20px rgba(31,157,85,.25); }
.step-icon .icon { width: 28px; height: 28px; }
.step-card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
    background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--green-100); color: var(--green-700); margin-bottom: 18px; transition: background .3s ease, color .3s ease, transform .3s ease; }
.service-card:hover .service-icon { background: var(--grad-brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Dark section ---------- */
.section-dark { background: radial-gradient(1200px 600px at 10% 0%, #155c3b 0%, var(--green-900) 60%); color: #cfe2d6; overflow: hidden; }
.section-dark h2 { color: #fff; }
.section-dark .split-copy > p { color: #b9d3c3; }
.dark-glow { position: absolute; width: 600px; height: 600px; right: -200px; bottom: -250px; background: radial-gradient(circle, rgba(108,192,74,.35), transparent 65%); pointer-events: none; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 34px; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px; }
.stat .icon { color: var(--green-400); margin-bottom: 8px; }
.stat strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.02rem; }
.stat span { font-size: .85rem; color: #a9c5b4; }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.benefit-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit-card > img { width: 100%; border-radius: 0; }
.benefit-body { padding: 30px 34px 36px; }
.benefit-body h3 { font-size: 1.45rem; }

/* ---------- Mini cards ---------- */
.mini-cards { display: grid; gap: 14px; margin-top: 26px; }
.mini-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; transition: transform .25s ease, box-shadow .25s ease; }
.mini-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.mini-card > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-700); flex-shrink: 0; }
.mini-card strong { display: block; font-family: var(--font-head); color: var(--ink); }
.mini-card small { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .25s ease, border-color .25s ease; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--green-200); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-100); color: var(--green-700); flex-shrink: 0; transition: transform .3s ease, background .3s ease; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--green-600); color: #fff; }
.faq-item p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 40px; }
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px;
    background: linear-gradient(120deg, #0f3d2a 0%, #137a47 55%, #1f9d55 100%);
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; color: #d7ecdd;
}
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.08rem; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.cta-content { position: relative; z-index: 1; }
.cta-glow { position: absolute; width: 420px; height: 420px; top: -180px; right: 10%; background: radial-gradient(circle, rgba(255,200,87,.35), transparent 65%); }
.cta-logo { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .12; filter: brightness(3) grayscale(1); pointer-events: none; }

/* ==========================================================================
   Page hero (pagine interne)
   ========================================================================== */
.page-hero { position: relative; padding: 80px 0 90px; overflow: hidden; background: linear-gradient(180deg, #eef9ea 0%, #ffffff 100%); text-align: center; }
.page-hero .container { position: relative; }
.page-hero p { max-width: 700px; margin: 0 auto; font-size: 1.15rem; color: var(--muted); }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; list-style: none; }
.breadcrumb a { color: var(--green-700); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #a3b0aa; }

/* ---------- Timeline (come funziona) ---------- */
.timeline { list-style: none; position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 35px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--green-400), var(--green-700)); border-radius: 3px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--grad-brand); color: #fff; box-shadow: 0 12px 24px rgba(31,157,85,.3); }
.timeline-dot .icon { width: 32px; height: 32px; }
.timeline-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.timeline-card .step-label { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.timeline-card h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.timeline-card p { margin: 0; color: var(--muted); }
.timeline-card .who { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green-100); color: var(--green-700); }
.timeline-card .who.guest { background: #fff1cf; color: #7a4f00; }
.timeline-card .who.system { background: #e4f3fb; color: #1c6f96; }

/* ---------- Simulatore ---------- */
.simulator { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.sim-controls { padding: 44px; }
.sim-field { margin-bottom: 26px; }
.sim-field label { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.sim-field output { color: var(--green-700); }
.sim-field input[type="range"] { width: 100%; accent-color: var(--green-600); height: 6px; }
.sim-result { background: radial-gradient(500px 300px at 100% 0%, #1f9d55 0%, var(--green-800) 70%); color: #d7ecdd; padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.sim-result small { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: #a9d8b8; }
.sim-big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); color: #fff; line-height: 1.1; margin: 6px 0 16px; }
.sim-lines { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; }
.sim-lines li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,.18); padding-bottom: 8px; font-size: .95rem; }
.sim-lines strong { color: #fff; }
.sim-disclaimer { font-size: .8rem; color: #9fc2ad; margin: 0; }

/* ---------- Tabella servizi ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 30px 0; }
.service-detail + .service-detail { border-top: 1px solid var(--line); padding-top: 70px; margin-top: 40px; }
.service-detail.reverse .split-media { order: 2; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.services-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.services-table th, .services-table td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.services-table thead th { background: var(--green-800); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.services-table tbody tr:last-child td { border-bottom: 0; }
.services-table tbody tr:hover { background: var(--green-50); }
.services-table td:first-child { font-family: var(--font-head); font-weight: 600; color: var(--ink); white-space: nowrap; }
.services-table td:first-child span { display: inline-flex; align-items: center; gap: 12px; }
.services-table td:first-child .icon { color: var(--green-600); }
.services-table td:last-child { color: var(--muted); }

.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.model-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 30px 22px; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.model-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.model-card .service-icon { margin: 0 auto 16px; }
.model-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Vantaggi page ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.compare-card { border-radius: var(--radius-lg); padding: 38px; }
.compare-card h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.compare-card ul { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; }
.compare-before { background: #fff5f5; border: 1px solid #ffd9d9; }
.compare-before h3 .icon { color: #d64545; }
.compare-before li .icon { color: #d64545; flex-shrink: 0; margin-top: 2px; }
.compare-after { background: var(--green-50); border: 1px solid var(--green-200); }
.compare-after h3 .icon { color: var(--green-600); }
.compare-after li .icon { color: var(--green-600); flex-shrink: 0; margin-top: 2px; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact-info { background: radial-gradient(500px 360px at 0% 0%, #1f9d55 0%, var(--green-800) 70%); color: #d7ecdd; border-radius: var(--radius-lg); padding: 44px 38px; position: relative; overflow: hidden; }
.contact-info h2 { color: #fff; font-size: 1.9rem; }
.contact-info ul { list-style: none; display: grid; gap: 18px; margin: 28px 0; }
.contact-info li { display: flex; gap: 14px; align-items: center; }
.contact-info li > span:first-child { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.1); color: var(--green-400); flex-shrink: 0; }
.contact-info a { color: #fff; }
.contact-info small { display: block; color: #a9c5b4; font-size: .8rem; }
.contact-info .deco { position: absolute; right: -50px; bottom: -50px; width: 220px; opacity: .1; filter: brightness(3) grayscale(1); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
    font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft);
    border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(31,157,85,.14); }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #d64545; }
.field-error { color: #c23a3a; font-size: .85rem; }
.role-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.role-options label { position: relative; cursor: pointer; }
.role-options input { position: absolute; opacity: 0; pointer-events: none; }
.role-options span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 500; font-size: .92rem; background: var(--bg-soft); transition: all .2s ease; }
.role-options input:checked + span { border-color: var(--green-600); background: var(--green-100); color: var(--green-700); }
.role-options input:focus-visible + span { box-shadow: 0 0 0 4px rgba(31,157,85,.2); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.checkbox input { margin-top: 4px; accent-color: var(--green-600); width: 18px; height: 18px; }
.hp-field { position: absolute; left: -9999px; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; margin-bottom: 24px; }
.alert p { margin: 0; }
.alert-success { background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-200); }
.alert-error { background: #fff0f0; color: #8f2626; border: 1px solid #ffd0d0; }

/* ---------- Pagine testuali ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }

.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--green-900); color: #a9c5b4; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo img:first-child { width: 48px; }
.footer-logo img:last-child { width: 190px; }
.footer-brand p { font-size: .95rem; max-width: 360px; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #a9c5b4; font-size: .95rem; }
.footer-col a:hover { color: var(--green-400); }
.footer-contacts li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.footer-contacts .icon { width: 18px; height: 18px; color: var(--green-400); }
.footer-note { margin-top: 50px; }
.footer-note p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.05); font-size: .9rem; }
.footer-note .icon { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; padding-bottom: 30px; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #a9c5b4; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .services-grid, .model-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-inner { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .float-card-1 { left: -10px; }
    .float-card-2 { right: -10px; }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    /* backdrop-filter crea un contenitore per gli elementi fixed: su mobile lo disattiviamo */
    .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: stretch; gap: 20px; padding: 24px;
        background: #fff; overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
    }
    .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .nav-link { font-size: 1.15rem; padding: 14px 16px; border-radius: 12px; }
    .nav-cta { width: 100%; padding: 15px; font-size: 1.05rem; }
    body.nav-open { overflow: hidden; }

    .hero { padding: 40px 0 90px; }
    .hero-grid, .split, .service-detail, .contact-grid, .simulator, .cta-band { grid-template-columns: 1fr; }
    .hero-grid { gap: 70px; }
    .split { gap: 44px; }
    .split-reverse .split-media, .service-detail.reverse .split-media { order: 0; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid, .compare { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    .cta-band { padding: 44px 32px; }
    .media-badge { right: 12px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .brand-word { width: 140px; }
    .brand-icon { width: 36px; }
    .hero-actions .btn { width: 100%; }
    .hero-image { transform: none; }
    .float-card { padding: 8px 12px 8px 8px; gap: 8px; }
    .float-card strong { font-size: .9rem; }
    .float-icon { width: 34px; height: 34px; border-radius: 10px; }
    .float-icon .icon { width: 18px; height: 18px; }
    .float-card-1 { top: -18px; left: 8px; }
    .float-card-2 { right: 8px; bottom: 16%; }
    .float-card-3 { left: 8px; bottom: -22px; }
    .trust-inner { grid-template-columns: 1fr 1fr; }
    .trust-item:last-child { grid-column: 1 / -1; }
    .steps-grid, .services-grid, .model-grid, .stat-row, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .role-options { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 40px; }
    .benefit-body, .form-card, .sim-controls, .sim-result, .compare-card, .contact-info { padding: 28px 22px; }
    .cta-band { padding: 36px 22px; }
    .cta-actions .btn { width: 100%; }
    .timeline::before { left: 25px; }
    .timeline-item { grid-template-columns: 52px 1fr; gap: 16px; }
    .timeline-dot { width: 52px; height: 52px; border-radius: 16px; }
    .timeline-dot .icon { width: 24px; height: 24px; }
    .timeline-card { padding: 20px; }
    .media-badge { position: static; margin-top: 16px; animation: none; }
}

/* ==========================================================================
   Video
   ========================================================================== */
.btn-video {
    display: inline-flex; align-items: center; gap: 14px; margin: -8px 0 26px;
    background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink); text-align: left;
}
.btn-video strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.btn-video small { color: var(--muted); font-size: .85rem; }
.btn-video-circle {
    position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    background: #fff; color: var(--green-600); box-shadow: var(--shadow); transition: transform .25s ease;
}
.btn-video-circle::before {
    content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--green-400);
    opacity: .6; animation: pulse-ring 2.2s ease-out infinite;
}
.btn-video-circle .icon { width: 22px; height: 22px; margin-left: 3px; }
.btn-video:hover .btn-video-circle { transform: scale(1.08); }
.btn-video:hover strong { color: var(--green-700); }

@keyframes pulse-ring {
    0%   { transform: scale(.9); opacity: .7; }
    100% { transform: scale(1.35); opacity: 0; }
}

.section-video { background: linear-gradient(180deg, #f3fbf1 0%, #ffffff 100%); }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }

.video-card { margin: 0; }
.video-thumb {
    position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; cursor: pointer;
    border-radius: 26px; overflow: hidden; background: var(--green-800); box-shadow: var(--shadow);
    transition: transform .35s ease, box-shadow .35s ease;
}
.video-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.video-thumb:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.video-thumb:hover video { transform: scale(1.04); }
.video-thumb:focus-visible { outline: 4px solid var(--green-400); outline-offset: 4px; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(8,32,22,.55) 100%); pointer-events: none; }
.video-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
    background: rgba(255,255,255,.92); color: var(--green-700); box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: transform .3s ease, background .3s ease, color .3s ease;
}
.video-play .icon { width: 28px; height: 28px; margin-left: 4px; }
.video-thumb:hover .video-play { transform: translate(-50%, -50%) scale(1.1); background: var(--green-600); color: #fff; }
.video-badge {
    position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 999px; background: rgba(8,32,22,.7); color: #fff; font-size: .78rem; font-weight: 500;
    backdrop-filter: blur(4px);
}
.video-card figcaption { padding: 14px 4px 0; }
.video-card figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.video-card figcaption span { color: var(--muted); font-size: .93rem; line-height: 1.45; display: block; }

.video-card-feature { max-width: 340px; margin: 0 auto; }
.section-dark .video-card figcaption strong { color: #fff; }
.section-dark .video-card figcaption span { color: #a9c5b4; }
.section-dark .btn-accent .icon { width: 20px; height: 20px; }

/* Smartphone con video */
.phone-video { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-frame {
    position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 16; padding: 10px; border-radius: 42px;
    background: #1d2326; box-shadow: var(--shadow-lg), inset 0 0 0 2px #3b4145;
}
.phone-frame video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; display: block; background: var(--green-800); }
.phone-expand {
    display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--green-700);
    font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: 9px 16px; border-radius: 999px; cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.phone-expand:hover { border-color: var(--green-600); background: var(--green-50); }
.split-media-phone { display: flex; justify-content: center; }
.split-media-phone::before {
    content: ""; position: absolute; width: 80%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -55%);
    border-radius: 50%; background: radial-gradient(circle, rgba(108,192,74,.35), transparent 65%); z-index: -1;
}

/* Timeline + video affiancato */
.timeline-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.timeline-layout .timeline { margin: 0; max-width: none; }
.timeline-video { position: sticky; top: calc(var(--header-h) + 24px); text-align: center; }
.timeline-video .phone-frame { width: 280px; }
.video-note { color: var(--muted); font-size: .93rem; margin: 12px 0 0; }

/* Lettore modale */
.video-modal {
    width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 20px; border: 0;
    background: transparent; color: #fff;
}
.video-modal[open] { display: grid; place-items: center; }
.video-modal::backdrop { background: rgba(6, 22, 15, .88); backdrop-filter: blur(6px); }
.video-modal-inner { position: relative; display: flex; flex-direction: column; align-items: center; animation: modal-in .3s ease; }
.video-modal video {
    height: min(82vh, 820px); width: auto; max-width: calc(100vw - 40px); aspect-ratio: 9 / 16;
    border-radius: 22px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.video-modal-title { margin: 14px 0 0; font-family: var(--font-head); font-weight: 600; }
.video-modal-close {
    position: absolute; top: -14px; right: -14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
}
.video-modal-close:hover { background: var(--accent); }
body.modal-open { overflow: hidden; }

@keyframes modal-in {
    from { opacity: 0; transform: scale(.94); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
    .video-grid { grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; }
    .timeline-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; }
    .timeline-video .phone-frame { width: 240px; }
}

@media (max-width: 960px) {
    .timeline-layout { grid-template-columns: 1fr; }
    .timeline-video { position: static; order: -1; margin-bottom: 20px; }
}

@media (max-width: 640px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .video-thumb { border-radius: 18px; }
    .video-play { width: 52px; height: 52px; }
    .video-play .icon { width: 22px; height: 22px; }
    .video-badge { left: 8px; bottom: 8px; font-size: .7rem; padding: 4px 8px; }
    .video-card figcaption strong { font-size: .95rem; }
    .video-card figcaption span { font-size: .84rem; }
    .video-modal { padding: 12px; }
    .video-modal-inner { width: 100%; }
    .video-modal video { height: auto; width: 100%; max-height: 80vh; }
    .video-modal-close { top: 8px; right: 8px; }
}

/* ---- Foto reali nella home ---- */
.hero-image img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split-media img.photo, .split-media img { object-fit: cover; }
.benefit-card > img { aspect-ratio: 13 / 10; object-fit: cover; }
@media (max-width: 960px) {
    .hero-image img { aspect-ratio: 4 / 3; }
}

/* ---- Sfondo casa vacanza nella home ---- */
.hero-scene {
    position: absolute; inset: 0;
    background: url("../img/sfondo-casa-vacanza.jpg") center 42% / cover no-repeat;
    opacity: .85;
    filter: saturate(.95);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.75) 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.75) 55%, transparent 100%);
}
.hero { background: linear-gradient(180deg, #f7fcf5 0%, #ffffff 90%); }

/* velo bianco sul lato del testo, per la leggibilità */
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.78) 34%, rgba(255,255,255,.45) 58%, rgba(255,255,255,.28) 100%);
}

@media (max-width: 960px) {
    .hero-bg::after {
        background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.8) 42%, rgba(255,255,255,.42) 100%);
    }
    .hero-scene { background-position: center 58%; opacity: .9; }
}

/* ---- Locandina accanto ai passaggi ---- */
.steps-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.steps-layout .steps-grid { grid-template-columns: repeat(2, 1fr); }
.steps-poster { margin: 0; }
.steps-poster img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- Mockup dell'app su fondo scuro ---- */
.media-mockup { background: #fff; padding: 10px; }

@media (max-width: 1100px) {
    .steps-layout { grid-template-columns: 1fr; }
    .steps-layout .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-poster { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 960px) {
    .steps-layout .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .steps-layout .steps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Apertura: sfondo casa vacanza + telefono inclinato
   ========================================================================== */
.hero-scene {
    background:
        linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,.97) 26%, rgba(255,255,255,.8) 46%, rgba(239,249,242,.2) 100%),
        url("../img/sfondo-casa-vacanze.jpg") center 55% / cover no-repeat;
    opacity: 1;
    filter: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}
.hero-bg::before {
    content: ""; position: absolute; inset: 0; opacity: .38;
    background-image:
        linear-gradient(rgba(21,148,67,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21,148,67,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 100%);
}
.hero-bg::after {
    background: linear-gradient(100deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.7) 32%, rgba(255,255,255,.25) 60%, rgba(255,255,255,0) 100%);
}
.hero { background: linear-gradient(125deg, #ffffff 0%, #f7fbf7 48%, #e9f9ef 100%); }

.phone-halo {
    position: absolute; width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle, rgba(54,222,102,.3), transparent 67%);
    pointer-events: none;
}
.phone-hero {
    position: relative; z-index: 1; width: 288px; aspect-ratio: 9 / 18;
    padding: 9px; border-radius: 42px; background: #020705; border: 2px solid #3d5149;
    box-shadow: 0 35px 80px rgba(12,73,45,.28);
    transform: rotate(3deg); overflow: hidden;
    transition: transform .5s ease;
}
.hero-visual:hover .phone-hero { transform: rotate(0deg) translateY(-6px); }
.phone-hero video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; display: block; background: var(--green-800); }
.float-dot {
    position: relative; display: block; width: 14px; height: 14px; border-radius: 50%;
    background: var(--green-600); flex-shrink: 0; margin: 0 4px;
}
.float-dot::after {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid var(--green-400); animation: pulse-ring 2.2s ease-out infinite;
}
.hero-visual .float-card { z-index: 3; }
.hero-visual .float-card-1 { top: 10%; left: -66px; }
.hero-visual .float-card-2 { bottom: 26%; right: -56px; }
.hero-visual .float-card-3 { bottom: 4%; left: -46px; }

@media (max-width: 960px) {
    .hero-scene { background-position: center 60%; }
    .phone-hero { width: 250px; }
    .phone-halo { width: 420px; height: 420px; }
}
@media (max-width: 640px) {
    .phone-hero { width: 215px; }
    .hero-visual .float-card { z-index: 3; }
.hero-visual .float-card-1 { top: 4%; left: 0; }
    .hero-visual .float-card-2 { bottom: 20%; right: 0; }
    .hero-visual .float-card-3 { bottom: -10px; left: 6px; }
}
