/* ===========================
   RESET & BASE
=========================== */

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

:root {
    --cream: #F3EEE5;
    --black: #1A1A1A;
    --accent: #C8693A;
    --navy: #0D1F35;
    --steel: #3D5A73;
    --slate: #3D5A73;
    --slate-dark: #0D1F35;
    --gray-light: #E6E0D4;
    --gray-mid: #8A8070;

    --font-headline: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 7rem;

    --radius: 4px;
    --radius-md: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--black);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* ===========================
   UTILITY
=========================== */

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    max-width: 680px;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-headline);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-mid);
    line-height: 1.7;
}

/* ===========================
   BUTTONS
=========================== */

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--black);
    color: var(--cream);
    border: 1.5px solid var(--black);
}

.btn-primary:hover {
    background-color: var(--slate-dark);
    border-color: var(--slate-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--black);
    border: 1.5px solid var(--black);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--cream);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--cream);
    border: 1.5px solid var(--accent);
}

.btn-accent:hover {
    background-color: #b35c30;
    border-color: #b35c30;
}

.btn-small {
    padding: 0.6rem 1.3rem;
    font-size: 0.85rem;
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

/* ===========================
   IMAGE PLACEHOLDER
=========================== */

.image-placeholder {
    background-color: var(--gray-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-mid);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.image-placeholder.large {
    width: 100%;
    aspect-ratio: 4/5;
    max-width: 440px;
}

.image-placeholder.medium {
    width: 280px;
    height: 360px;
}

/* ===========================
   HEADER
=========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(240, 235, 224, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-light);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(26, 26, 26, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 2rem;
}

.logo a {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.01em;
}

.logo-first,
.logo-last {
    display: inline;
}

.logo-first::after {
    content: ' ';
}

@media (max-width: 768px) {
    .logo-first,
    .logo-last {
        display: block;
        line-height: 1.2;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-mid);
    transition: color 0.2s ease;
}

.nav-list a:hover {
    color: var(--black);
}

.nav-list a.nav-active {
    color: var(--accent);
    font-weight: 500;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--black);
    transition: all 0.3s ease;
}

/* ===========================
   HERO
=========================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--slate-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(243,238,229,0.07);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Quando si aggiunge la foto reale, usare:
   .hero-bg img { width:100%; height:100%; object-fit:cover; }
*/

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,31,53,0.97) 0%, rgba(13,31,53,0.45) 55%, rgba(13,31,53,0.05) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-headline);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.hero-accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(243,238,229,0.6);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background-color: var(--cream);
    color: var(--black);
    border-color: var(--cream);
}

.hero .btn-primary:hover {
    background-color: var(--accent);
    color: var(--cream);
    border-color: var(--accent);
}

.hero .btn-secondary {
    color: var(--cream);
    border-color: rgba(243,238,229,0.4);
}

.hero .btn-secondary:hover {
    background-color: rgba(243,238,229,0.1);
    color: var(--cream);
    border-color: rgba(243,238,229,0.6);
}

/* ===========================
   IL PROBLEMA
=========================== */

.problema {
    background-color: var(--black);
    color: var(--cream);
}

.problema .section-title {
    color: var(--cream);
}

.problema .section-subtitle {
    color: rgba(240, 235, 224, 0.6);
}

.problema-stat {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    border-top: 1px solid rgba(240,235,224,0.15);
    border-bottom: 1px solid rgba(240,235,224,0.15);
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.problema-stat-num {
    font-family: var(--font-headline);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
}

.problema-stat-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(240,235,224,0.6);
    margin-top: 0.85rem;
}

.problema-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.problema-item {
    padding-right: 0.5rem;
}

.problema-title {
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.problema-item p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(240, 235, 224, 0.75);
}

/* ===========================
   COSA FACCIO
=========================== */

.cosa-faccio {
    background-color: var(--cream);
}

.cf-pullquote {
    margin-bottom: 1.5rem;
}

.cf-pullquote p {
    font-family: var(--font-headline);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1.35;
}

