/* ==========================================================
   LEXSOLVE â€” Design System
   Palette: Midnight Navy + Burnished Gold + Warm Ivory
   Fonts:   Cormorant Garamond (display) + Plus Jakarta Sans (body)
   ========================================================== */

/* ========== CUSTOM PROPERTIES ========== */
:root {
    --midnight: #21295C;
    --navy: #2B3570;
    --navy-light: #354080;
    --gold: #D4A855;
    --gold-light: #E0BC72;
    --gold-pale: #F0DDB5;
    --ivory: #FAF7F2;
    --cream: #F2EDE4;
    --warm-white: #FEFCF8;
    --text-dark: #1A1814;
    --text-body: #4A4640;
    --text-muted: #8A857D;
    --text-light: #C8C2B8;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--ivory);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ========== TYPOGRAPHY ========== */
.heading-display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.heading-section {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.label-upper {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ========== SHARED BACKGROUNDS ========== */
.bg-geo-dark {
    background:
        repeating-linear-gradient(
            45deg, transparent, transparent 100px,
            rgba(255, 224, 181, 0.025) 100px, rgba(255, 224, 181, 0.025) 101px
        ),
        repeating-linear-gradient(
            -45deg, transparent, transparent 100px,
            rgba(255, 224, 181, 0.025) 100px, rgba(255, 224, 181, 0.025) 101px
        ),
        linear-gradient(160deg, #0a1233 0%, #162760 45%, #223c87 100%);
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 2.25rem;
    background: var(--gold);
    color: var(--midnight);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 2.25rem;
    border: 1px solid rgba(255, 224, 181, 0.35);
    color: var(--gold-pale);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 224, 181, 0.1);
    border-color: var(--gold);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 2.25rem;
    background: var(--midnight);
    color: var(--cream);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 950;
    height: 80px;
    padding: 0;
    background: rgba(250, 247, 242, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 168, 85, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.nav.scrolled {
    box-shadow: 0 2px 12px rgba(33, 41, 92, 0.08);
}

.nav-inner {
    width: 100%;
    height: 100%;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: var(--font-body);
    color: var(--midnight);
    transition: color 0.4s;
}

.nav-logo-img + span {
    margin-left: 18px;
}

.nav-logo-divider {
    width: 1px;
    height: 1.6rem;
    background: var(--gold);
    opacity: 0.6;
    margin: 0 0.5rem;
}

.nav-logo-img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    max-width: none;
    flex-shrink: 0;
}

.footer-logo .nav-logo-img {
    height: 60px;
    width: 60px;
}

.nav-logo span:last-child {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0;
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow: visible;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
    padding: 1rem 0;
}


.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link:hover { color: var(--text-dark); }
.nav-link.active { color: var(--gold); }

/* Navigazione semplificata: sottomenù rimossi per una UX più diretta */

.nav-cta {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--midnight);
    background: var(--gold);
    padding: 0.75rem 1.6rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-cta:hover { background: var(--gold-light); }

.nav-hamburger {
    display: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    transition: color 0.4s;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 35, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
}

.mobile-menu-overlay.active { display: block; }

.mobile-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 88vw);
    background: var(--midnight);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.35);
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 1.5rem 0 0.6rem;
    background: var(--ivory);
    border-bottom: 1px solid rgba(212, 168, 85, 0.2);
    flex-shrink: 0;
    overflow: hidden;
}

.mobile-menu-logo {
    font-size: 1.6rem;
    color: var(--midnight) !important;
}

.mobile-menu-logo img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    max-width: none;
    flex-shrink: 0;
    margin-right: 12px;
}

.mobile-menu-logo .nav-logo-divider {
    height: 1.6rem;
    background: var(--gold);
}

.mobile-menu-logo span:last-child {
    color: var(--gold) !important;
    font-weight: 400;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--midnight);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.mobile-menu-close:hover { opacity: 0.6; }

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.mobile-menu-link {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    padding: 1rem 1.5rem;
    border-left: 2px solid transparent;
    transition: all 0.25s;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(212, 168, 85, 0.05);
    padding-left: 2rem;
}

.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(212, 168, 85, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex-shrink: 0;
}

.mobile-menu-cta {
    display: block;
    text-align: center;
    background: var(--gold);
    color: var(--midnight);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem;
    transition: background 0.3s;
}

.mobile-menu-cta:hover { background: var(--gold-light); }

