/* ========================================
   DC SUISSE — Verde Abete & Oro
   Logo Hero → Filigrana Verde su Verde
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Manrope:wght@200;300;400;500&display=swap');

:root {
    /* Verde Abete RAL 6009 */
    --verde: #26382C;
    --verde-scuro: #1A261E;
    --verde-profondo: #111E16;
    --verde-chiaro: #3A5244;
    --verde-oliva: #4A6B55;

    /* Oro */
    --oro: #C4A55A;
    --oro-chiaro: #D9C07C;
    --oro-pallido: rgba(196, 165, 90, 0.15);

    /* Neutri */
    --bianco: #F0EDE6;
    --bianco-puro: #FAFAF7;
    --grigio: rgba(240, 237, 230, 0.50);

    /* Layout */
    --max-w: 1200px;
    --section-py: clamp(90px, 14vw, 180px);

    /* Font */
    --font-titolo: 'Cinzel', serif;
    --font-corpo: 'Manrope', sans-serif;
    --font-elegante: 'Cormorant Garamond', serif;

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ─────────────────────────────── */

*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--verde);
    color: var(--bianco);
    font-family: var(--font-corpo);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* ════════════════════════════════════════
   1. HERO — Logo grande, verde pieno, oro
   ════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--verde);
    overflow: hidden;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 170px; /* Sposta tutto decisamente più in alto */
}

/* Luce radiale sottile — profondità */
.hero::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse 45% 45% at center,
        rgba(58, 82, 68, 0.35) 0%,
        transparent 65%
    );
    pointer-events: none;
}

/* Brand block */
.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
    position: relative;
    z-index: 1;
}

/* Alone dorato sottile dietro il logo */
.hero-brand::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(196, 165, 90, 0.06) 0%,
        transparent 65%
    );
    pointer-events: none;
    border-radius: 50%;
}

/* Logo grande centrato */
.hero-logo {
    width: clamp(280px, 50vw, 520px);
    height: clamp(280px, 50vw, 520px);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Logo già oro — nessun filtro, colore naturale */
    opacity: 0.95;
}

/* Sottotitolo elegante con accenti */
.hero-sub {
    font-family: var(--font-corpo);
    font-size: clamp(0.68rem, 1.4vw, 0.88rem);
    font-weight: 300;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--oro-chiaro);
    margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
    padding: 0.9rem 2rem;
    border-top: 1px solid rgba(196, 165, 90, 0.2);
    border-bottom: 1px solid rgba(196, 165, 90, 0.2);
    position: relative;
    z-index: 1;
}

/* Pulsante INFO */
.hero-btn {
    display: inline-block;
    font-family: var(--font-corpo);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--oro);
    background: transparent;
    border: 1px solid rgba(196, 165, 90, 0.4);
    padding: 0.9rem 2.8rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    text-decoration: none;
}

.hero-btn:hover {
    background: var(--oro);
    color: var(--verde-scuro);
    border-color: var(--oro);
}

/* Linea decorativa oro */
.hero-line {
    width: 45px;
    height: 1px;
    background: var(--oro);
    opacity: 0.35;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}



/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: clamp(25px, 4vw, 45px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    animation: pulse 2.5s ease-in-out infinite;
}

.scroll-hint span {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--oro);
    opacity: 0.6;
}

.scroll-hint-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--oro), transparent);
    opacity: 0.4;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 1; }
}

/* Hero entrance animations */
.hero-brand    { animation: fadeUp 1.2s 0.1s var(--ease) both; }
.hero-sub      { animation: fadeUp 1s 0.5s var(--ease) both; }
.hero-btn      { animation: fadeUp 1s 0.7s var(--ease) both; }
.hero-line     { animation: fadeUp 1s 0.85s var(--ease) both; }
.scroll-hint   { animation: fadeUp 1s 1s var(--ease) both, pulse 2.5s 2s ease-in-out infinite; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════════════════
   2. FILIGRANA — Verde su verde, fixed
   Logo fisso che appare scrollando
   ════════════════════════════════════════ */

.watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* JS la fa apparire dopo il hero */
    transition: opacity 0.8s ease;
}

