/* ═══════════════════════════════════════════
   ESSERE YOGA — Foglio di stile condiviso
   ═══════════════════════════════════════════ */

/* ── Self-hosted Fonts ── */
@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/cinzel-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('../fonts/cormorant-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/poppins-300-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Variables ── */
:root {
    --primary:   #E85D75;
    --secondary: #F4A261;
    --tertiary:  #2A9D8F;
    --dark:      #1a1a2e;
    --light:     #faf9f6;
    --text-muted: #5a5a6e;
    --border:    rgba(232, 93, 117, 0.12);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 25px 60px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 400; }

/* ── Background ── */
.bg-fixed {
    position: fixed; inset: 0; z-index: -2;
    background: linear-gradient(135deg, rgba(250,249,246,0.97) 0%, rgba(242,237,230,0.97) 100%);
}
.bg-mandala {
    position: fixed; top: 50%; left: 50%; z-index: -1;
    width: 120vw; height: 120vh; object-fit: cover; opacity: 0.055;
    transform: translate(-50%, -50%);
    animation: slowRotate 80s linear infinite;
    pointer-events: none;
}
@keyframes slowRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Navigation ── */
.site-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1001;
    padding: 1rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(250,249,246,0.90);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: padding var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled { padding: 0.7rem 5%; box-shadow: var(--shadow-sm); }

.logo {
    display: flex; align-items: center; gap: 1.1rem;
    text-decoration: none; color: var(--dark);
    font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 400;
}
.logo-icon { height: 46px; width: auto; }
.logo-text {
    letter-spacing: 0.1em;
    border-left: 1px solid currentColor;
    padding-left: 1.1rem;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    text-decoration: none; color: var(--dark);
    font-size: 0.78rem; font-weight: 400;
    text-transform: uppercase; letter-spacing: 1.2px;
    position: relative; transition: color var(--transition);
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 5px; z-index: 1002;
}
.menu-toggle span {
    width: 24px; height: 2px; background: var(--dark);
    transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-close { display: none; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2.2rem; border-radius: 2px;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 1.2px;
    text-transform: uppercase; text-decoration: none;
    cursor: pointer; border: none; transition: all var(--transition);
}
.btn-primary {
    background: transparent; color: var(--dark);
    border: 1.5px solid var(--dark);
}
.btn-primary:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }

.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: #d14b63; transform: translateY(-2px); }

.btn-outline {
    background: transparent; color: #c0395a;
    border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-white {
    background: #fff; color: var(--dark);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-white:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }

/* ── Section shared ── */
section { padding: 100px 8%; position: relative; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.8rem; display: inline-block; position: relative; }
.section-header h2::after {
    content: '✦'; position: absolute; right: -28px; top: 6px;
    color: var(--primary); font-size: 0.9rem;
}
.section-subtitle { color: #7a7a8a; font-size: 1rem; max-width: 520px; margin: 0 auto; }

.label-tag {
    display: inline-block; padding: 0.4rem 1.1rem;
    background: rgba(232,93,117,0.07); border: 1px solid rgba(232,93,117,0.15);
    border-radius: 30px; font-size: 0.75rem; font-weight: 500;
    color: var(--primary); letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1.2rem;
}

/* ── HOME — Hero ── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: space-between;
    padding: 120px 8% 80px;
}
.hero-content { flex: 1; max-width: 580px; z-index: 2; }
.hero-badge {
    display: inline-block; padding: 0.5rem 1.2rem;
    background: rgba(232,93,117,0.08); border: 1px solid rgba(232,93,117,0.15);
    border-radius: 30px; font-size: 0.7rem; font-weight: 500;
    color: var(--primary); letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-title { font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 300; margin-bottom: 1.4rem; }
.hero-title span { font-style: italic; color: var(--primary); }
.hero-description { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 2.2rem; line-height: 1.85; max-width: 460px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-video-wrapper {
    position: relative; width: 100%; max-width: 390px; aspect-ratio: 3/4;
    border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.hero-circle {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(232,93,117,0.12);
    animation: pulse 5s ease-in-out infinite;
}
.circle-1 { width: 360px; height: 360px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.circle-2 { width: 445px; height: 445px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 1.5s; }
@keyframes pulse {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.4; }
    50%      { transform: translate(-50%,-50%) scale(1.03); opacity: 0.15; }
}

/* ── HOME — Services overview ── */
.services {
    background: linear-gradient(135deg, rgba(232,93,117,0.03) 0%, rgba(42,157,143,0.03) 100%);
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
    background: #fff; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none; color: var(--dark);
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-img {
    position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.60) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover .service-card-img-overlay { opacity: 1; }
.service-card-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.service-card-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(232,93,117,0.09); display: flex; align-items: center;
    justify-content: center; color: var(--primary); font-size: 1.1rem;
    margin-bottom: 1rem;
}
.service-card-body h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.service-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.service-card-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.75rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 1px; color: var(--primary); margin-top: 1.2rem;
    text-decoration: none; transition: gap var(--transition);
}
.service-card:hover .service-card-link { gap: 0.8rem; }

/* ── HOME — About snippet ── */
.about-home {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 80px; align-items: center;
    background: url('../nature2.webp') center/cover no-repeat;
}
.about-home::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(250,249,246,0.88);
}
.about-home > * { position: relative; z-index: 1; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-img-wrap::before {
    content: ''; position: absolute; top: -14px; left: -14px;
    width: 100%; height: 100%;
    border: 2px solid var(--primary); border-radius: var(--radius-lg);
    z-index: -1; opacity: 0.22;
}
.about-text h2 { margin-bottom: 1.4rem; position: relative; display: inline-block; }
.about-text h2::after {
    content: '✦'; position: absolute; right: -30px; top: 6px;
    color: var(--primary); font-size: 1rem;
}
.about-text p { font-size: 1.02rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 1rem; }
.about-text strong { color: var(--primary); font-weight: 500; }
.about-stats { display: flex; gap: 3rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.06); }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 600; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.78rem; color: #888; margin-top: 0.3rem; }

/* ── HOME — Events preview ── */
.events-preview { background: linear-gradient(to bottom, rgba(244,162,97,0.04), transparent); }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 2rem; }
.event-card {
    background: #fff; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.event-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.event-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.event-card:hover .event-image img { transform: scale(1.05); }
.event-date {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--primary); color: #fff;
    padding: 0.45rem 0.9rem; border-radius: var(--radius-sm);
    text-align: center;
}
.event-date .day { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; line-height: 1; }
.event-date .month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; }
.event-body { padding: 1.4rem; }
.event-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.event-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.9rem; line-height: 1.65; }
.event-meta { display: flex; gap: 1rem; font-size: 0.78rem; color: #aaa; }
.event-meta i { color: var(--primary); margin-right: 0.25rem; }

/* ── HOME — CTA strip ── */
.cta-strip {
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d4e 100%);
    padding: 80px 8%; text-align: center; color: #fff;
}
.cta-strip h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; font-weight: 300; }
.cta-strip p { font-size: 1rem; opacity: 0.7; margin-bottom: 2rem; max-width: 480px; margin-inline: auto; }
.cta-strip .btn { margin: 0.4rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    padding: 160px 8% 80px;
    min-height: 48vh;
    display: flex; flex-direction: column; justify-content: flex-end;
    position: relative; overflow: hidden;
}
.page-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
}
.page-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(250,249,246,0.82) 0%,
        rgba(250,249,246,0.65) 50%,
        rgba(232,93,117,0.08) 100%
    );
}
.page-hero-content { position: relative; z-index: 1; max-width: 680px; }
.breadcrumb {
    display: flex; gap: 0.5rem; align-items: center;
    font-size: 0.75rem; color: #999; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 1.2rem;
}
.breadcrumb a { text-decoration: none; color: #999; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); }
.page-hero-content h1 { margin-bottom: 0.9rem; }
.page-hero-content .subtitle {
    font-size: 1.05rem; color: var(--text-muted); max-width: 520px; line-height: 1.8;
}

/* ── PAGE HERO — gradient art variant ── */
.page-hero-art {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden;
}
.page-hero-art .mandala-bg {
    position: absolute;
    right: 5%; top: 50%;
    transform: translateY(-50%);
    width: clamp(240px, 48vh, 460px);
    height: clamp(240px, 48vh, 460px);
    opacity: 0.13;
    pointer-events: none;
}
.page-hero--dark .breadcrumb,
.page-hero--dark .breadcrumb a { color: rgba(255,255,255,0.5); }
.page-hero--dark .breadcrumb span { color: var(--primary); }
.page-hero--dark .page-hero-content h1 { color: #fff; }
.page-hero--dark .page-hero-content .subtitle { color: rgba(255,255,255,0.76); }
.page-hero--dark .label-tag {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.9);
}

/* ── CHI SONO ── */
.bio-section {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 80px; align-items: start;
}
.bio-img { position: relative; }
.bio-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.bio-img::before {
    content: ''; position: absolute; top: -14px; left: -14px;
    width: 100%; height: 100%;
    border: 2px solid var(--primary); border-radius: var(--radius-lg);
    z-index: -1; opacity: 0.22;
}
.bio-text p { font-size: 1.02rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 1.1rem; }
.bio-text strong { color: var(--primary); font-weight: 500; }
.bio-stats { display: flex; gap: 2.5rem; margin: 2rem 0; padding: 1.5rem 0; border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); }

