/* ═══════════════════════════════════════════════════════════
   GARDAIMMOBILI — chi-siamo.css
   CSS completo per template: chi-siamo.html
   ═══════════════════════════════════════════════════════════ */



/* ══════════════════════════════════════
   DESIGN SYSTEM — VARIABILI
══════════════════════════════════════ */
:root {
  --navy:    #0f1f38;
  --gold:    #b8965a;
  --gold-lt: #d4b07a;
  --cream:   #f7f4ef;
  --warm:    #ede8e0;
  --text:    #1a1a1a;
  --muted:   #6b6560;
  --white:   #ffffff;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Jost', sans-serif;
  --trans:   .35s cubic-bezier(.4,0,.2,1);
  --shadow-sm: 0 8px 25px rgba(15,31,56,.08);
  --shadow-md: 0 15px 35px rgba(15,31,56,.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; color: var(--text); background: var(--cream); overflow-x: hidden; }

/* TOPBAR */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.7);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem 3rem;
}
.topbar a { color: rgba(255,255,255,.7); text-decoration: none; transition: color var(--trans); }
.topbar a:hover { color: var(--gold-lt); }
.topbar-left { display: flex; gap: 2rem; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 1.2rem; align-items: center; }
.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.7); padding: .2rem .6rem;
  font-size: .68rem; letter-spacing: .1em; cursor: pointer;
  transition: all var(--trans); font-family: var(--sans);
}
.lang-btn:hover, .lang-btn.active { border-color: var(--gold); color: var(--gold); }

/* NAVBAR */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,150,90,.2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 72px;
  transition: box-shadow var(--trans);
}
nav.scrolled { box-shadow: var(--shadow-sm); }
.logo {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  color: var(--navy); text-decoration: none; letter-spacing: .04em;
  display: flex; align-items: baseline; gap: .2rem;
}
.logo span { color: var(--gold); }
.logo-sub { font-family: var(--sans); font-size: .55rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-left: .5rem; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--navy); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 400;
  position: relative; padding-bottom: 4px; transition: color var(--trans);
}
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px; background: var(--gold); transition: width var(--trans); }
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--white) !important; padding: .5rem 1.4rem;
  font-size: .72rem !important; letter-spacing: .14em;
  transition: background var(--trans) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy) !important; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); transition: var(--trans); }

/* BREADCRUMB */
.breadcrumb { background: var(--white); padding: .9rem 3rem; border-bottom: 1px solid rgba(184,150,90,.15); font-size: .7rem; letter-spacing: .08em; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color var(--trans); }
.breadcrumb a:hover { color: var(--gold); }

/* HERO */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #112240 100%);
  padding: 5rem 3rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCI+PHJlY3Qgd2lkdGg9IjgwIiBoZWlnaHQ9IjgwIiBmaWxsPSJub25lIi8+PHBvbHlsaW5lIHBvaW50cz0iNDAsMTAgNTAsMzAgNzAsMjAiIHN0cm9rZT0icmdiYSgxODQsMTUwLDkwLDAuMDQpIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=');
  background-repeat: repeat; opacity: 0.3; pointer-events: none;
}
.hero-content { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.hero-tag {
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: .8rem;
}
.hero-tag::before { content: ''; width: 35px; height: 1.5px; background: var(--gold); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; color: var(--white); line-height: 1.2; }
.page-hero p { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: 1rem; max-width: 600px; }

/* STATS BANNER */
.stats-banner {
  background: var(--cream);
  padding: 3rem 3rem;
  border-bottom: 1px solid rgba(184,150,90,.15);
}
.stats-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center; padding: 1rem;
}
.stat-number {
  font-family: var(--serif); font-size: 2.8rem; font-weight: 400;
  color: var(--gold); line-height: 1.1; margin-bottom: .5rem;
}
.stat-label {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}

/* SEZIONE STORIA */
.storia-section {
  max-width: 1280px; margin: 0 auto; padding: 5rem 3rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.storia-content .section-tag {
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: .8rem;
}
.storia-content .section-tag::before { content: ''; width: 35px; height: 1.5px; background: var(--gold); }
.storia-content h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300; color: var(--navy); line-height: 1.2; margin-bottom: 1.5rem;
}
.storia-content h2 em { font-style: italic; color: var(--gold); }
.storia-content p {
  font-size: .92rem; color: var(--text); line-height: 1.8;
  margin-bottom: 1.2rem;
}
.storia-img {
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.storia-img img { width: 100%; height: auto; display: block; }
.storia-img::after {
  content: ''; position: absolute; bottom: -1rem; right: -1rem;
  width: 60%; height: 60%; border: 2px solid var(--gold); z-index: -1;
}

/* VALORI */
.valori-section {
  background: var(--white);
  padding: 5rem 3rem;
}
.valori-container {
  max-width: 1280px; margin: 0 auto;
}
.valori-header { text-align: center; margin-bottom: 3rem; }
.valori-header .section-tag { justify-content: center; }
.valori-header h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300; color: var(--navy);
}
.valori-header h2 em { font-style: italic; color: var(--gold); }
.valori-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.valore-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--cream); border: 1px solid rgba(184,150,90,.15);
  transition: box-shadow var(--trans);
}
.valore-card:hover { box-shadow: var(--shadow-sm); }
.valore-icon {
  width: 60px; height: 60px; background: var(--white);
  display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1.2rem;
  color: var(--gold); border: 1px solid rgba(184,150,90,.2);
}
.valore-card h3 {
  font-family: var(--serif); font-size: 1.3rem;
  color: var(--navy); margin-bottom: .6rem;
}
.valore-card p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* TEAM */
.team-section {
  padding: 5rem 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2c4a 100%);
}
.team-container {
  max-width: 1280px; margin: 0 auto;
}
.team-header { text-align: center; margin-bottom: 3rem; }
.team-header .section-tag { justify-content: center; color: var(--gold-lt); }
.team-header .section-tag::before { background: var(--gold-lt); }
.team-header h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300; color: var(--white);
}
.team-header h2 em { font-style: italic; color: var(--gold-lt); }
.team-header p { color: rgba(255,255,255,.6); margin-top: .5rem; }
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  background: rgba(255,255,255,.05); backdrop-filter: blur(8px);
  padding: 2rem; text-align: center; transition: background var(--trans);
  border: 1px solid rgba(255,255,255,.1);
}
.team-card:hover { background: rgba(255,255,255,.1); }
.team-avatar {
  width: 120px; height: 120px; background: var(--gold);
  display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1.2rem;
  font-family: var(--serif); font-size: 2.5rem;
  color: var(--navy); font-weight: 400;
}
.team-card h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--white); margin-bottom: .3rem; }
.team-role { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 1rem; }
.team-desc { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.6; }

