/* Sales page of the winter-garden site (vendita.php): light, warm, readable for families. Same brand colours as the app. */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-latin.woff') format('woff');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --vd-bg: #f6f3ea;
    --vd-card: #ffffff;
    --vd-ink: #1c2a1e;
    --vd-muted: #5b6656;
    --vd-green: #1f3b26;
    --vd-green-2: #2e5a37;
    --vd-amber: #e8a33d;
    --vd-amber-ink: #1a1406;
    --vd-line: #e2dccb;
    --vd-wa: #1fa855;
    --vd-wa-hover: #188a45;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.vd { margin: 0; background: var(--vd-bg); color: var(--vd-ink); font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.6; }
.vd a { color: var(--vd-green-2); }
.vd-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.vd-top { position: sticky; top: 0; z-index: 10; background: rgba(246, 243, 234, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--vd-line); }
.vd-top-in { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.vd-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--vd-green) !important; text-decoration: none; }
.vd-brand img { background: var(--vd-green); border-radius: 10px; padding: 3px; }
.vd-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.vd-nav a { text-decoration: none; color: var(--vd-ink); font-weight: 600; }
.vd-nav a:hover { color: var(--vd-green-2); }
.vd-nav-login { border: 1px solid var(--vd-line); border-radius: 999px; padding: 6px 14px; background: var(--vd-card); }
@media (max-width: 760px) { .vd-nav a:not(.vd-nav-login) { display: none; } }

/* Buttons */
.vd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 700;
    text-decoration: none !important; border: 2px solid transparent; transition: background-color .15s, transform .15s; line-height: 1.2; }