.watermark.visible {
    opacity: 1;
}

.watermark img {
    width: min(50vw, 50vh);
    height: min(50vw, 50vh);
    object-fit: contain;
    /* Verde su verde: dal logo oro shiftiamo a tono verde tenue */
    filter: brightness(0.4) sepia(1) hue-rotate(70deg) saturate(0.3);
    opacity: 0.06;
}


/* ════════════════════════════════════════
   3. NAVBAR
   ════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px clamp(20px, 5vw, 50px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.5s var(--ease);
}

/* Nascosta nella hero, visibile dopo */
.navbar {
    opacity: 0;
    transform: translateY(-10px);
}

.navbar.active {
    opacity: 1;
    transform: translateY(0);
}

.navbar.scrolled {
    padding-top: 14px;
    padding-bottom: 14px;
    background: rgba(26, 38, 30, 0.94);
    backdrop-filter: blur(25px) saturate(1.3);
    -webkit-backdrop-filter: blur(25px) saturate(1.3);
    border-bottom: 1px solid rgba(196, 165, 90, 0.08);
}

.nav-brand {
    font-family: var(--font-titolo);
    font-size: clamp(0.9rem, 1.6vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--oro);
    text-transform: uppercase;
    z-index: 101;
}

.nav-menu {
    display: flex;
    gap: clamp(20px, 3vw, 42px);
}

.nav-link {
    color: rgba(240, 237, 230, 0.7);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--oro);
    transition: width 0.4s var(--ease);
}

.nav-link:hover { color: var(--oro); }
.nav-link:hover::after { width: 100%; }

.lang-select { z-index: 101; }

.lang-select select {
    background: transparent;
    border: 1px solid rgba(196, 165, 90, 0.25);
    color: var(--oro);
    padding: 5px 10px;
    font-family: var(--font-corpo);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    outline: none;
    cursor: pointer;
    border-radius: 0;
}

.lang-select select option {
    background: var(--verde-scuro);
    color: var(--bianco);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 26px;
    height: 26px;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--oro);
    transition: all 0.35s var(--ease);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }


/* ════════════════════════════════════════
   4. CONTENT SECTIONS
   Sfondo verde, testo bianco/oro armonioso
   ════════════════════════════════════════ */

.content {
    position: relative;
    z-index: 1;
}

section {
    padding: var(--section-py) 0;
    position: relative;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 60px);
}

/* Typography for sections */
h2, h3 {
    font-family: var(--font-titolo);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.section-label {
    display: block;
    font-size: clamp(0.6rem, 1vw, 0.72rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--oro);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 1.5rem;
    color: var(--bianco);
}

.section-title.oro { color: var(--oro); }

/* Divisore sottile */
.section-divider {
    width: 40px;
    height: 1px;
    background: var(--oro);
    opacity: 0.35;
    margin-bottom: 2.5rem;
}

p {
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: var(--grigio);
    margin-bottom: 1.4rem;
    line-height: 1.8;
}


/* ── SEZIONE CHIARA (Visione) ───────── */

.section-light {
    background: var(--bianco-puro);
    color: var(--verde);
}

.section-light .section-label {
    color: var(--verde-chiaro);
}

.section-light .section-title {
    color: var(--verde);
}

.section-light p {
    color: rgba(38, 56, 44, 0.6);
}

.section-light .highlight-box p {
    color: var(--verde-scuro);
}

.section-light .cap-item {
    border-color: rgba(38, 56, 44, 0.1);
}

.section-light .cap-item:hover {
    border-color: var(--oro);
}

.section-light .section-divider {
    background: var(--verde-chiaro);
}


/* ── GRID NARRATIVA ────────────────── */

.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: start;
}

.highlight-box {
    border-left: 2px solid var(--oro);
    padding-left: clamp(18px, 3vw, 32px);
}

.highlight-box p {
    font-family: var(--font-elegante);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.65;
    font-weight: 400;
    margin-bottom: 0;
}