.disciplines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.discipline-card {
    padding: 2rem 1.5rem; border-radius: var(--radius-md);
    background: #fff; box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary); text-align: center;
}
.discipline-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 1rem; }
.discipline-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.discipline-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ── YOGA EQUESTRE / DIEN CHAN — Service pages ── */
.service-intro {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 80px; align-items: center;
}
.service-intro.reverse { direction: rtl; }
.service-intro.reverse > * { direction: ltr; }
.service-intro-img { position: relative; }
.service-intro-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.service-intro-img::after {
    content: ''; position: absolute; bottom: -18px; right: -18px;
    width: 100%; height: 100%;
    border: 3px solid var(--tertiary); border-radius: var(--radius-lg);
    z-index: -1; opacity: 0.28;
}
.service-intro-text h2 { margin-bottom: 1.2rem; position: relative; display: inline-block; }
.service-intro-text h2::after {
    content: '✦'; position: absolute; right: -28px; top: 6px;
    color: var(--primary); font-size: 0.9rem;
}
.service-intro-text p { font-size: 1rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 1rem; }

.benefits-section {
    background: linear-gradient(135deg, rgba(232,93,117,0.03) 0%, rgba(42,157,143,0.03) 100%);
}
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.benefit-card {
    padding: 2rem 1.5rem; background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(232,93,117,0.09); display: flex; align-items: center;
    justify-content: center; color: var(--primary); font-size: 1.2rem;
    margin-bottom: 1.1rem;
}
.benefit-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

