/* ================================================
   SOSTENIBILMENTE - SITE PAGES
   Stili specifici per index, privacy, cookie.
   Base ereditata da landing.css — MOBILE FIRST
   ================================================ */

/* ── SITE HEADER ── */
.site-header {
    background: var(--bg-card);
    border-bottom: 2px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Logo: piccolo su mobile, cresce su tablet/desktop */
.site-header-logo { height: 36px; width: auto; }
/* Nav links nascosti su mobile, visibili da tablet */
.site-header .header-nav .nav-link { display: none; }

/* ── HOMEPAGE HERO ── */
.site-hero {
    background: white;
    padding: 60px 0 50px;
    text-align: center;
    border-bottom: 2px solid var(--border);
    position: relative;
    overflow: hidden;
}
.site-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(124,179,66,0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.site-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(245,158,11,0.07), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.site-hero-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.hero-brand {
    font-family: 'Syne', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.1;
    margin-bottom: 16px;
}
.hero-brand span { color: var(--primary); }
.hero-tagline {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.65;
    margin: 0 auto 28px;
}
.hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* ── CTA BUTTONS ── */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: block;
    text-align: center;
    width: 100%;
    max-width: 320px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-secondary {
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--border-medium);
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    width: 100%;
    max-width: 320px;
}
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ── NAV & BACK LINKS ── */
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.back-link:hover { color: var(--primary); }

/* ── SECTION EYEBROW ── */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* ── SITE SECTIONS ── */
.site-section { padding: 50px 0; }
.site-section-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.site-section-header { text-align: center; margin-bottom: 36px; }
.site-section-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.site-section-subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }

/* ── SERVIZI ── */
.servizi-section { background: var(--bg-card); }
.servizi-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.servizio-card {
    background: var(--bg-main);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 28px 22px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.servizio-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}
.servizio-card.consumer::before { background: linear-gradient(90deg, var(--primary-light), var(--primary-dark)); }
.servizio-card.imprese::before { background: linear-gradient(90deg, #3B82F6, #1D4ED8); }
.servizio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.servizio-card:hover::before { opacity: 1; }
.servizio-audience {
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 14px; display: inline-block;
    padding: 4px 12px; border-radius: 20px;
}
.servizio-card.consumer .servizio-audience { color: var(--primary-dark); background: var(--bg-soft); border: 1px solid var(--border-medium); }
.servizio-card.imprese .servizio-audience { color: #1D4ED8; background: #EFF6FF; border: 1px solid #BFDBFE; }
.servizio-nome { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; }
.servizio-card.consumer .servizio-nome { color: var(--primary-dark); }
.servizio-card.imprese .servizio-nome { color: #1D4ED8; }
.servizio-tagline { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.servizio-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; }
.servizio-cta { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 10px 20px; border-radius: 8px; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(124,179,66,0.3); }
.servizio-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(124,179,66,0.4); }

/* ── MANIFESTO ── */
.manifesto {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.manifesto-container { max-width: 720px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.manifesto-quote { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: white; line-height: 1.35; margin-bottom: 16px; }
.manifesto-quote em { font-style: italic; opacity: 0.8; }
.manifesto-sub { font-size: 0.97rem; color: rgba(255,255,255,0.82); line-height: 1.75; }

/* ── ROADMAP ── */
.roadmap-section { background: var(--bg-card); }
.roadmap-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.roadmap-card { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.3s, box-shadow 0.3s; }
.roadmap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.roadmap-year { background: white; text-align: center; padding: 16px 16px 12px; font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--text-dark); border-bottom: 3px solid var(--border); border-radius: 18px 18px 0 0; }
.roadmap-body { background: var(--primary-dark); padding: 22px 20px; border-radius: 0 0 18px 18px; }
.roadmap-body ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.roadmap-body ul li { color: rgba(255,255,255,0.88); font-size: 0.9rem; line-height: 1.55; padding-left: 18px; position: relative; }
.roadmap-body ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary-light); font-weight: 700; }

/* ── TEAM ── */
.team-section { background: var(--bg-main); }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.team-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: 20px; padding: 28px 22px; text-align: center; transition: all 0.3s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-medium); }
.team-avatar-icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--bg-soft), var(--border-medium)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 18px; border: 3px solid var(--border-medium); }
.team-role { font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 6px; }
.team-name { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 14px; }
.team-bio { color: var(--text-muted); font-size: 0.88rem; line-height: 1.75; text-align: left; }

/* ── SITE FOOTER ── */
.site-footer { background: var(--text-dark); color: white; padding: 40px 0 24px; }
.site-footer .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.footer-brand-desc { color: rgba(255,255,255,0.55); font-size: 0.86rem; line-height: 1.75; margin-bottom: 28px; }
.footer-cols { display: flex; gap: 48px; margin-bottom: 32px; }
.footer-col-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.88rem; margin-bottom: 12px; color: rgba(255,255,255,0.9); }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.footer-links-list a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; }