.text-col p {
    line-height: 1.9;
}

.vision-sub {
    margin-top: clamp(60px, 10vw, 120px);
}

.vision-sub h3 {
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    margin-bottom: 1.5rem;
    color: var(--verde);
}

/* Lead paragraphs — intro elegante */
.vision-lead {
    font-family: var(--font-elegante);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.75;
    color: rgba(38, 56, 44, 0.7);
    max-width: 800px;
}


/* ── VISION PILLARS — 4 blocchi espansi ── */

.vision-pillars {
    margin-top: clamp(50px, 8vw, 90px);
}

.vision-pillar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(32px, 5vw, 55px) 0;
    border-bottom: 1px solid rgba(38, 56, 44, 0.08);
    align-items: start;
}

.vision-pillar:first-child {
    border-top: 1px solid rgba(38, 56, 44, 0.08);
}

.vp-marker {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 55px;
    padding-top: 4px;
}

.vp-num {
    font-family: var(--font-titolo);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--oro);
    opacity: 0.35;
    letter-spacing: 0.05em;
}

.vp-content {
    max-width: 780px;
}

.vp-title {
    font-family: var(--font-titolo);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--verde);
    margin-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
    letter-spacing: 0.015em;
    line-height: 1.3;
}

.vp-body p {
    font-size: clamp(0.92rem, 1.3vw, 1.02rem);
    color: rgba(38, 56, 44, 0.6);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.vp-body p:last-child {
    margin-bottom: 0;
}

/* Lista punti nei pilastri */
.vp-list {
    list-style: none;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
}

.vp-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: clamp(0.92rem, 1.3vw, 1.02rem);
    color: rgba(38, 56, 44, 0.6);
    line-height: 1.85;
    margin-bottom: 0.5rem;
}

.vp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 1px;
    background: var(--oro);
    opacity: 0.6;
}

/* Hover sottile sul pillar */
.vision-pillar {
    transition: padding-left 0.5s var(--ease);
}

.vision-pillar:hover {
    padding-left: clamp(8px, 1.5vw, 16px);
}

.vision-pillar:hover .vp-num {
    opacity: 0.7;
    transition: opacity 0.4s ease;
}


/* ── CAPABILITY LIST ───────────────── */

.capabilities-list {
    margin-top: 20px;
    border-top: 1px solid var(--oro-pallido);
}

.cap-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(16px, 2.5vw, 26px) 0;
    border-bottom: 1px solid var(--oro-pallido);
    transition: all 0.4s var(--ease);
    cursor: default;
}

.dark-section .cap-item {
    border-color: rgba(240, 237, 230, 0.06);
}

.cap-item:hover {
    padding-left: clamp(10px, 2vw, 20px);
}

.cap-item:hover .cap-icon {
    transform: rotate(90deg);
    color: var(--oro);
}

.cap-text {
    font-family: var(--font-titolo);
    font-size: clamp(0.95rem, 2.2vw, 1.35rem);
    color: var(--verde);
}

.dark-section .cap-text {
    color: var(--oro-chiaro);
}

.cap-icon {
    font-size: clamp(0.85rem, 1.4vw, 1.1rem);
    color: var(--oro);
    opacity: 0.5;
    transition: all 0.4s var(--ease);
    flex-shrink: 0;
    margin-left: 20px;
}


/* ── METODO INTRO ──────────────────── */

.metodo-intro {
    max-width: 800px;
    margin-bottom: clamp(40px, 6vw, 70px);
}

.metodo-intro p {
    font-family: var(--font-elegante);
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: rgba(240, 237, 230, 0.6);
    line-height: 1.75;
}

.metodo-fasi {
    font-family: var(--font-corpo) !important;
    font-size: clamp(0.82rem, 1.2vw, 0.92rem) !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--oro) !important;
    opacity: 0.6;
    margin-top: 0.5rem;
}


/* ── METODO PHASES — 4 fasi dettagliate ── */

.metodo-phases {
    margin-top: clamp(20px, 4vw, 40px);
}