.cf-after {
    font-size: 1rem;
    color: var(--gray-mid);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cosa-faccio .section-header {
    max-width: none;
    margin-bottom: 2rem;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.servizio-card {
    background-color: var(--cream);
    border: 1.5px solid var(--gray-light);
    padding: 2.5rem;
    transition: border-color 0.2s ease;
}

.servizio-card:hover {
    border-color: var(--black);
}

.servizio-numero {
    display: block;
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-light);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.servizio-title {
    font-family: var(--font-headline);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

.servizio-desc {
    font-size: 0.95rem;
    color: var(--gray-mid);
    line-height: 1.75;
}

/* ===========================
   FILTRO (PER CHI E / NON E)
=========================== */

.filtro {
    background-color: var(--slate-dark);
    color: var(--cream);
}

.filtro .section-title {
    color: var(--cream);
}

.filtro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.filtro-card {
    padding: 2.5rem;
    border-radius: var(--radius-md);
}

.filtro-si {
    background-color: rgba(200, 105, 58, 0.12);
    border: 1.5px solid rgba(200, 105, 58, 0.3);
}

.filtro-no {
    background-color: rgba(240, 235, 224, 0.05);
    border: 1.5px solid rgba(240, 235, 224, 0.1);
}

.filtro-title {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.filtro-si .filtro-title {
    color: var(--accent);
}

.filtro-list li {
    font-size: 0.95rem;
    color: rgba(240, 235, 224, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(240, 235, 224, 0.08);
    padding-left: 1.2rem;
    position: relative;
}

.filtro-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gray-mid);
    font-size: 0.85rem;
}

.filtro-si .filtro-list li::before {
    color: var(--accent);
}

.filtro-list li:last-child {
    border-bottom: none;
}

.word-circled {
    position: relative;
    display: inline-block;
    color: var(--accent);
}

.word-circled::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -10px;
    right: -10px;
    bottom: -8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 56' fill='none'%3E%3Cpath d='M133,24C132,10,104,2,69,3C34,4,4,13,3,28C2,43,36,53,70,52C104,51,138,42,136,27C135,18,124,8,110,5' stroke='%23C8693A' stroke-width='2.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* ===========================
   METODO
=========================== */

.metodo {
    background-color: var(--cream);
}

.metodo-track {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background-color: var(--gray-light);
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.metodo-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--gray-light);
}

.metodo-node {
    background-color: var(--cream);
    padding: 2.5rem;
    cursor: default;
    transition: background-color 0.25s ease;
}

.metodo-node:hover {
    background-color: var(--black);
}

.metodo-n {
    display: block;
    font-family: var(--font-headline);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gray-light);
    line-height: 1;
    margin-bottom: 1.25rem;
    transition: color 0.25s ease;
}

.metodo-node:hover .metodo-n {
    color: var(--accent);
}

.metodo-node-title {
    font-family: var(--font-headline);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.6rem;
    transition: color 0.25s ease;
}

.metodo-node:hover .metodo-node-title {
    color: var(--cream);
}

.metodo-node-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-mid);
    transition: color 0.25s ease;
}

.metodo-node:hover .metodo-node-desc {
    color: rgba(243,238,229,0.55);
}

/* ===========================
   PROGETTI
=========================== */

.progetti {
    background-color: var(--gray-light);
}

.progetti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.progetti-card {
    background-color: var(--cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1.5px solid transparent;
    transition: border-color 0.2s ease;
}

.progetti-card:hover {
    border-color: var(--black);
}

.progetti-type {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 0.5rem;
}

.progetti-title {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.progetti-desc {
    font-size: 0.9rem;
    color: var(--gray-mid);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.65;
}

.progetti-highlight {
    color: var(--navy);
    font-weight: 500;
}

.progetti-image {
    aspect-ratio: 16/10;
    margin: 0;
    border-radius: 0;
}

.progetti-image.placeholder {
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-mid);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.progetti-image--strategy {
    background-color: var(--navy);
    background-image:
        linear-gradient(rgba(200, 105, 58, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 105, 58, 0.15) 1px, transparent 1px);
    background-size: 32px 32px;
    color: rgba(240, 235, 224, 0.3);
    font-size: 2rem;
    font-family: var(--font-headline);
    letter-spacing: 0;
    text-transform: none;
}

/* ===========================
   RECENSIONI
=========================== */

.recensioni {
    background-color: var(--black);
    color: var(--cream);
}

.recensioni .section-title {
    color: var(--cream);
}

.recensioni .section-subtitle {
    color: rgba(240, 235, 224, 0.6);
}

.recensioni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.recensione-card {
    background-color: rgba(240, 235, 224, 0.05);
    border: 1.5px solid rgba(240, 235, 224, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recensione-text {
    font-family: var(--font-headline);
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(240, 235, 224, 0.9);
    line-height: 1.7;
    flex: 1;
}

.recensione-author {
    border-top: 1px solid rgba(240, 235, 224, 0.1);
    padding-top: 1rem;
}

.recensione-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cream);
}

.recensione-role {
    font-size: 0.8rem;
    color: rgba(240, 235, 224, 0.5);
    margin-top: 0.2rem;
}

.recensioni-manifesto {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.recensioni-manifesto p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(240, 235, 224, 0.8);
}

.recensioni-manifesto p:last-child {
    color: var(--cream);
    font-weight: 500;
}

.recensioni-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===========================
   ANALISI / MINI AUDIT
=========================== */

.analisi {
    background-color: var(--cream);
}

.analisi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.analisi-card {
    padding: 2.25rem;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, transform 0.2s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}

.analisi-card[href] {
    cursor: pointer;
}

.analisi-card:hover {
    border-color: var(--black);
    transform: translateY(-2px);
}

.analisi-mercato {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-mid);
    margin-bottom: 0.875rem;
}

.analisi-title {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.875rem;
    color: var(--black);
}

.analisi-excerpt {
    font-size: 0.9rem;
    color: var(--gray-mid);
    line-height: 1.7;
    flex: 1;
}

.analisi-principio {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1.5px solid var(--accent);
    font-size: 0.8rem;
    font-style: italic;
    color: var(--accent);
    line-height: 1.55;
}

/* ===========================
   CHI SONO
=========================== */

.chi-sono {
    background-color: var(--navy);
    color: var(--cream);
}

.chi-sono .section-title {
    color: var(--cream);
    margin-bottom: 2rem;
}

/* Layer 1 — Bullets + foto */
.bio-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5rem;
    align-items: start;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(243, 238, 229, 0.12);
}