.mobile-menu-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mobile-menu-contacts span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-contacts i {
    color: var(--gold);
    font-size: 0.72rem;
    width: 14px;
    text-align: center;
}

/* ========== HERO (Home only) ========== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Full background photo panel â€” hero */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    width: 100%;
    height: 100%;
}

.hero-photo-panel {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    filter: saturate(0.9) brightness(0.6) blur(1px);
    transform: scale(1.05); /* Evita i bordi chiari dovuti al blur */
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content .hero-rule {
    margin-left: auto;
    margin-right: auto;
}

/* MOBILE RESPONSIVE SPLIT */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
    }
    .hero-executive-wrapper {
        flex-direction: column;
    }
    .hero-text-side {
        padding: 8rem 2rem 4rem;
        align-items: flex-start;
        text-align: center;
    }
    .hero-text-inner {
        max-width: none;
    }
    .hero-text-side .hero-rule {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-visual-side {
        height: 50vh;
        width: 100%;
    }
}

.hero-content .hero-desc {
    margin-left: auto;
    margin-right: auto;
}

.hero-content .hero-actions {
    justify-content: center;
}

.hero-text { position: relative; z-index: 2; transform: translateY(-4vh); }

.hero-center-logo {
    /* Responsive Size: min 260px (mobile), scale automatically, max limit 400px (desktop) */
    width: clamp(260px, 65vw, 400px);
    margin: 0 auto 1.5rem auto;
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-label {
    color: var(--gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s 0.4s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-rule {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.6s 0.6s forwards;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    max-width: 560px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s 0.7s forwards;
}

.hero-desc strong { color: rgba(255, 255, 255, 0.85); font-weight: 500; }

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s 0.9s forwards;
}


/* ========== PAGE HEADER (Subpages) ========== */
.page-header {
    padding: 10rem 2rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 224, 181, 0.2), transparent);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.breadcrumb a {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.breadcrumb a:hover { opacity: 0.7; }

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.65rem;
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 1.25rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Page header con foto intera (altezza determinata dalla foto) */
.page-header--imgfull {
    padding: 0;
}

.page-header--imgfull .ph-img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.6) brightness(0.4);
}

.page-header--imgfull .ph-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    z-index: 1;
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 4rem;
    background: var(--ivory);
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.25;
}

.diamond {
    width: 8px; height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    position: relative;
    top: 0;
    margin: 0 1.5rem;
    opacity: 0.4;
}

/* ========== SERVICES ========== */
.services {
    padding: 7rem 2rem;
    background: var(--ivory);
}

.services-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.services-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

.services-header .label-upper {
    color: var(--gold);
    margin-bottom: 1rem;
}

.services-header .heading-section {
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.services-header p {
    color: var(--text-muted);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--warm-white);
    border: 1px solid rgba(255, 224, 181, 0.1);
    border-left: 3px solid var(--gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(33, 41, 92, 0.08);
    border-left-color: var(--gold-light);
}

.service-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 224, 181, 0.25);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-body);
    line-height: 1.75;
    font-size: 0.95rem;
}

.services-footer {
    text-align: center;
    margin-top: 3.5rem;
}

.services-footer a {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.services-footer a:hover { opacity: 0.7; }

/* ========== PHOTO SECTIONS WRAPPER ========== */
.photo-sections-wrapper {
    position: relative;
    overflow: hidden;
}

/* ========== BENEFITS ========== */
.benefits {
    padding: 7rem 2rem;
    background: var(--cream);
    border-top: 1px solid rgba(212, 168, 85, 0.18);
    border-bottom: 1px solid rgba(212, 168, 85, 0.18);
    position: relative;
    overflow: hidden;
}

/* Quando dentro il wrapper, sfondo trasparente + testi chiari (foto scura) */
.photo-sections-wrapper .benefits {
    background: transparent;
}

.photo-sections-wrapper .benefits .heading-section {
    color: var(--cream);
}

.photo-sections-wrapper .benefit-item h4 {
    color: var(--cream);
}

.photo-sections-wrapper .benefit-item p {
    color: rgba(255, 255, 255, 0.5);
}

.benefits::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border: 1px solid rgba(255, 224, 181, 0.04);
    border-radius: 50%;
}