.metodo-phase {
    padding: clamp(35px, 5vw, 60px) 0;
    border-bottom: 1px solid rgba(196, 165, 90, 0.08);
}

.metodo-phase:first-child {
    border-top: 1px solid rgba(196, 165, 90, 0.08);
}

.mp-header {
    display: flex;
    align-items: baseline;
    gap: clamp(16px, 2.5vw, 30px);
    margin-bottom: clamp(1.2rem, 2vw, 1.8rem);
}

.mp-num {
    font-family: var(--font-titolo);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--oro);
    opacity: 0.25;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    line-height: 1;
}

.mp-title {
    font-family: var(--font-titolo);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--bianco);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.mp-body {
    padding-left: clamp(50px, 5.5vw, 75px);
    max-width: 820px;
}

.mp-body p {
    font-size: clamp(0.92rem, 1.3vw, 1.02rem);
    color: rgba(240, 237, 230, 0.55);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.mp-body p:last-child {
    margin-bottom: 0;
}

/* Lista punti metodo */
.mp-list {
    list-style: none;
    margin: 1rem 0 1.5rem 0;
    padding: 0;
}

.mp-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: clamp(0.92rem, 1.3vw, 1.02rem);
    color: rgba(240, 237, 230, 0.55);
    line-height: 1.85;
    margin-bottom: 0.45rem;
}

.mp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 1px;
    background: var(--oro);
    opacity: 0.45;
}

/* Hover sottile sulla fase */
.metodo-phase {
    transition: padding-left 0.5s var(--ease);
}

.metodo-phase:hover {
    padding-left: clamp(8px, 1.5vw, 16px);
}

.metodo-phase:hover .mp-num {
    opacity: 0.5;
    transition: opacity 0.4s ease;
}


/* ── TEAM PILLARS ──────────────────── */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(196, 165, 90, 0.1);
}

.pillar {
    padding: clamp(30px, 5vw, 60px) clamp(20px, 3vw, 40px);
    border-right: 1px solid rgba(196, 165, 90, 0.1);
    text-align: center;
    position: relative;
    transition: background 0.5s ease;
}

.pillar:last-child { border-right: none; }

.pillar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(196, 165, 90, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.pillar:hover::after { opacity: 1; }

.pillar-num {
    display: block;
    font-family: var(--font-titolo);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--oro);
    opacity: 0.2;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}

.pillar h3 {
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    color: var(--bianco);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.pillar p {
    font-size: clamp(0.78rem, 1.1vw, 0.88rem);
    color: var(--grigio);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}


/* ── CONTACT ───────────────────────── */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(35px, 6vw, 80px);
    align-items: start;
}

.contact-info .section-title {
    color: var(--oro);
}