.how-it-works { background: linear-gradient(to bottom, rgba(244,162,97,0.04), transparent); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step {
    text-align: center; padding: 2rem 1.5rem;
    position: relative;
}
.step-number {
    font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 600;
    color: rgba(232,93,117,0.12); line-height: 1; margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ── FAQ ── */
.faq-section { background: rgba(250,249,246,0.6); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.07); }
.faq-question {
    width: 100%; text-align: left; padding: 1.4rem 0;
    font-size: 1rem; font-weight: 500; color: var(--dark);
    background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question i { font-size: 0.85rem; color: var(--primary); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    font-size: 0.95rem; color: var(--text-muted); line-height: 1.85;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.4rem; }

/* ── GALLERY PAGE ── */
.gallery-page { padding: 80px 8%; }
.gallery-grid {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}
.gallery-item {
    position: relative; border-radius: var(--radius-sm);
    overflow: hidden; cursor: pointer; aspect-ratio: 1;
}
.gallery-item.featured { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.75), transparent);
    display: flex; align-items: flex-end; padding: 1rem;
    opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: #fff; font-size: 0.82rem; font-weight: 500; }

.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.95); z-index: 2000;
    justify-content: center; align-items: center; padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    color: #fff; font-size: 1.8rem; cursor: pointer;
    width: 46px; height: 46px; display: flex; align-items: center;
    justify-content: center; border-radius: 50%; transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.12); }

/* ── EVENTS PAGE ── */
.events-page { }
.events-full-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

/* ── CONTACT PAGE ── */
.contact-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.4rem; border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.02); text-decoration: none; color: var(--text-muted);
    transition: all var(--transition);
}
.contact-item:hover { color: var(--primary); background: rgba(232,93,117,0.05); }
.contact-item-icon {
    width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    background: rgba(232,93,117,0.09); display: flex; align-items: center;
    justify-content: center; color: var(--primary); font-size: 1.1rem;
    transition: all var(--transition);
}
.contact-item:hover .contact-item-icon { background: var(--primary); color: #fff; transform: scale(1.1); }
.contact-form { background: #fff; border-radius: var(--radius-md); padding: 2.5rem; box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; color: #666; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-sm);
    border: 1.5px solid rgba(0,0,0,0.08); background: rgba(0,0,0,0.01);
    font-family: 'Poppins', sans-serif; font-size: 0.92rem; color: var(--dark);
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }


/* ── FOOTER ── */
footer {
    background: var(--dark); color: rgba(255,255,255,0.85);
    padding: 4rem 8% 2rem; text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
footer .logo { color: rgba(255,255,255,0.9); justify-content: center; }
footer .logo-icon { height: 44px; }
.footer-tagline { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.65; }
.footer-desc {
    font-size: 0.88rem; line-height: 1.75;
    color: rgba(255,255,255,0.7); max-width: 420px;
}
.footer-desc strong { color: var(--primary); font-weight: 500; }
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
    text-decoration: none; font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 1px; color: rgba(255,255,255,0.75);
    padding: 0.5rem 0.3rem; transition: color var(--transition);
}
.footer-nav a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 1.2rem; }
.footer-social a {
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: rgba(255,255,255,0.75); font-size: 1rem;
    transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.06); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