.benefits-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.benefits-inner .benefit-item {
    justify-content: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Full background photo panel â€” benefits */
.benefits-photo-panel {
    position: absolute;
    inset: 0;
    background: url('../img/consulenza.jpg') center / cover no-repeat;
    z-index: 0;
    filter: saturate(0.6) brightness(0.45);
}

.benefits .label-upper {
    color: var(--gold);
    margin-bottom: 1rem;
}

.benefits .heading-section {
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.benefit-marker {
    flex-shrink: 0;
    width: 10px; height: 10px;
    background: var(--gold);
    transform: rotate(45deg);
    margin-top: 0.5rem;
}

.benefit-item h4 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.95rem;
}


/* ========== INTRO SECTION (Subpages) ========== */
.intro-section {
    padding: 5rem 2rem;
    background: var(--ivory);
}

.intro-section-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.intro-section p strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ========== ABOUT ========== */
.about {
    padding: 7rem 2rem;
    background: var(--warm-white);
}

.about-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about .label-upper {
    color: var(--gold);
    margin-bottom: 1rem;
}

.about .heading-section { margin-bottom: 2rem; }

.about-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 224, 181, 0.15);
}

.stat-item { text-align: center; }

/* ========== TEAM ========== */
.team {
    padding: 7rem 2rem;
    background: var(--ivory);
}

.team-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.team-header .label-upper {
    color: var(--gold);
    margin-bottom: 1rem;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem 2rem;
}

.team-card {
    flex: 0 1 calc(33.333% - 1.35rem);
    min-width: 300px;
    background: var(--warm-white);
    border: 1px solid rgba(212, 168, 85, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(33, 41, 92, 0.1);
    border-color: rgba(212, 168, 85, 0.3);
}

.team-photo-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--cream);
}

.team-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: saturate(0.8);
}

.team-card:hover .team-photo-wrapper img {
    transform: scale(1.05);
    filter: saturate(1);
}

.team-location-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(33, 41, 92, 0.85);
    backdrop-filter: blur(8px);
    color: var(--gold-pale);
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
    border: 1px solid rgba(212, 168, 85, 0.3);
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 0.5rem;
}

.team-info p {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.team-divider {
    width: 30px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
    opacity: 0.4;
    transition: width 0.4s;
}

.team-card:hover .team-divider {
    width: 60px;
    opacity: 1;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ========== CONTACT ========== */
.contact {
    padding: 7rem 2rem;
    background: var(--ivory);
}

.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(33, 41, 92, 0.08);
}

.contact-info {
    background: var(--cream);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -80px;
    width: 200px; height: 200px;
    border: 1px solid rgba(212, 168, 85, 0.2);
    border-radius: 50%;
}

.contact-info .heading-section {
    color: var(--text-dark);
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 168, 85, 0.4);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.contact-detail i {
    color: var(--gold);
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.contact-form {
    background: var(--warm-white);
    padding: 3.5rem;
}

.form-group { margin-bottom: 2rem; }

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 0;
    border: none;
    border-bottom: 1px solid var(--cream);
    background: transparent;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s;
    outline: none;
}

.form-input:focus { border-bottom-color: var(--gold); }
.form-input::placeholder { color: var(--text-light); }
textarea.form-input { resize: vertical; min-height: 100px; }

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}

.form-consent label {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-muted);
    cursor: pointer;
}