.bio-bullets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

.bio-bullets li {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(243, 238, 229, 0.85);
    padding-left: 1.5rem;
    position: relative;
}

.bio-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.9rem;
}

.bio-image .image-placeholder {
    border-radius: var(--radius-md);
    background-color: rgba(243, 238, 229, 0.06);
    border: 1px solid rgba(243, 238, 229, 0.1);
    color: rgba(243, 238, 229, 0.25);
}

/* Layer 2 — Storia */
.bio-story {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(243, 238, 229, 0.12);
    align-items: start;
}

.bio-story-title {
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-top: 0.4rem;
}

.bio-story-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bio-story-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(243, 238, 229, 0.75);
}

/* Layer 3 — Bussola */
.bio-bussola {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(243, 238, 229, 0.12);
}

.bio-bussola-content {
    max-width: 640px;
    padding-left: 2rem;
    border-left: 3px solid var(--accent);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bio-bussola-quote {
    font-family: var(--font-headline);
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 400;
    color: var(--cream);
    line-height: 1.5;
}

.bio-bussola-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(243, 238, 229, 0.75);
}

/* Layer 4 — Prove */
.bio-proof-title {
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.bio-proof-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.proof-tag {
    display: inline-block;
    padding: 0.45rem 1rem;
    border: 1px solid rgba(243, 238, 229, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: rgba(243, 238, 229, 0.65);
    letter-spacing: 0.02em;
}

.bio-proof-note {
    font-size: 0.9rem;
    color: rgba(243, 238, 229, 0.4);
    font-style: italic;
    line-height: 1.6;
}

/* ===========================
   CTA FINALE
=========================== */

/* ===========================
   STATEMENT SECTION
=========================== */

.statement-section {
    background-color: var(--cream);
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.statement-text {
    font-family: var(--font-headline);
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    font-weight: 600;
    line-height: 1.45;
    color: var(--black);
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.statement-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 580px;
}

.statement-bullets li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--black);
    padding-left: 1.6rem;
    position: relative;
}

.statement-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.85rem;
    top: 0.2em;
}

.cta-section {
    background-color: var(--navy);
    padding: var(--spacing-xl) 0;
}

.cta-content {
    max-width: 700px;
}

.cta-title {
    font-family: var(--font-headline);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--cream);
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(243, 238, 229, 0.65);
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background-color: var(--accent);
    color: var(--cream);
    border-color: var(--accent);
}

.cta-section .btn-primary:hover {
    background-color: #b35c30;
    border-color: #b35c30;
}

.cta-note {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(243,238,229,0.45);
}

.cta-note-link {
    color: rgba(243,238,229,0.65);
    border-bottom: 1px solid rgba(243,238,229,0.3);
    padding-bottom: 1px;
    transition: color 0.2s;
}

.cta-note-link:hover {
    color: var(--cream);
}

/* ===========================
   FOOTER
=========================== */

.footer {
    background-color: var(--black);
    padding: 2.5rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.25rem;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--gray-mid);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(240, 235, 224, 0.6);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-separator {
    color: var(--gray-mid);
    font-size: 0.7rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--gray-mid);
    text-align: right;
}

/* ===========================
   RESPONSIVE — TABLET
=========================== */

@media (max-width: 960px) {
    .hero {
        padding-bottom: 4rem;
    }

    .problema-stat {
        flex-direction: column;
        gap: 1rem;
    }

    .problema-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .servizi-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .filtro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .metodo-row {
        grid-template-columns: 1fr;
    }

    .progetti-grid {
        grid-template-columns: 1fr 1fr;
    }

    .recensioni-grid {
        grid-template-columns: 1fr 1fr;
    }

    .analisi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bio-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bio-story {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bio-image {
        display: none;
    }

    .nav {
        display: none;
    }

    .nav.open {
        display: block;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--cream);
        border-bottom: 1px solid var(--gray-light);
        padding: 1.5rem 2rem;
    }

    .nav.open .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .nav-toggle {
        display: flex;
    }

    .header-content .btn-secondary {
        display: none;
    }
}