/* LINGUE E CERTIFICAZIONI */
.cert-section {
  padding: 5rem 3rem;
  background: var(--cream);
}
.cert-container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.cert-content .section-tag {
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: .8rem;
}
.cert-content .section-tag::before { content: ''; width: 35px; height: 1.5px; background: var(--gold); }
.cert-content h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300; color: var(--navy); margin-bottom: 1.2rem;
}
.cert-content h2 em { font-style: italic; color: var(--gold); }
.cert-content p { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.langs-list {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin-top: 1.5rem;
}
.lang-item {
  background: var(--white); border: 1px solid rgba(184,150,90,.3);
  padding: .5rem 1.2rem;
  font-size: .8rem; color: var(--navy);
  display: flex; align-items: center; gap: .5rem;
}
.cert-img {
  background: var(--white); padding: 2rem;
  text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(184,150,90,.15);
}
.cert-img h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin-bottom: 1rem; }
.cert-badge { width: 100px; margin: 0 auto; }

/* CTA FINALE */
.cta-section {
  background: var(--navy);
  padding: 5rem 3rem;
  text-align: center;
}
.cta-container { max-width: 1280px; margin: 0 auto; }
.cta-section h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300; color: var(--white); margin-bottom: 1rem;
}
.cta-section h2 em { font-style: italic; color: var(--gold-lt); }
.cta-section p { color: rgba(255,255,255,.6); margin-bottom: 2rem; }
.btn-cta {
  background: var(--gold); color: var(--white); border: none;
  padding: 1rem 2.5rem;
  font-family: var(--sans); font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 500; text-decoration: none;
  display: inline-block; transition: background var(--trans);
}
.btn-cta:hover { background: var(--white); color: var(--navy); }

/* FOOTER */
footer { background: #0a1628; padding: 3.5rem 3rem 2rem; color: rgba(255,255,255,.5); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-logo { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 1rem; display: inline-block; text-decoration: none; }
.footer-about { font-size: .82rem; line-height: 1.8; }
.footer-col h4 { font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .82rem; transition: color var(--trans); }
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .72rem; }
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-lt); }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 99;
  background: #1A6B1A; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: all var(--trans);
}
.whatsapp-float:hover { transform: scale(1.1); background: #155f39; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(10,22,40,.98); backdrop-filter: blur(12px);
  padding: 1.2rem 3rem; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
  transform: translateY(100%); transition: transform .5s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: .8rem; color: rgba(255,255,255,.7); }
.cookie-btns { display: flex; gap: 1rem; }
.cookie-refuse, .cookie-accept {
  padding: .6rem 1.4rem; font-family: var(--sans); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: all var(--trans);
}
.cookie-refuse { background: none; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); }
.cookie-refuse:hover { border-color: var(--gold); color: var(--gold); }
.cookie-accept { background: var(--gold); border: none; color: var(--white); }
.cookie-accept:hover { background: var(--gold-lt); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1400px) {
  .topbar-left span { display: none; }
  .topbar { padding: .55rem 1.5rem; }
  .topbar-left { gap: 1.2rem; }
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .storia-section { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .valori-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 2rem; gap: 1.2rem; box-shadow: var(--shadow-sm); }
  .nav-links.show { display: flex; }
  .menu-toggle { display: flex; }
  .page-hero { padding: 3rem 1.5rem; }
  .stats-banner { padding: 2rem 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
  .valori-section { padding: 3rem 1.5rem; }
  .valori-grid { grid-template-columns: 1fr; }
  .team-section { padding: 3rem 1.5rem; }
  .team-grid { grid-template-columns: 1fr; }
  .cert-section { padding: 3rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; padding: 1.2rem; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 1.5rem; right: 1.5rem; }
}

/* ── SELETTORE LINGUA MOBILE (navbar) ── */
.nav-lang-select {
  display: none;
  background: none;
  border: 1px solid rgba(184,150,90,.5);
  color: var(--navy);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .08em;
  padding: .3rem .5rem;
  cursor: pointer;
  outline: none;
  transition: border-color var(--trans);
}
.nav-lang-select:focus { border-color: var(--gold); }
@media (max-width: 768px) {
  .nav-lang-select { display: block; }
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .logo-img { height: 28px; }
  .footer-logo-img { height: 22px; }
}

.footer-col li { font-size: .82rem; }
.footer-col li span { font-size: inherit; color: rgba(255,255,255,.5); }

.footer-social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.2); transition: background .2s, border-color .2s; }
.footer-social-link:hover { background: var(--gold); border-color: var(--gold); }
.footer-social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,.9); }
.footer-social-link:hover svg { fill: var(--white); }