.chat-frame {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(196, 165, 90, 0.1);
    border-radius: 3px;
    height: clamp(360px, 50vw, 500px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-window {
    flex: 1;
    padding: clamp(16px, 3vw, 28px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-window::-webkit-scrollbar { width: 3px; }
.chat-window::-webkit-scrollbar-track { background: transparent; }
.chat-window::-webkit-scrollbar-thumb { background: rgba(196, 165, 90, 0.2); border-radius: 3px; }

.chat-message { max-width: 85%; animation: msgIn 0.3s var(--ease); }
.chat-message.bot { align-self: flex-start; }
.chat-message.user { align-self: flex-end; }

@keyframes msgIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.chat-message-content {
    padding: 12px 16px;
    font-size: clamp(0.82rem, 1.2vw, 0.92rem);
    line-height: 1.55;
    white-space: pre-line;
}

.chat-message.bot .chat-message-content {
    background: var(--verde-chiaro);
    color: var(--bianco);
    border-left: 2px solid var(--oro);
    border-radius: 0 4px 4px 0;
}

.chat-message.user .chat-message-content {
    background: var(--oro);
    color: var(--verde-scuro);
    border-radius: 4px 0 0 4px;
    font-weight: 400;
}

.input-area {
    padding: clamp(10px, 2vw, 18px);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(196, 165, 90, 0.08);
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--bianco);
    font-family: var(--font-corpo);
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    padding: 10px;
    outline: none;
    min-width: 0;
}

.chat-input::placeholder { color: var(--grigio); }

.send-btn {
    background: transparent;
    border: 1px solid var(--oro);
    color: var(--oro);
    padding: 10px clamp(14px, 2vw, 24px);
    font-family: var(--font-corpo);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.send-btn:hover {
    background: var(--oro);
    color: var(--verde-scuro);
}


/* ── FOOTER ────────────────────────── */

footer {
    padding: clamp(28px, 4vw, 45px) 0;
    text-align: center;
    border-top: 1px solid rgba(196, 165, 90, 0.08);
    position: relative;
    z-index: 1;
}

footer p {
    font-size: clamp(0.6rem, 1vw, 0.72rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grigio);
    margin: 0;
}


/* ════════════════════════════════════════
   5. REVEAL ANIMATIONS
   ════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }


/* ════════════════════════════════════════
   6. RESPONSIVE — TABLET
   ════════════════════════════════════════ */

@media (max-width: 1024px) {
    .narrative-grid { grid-template-columns: 1fr; gap: 35px; }
    .contact-grid   { grid-template-columns: 1fr; gap: 35px; }

    .pillars-grid {
        grid-template-columns: 1fr;
        border: none;
    }

    .pillar {
        border-right: none;
        border-bottom: 1px solid rgba(196, 165, 90, 0.1);
        text-align: left;
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 28px 20px;
    }

    .pillar:last-child { border-bottom: none; }
    .pillar-num { margin-bottom: 0; min-width: 45px; font-size: 1.8rem; }
}


/* ════════════════════════════════════════
   7. RESPONSIVE — MOBILE
   ════════════════════════════════════════ */

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0; right: 0;
        width: 100%; height: 100vh;
        background: var(--verde-profondo);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease);
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(12px);
        transition: all 0.35s var(--ease);
    }

    .nav-menu.open li { opacity: 1; transform: translateY(0); }
    .nav-menu.open li:nth-child(1) { transition-delay: 0.06s; }
    .nav-menu.open li:nth-child(2) { transition-delay: 0.12s; }
    .nav-menu.open li:nth-child(3) { transition-delay: 0.18s; }
    .nav-menu.open li:nth-child(4) { transition-delay: 0.24s; }
    .nav-menu.open li:nth-child(5) { transition-delay: 0.30s; }

    .nav-link {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
        padding: 16px 0;
        display: block;
    }

    /* Watermark smaller */
    .watermark img {
        width: 70vw;
        height: 70vw;
        opacity: 0.05;
    }

    .hero-logo {
        width: calc(100vw - 2rem);
        height: auto;
    }

    .hero-logo img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-brand {
        width: 100%;
        padding: 0 1rem;
    }

    .hero {
        padding-bottom: 60px;
    }

    .hero-sub {
        margin-top: 1.5rem;
        font-size: 0.55rem;
        letter-spacing: 0.2em;
        padding: 0.6rem 1rem;
    }

    .chat-frame { height: 400px; }

    .pillar {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    /* Vision pillars mobile */
    .vision-pillar {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .vp-marker {
        justify-content: flex-start;
        min-width: auto;
    }

    /* Metodo phases mobile */
    .mp-body {
        padding-left: 0;
    }

    .mp-header {
        gap: 12px;
    }
}


/* ════════════════════════════════════════
   8. RESPONSIVE — SMALL
   ════════════════════════════════════════ */

@media (max-width: 420px) {
    html { font-size: 15px; }

    .hero-logo {
        width: calc(100vw - 2rem);
        height: auto;
    }

    .cap-text { font-size: 0.9rem; }

    .chat-frame { height: 340px; }

    .send-btn { padding: 10px 10px; font-size: 0.68rem; }
}


/* ── PRINT ─────────────────────────── */

@media print {
    .navbar, .watermark, .scroll-hint,
    .chat-frame, .hamburger { display: none !important; }
    body { color: #000; background: #fff; }
    section { page-break-inside: avoid; }
}