.form-consent label a {
    color: var(--gold);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 1.15rem;
    background: var(--gold);
    color: var(--midnight);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 5.5rem 2rem;
    background: var(--cream);
    border-top: 1px solid rgba(212, 168, 85, 0.18);
    border-bottom: 1px solid rgba(212, 168, 85, 0.18);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Page header variante chiara */
.page-header--light {
    background: var(--ivory);
}

/* Page header variante oro profondo */
.page-header--warm {
    background:
        repeating-linear-gradient(
            45deg, transparent, transparent 80px,
            rgba(212, 168, 85, 0.06) 80px, rgba(212, 168, 85, 0.06) 81px
        ),
        repeating-linear-gradient(
            -45deg, transparent, transparent 80px,
            rgba(212, 168, 85, 0.06) 80px, rgba(212, 168, 85, 0.06) 81px
        ),
        linear-gradient(160deg, #1a1008 0%, #2a2010 50%, #1f1a0a 100%);
}

.page-header--warm h1 { color: #fff; }
.page-header--warm p { color: rgba(255, 255, 255, 0.5); }
.page-header--warm .breadcrumb a { color: var(--gold); }
.page-header--warm .breadcrumb .sep { color: rgba(255, 255, 255, 0.2); }
.page-header--warm .breadcrumb .current { color: rgba(255, 255, 255, 0.4); }
.page-header--warm::after {
    background: linear-gradient(to right, transparent, rgba(212, 168, 85, 0.3), transparent);
}

.page-header--light h1 {
    color: var(--text-dark);
}

.page-header--light p {
    color: var(--text-muted);
}

.page-header--light .breadcrumb a {
    color: var(--gold);
}

.page-header--light .breadcrumb .sep {
    color: var(--text-light);
}

.page-header--light .breadcrumb .current {
    color: var(--text-muted);
}

.page-header--light::after {
    background: linear-gradient(to right, transparent, rgba(212, 168, 85, 0.2), transparent);
}

/* Page header con video di sfondo (Cover Immersiva) */
.page-header--photo {
    min-height: 75vh;
    min-height: 75dvh;
    padding: 0;
    background: var(--midnight);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Modifiche per Mobile: riduco l'altezza per evitare che il video venga tagliato troppo ai lati */
@media (max-width: 768px) {
    .page-header--photo {
        min-height: 50vh;
        min-height: 50dvh;
    }
}

@media (max-width: 480px) {
    .page-header--photo {
        min-height: 40vh;
        min-height: 40dvh;
    }
}

.page-header-video-panel,
.page-header-photo-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    filter: saturate(0.8) brightness(0.45) blur(1px);
    transform: scale(1.03);
}

.video-crossfade {
    transition: opacity 0.8s ease;
}

/* ========== SPLIT HEADER (Chi Siamo) ========== */
.page-header--split {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 600px;
    margin-top: 72px;
}

.split-text {
    background: radial-gradient(circle at center, var(--warm-white) 0%, var(--ivory) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
    position: relative;
}

.split-text-inner {
    max-width: 560px;
    text-align: center; /* Centra il testo all'interno */
    margin: 0 auto;
}

.split-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.split-video {
    position: relative;
    overflow: hidden;
    background: var(--ivory); /* Sfondo pulito uguale alla parte sinistra */
}

.split-video-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ── Split responsive ── */
@media (max-width: 1024px) {
    .page-header--split {
        grid-template-columns: 1fr;
        margin-top: 64px;
    }

    .split-text {
        padding: 4rem 2rem;
        text-align: center;
    }

    .split-text-inner {
        max-width: 100%;
        margin: 0 auto;
    }

    .split-video {
        height: 45vw;
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .page-header--split { margin-top: 60px; }
    .split-text { padding: 3rem 1.25rem; }
    .split-video { height: 55vw; min-height: 240px; }
}

.page-header-photo-panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.page-header-content .breadcrumb,
.page-header-content h1,
.page-header-content p {
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive fix */
@media (max-width: 1024px) {
    .page-header--photo { height: 400px; }
}

@media (max-width: 640px) {
    .page-header--photo { height: 350px; }
    .page-header-content { padding: 0 1.5rem; }
}

/* CTA banner con foto di sfondo */
.cta-banner--photo {
    position: relative;
    overflow: hidden;
}

.cta-photo-panel {
    position: absolute;
    inset: 0;
    background: url('../img/firma.jpg') center / cover no-repeat;
    filter: saturate(0.7) brightness(0.45);
    z-index: 0;
}

.cta-banner--photo .cta-banner-inner {
    position: relative;
    z-index: 1;
}

/* Quando dentro il wrapper, sfondo trasparente con overlay scuro */
.photo-sections-wrapper .cta-banner {
    background: linear-gradient(to bottom, rgba(10,15,40,0.3), rgba(20,28,65,0.75));
}

/* Cta banner light: cerchio decorativo in tono scuro */
.cta-banner::before {
    border-color: rgba(33, 41, 92, 0.06);
}

/* Cta banner con foto o dentro wrapper: cerchio decorativo chiaro */
.cta-banner--photo::before,
.photo-sections-wrapper .cta-banner::before {
    border-color: rgba(255, 224, 181, 0.04);
}


.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 400px;
    border: 1px solid rgba(255, 224, 181, 0.04);
    border-radius: 50%;
}

.cta-banner-inner {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-banner .heading-section {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-body);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Cta banner con foto o dentro wrapper: testi chiari */
.cta-banner--photo .heading-section,
.photo-sections-wrapper .cta-banner .heading-section {
    color: var(--cream);
}

.cta-banner--photo p,
.photo-sections-wrapper .cta-banner p {
    color: rgba(255, 255, 255, 0.5);
}

/* ========== COLLABORATORI SECTION ========== */
.collaborators {
    padding: 7rem 2rem;
    background: var(--ivory);
    text-align: center;
}

.collaborators-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.collaborators .label-upper {
    color: var(--gold);
    margin-bottom: 1rem;
}

.collaborators .heading-section {
    color: var(--midnight);
    margin-bottom: 4rem;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.region-box {
    background: var(--warm-white);
    padding: 3rem 2rem;
    border: 1px solid rgba(212, 168, 85, 0.15);
    transition: all 0.3s;
}

.region-box:hover {
    box-shadow: 0 12px 40px rgba(33, 41, 92, 0.06);
    transform: translateY(-4px);
}

.region-box h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 2rem;
    text-transform: capitalize;
}

.city-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-body);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.city-item i {
    color: var(--gold);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .regions-grid { grid-template-columns: 1fr; }
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(250, 247, 242, 0.97);
    border-top: 1px solid rgba(212, 168, 85, 0.2);
    padding: 3.5rem 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0;
    color: var(--midnight);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.footer-logo .nav-logo-img + span {
    margin-left: 18px;
}

.footer-logo span:last-child {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0;
    color: var(--gold);
}

.footer-logo .nav-logo-divider {
    margin: 0 0.6rem;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.footer-contacts span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-family: var(--font-body);
    color: var(--text-muted);
    font-weight: 400;
}

.footer-contacts i {
    color: var(--gold);
    font-size: 0.72rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-socials a:hover { color: var(--gold); }

/* ========== SUCCESS MODAL ========== */
.success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(33, 41, 92, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.success-overlay.active {
    display: flex;
}

.success-modal {
    background: var(--ivory);
    max-width: 460px;
    width: 100%;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    box-shadow: 0 8px 24px rgba(212, 168, 85, 0.35);
}

.success-icon i {
    color: var(--midnight);
    font-size: 1.5rem;
}

.success-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 1rem;
}

.success-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.success-sub strong { color: var(--midnight); }

.success-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 168, 85, 0.25);
}

.success-btn {
    display: inline-block;
    background: var(--midnight);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 2.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.success-btn:hover { background: var(--navy); }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .nav-links { display: none !important; }
    .nav-hamburger { display: block !important; }

    .hero-content { padding: 7rem 1.5rem 4rem; }
    .hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
    .benefits-inner { grid-template-columns: 1fr; gap: 3rem; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .contact-inner { grid-template-columns: 1fr; }

    .page-header { padding: 8rem 1.5rem 3.5rem; }
    .services, .benefits, .about, .contact { padding: 5rem 1.5rem; }
    .cta-banner { padding: 4rem 1.5rem; }
    .intro-section { padding: 3.5rem 1.5rem; }
}

@media (max-width: 768px) {
    .nav { height: 64px; }
    .nav-logo-img { height: 56px !important; width: 56px !important; }
    .nav-logo { font-size: 1.6rem; }
    .nav-logo-divider { height: 1.6rem; }

    .hero-content { padding: 6rem 1.5rem 3rem; }
    .hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
    .hero-desc { font-size: 1rem; }

    .page-header { padding: 6rem 1.5rem 3rem; }
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .service-number { font-size: 2.5rem; }

    .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .contact-info, .contact-form { padding: 2.5rem 1.5rem; }
    .cta-banner { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
    .nav { height: 60px; }
    .nav-logo-img { height: 48px !important; width: 48px !important; }
    .nav-logo { font-size: 1.4rem; }
    .nav-logo-divider { height: 1.4rem; }
    .nav-inner { padding: 0 1rem; }

    .hero-content { padding: 5rem 1rem 2.5rem; }
    .hero h1 { font-size: clamp(1.7rem, 9vw, 2.4rem); }
    .hero-desc { font-size: 0.95rem; max-width: 100%; }
    .hero-actions { flex-direction: column; }
    .hero-actions a { text-align: center; justify-content: center; }

    .page-header { padding: 5rem 1rem 2.5rem; }
    .services, .benefits, .about, .contact { padding: 3.5rem 1rem; }
    .service-number { font-size: 2rem; }

    .stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-value { font-size: 2rem; }

    .contact-info, .contact-form { padding: 2rem 1.25rem; }
    .contact-info { justify-content: flex-start; gap: 2rem; }

    .cta-banner { padding: 2.5rem 1rem; }
    .section-divider { padding: 20px 1rem; }
    .footer-logo { font-size: 1.6rem; }
}

/* ========== LANDSCAPE (mobile in orizzontale) ========== */
@media (orientation: landscape) and (max-height: 600px) {
    /* Navbar piÃ¹ compatta */
    .nav { height: 52px; }
    .nav-logo-img { height: 44px !important; width: 44px !important; }
    .nav-logo { font-size: 1.4rem; }
    .nav-logo-divider { height: 1.4rem; }
    .mobile-menu-header { height: 52px; }

    /* Hero: non coprire tutto lo schermo in landscape */
    .hero {
        min-height: auto;
        padding-top: 52px;
    }
    .hero-content { padding: 3rem 1.5rem 2.5rem; }
    .hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .hero-desc { font-size: 0.95rem; }

    /* Page header piÃ¹ compatto */
    .page-header { padding: 4.5rem 1.5rem 2rem; }
    .page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
    .page-header p { font-size: 0.9rem; }

    /* Sezioni meno spaziate */
    .services, .benefits, .about, .contact { padding: 3rem 1.5rem; }
    .cta-banner { padding: 2.5rem 1.5rem; }
    .intro-section { padding: 2rem 1.5rem; }

    /* Mobile menu: altezza piena senza overflow in landscape */
    .mobile-menu { height: 100svh; height: 100dvh; }
}

/* ========== FOOTER CONTACTS MOBILE ========== */
@media (max-width: 480px) {
    .footer-contacts { flex-direction: column; gap: 0.5rem; }
}

/* Fix persistence on desktop */
@media (min-width: 1025px) {
    .mobile-menu, .mobile-menu-overlay {
        display: none !important;
    }
}

/* Visibility Utilities */
@media (max-width: 1024px) {
    .hide-on-mobile { display: none !important; }
}

@media (min-width: 1025px) {
    .hide-on-desktop { display: none !important; }
}

/* ========== FOUNDER ========== */
.founder {
    padding: 6rem 2rem;
    background: var(--warm-white);
}

.founder-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.founder-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2.5rem;
}

/* ── Portrait ── */
.founder-portrait {
    position: relative;
}

.founder-portrait img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
    box-shadow: 0 18px 50px rgba(33,41,92,0.12), 0 4px 16px rgba(33,41,92,0.06);
    transition: box-shadow 0.4s ease;
}

.founder-portrait img:hover {
    box-shadow: 0 22px 60px rgba(33,41,92,0.18), 0 6px 20px rgba(33,41,92,0.08);
}

/* Larger portrait on detail page */
.founder-portrait--lg img {
    aspect-ratio: 3 / 4;
}

.founder-layout--detail {
    grid-template-columns: 380px 1fr;
    gap: 5rem;
}

/* ── Text ── */
.founder-text {
    padding-top: 0.5rem;
}

.founder-name {
    font-size: clamp(2.4rem, 3.5vw, 3.2rem);
    color: var(--midnight);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.founder-role {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.founder-rule {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.75rem;
}

.founder-quote {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    padding: 0;
    border: none;
}

.founder-bio {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.founder-bio strong {
    color: var(--midnight);
    font-weight: 600;
}

.founder-bio:last-of-type {
    margin-bottom: 2rem;
}

.founder .btn-outline {
    border-color: var(--gold);
    color: var(--gold);
}

.founder .btn-outline:hover {
    background: var(--gold);
    color: #fff;
}

/* ── Books / Pubblicazioni ── */
.founder-books {
    margin-bottom: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--cream);
}

.founder-books-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.founder-book {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
}

.founder-book i {
    color: var(--gold);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.founder-book span {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.5;
}

a.founder-book {
    text-decoration: none;
    transition: opacity 0.2s;
}

a.founder-book:hover {
    opacity: 0.75;
}

a.founder-book:hover span {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}

/* ── Detail variant (chi-siamo page) ── */
.founder--detail {
    background: var(--ivory);
    padding: 7rem 2rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .founder-layout,
    .founder-layout--detail {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .founder-portrait {
        max-width: 320px;
        margin: 0 auto;
    }

    .founder-portrait--lg {
        max-width: 360px;
    }
}

@media (max-width: 480px) {
    .founder { padding: 4rem 1.25rem; }
    .founder--detail { padding: 4rem 1.25rem; }

    .founder-portrait,
    .founder-portrait--lg {
        max-width: 280px;
    }

    .founder-name {
        font-size: clamp(2rem, 6vw, 2.6rem);
    }
}