.vd-btn:active { transform: translateY(1px); }
.vd-btn-wa { background: var(--vd-wa); color: #fff !important; }
.vd-btn-wa:hover { background: var(--vd-wa-hover); }
.vd-btn-ghost { background: transparent; color: var(--vd-green) !important; border-color: var(--vd-green); }
.vd-btn-ghost:hover { background: rgba(31, 59, 38, .07); }
.vd-btn-outline { background: var(--vd-card); color: var(--vd-green) !important; border-color: var(--vd-line); }
.vd-btn-outline:hover { border-color: var(--vd-green-2); }
.vd-btn-light { background: var(--vd-amber); color: var(--vd-amber-ink) !important; }
.vd-btn-lg { font-size: 1.2rem; padding: 16px 28px; }
.vd-btn i { font-size: 1.15em; }

/* Hero */
.vd-hero { padding: 56px 0 40px; background: radial-gradient(900px 420px at 85% 10%, #e4ecd9 0%, transparent 70%); }
.vd-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.vd-eyebrow { color: var(--vd-green-2); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.vd-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: var(--vd-green); margin: 0 0 18px; }
.vd-lead { font-size: 1.2rem; max-width: 34em; color: #2e3a2f; }
.vd-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 22px; }
.vd-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--vd-muted); }
.vd-points i { color: var(--vd-amber); width: 1.4em; }

.vd-phone { margin: 0; justify-self: center; text-align: center; }
.vd-phone-screen { width: 280px; height: 560px; border-radius: 36px; border: 10px solid #111; background: #111; overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(31, 59, 38, .45); }
.vd-phone-screen img { width: 100%; height: auto; display: block; }
.vd-phone figcaption { font-size: .85rem; color: var(--vd-muted); margin-top: 10px; }
@media (max-width: 900px) {
    .vd-hero-grid { grid-template-columns: 1fr; }
    .vd-phone-screen { width: 240px; height: 470px; }
}

/* Sections */
.vd-section { padding: 64px 0; }
.vd-h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; color: var(--vd-green); text-align: center; margin: 0 0 12px; letter-spacing: -.01em; }
.vd-sub { text-align: center; max-width: 46em; margin: 0 auto 32px; color: var(--vd-muted); }
.vd-soft { background: #ece6d6; }

.vd-gift { padding: 0; }
.vd-gift-in { display: flex; gap: 22px; align-items: flex-start; background: var(--vd-green); color: #eef1e3; border-radius: 20px; padding: 28px 30px; }
.vd-gift-in > i { font-size: 2rem; color: var(--vd-amber); margin-top: 6px; }
.vd-gift h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 6px; color: #fff; }
.vd-gift p { margin: 0; }

.vd-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vd-steps li { background: var(--vd-card); border: 1px solid var(--vd-line); border-radius: 18px; padding: 24px; }
.vd-step-n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--vd-amber); color: var(--vd-amber-ink);
    align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.vd-steps h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 6px; color: var(--vd-green); }
.vd-steps p { margin: 0; color: var(--vd-muted); }
@media (max-width: 860px) { .vd-steps { grid-template-columns: 1fr; } }

.vd-dark { background: #151b13; color: #eef1e3; }
.vd-dark .vd-h2 { color: #fff; }
.vd-dark .vd-sub { color: #a3ae95; }
.vd-shot { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #33402d; box-shadow: 0 30px 60px -30px #000; }

/* Packages */
.vd-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.vd-plan { position: relative; display: flex; flex-direction: column; background: var(--vd-card); border: 1px solid var(--vd-line); border-radius: 20px; padding: 28px 24px;
    border-top: 6px solid var(--vd-plan, var(--vd-line)); }
.vd-plan-base { --vd-plan: #6aa9d6; }
.vd-plan-plus { --vd-plan: #4f9e63; }
.vd-plan-completo { --vd-plan: var(--vd-amber); }
.vd-plan-best { box-shadow: 0 24px 48px -24px rgba(31, 59, 38, .5); transform: translateY(-6px); }
.vd-plan-badge { position: absolute; top: -14px; right: 18px; background: var(--vd-green); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.vd-plan h3 { font-size: 1.5rem; font-weight: 800; margin: 0; color: var(--vd-green); }
.vd-plan-tag { color: var(--vd-muted); margin: 0 0 10px; }
.vd-price { font-size: 2.4rem; font-weight: 800; color: var(--vd-ink); margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.vd-plan ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.vd-plan li { display: grid; grid-template-columns: 1.4em 1fr; }
.vd-plan li i { color: var(--vd-green-2); margin-top: .35em; font-size: .85em; }
.vd-care { font-size: .9rem; color: var(--vd-muted); margin: auto 0 16px; padding-top: 10px; border-top: 1px dashed var(--vd-line); }
.vd-note { text-align: center; font-size: .9rem; color: var(--vd-muted); margin: 26px auto 0; max-width: 46em; }
@media (max-width: 960px) {
    .vd-plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .vd-plan-best { transform: none; }
}

.vd-costs { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.vd-costs img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
@media (max-width: 860px) { .vd-costs { grid-template-columns: 1fr; } }

/* FAQ */
.vd-faq { max-width: 820px; }
.vd-faq details { background: var(--vd-card); border: 1px solid var(--vd-line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.vd-faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.vd-faq summary::-webkit-details-marker { display: none; }
.vd-faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--vd-green-2); }
.vd-faq details[open] summary::after { content: '–'; }
.vd-faq details p { margin: 0 0 16px; color: var(--vd-muted); }

/* Final call and footer */
.vd-final { background: var(--vd-green); color: #eef1e3; text-align: center; padding: 64px 0; }
.vd-final h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; color: #fff; margin: 0 0 8px; }
.vd-final p { margin: 0 0 24px; color: #cdd8c2; }
.vd-foot { padding: 22px 0 90px; font-size: .9rem; color: var(--vd-muted); }
.vd-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.vd-float { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: var(--vd-wa); color: #fff !important;
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); z-index: 20; text-decoration: none; }
.vd-float:hover { background: var(--vd-wa-hover); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .vd-btn { transition: none; } }

/* SEO additions: subtitle under the title, towns served, guides */
.vd-h1-sub { font-size: 1.15rem; font-weight: 700; color: var(--vd-green-2); margin: -6px 0 14px; }
.vd-area { padding-top: 32px; }
.vd-towns { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; }
.vd-towns li { background: var(--vd-card); border: 1px solid var(--vd-line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }

.vd-guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.vd-guide-card { background: var(--vd-card); border: 1px solid var(--vd-line); border-radius: 18px; padding: 24px; text-decoration: none !important; color: var(--vd-ink) !important; display: block; }
.vd-guide-card:hover { border-color: var(--vd-green-2); }
.vd-guide-card h2 { font-size: 1.25rem; font-weight: 800; color: var(--vd-green); margin: 0 0 8px; }
.vd-guide-card p { margin: 0; color: var(--vd-muted); }
.vd-article { max-width: 760px; margin: 0 auto; padding: 48px 16px 24px; }
.vd-article h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); line-height: 1.12; font-weight: 800; color: var(--vd-green); margin: 0 0 12px; letter-spacing: -.01em; }
.vd-article .vd-meta { color: var(--vd-muted); font-size: .9rem; margin-bottom: 28px; }
.vd-article h2 { font-size: 1.45rem; font-weight: 800; color: var(--vd-green); margin: 36px 0 10px; }
.vd-article h3 { font-size: 1.15rem; font-weight: 800; margin: 24px 0 6px; }
.vd-article p, .vd-article li { font-size: 1.05rem; }
.vd-article ul, .vd-article ol { padding-left: 1.3em; }
.vd-article li { margin-bottom: 6px; }
.vd-article table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .98rem; background: var(--vd-card); }
.vd-article th, .vd-article td { border: 1px solid var(--vd-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.vd-article th { background: #ece6d6; }
.vd-cta-box { background: var(--vd-green); color: #eef1e3; border-radius: 18px; padding: 24px; margin: 40px 0 8px; }
.vd-cta-box h2 { color: #fff !important; margin-top: 0 !important; }
.vd-cta-box .vd-cta { margin: 16px 0 0; }
.vd-crumbs { font-size: .9rem; color: var(--vd-muted); margin-bottom: 14px; }
@media (max-width: 600px) { .vd-article table { font-size: .9rem; } }