/* ===========================
   NEWSLETTER TEASER (homepage)
=========================== */

.newsletter-teaser {
    background-color: var(--black);
    color: var(--cream);
}

.newsletter-teaser .hero-tag {
    color: var(--accent);
}

.newsletter-teaser-inner {
    max-width: 640px;
}

.newsletter-teaser-title {
    font-family: var(--font-headline);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 1.25rem;
}

.newsletter-teaser-desc {
    font-size: 1.05rem;
    color: rgba(243,238,229,0.72);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.newsletter-teaser .btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--cream);
}

.newsletter-teaser .btn-primary:hover {
    background-color: #b35c30;
    border-color: #b35c30;
}

/* ===========================
   SPLIT BOTTOM CTA
=========================== */
.split-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.split-bottom-col {
    display: block;
    text-decoration: none;
    padding: 4rem 3rem;
    transition: background-color 0.2s ease;
}
.split-bottom-col:first-child {
    background-color: var(--black);
    color: var(--cream);
}
.split-bottom-col:first-child:hover {
    background-color: #1c1c1c;
}
.split-bottom-col:last-child {
    background-color: #1a1a1a;
    color: var(--cream);
    border-left: 1px solid rgba(243,238,229,0.08);
}
.split-bottom-col:last-child:hover {
    background-color: #222;
}
.split-bottom-col h2 {
    font-family: var(--font-headline);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 1rem;
}
.split-bottom-col p {
    font-size: 1rem;
    color: rgba(243,238,229,0.65);
    line-height: 1.7;
    margin-bottom: 0;
}
.split-bottom-arrow {
    display: inline-block;
    margin-top: 2rem;
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.2s ease;
}
.split-bottom-col:hover .split-bottom-arrow {
    transform: translateX(6px);
}
@media (max-width: 720px) {
    .split-bottom { grid-template-columns: 1fr; }
    .split-bottom-col { padding: 3rem 1.5rem; }
    .split-bottom-col:last-child { border-left: none; border-top: 1px solid rgba(243,238,229,0.08); }
}

/* ===========================
   NEWSLETTER PAGE
=========================== */

.nl-hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    background-color: var(--cream);
    border-bottom: 1px solid var(--gray-light);
}

.nl-hero-content {
    max-width: 700px;
}

.nl-hero-title {
    font-family: var(--font-headline);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.nl-hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-mid);
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: 580px;
}

.nl-hero-note {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.02em;
}

/* Email preview list */

.nl-preview {
    background-color: var(--cream);
}

.nl-emails {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nl-email-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.nl-email-item:first-child {
    border-top: 1px solid var(--gray-light);
}

.nl-email-num {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    padding-top: 0.25rem;
}

.nl-email-title {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.nl-email-body p {
    font-size: 0.975rem;
    color: var(--gray-mid);
    line-height: 1.7;
}

/* Form section */

.nl-form-section {
    background-color: var(--black);
    color: var(--cream);
}

.nl-form-wrapper {
    max-width: 600px;
}

.nl-form-title {
    font-family: var(--font-headline);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.nl-form-note {
    font-size: 0.95rem;
    color: rgba(243,238,229,0.55);
    margin-bottom: 2rem;
}

.nl-form-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.nl-input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: rgba(243,238,229,0.08);
    border: 1.5px solid rgba(243,238,229,0.2);
    border-radius: var(--radius);
    color: var(--cream);
    outline: none;
    transition: border-color 0.2s ease;
}

.nl-input::placeholder {
    color: rgba(243,238,229,0.4);
}

.nl-input:focus {
    border-color: var(--accent);
}

.nl-submit {
    white-space: nowrap;
}

.nl-disclaimer {
    font-size: 0.8rem;
    color: rgba(243,238,229,0.35);
    line-height: 1.5;
}

/* About brief */

.nl-about {
    background-color: var(--cream);
}

.nl-about-inner {
    max-width: 560px;
}

.nl-about-text p {
    font-size: 1.05rem;
    color: var(--gray-mid);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.nl-about-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black);
    border-bottom: 1px solid var(--black);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nl-about-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ===========================
   RESPONSIVE — MOBILE
=========================== */

@media (max-width: 600px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 2.5rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero {
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .progetti-grid {
        grid-template-columns: 1fr;
    }

    .recensioni-grid {
        grid-template-columns: 1fr;
    }

    .analisi-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-copyright {
        text-align: left;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .nl-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .nl-email-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .nl-form-row {
        flex-direction: column;
    }

    .nl-input,
    .nl-submit {
        width: 100%;
    }

    .newsletter-teaser-title {
        font-size: 1.6rem;
    }
}
