/*
Theme Name: AGIB Theme 2025
Theme URI: https://agibcenter.com
Author: AGIB
Description: Tema ufficiale AGIB - Associazione Giovani Italo-Bengalesi. Multi-page, Apple-inspired.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: agib
Tags: custom, minimal, multi-page
*/

/* ═══════════════════════════════════════════════
   VARIABILI & RESET
═══════════════════════════════════════════════ */
:root {
  --green:  #006A4E;
  --green2: #00855f;
  --red:    #CE2B37;
  --red2:   #b5232e;
  --black:  #1D1D1F;
  --white:  #FFFFFF;
  --gray:   #F5F5F7;
  --gray2:  #e8e8ed;
  --muted:  #6e6e73;
  --border: #d2d2d7;
  --font:   'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --tr: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ═══════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.container--sm { max-width: 780px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--black); color: var(--white); }
.section--green { background: var(--green); color: var(--white); }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green);
  display: block; margin-bottom: 14px;
}
.section--dark .eyebrow, .section--green .eyebrow { color: #6effc8; }

.h1 { font-size: clamp(44px,7vw,88px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
.h2 { font-size: clamp(32px,5vw,56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.h3 { font-size: clamp(22px,3vw,32px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.h4 { font-size: 18px; font-weight: 600; }
.lead { font-size: clamp(17px,2vw,21px); color: var(--muted); line-height: 1.7; }
.tc { text-align: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 980px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: var(--tr); white-space: nowrap;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,106,78,.28); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(206,43,55,.28); }
.btn--outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); }
.btn--ghost { background: transparent; color: var(--black); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

.tag {
  display: inline-block; padding: 4px 12px; border-radius: 980px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
.tag--green { background: rgba(0,106,78,.1); color: var(--green); }
.tag--red   { background: rgba(206,43,55,.1); color: var(--red); }
.tag--gray  { background: var(--gray2); color: var(--muted); }

/* scroll animations */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: var(--tr);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto; padding: 0 28px; height: 60px;
}
.navbar__logo { display: flex; align-items: center; gap: 10px; }
.navbar__logo img { height: 36px; width: auto; }
.navbar__logo-text { font-size: 20px; font-weight: 700; color: var(--black); letter-spacing: -.03em; }
.navbar__logo-text span { color: var(--green); }
.navbar__links { display: flex; align-items: center; gap: 6px; list-style: none; }
.navbar__links a {
  font-size: 14px; font-weight: 500; color: var(--black);
  padding: 6px 12px; border-radius: 8px;
  transition: background .2s, color .2s; opacity: .82;
}
.navbar__links a:hover, .navbar__links a.active { opacity: 1; background: rgba(0,0,0,.05); color: var(--green); }
.navbar__cta { margin-left: 8px; padding: 9px 20px; font-size: 14px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: var(--tr); }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,.97); backdrop-filter: blur(24px);
  padding: 80px 32px 40px;
  flex-direction: column; gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 26px; font-weight: 600; color: var(--black);
  padding: 18px 0; border-bottom: 1px solid var(--gray2);
  display: block;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════
   PAGE HERO (pagine interne)
═══════════════════════════════════════════════ */
.page-hero {
  padding: 140px 0 80px;
  background: var(--gray);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { color: var(--green); }

/* ═══════════════════════════════════════════════
   HOMEPAGE HERO
═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 28px 80px;
  background: linear-gradient(170deg, #fff 0%, var(--gray) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,106,78,.06), transparent);
}
.hero__logo-img { width: clamp(100px, 16vw, 160px); margin: 0 auto 36px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,106,78,.08); border: 1px solid rgba(0,106,78,.18);
  color: var(--green); padding: 6px 18px; border-radius: 980px;
  font-size: 13px; font-weight: 600; margin-bottom: 28px;
}
.hero__badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero__title { color: var(--black); margin-bottom: 24px; }
.hero__title em { font-style: normal; color: var(--green); }
.hero__sub { color: var(--muted); max-width: 560px; margin: 0 auto 44px; }
.hero__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; animation: float 2.2s ease-in-out infinite;
}
.hero__scroll svg { width: 18px; height: 18px; }
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ═══════════════════════════════════════════════
   VALORI / ICON CARDS
═══════════════════════════════════════════════ */
.values-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 60px;
}
.value-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid var(--border); text-align: center; transition: var(--tr);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.value-card__icon { font-size: 44px; margin-bottom: 18px; display: block; }
.value-card__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-card__text { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════
   EVENT CARDS
═══════════════════════════════════════════════ */
.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.event-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--tr);
  display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-card__stripe { height: 5px; background: var(--green); }
.event-card__stripe--red { background: var(--red); }
.event-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.event-card__date { font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.event-card__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.event-card__loc { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 5px; }

/* ═══════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════ */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-item { background: var(--white); padding: 40px 24px; text-align: center; }
.stat-item__num { font-size: clamp(40px,5vw,60px); font-weight: 700; color: var(--green); letter-spacing: -0.03em; line-height: 1; }
.stat-item__label { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ═══════════════════════════════════════════════
   TEAM GRID
═══════════════════════════════════════════════ */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 60px; }
.team-card { text-align: center; }
.team-card__photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gray), var(--gray2));
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; margin-bottom: 16px; overflow: hidden;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-card__role { font-size: 14px; color: var(--muted); }

/* ═══════════════════════════════════════════════
   SPORT CARDS
═══════════════════════════════════════════════ */
.sports-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; margin-top: 60px; }
.sport-card {
  background: var(--white); border-radius: var(--radius); padding: 44px 36px;
  border: 1px solid var(--border); display: flex; gap: 28px; align-items: flex-start;
  transition: var(--tr);
}
.sport-card:hover { border-color: var(--green); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sport-card__icon { font-size: 56px; flex-shrink: 0; }
.sport-card__name { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.sport-card__desc { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   VICENZA OVEST
═══════════════════════════════════════════════ */
.vofc-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--white); text-align: center;
}
.vofc-hero__badge {
  display: inline-block; background: var(--red); color: #fff;
  padding: 6px 18px; border-radius: 980px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 28px;
}
.vofc-hero__logo { font-size: 80px; margin-bottom: 20px; }
.vofc-hero__sub { color: rgba(255,255,255,.7); max-width: 500px; margin: 16px auto 0; }

.players-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 20px; margin-top: 60px; }
.player-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); text-align: center; transition: var(--tr);
}
.player-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.player-card__photo {
  background: linear-gradient(135deg, var(--red), #7a1018);
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 52px; color: #fff;
}
.player-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.player-card__body { padding: 16px 12px; }
.player-card__num { font-size: 28px; font-weight: 800; color: var(--red); line-height: 1; }
.player-card__name { font-size: 14px; font-weight: 700; margin: 4px 0 2px; }
.player-card__role { font-size: 12px; color: var(--muted); }

.matches-list { margin-top: 60px; display: flex; flex-direction: column; gap: 14px; }
.match-item {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 24px; align-items: center; background: var(--white);
  border-radius: var(--radius-sm); padding: 20px 28px;
  border: 1px solid var(--border); transition: var(--tr);
}
.match-item:hover { border-color: var(--red); }
.match-home { text-align: right; font-weight: 700; }
.match-away { text-align: left; font-weight: 700; }
.match-center { text-align: center; }
.match-score { font-size: 26px; font-weight: 800; color: var(--red); letter-spacing: .05em; }
.match-date { font-size: 12px; color: var(--muted); margin-top: 4px; }
.match-place { font-size: 12px; color: var(--muted); }

/* ═══════════════════════════════════════════════
   SERVIZI
═══════════════════════════════════════════════ */
.services-tabs { display: flex; gap: 8px; margin-bottom: 56px; flex-wrap: wrap; }
.stab {
  padding: 10px 22px; border-radius: 980px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--border);
  background: transparent; color: var(--muted); transition: var(--tr);
}
.stab.active { background: var(--green); color: #fff; border-color: var(--green); }

.service-panel { display: none; }
.service-panel.active { display: block; }

.ambasciata-services { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 40px; }
.amb-service {
  background: var(--white); border-radius: var(--radius-sm); padding: 24px;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
}
.amb-service__info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.amb-service__info p { font-size: 13px; color: var(--muted); }
.status-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 980px; font-size: 12px; font-weight: 700;
}
.status-pill--open { background: rgba(0,106,78,.1); color: var(--green); }
.status-pill--closed { background: rgba(0,0,0,.06); color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.status-dot--open { background: var(--green); animation: blink 2s infinite; }
.status-dot--closed { background: var(--border); }

.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th, .schedule-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.schedule-table th { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.schedule-table tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════ */
.form-wrap { background: var(--white); border-radius: var(--radius); padding: 44px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-wrap h3 { font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--gray);
  font-size: 15px; font-family: var(--font); color: var(--black);
  transition: border-color .2s, background .2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg {
  padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-top: 18px; display: none;
}
.form-msg.ok { display: block; background: rgba(0,106,78,.1); color: var(--green); border: 1px solid rgba(0,106,78,.2); }
.form-msg.err { display: block; background: rgba(206,43,55,.1); color: var(--red); border: 1px solid rgba(206,43,55,.2); }

/* ═══════════════════════════════════════════════
   PALESTINA / BANNER DARK
═══════════════════════════════════════════════ */
.pal-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; }
.pal-flag { font-size: 120px; text-align: center; filter: drop-shadow(0 20px 48px rgba(0,0,0,.3)); }
.pal-text p { font-size: 17px; color: rgba(255,255,255,.78); line-height: 1.8; margin-bottom: 18px; }

/* ═══════════════════════════════════════════════
   GALLERIA
═══════════════════════════════════════════════ */
.gallery-masonry { columns: 3; gap: 16px; margin-top: 60px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 16px;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--gray2); display: flex; align-items: center; justify-content: center;
  font-size: 40px; transition: var(--tr); cursor: zoom-in;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gp { display: flex; align-items: center; justify-content: center; }
.gp--1 { height: 240px; }
.gp--2 { height: 180px; }
.gp--3 { height: 300px; }

/* ═══════════════════════════════════════════════
   MANIFESTAZIONI
═══════════════════════════════════════════════ */
.manif-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.manif-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--tr);
}
.manif-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.manif-card__img {
  height: 180px; background: linear-gradient(135deg, var(--green), #004a37);
  display: flex; align-items: center; justify-content: center; font-size: 64px;
}
.manif-card__body { padding: 24px; }
.manif-card__date { font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.manif-card__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.manif-card__desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════
   VICENZA BANNER (homepage)
═══════════════════════════════════════════════ */
.vofc-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 100%);
  border-radius: 20px; padding: 56px 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; margin-top: 80px;
}
.vofc-banner__left h2 { color: #fff; margin-bottom: 12px; }
.vofc-banner__left p { color: rgba(255,255,255,.65); font-size: 17px; }
.vofc-banner__logo { font-size: 88px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   CONTATTI
═══════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.cinfo-item { display: flex; gap: 18px; align-items: flex-start; }
.cinfo-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gray); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.cinfo-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cinfo-item p, .cinfo-item a { font-size: 15px; color: var(--muted); line-height: 1.5; }
.cinfo-item a:hover { color: var(--green); }
.social-row { display: flex; gap: 10px; margin-top: 8px; }
.soc-btn {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gray); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: var(--tr);
}
.soc-btn:hover { background: var(--green); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,106,78,.25); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer { background: var(--black); color: rgba(255,255,255,.55); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer__brand-logo { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer__brand-logo span { color: var(--green); }
.footer__brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer__col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a { font-size: 14px; transition: color .2s; }
.footer__col ul a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px; font-size: 13px;
  display: flex; justify-content: space-between; align-items: center;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media(max-width:1024px){
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .events-grid { grid-template-columns: repeat(2,1fr); }
  .sports-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .pal-grid { grid-template-columns: 1fr; }
  .pal-flag { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .vofc-banner { flex-direction: column; text-align: center; }
  .ambasciata-services { grid-template-columns: 1fr; }
}
@media(max-width:768px){
  .section { padding: 72px 0; }
  .navbar__links { display: none; }
  .hamburger { display: flex; }
  .values-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .manif-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .gallery-masonry { columns: 2; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .match-item { grid-template-columns: 1fr; text-align: center; }
  .match-home,.match-away { text-align: center; }
  .players-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:480px){
  .gallery-masonry { columns: 1; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .hero__btns { flex-direction: column; align-items: center; }
  .vofc-banner { padding: 36px 28px; }
}

/* ═══════════════════════════════════════════════
   CALENDARIO VICENZA OVEST FC — C8 25/26
═══════════════════════════════════════════════ */

/* Etichetta fase (ANDATA / RITORNO) */
.vofc-phase-label {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Contenitore tabella */
.vofc-calendar {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 0;
}

/* Singola riga partita */
.vofc-row {
  display: grid;
  grid-template-columns: 44px 1fr 1fr 36px 1fr 88px 80px;
  gap: 0;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background 0.2s;
  column-gap: 12px;
}
.vofc-row:last-child { border-bottom: none; }
.vofc-row--even { background: var(--gray); }
.vofc-row:hover { background: #eef6f3; }

/* Righe passate: testo più sbiadito */
.vofc-row--past {
  opacity: 0.62;
}
.vofc-row--past:hover { opacity: 1; background: #f0f0f2; }

/* Prossima partita: bordo sinistro nero */
.vofc-row--next {
  opacity: 1;
  border-left: 4px solid var(--black);
  padding-left: 16px;
  background: var(--white) !important;
}
.vofc-row--next .vofc-date,
.vofc-row--next .vofc-time { color: var(--black) !important; font-weight: 700; }

/* Partita di OGGI: bordo verde, sfondo verde tenue */
.vofc-row--today {
  border-left: 4px solid var(--green) !important;
  background: rgba(0, 106, 78, 0.05) !important;
  opacity: 1 !important;
  padding-left: 16px;
  box-shadow: 0 0 0 1px rgba(0,106,78,0.15);
}
.vofc-row--today:hover { background: rgba(0,106,78,0.09) !important; }

/* Numero giornata */
.vofc-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vofc-giornata {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--gray2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--muted);
}

/* Badge OGGI con pulsazione */
.badge-oggi {
  display: inline-flex; align-items: center;
  background: var(--green); color: #fff;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px;
  animation: oggi-pulse 1.8s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes oggi-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,106,78,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(0,106,78,0); }
}

/* Data & Ora */
.vofc-date-col {
  min-width: 0;
}
.vofc-date {
  font-size: 13px; font-weight: 600; color: var(--black);
  white-space: nowrap; line-height: 1.3;
}
.vofc-time {
  font-size: 12px; color: var(--muted); margin-top: 2px;
}
.vofc-row--past .vofc-date { color: var(--muted); font-weight: 400; }

/* Squadre */
.vofc-team {
  font-size: 13px; font-weight: 500; color: var(--black);
  line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vofc-team--home { text-align: right; }
.vofc-team--away { text-align: left; }
.vofc-row--past .vofc-team { color: var(--muted); font-weight: 400; }
.vofc-row--today .vofc-team { font-weight: 700; }
.vofc-row--next .vofc-team { font-weight: 700; }

/* VICENZA OVEST — sempre rosso e bold */
.vofc-red {
  color: var(--red) !important;
  font-weight: 800 !important;
}

/* VS */
.vofc-vs {
  text-align: center;
  font-size: 11px; font-weight: 700;
  color: var(--muted); letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Risultato */
.vofc-result { text-align: center; flex-shrink: 0; }

.vofc-score {
  display: inline-block;
  background: var(--black); color: #fff;
  font-size: 14px; font-weight: 800;
  padding: 4px 12px; border-radius: 8px;
  letter-spacing: 0.06em;
}
.vofc-score-live {
  font-size: 12px; font-weight: 700; color: var(--green);
  animation: blink 1.5s infinite;
}
.vofc-score-missing {
  font-size: 18px; color: var(--border); font-weight: 300;
}
.vofc-score-future {
  font-size: 18px; color: var(--border); font-weight: 300;
}

/* Fase (tag) */
.vofc-fase { flex-shrink: 0; text-align: right; }

/* ── RESPONSIVE CALENDARIO ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .vofc-row {
    grid-template-columns: 44px 1fr 80px 80px;
    grid-template-areas:
      "num  daterow  result fase"
      "num  teams    teams  teams";
    row-gap: 4px;
    padding: 14px 16px;
  }
  .vofc-num       { grid-area: num; align-self: start; padding-top: 2px; }
  .vofc-date-col  { grid-area: daterow; }
  .vofc-result    { grid-area: result; }
  .vofc-fase      { grid-area: fase; text-align: right; }
  .vofc-team--home,
  .vofc-vs,
  .vofc-team--away {
    grid-area: teams;
    display: inline;
    text-align: left;
  }
  .vofc-team--home::after { content: ' '; }
  .vofc-vs { display: inline; font-size: 11px; }
  .vofc-team--away::before { content: ' '; }
  .vofc-team { font-size: 14px; white-space: normal; }
}

@media (max-width: 600px) {
  /* Card layout su mobile */
  .vofc-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 16px;
    position: relative;
  }
  .vofc-num {
    position: absolute; top: 14px; right: 14px;
  }
  .vofc-date-col { order: 1; }
  .vofc-team--home,
  .vofc-vs,
  .vofc-team--away { order: 2; display: inline; }
  .vofc-vs { display: inline; }
  .vofc-match-teams { order: 2; font-size: 15px; }
  .vofc-result { order: 3; text-align: left; }
  .vofc-fase { order: 4; text-align: left; }
  .vofc-row {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   NAVBAR V2 — SOLO LOGO + HAMBURGER
═══════════════════════════════════════════════ */

/* Nascondi vecchi elementi della navbar */
.navbar__links,
.navbar__cta { display: none !important; }

/* Logo nella navbar */
.navbar__logo { display: flex; align-items: center; }
.navbar__logo-img { height: 44px; width: auto; display: block; }

/* Hamburger — sempre visibile */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background .2s;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
}
.hamburger:hover { background: rgba(0,0,0,.05); }
.hamburger__line {
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--tr);
  display: block;
}
/* Animazione X quando aperto */
.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MENU OVERLAY ─────────────────────────────────────────────── */
.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 100vw);
  background: #fff;
  z-index: 1100;
  padding: 80px 40px 40px;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: -8px 0 40px rgba(0,0,0,.12);
  overflow-y: auto;
}
.mobile-nav.open {
  transform: translateX(0);
}

/* Pulsante chiudi */
.mobile-nav__close {
  position: absolute;
  top: 18px; right: 20px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  border-radius: 10px; color: var(--black);
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav__close:hover { background: var(--gray); }

/* Links nel menu */
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-nav__links a {
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  padding: 16px 0;
  border-bottom: 1px solid var(--gray2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .2s, padding-left .2s;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mobile-nav__links a::after {
  content: '→';
  font-size: 16px;
  color: var(--border);
  transition: color .2s, transform .2s;
}
.mobile-nav__links a:hover {
  color: var(--green);
  padding-left: 4px;
}
.mobile-nav__links a:hover::after {
  color: var(--green);
  transform: translateX(3px);
}
.mobile-nav__links a.active { color: var(--green); }
.mobile-nav__links a.active::after { color: var(--green); }
.mobile-nav__links a:last-child { border-bottom: none; }

/* Footer del menu */
.mobile-nav__footer {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--gray2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav__cta {
  text-align: center;
  justify-content: center;
  font-size: 14px;
  padding: 14px 20px;
}
.mobile-nav__social {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.mobile-nav__social a {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gray);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.mobile-nav__social a:hover { background: var(--green); transform: translateY(-2px); }
.mobile-nav__copy {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Backdrop scuro */
.mobile-nav__backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1099;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .35s ease;
}
.mobile-nav__backdrop.visible {
  display: block;
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   PAGINA CONTATTI — ISCRIZIONE & PAGAMENTO
═══════════════════════════════════════════════ */

/* Card quota mensile */
.quota-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quota-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 40px 48px;
  background: var(--green);
  color: #fff;
  flex-shrink: 0;
}
.quota-card__amount {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.quota-card__period {
  font-size: 22px;
  font-weight: 500;
  opacity: .75;
  align-self: flex-end;
  padding-bottom: 8px;
}
.quota-card__divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}
.quota-card__benefits {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.quota-benefit {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
}

/* Metodi di pagamento */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pay-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--tr);
}
.pay-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.pay-card__icon { font-size: 36px; }
.pay-card__body { flex: 1; }
.pay-card__body h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pay-card__body p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* IBAN box */
.iban-box {
  background: var(--gray);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
}
.iban-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.iban-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.iban-value {
  font-size: 14px;
  color: var(--black);
  font-weight: 500;
  line-height: 1.4;
}
.iban-number {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--black);
}

/* PayPal button */
.btn--paypal {
  background: #0070ba;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--tr);
}
.btn--paypal:hover {
  background: #005ea6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,112,186,.3);
}

/* QR Code placeholder */
.qr-placeholder {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: var(--gray);
}
.qr-inner { display: flex; flex-direction: column; align-items: center; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .payment-methods { grid-template-columns: 1fr; }
  .quota-card { flex-direction: column; }
  .quota-card__price { padding: 28px 32px; width: 100%; justify-content: center; }
  .quota-card__divider { width: auto; height: 1px; align-self: stretch; }
  .quota-card__benefits { padding: 24px 28px; }
}
@media (max-width: 600px) {
  .mobile-nav { width: 100vw; padding: 72px 28px 32px; }
  .mobile-nav__links a { font-size: 20px; padding: 14px 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   FIX: LOGO (custom-logo support)
═══════════════════════════════════════════════════════════════════ */
.navbar__logo               { display: flex; align-items: center; text-decoration: none; }
.navbar__logo .custom-logo  { height: 44px; width: auto; display: block; }
.navbar__logo-img           { height: 44px; width: auto; display: block; }

/* Remove WP's default anchor wrap styles */
.navbar__logo a             { display: flex; align-items: center; }

/* ═══════════════════════════════════════════════════════════════════
   FIX: FULLSCREEN OVERLAY MENU — stile Apple
═══════════════════════════════════════════════════════════════════ */

/* ── Overlay container ─────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);

  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 80px 40px 60px;
  overflow-y: auto;
}

/* Open state */
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Chiudi X ──────────────────────────────────────────────────── */
.nav-overlay__close {
  position: fixed;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2001;
}
.nav-overlay__close:hover {
  background: var(--gray);
  transform: rotate(90deg);
}

/* ── Link list ─────────────────────────────────────────────────── */
.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 480px;
}

.nav-overlay__link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.02em;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray2);
  line-height: 1.15;

  /* Staggered fade-in per ogni link */
  opacity: 0;
  transform: translateY(16px);
  transition:
    color 0.2s ease,
    opacity 0.4s ease calc(var(--i) * 0.06s + 0.08s),
    transform 0.4s ease calc(var(--i) * 0.06s + 0.08s);
}
.nav-overlay__link:last-child {
  border-bottom: none;
}

/* Quando overlay aperto → anima ogni link */
.nav-overlay.is-open .nav-overlay__link {
  opacity: 1;
  transform: translateY(0);
}

/* Hover */
.nav-overlay__link:hover {
  color: var(--green);
}
/* Link attivo (pagina corrente) */
.nav-overlay__link--active {
  color: var(--green);
}

/* ── Footer overlay ────────────────────────────────────────────── */
.nav-overlay__footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.55s, transform 0.4s ease 0.55s;
}
.nav-overlay.is-open .nav-overlay__footer {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay__cta {
  font-size: 15px;
  padding: 13px 28px;
}
.nav-overlay__social {
  display: flex;
  gap: 12px;
}
.nav-overlay__social a {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gray);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.nav-overlay__social a:hover {
  background: var(--green);
  transform: translateY(-2px);
}

/* ── Hamburger → X animation ───────────────────────────────────── */
/* (re-declares to ensure these override old rules) */
.hamburger {
  position: relative;
  z-index: 2100; /* above overlay so it stays clickable */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(0,0,0,.05); }

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
}

/* X state */
.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Prevent body scroll when open ────────────────────────────── */
body.nav-is-open {
  overflow: hidden;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-overlay__link {
    font-size: clamp(24px, 7vw, 32px);
    padding: 16px 0;
  }
  .nav-overlay { padding: 72px 28px 48px; }
}

/* ════════════════════════════════════════════════════════════════
   BUGFIX FINAL — Logo size, Navbar, Overlay Menu
   (these declarations override all previous conflicting rules)
════════════════════════════════════════════════════════════════ */

/* ── BUG 1: Logo size ──────────────────────────────────────────── */
.custom-logo-link,
.navbar__logo .custom-logo-link { display: flex; align-items: center; }

.custom-logo-link img,
.custom-logo,
.navbar__logo img,
.navbar__logo-img {
  height: 40px !important;
  width: auto !important;
  max-width: 160px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  display: block;
}

/* Hero: logo AGIB grande centrato */
.hero .custom-logo-link img,
.hero .custom-logo,
.hero__logo-img {
  height: auto !important;
  max-height: 160px !important;
  width: clamp(100px, 16vw, 160px) !important;
  max-width: 160px !important;
  margin: 0 auto;
  display: block;
}

/* ── NAVBAR: solo logo + hamburger ────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
/* Hide old link list and CTA if still in DOM */
.navbar__links,
.navbar__cta { display: none !important; }

/* ── BUG 3: HAMBURGER button ───────────────────────────────────── */
.hamburger {
  position: relative;
  z-index: 1100;          /* above overlay */
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background .2s;
  flex-shrink: 0;
}
.hamburger:hover { background: rgba(0,0,0,.06); }

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: #1D1D1F;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .35s ease, opacity .25s ease;
  pointer-events: none;
}
/* X state */
.hamburger.open .hamburger__line:nth-child(1),
.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open .hamburger__line:nth-child(2),
.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.hamburger.open .hamburger__line:nth-child(3),
.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── BUG 3: FULLSCREEN OVERLAY ─────────────────────────────────── */
.nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;

  background: rgba(255,255,255,.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s cubic-bezier(.4,0,.2,1),
              visibility .4s cubic-bezier(.4,0,.2,1);
}
.nav-overlay.open,
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Close X button */
.nav-overlay__close {
  position: fixed;
  top: 16px; right: 20px;
  z-index: 1100;
  background: none; border: none;
  cursor: pointer; padding: 10px;
  border-radius: 12px; color: #1D1D1F;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .25s;
}
.nav-overlay__close:hover {
  background: #f5f5f7;
  transform: rotate(90deg);
}

/* Nav links container */
.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
  padding: 0 32px;
}

/* Individual links */
.nav-overlay__link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  color: #1D1D1F;
  text-decoration: none;
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-bottom: 1px solid #e8e8ed;
  line-height: 1.2;

  /* staggered entry */
  opacity: 0;
  transform: translateY(14px);
  transition:
    color .2s ease,
    opacity .4s ease calc(var(--i, 0) * 0.055s + 0.06s),
    transform .4s ease calc(var(--i, 0) * 0.055s + 0.06s);
}
.nav-overlay__link:last-child { border-bottom: none; }

.nav-overlay.open .nav-overlay__link,
.nav-overlay.active .nav-overlay__link {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay__link:hover { color: #006A4E; }
.nav-overlay__link--active { color: #006A4E; }

/* Block scroll */
body.menu-open,
body.nav-is-open { overflow: hidden; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-overlay__link { font-size: 28px; padding: 14px 0; }
}