/* ── PAGE HERO (privacy/cookie) ── */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 44px 0; text-align: center; }
.page-hero-container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.page-eyebrow { display: inline-block; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; padding: 5px 16px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: white; margin-bottom: 16px; }
.page-title { font-family: 'Syne', sans-serif; font-size: 1.9rem; font-weight: 800; color: white; margin-bottom: 12px; }
.page-subtitle { font-size: 0.97rem; color: rgba(255,255,255,0.82); line-height: 1.75; }
.page-note { margin-top: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.7); font-style: italic; }

/* ── CONTENT CARDS (privacy/cookie) ── */
.content-wrap { max-width: 860px; margin: 0 auto; padding: 40px 16px 60px; }
.content-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: 16px; padding: 26px 20px; margin-bottom: 20px; }
.content-card h2 { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.content-card h2::before { content: ''; display: inline-block; width: 5px; height: 22px; background: linear-gradient(180deg, var(--primary-light), var(--primary-dark)); border-radius: 3px; flex-shrink: 0; }
.content-card h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 18px 0 8px; padding-left: 12px; border-left: 3px solid var(--border-medium); }
.content-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.82; margin-bottom: 12px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 10px 0 12px; padding-left: 4px; }
.content-card ul li { color: var(--text-muted); font-size: 0.94rem; line-height: 1.7; padding-left: 18px; position: relative; }
.content-card ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.content-card .art-block { background: var(--bg-main); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin: 14px 0; }
.content-card .art-block h4 { font-family: 'Syne', sans-serif; font-size: 0.92rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.rights-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rights-tag { background: var(--bg-soft); border: 1px solid var(--border-medium); border-radius: 8px; padding: 7px 14px; font-size: 0.84rem; font-weight: 600; color: var(--primary-dark); }

/* ── TABLE (cookie) ── */
.table-wrap { overflow-x: auto; margin-top: 16px; border-radius: 12px; border: 2px solid var(--border); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.82rem; min-width: 500px; }
.table-wrap thead tr { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.table-wrap thead th { color: white; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.8px; padding: 12px 14px; text-align: left; }
.table-wrap tbody tr { border-bottom: 1px solid var(--border); transition: background 0.2s; }
.table-wrap tbody tr:last-child { border-bottom: none; }
.table-wrap tbody tr:hover { background: var(--bg-soft); }
.table-wrap tbody td { padding: 10px 14px; color: var(--text-muted); vertical-align: top; line-height: 1.5; }
.table-wrap tbody td:first-child { font-family: 'DM Sans', monospace; font-size: 0.78rem; color: var(--primary-dark); font-weight: 600; word-break: break-all; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ================================================
   SMALL TABLET  ≥ 560px
   ================================================ */
@media (min-width: 560px) {
    .hero-brand { font-size: 2.2rem; }
    .hero-tagline { font-size: 1rem; }
    .hero-cta-row { flex-direction: row; justify-content: center; }
    .btn-primary, .btn-secondary { display: inline-block; width: auto; max-width: none; }
    .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================
   TABLET  ≥ 768px
   ================================================ */
@media (min-width: 768px) {
    /* Header */
    .site-header { padding: 16px 0; }
    .site-header .header-container { padding: 0 24px; }
    .site-header-logo { height: 50px; }
    .site-header .header-nav .nav-link { display: inline; }

    /* Hero */
    .site-hero { padding: 90px 0 80px; }
    .site-hero-container { padding: 0 24px; }
    .hero-brand { font-size: 3.2rem; }
    .hero-tagline { font-size: 1.15rem; }
    .site-hero::before { width: 420px; height: 420px; }
    .site-hero::after { width: 300px; height: 300px; }

    /* Sections */
    .site-section { padding: 80px 0; }
    .site-section-container { padding: 0 24px; }
    .site-section-header { margin-bottom: 48px; }
    .site-section-title { font-size: 2.2rem; }

    /* Servizi */
    .servizi-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .servizio-card { padding: 36px 30px; }
    .servizio-nome { font-size: 2rem; }

    /* Manifesto */
    .manifesto { padding: 80px 0; }
    .manifesto-quote { font-size: 2rem; }
    .manifesto-container { padding: 0 24px; }

    /* Team */
    .team-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .team-card { padding: 32px 24px; }

    /* Footer */
    .site-footer .footer-container { padding: 0 24px; }

    /* Page hero */
    .page-hero { padding: 60px 0; }
    .page-hero-container { padding: 0 24px; }
    .page-title { font-size: 2.6rem; }

    /* Content */
    .content-wrap { padding: 60px 24px 80px; }
    .content-card { padding: 36px 40px; margin-bottom: 24px; }
    .content-card h2 { font-size: 1.3rem; }
}

/* ================================================
   DESKTOP  ≥ 1024px
   ================================================ */
@media (min-width: 1024px) {
    /* Hero */
    .site-hero { padding: 100px 0 90px; }
    .site-header-logo { height: 60px; }
    .hero-brand { font-size: 4.5rem; }
    .hero-tagline { font-size: 1.3rem; max-width: 560px; }

    /* Roadmap */
    .roadmap-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .roadmap-year { font-size: 2rem; }
    .roadmap-body { padding: 28px 24px; min-height: 200px; }

    /* Content */
    .content-card { padding: 40px 44px; }
    .content-card h2 { font-size: 1.35rem; }

    /* Page hero */
    .page-title { font-size: 2.8rem; }
}