/* ── Animations ── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    section { padding: 80px 6%; }
    .hero { flex-direction: column-reverse; text-align: center; padding: 130px 6% 60px; min-height: auto; }
    .hero-content { max-width: 100%; padding-top: 2.5rem; }
    .hero-description { margin-inline: auto; }
    .hero-cta { justify-content: center; }
    .hero-visual { width: 100%; }
    .hero-video-wrapper { max-width: 300px; }
    .circle-1, .circle-2 { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .about-home { grid-template-columns: 1fr; gap: 3rem; }
    .about-img-wrap { max-width: 380px; margin: 0 auto; }
    .about-text { text-align: center; }
    .about-text h2::after { display: none; }
    .about-stats { justify-content: center; }
    .bio-section { grid-template-columns: 1fr; gap: 3rem; }
    .bio-img { max-width: 380px; margin: 0 auto; }
    .service-intro { grid-template-columns: 1fr; gap: 3rem; }
    .service-intro.reverse { direction: ltr; }
    .service-intro-img { max-width: 500px; margin: 0 auto; }
    .disciplines-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.featured { grid-column: span 2; grid-row: span 1; }
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .page-hero { padding: 140px 6% 60px; }
}

@media (max-width: 768px) {
    section { padding: 60px 5%; }
    /* Rimuove backdrop-filter dalla barra nav su mobile: su Safari/iOS il backdrop-filter
       crea un containing block per i figli position:fixed, confinando il menu overlay
       all'altezza della sola barra invece che a tutto schermo. */
    .site-nav {
        padding: 0.9rem 5%;
        background: rgba(250,249,246,0.97);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .logo { font-size: 1.4rem; flex: 1; justify-content: center; position: relative; padding-left: 48px; }
    .logo-icon { height: 40px; position: absolute; left: 0; }
    .logo-text { border-left: none; padding-left: 0; }

    /* ── Mobile nav: full-screen overlay chiaro ── */
    .nav-links {
        position: fixed; inset: 0;
        display: flex; flex-direction: column;
        justify-content: center; align-items: center;
        gap: 0.2rem;
        background: #faf9f6;
        z-index: 9999;
        opacity: 0; pointer-events: none;
        transition: opacity 0.22s ease;
    }
    .nav-links.active { opacity: 1; pointer-events: auto; }
    .nav-links a {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.65rem; font-weight: 500; letter-spacing: 0.04em;
        color: var(--dark); text-transform: none;
        padding: 0.55rem 2rem; width: 100%; text-align: center;
        text-decoration: none;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--primary); }
    .nav-links a::after { display: none; }

    /* Hamburger */
    .menu-toggle { display: flex; transition: opacity 0.15s; }
    .menu-toggle.active { opacity: 0; pointer-events: none; }

    /* Tasto chiudi ✕ fisso in alto a destra, visibile solo con overlay aperto */
    .nav-close {
        display: block; position: fixed;
        top: 1rem; right: 5%; z-index: 10000;
        background: none; border: none; cursor: pointer;
        font-size: 2rem; line-height: 1;
        color: var(--dark); padding: 0.4rem 0.6rem;
        opacity: 0; pointer-events: none;
        transition: opacity 0.22s ease;
    }
    .nav-close.active { opacity: 0.65; pointer-events: auto; }
    .nav-close.active:hover { opacity: 1; }
    .services-grid { grid-template-columns: 1fr; }
    .disciplines-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
        gap: 0.75rem; padding-bottom: 0.75rem; scrollbar-width: none;
    }
    .gallery-grid::-webkit-scrollbar { display: none; }
    .gallery-item { flex: 0 0 70vw; scroll-snap-align: start; aspect-ratio: 3/4; }
    .gallery-item.featured { grid-column: unset; grid-row: unset; flex: 0 0 70vw; }
    .events-grid {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
        gap: 0.75rem; padding-bottom: 0.75rem; scrollbar-width: none;
    }
    .events-grid::-webkit-scrollbar { display: none; }
    .event-card { flex: 0 0 72vw; scroll-snap-align: start; }
    .footer-nav { gap: 1.2rem; }
    .bio-stats { flex-wrap: wrap; gap: 1.5rem; }
    .about-stats { flex-wrap: wrap; gap: 1.5rem; }
    .page-hero { padding: 130px 5% 50px; min-height: 40vh; }
}

@media (max-width: 480px) {
    .hero { padding: 120px 5% 50px; }
    .hero-video-wrapper { max-width: 100%; aspect-ratio: 4/5; }
    .steps-grid { grid-template-columns: 1fr; }
    .cta-strip { padding: 60px 5%; }
}
