/*
Theme Name: Gestioni Immobiliari
Theme URI: https://www.gestioni-immobiliari.eu
Author: Studio Grillo
Description: Tema professionale per Gestioni Immobiliari - Amministrazione condominiale Legnano
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: gestioni-immobiliari
*/

/* ═══════════════════════════════════════════════
   RESET & VARIABILI
═══════════════════════════════════════════════ */
:root {
  --navy:   #1e3a5f;
  --navy2:  #152d4d;
  --navy3:  #0f2340;
  --gold:   #8a6200;
  --gold2:  #a07000;
  --goldlt: #f5ead0;
  --white:  #ffffff;
  --bg:     #f8f7f4;
  --bg2:    #f0ede5;
  --txt:    #111111;
  --txt2:   #1a1a1a;
  --txt3:   #2a2a2a;
  --brd:    #d0ccc0;
  --brd2:   #b8a878;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:20px; scroll-behavior:smooth; }
body {
  font-family: 'Barlow Condensed', 'Segoe UI', Arial, sans-serif;
  background: var(--white);
  color: var(--txt);
  line-height: 1.6;
  font-size: 1rem;
}
img { max-width:100%; height:auto; display:block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
ul { list-style: none; }

/* ═══════════════════════════════════════════════
   TIPOGRAFIA
═══════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  line-height: 1.1;
  font-weight: 700;
}
h1 { font-size: clamp(36px, 5vw, 62px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: clamp(22px, 3vw, 30px); }
h4 { font-size: 24px; }
p  { font-size: 19px; color: var(--txt); line-height: 1.9; font-weight: 500; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
#site-header {
  background: var(--navy3);
  border-bottom: 4px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-topbar {
  background: var(--navy);
  padding: 7px 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #aab8cc;
  letter-spacing: .5px;
}
.topbar-item a { color: #aab8cc; }
.topbar-item a:hover { color: var(--gold2); }
.topbar-item strong { color: #d0dce8; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-mark {
  width: 52px; height: 52px;
  background: var(--navy);
  border: 2px solid var(--gold2);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px; font-weight: 700; color: var(--gold2);
  flex-shrink: 0;
}
.logo-text {
  line-height: 1.1;
}
.logo-text strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px; font-weight: 700; letter-spacing: 2px;
  color: #ffffff;
}
.logo-text span {
  display: block;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: #8899aa; margin-top: 2px;
}

/* NAVIGAZIONE */
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
#main-nav ul li {
  position: relative;
}
#main-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: #dde6f0;
  transition: all .2s;
  border-bottom: 2px solid transparent;
}
#main-nav ul li a:hover,
#main-nav ul li.current-menu-item > a,
#main-nav ul li.current-page-ancestor > a {
  color: var(--gold2);
  border-bottom-color: var(--gold2);
}

/* Dropdown */
#main-nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  min-width: 240px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  display: none;
  flex-direction: column;
  z-index: 300;
}
#main-nav ul li:hover > ul { display: flex; }
#main-nav ul li ul li a {
  padding: 11px 18px;
  font-size: 11px; letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
}
#main-nav ul li ul li a:hover {
  background: rgba(212,160,23,.1);
  color: var(--gold2);
  border-bottom-color: transparent;
}

.nav-tel {
  padding: 10px 22px !important;
  background: var(--gold) !important;
  color: var(--navy3) !important;
  font-weight: 700 !important;
  border-radius: 0 !important;
  border-bottom: none !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
}
.nav-tel:hover { background: var(--gold2) !important; }

/* Menu mobile */
.menu-toggle {
  display: none;
  background: none; border: 2px solid var(--gold);
  color: var(--gold); padding: 8px 14px;
  font-size: 14px; cursor: pointer;
  font-family: inherit; letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════
   HERO — HOME
═══════════════════════════════════════════════ */
.hero-home {
  background: linear-gradient(135deg, var(--navy3) 0%, var(--navy) 50%, #1a3d6e 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,134,11,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,134,11,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-home::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(184,134,11,.06) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 760px;
  padding: 72px 56px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold2); font-weight: 700; margin-bottom: 20px;
}
.hero-tag::before { content:''; width:28px; height:3px; background:var(--gold2); }
.hero-home h1 { color: #ffffff; margin-bottom: 20px; line-height: 1.05; }
.hero-home h1 em { font-style: italic; color: var(--gold2); }
.hero-home p {
  font-size: 18px; color: #c0ccd8; line-height: 1.8; max-width: 580px;
  margin-bottom: 36px;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   PULSANTI
═══════════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold); color: var(--navy3) !important;
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  transition: all .2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent; color: var(--gold2) !important;
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  border: 3px solid var(--gold); transition: all .2s;
}
.btn-secondary:hover { background: rgba(212,160,23,.12); }
.btn-navy {
  display: inline-block;
  padding: 14px 36px;
  background: var(--navy); color: #ffffff !important;
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  transition: all .2s;
}
.btn-navy:hover { background: var(--navy2); }

/* ═══════════════════════════════════════════════
   SEZIONI GENERALI
═══════════════════════════════════════════════ */
.section { padding: 80px 48px; }
.section-narrow { max-width: 820px; margin: 0 auto; }
.section-wide { max-width: 1200px; margin: 0 auto; }
.section-bg { background: var(--bg); }
.section-navy {
  background: var(--navy3);
  color: #ffffff;
}
.section-navy h2, .section-navy h3 { color: #ffffff; }
.section-navy p { color: #aab8cc; }

.sez-eyebrow {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
  display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
}
.sez-eyebrow::after { content:''; flex:1; height:3px; background: var(--brd2); }
.sez-eyebrow.white::after { background: rgba(255,255,255,.2); }
.sez-eyebrow.white { color: var(--gold2); }
.sez-divider { width:72px; height:4px; background: var(--gold); margin: 18px 0 28px; }
.sez-divider.center { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════
   GRIGLIA SERVIZI — HOME
═══════════════════════════════════════════════ */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--brd);
  margin-top: 48px;
}
.serv-card {
  background: var(--white);
  padding: 36px 30px;
  border-top: 4px solid transparent;
  transition: all .25s;
  text-decoration: none !important;
  display: block;
}
.serv-card:hover {
  background: #fffdf5;
  border-top-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.serv-card .serv-num {
  font-family: monospace; font-size: 11px;
  color: #aaaaaa; letter-spacing: 2px; margin-bottom: 14px;
}
.serv-card .serv-ico { font-size: 32px; margin-bottom: 14px; display: block; }
.serv-card h3 { font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.serv-card p { font-size: 18px; color: var(--txt); line-height: 1.75; }
.serv-card .serv-link {
  display: inline-block; margin-top: 14px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}

/* ═══════════════════════════════════════════════
   PAGE HERO (pagine interne)
═══════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy3), var(--navy));
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,134,11,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,134,11,.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero .inner { position: relative; z-index: 2; }
.page-hero .breadcrumb {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: #7a8fa3; margin-bottom: 12px;
}
.page-hero .breadcrumb a { color: var(--gold2); }
.page-hero h1 { color: #ffffff; font-size: clamp(32px, 4vw, 52px); }
.page-hero p {
  font-size: 18px; color: #9aafc0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  margin-top: 12px; max-width: 620px;
}
.page-hero .gold-line {
  width: 60px; height: 4px; background: var(--gold); margin-top: 20px;
}

/* ═══════════════════════════════════════════════
   CONTENT AREA
═══════════════════════════════════════════════ */
.content-area { max-width: 1200px; margin: 0 auto; padding: 64px 48px; }
.entry-content p { margin-bottom: 20px; font-size: 17px; }
.entry-content ul { margin: 16px 0 20px 20px; }
.entry-content ul li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  font-size: 17px; color: var(--txt2);
}
.entry-content ul li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--gold); font-weight: 700; font-size: 18px;
}

/* ═══════════════════════════════════════════════
   CHI SIAMO
═══════════════════════════════════════════════ */
.chi-siamo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.chi-siamo-text p { margin-bottom: 20px; }
.chi-siamo-valori {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 36px;
}
.valore-box {
  background: var(--bg);
  border-left: 4px solid var(--gold);
  padding: 20px 18px;
}
.valore-box h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.valore-box p { font-size: 14px; color: var(--txt3); }

/* Staff box */
.staff-box {
  background: var(--navy3);
  padding: 36px;
  color: white;
}
.staff-foto {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  margin-bottom: 18px;
}
.staff-box h3 { color: white; font-size: 24px; }
.staff-box .ruolo {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold2); margin: 6px 0 16px;
}
.staff-box p { color: #9aafc0; font-size: 15px; }
.staff-box .iscrizioni { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.staff-box .iscrizioni li {
  font-size: 13px; color: #8099b3; padding: 4px 0;
  display: flex; align-items: center; gap: 8px;
}
.staff-box .iscrizioni li::before { content: '✓'; color: var(--gold2); font-weight: 700; }

/* Zone operative */
.zone-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 28px;
}
.zona-tag {
  background: var(--goldlt);
  border: 1px solid var(--brd2);
  padding: 10px 14px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  text-align: center; letter-spacing: .5px;
}

/* ═══════════════════════════════════════════════
   SERVIZI DETAIL
═══════════════════════════════════════════════ */
.servizi-detail {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.servizio-feature {
  background: var(--navy3);
  padding: 32px;
  margin-bottom: 20px;
}
.servizio-feature h4 { color: white; margin-bottom: 10px; font-size: 18px; }
.servizio-feature p { color: #9aafc0; font-size: 15px; }

.sidebar-servizi { position: sticky; top: 100px; }
.sidebar-box {
  background: var(--bg);
  border: 1px solid var(--brd);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-box h4 {
  font-size: 16px; color: var(--navy);
  padding-bottom: 12px; border-bottom: 3px solid var(--gold);
  margin-bottom: 16px;
}
.sidebar-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--brd);
  font-size: 14px;
}
.sidebar-box ul li a { color: var(--txt2); font-weight: 500; }
.sidebar-box ul li a:hover { color: var(--gold); padding-left: 4px; }
.sidebar-box ul li.active a { color: var(--gold); font-weight: 700; }

.sidebar-contact {
  background: var(--navy3);
  padding: 28px;
  text-align: center;
}
.sidebar-contact h4 { color: white; font-size: 20px; margin-bottom: 10px; }
.sidebar-contact p { color: #c0d0e0; font-size: 16px; margin-bottom: 20px; }
.sidebar-contact .tel-big {
  display: block; font-size: 22px; font-weight: 700;
  color: var(--gold2); letter-spacing: 1px; margin-bottom: 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.sidebar-contact .orari { font-size: 12px; color: #7a8fa3; margin-top: 12px; }

/* ═══════════════════════════════════════════════
   PRONTO INTERVENTO STRIP
═══════════════════════════════════════════════ */
.pronto-strip {
  background: var(--gold);
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.pronto-strip h3 { color: var(--navy3); font-size: 22px; margin-bottom: 4px; }
.pronto-strip p { color: var(--navy); font-size: 15px; }
.pronto-strip .tel-pronto {
  font-size: 28px; font-weight: 700; color: var(--navy3);
  font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════
   CONDOMINIO ONLINE
═══════════════════════════════════════════════ */
.condo-online-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 3px;
  background: var(--brd); margin-top: 36px;
}
.condo-feature {
  background: var(--white); padding: 32px 26px;
  border-top: 4px solid transparent; transition: border-color .2s;
}
.condo-feature:hover { border-top-color: var(--gold); }
.condo-feature .ico { font-size: 36px; margin-bottom: 14px; }
.condo-feature h4 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.condo-feature p { font-size: 17px; color: var(--txt); }

/* ═══════════════════════════════════════════════
   CONTATTI
═══════════════════════════════════════════════ */
.contatti-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.info-box {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 24px; background: var(--bg);
  border-left: 4px solid var(--gold);
  margin-bottom: 16px;
}
.info-box .ico {
  font-size: 24px; color: var(--gold); flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--goldlt); border: 2px solid var(--brd2);
  display: flex; align-items: center; justify-content: center;
}
.info-box .lbl { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--txt3); font-weight: 600; }
.info-box .val { font-size: 20px; color: var(--txt); font-weight: 700; margin-top: 3px; font-family: 'Cormorant Garamond', Georgia, serif; }
.info-box .val a { color: var(--txt); }
.info-box .val a:hover { color: var(--gold); }

.orari-table { width: 100%; margin-top: 8px; }
.orari-table tr { border-bottom: 1px solid var(--brd); }
.orari-table td { padding: 12px 6px; font-size: 18px; }
.orari-table td:first-child { color: var(--navy); font-weight: 600; }
.orari-table td:last-child { color: var(--txt3); }

/* Mappa placeholder */
.mappa-wrap {
  width: 100%; height: 300px;
  background: linear-gradient(135deg, #1e3a5f, #2a4f7a);
  display: flex; align-items: center; justify-content: center;
  color: #7a8fa3; font-size: 14px; letter-spacing: 1px;
  margin-top: 28px; text-align: center;
}

/* ═══════════════════════════════════════════════
   STRIP STATISTICHE
═══════════════════════════════════════════════ */
.stats-strip {
  background: var(--navy);
  padding: 48px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
}
.stat-item {
  background: rgba(255,255,255,.04);
  padding: 28px 20px; text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 60px; font-weight: 700;
  color: var(--gold2); line-height: 1; margin-bottom: 6px;
}
.stat-lbl { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #7a8fa3; }

/* ═══════════════════════════════════════════════
   PERCHÉ SCEGLIERCI
═══════════════════════════════════════════════ */
.perche-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
  margin-top: 36px;
}
.perche-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; background: var(--white);
  border: 1px solid var(--brd); border-top: 3px solid var(--gold);
}
.perche-item .ico {
  font-size: 28px; flex-shrink: 0;
  width: 52px; height: 52px; background: var(--goldlt);
  border: 2px solid var(--brd2);
  display: flex; align-items: center; justify-content: center;
}
.perche-item h4 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.perche-item p { font-size: 15px; color: var(--txt3); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#site-footer {
  background: var(--navy3);
  border-top: 4px solid var(--gold);
}
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 60px 48px 40px;
}
.footer-brand .logo-text strong { color: #ffffff; }
.footer-brand .logo-text span { color: #7a8fa3; }
.footer-tagline {
  font-size: 14px; color: #6a7d8f; margin-top: 14px; line-height: 1.7;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.footer-col h5 {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold2); font-weight: 700; margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 2px solid rgba(255,255,255,.08);
  font-family: 'Barlow Condensed', Arial, sans-serif;
}
.footer-col ul li {
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.footer-col ul li a {
  font-size: 15px; color: #9ab0c4;
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a::before { content:'›'; color: var(--gold); }
.footer-col ul li a:hover { color: var(--gold2); }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px; font-size: 15px; color: #9ab0c4;
}
.footer-contact-item strong { color: #9aafc0; display: block; }
.footer-contact-item a { color: #9aafc0; }
.footer-contact-item a:hover { color: var(--gold2); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: #4a5d6f; }
.footer-bottom a { color: #5a7080; }
.footer-bottom a:hover { color: var(--gold2); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media(max-width:1024px){
  .chi-siamo-grid { grid-template-columns: 1fr; }
  .servizi-detail { grid-template-columns: 1fr; }
  .sidebar-servizi { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px){
  html { font-size: 16px; }
  .header-topbar { display: none; }
  .header-main { padding: 14px 20px; }
  #main-nav { display: none; }
  #main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy3); z-index: 200; padding: 10px 0 20px; }
  #main-nav.open ul { flex-direction: column; gap: 0; }
  #main-nav.open ul li a { padding: 12px 24px; border-bottom: 1px solid rgba(255,255,255,.06); }
  #main-nav.open ul li ul { position: static; box-shadow: none; display: flex !important; border-top: none; background: rgba(0,0,0,.2); }
  .menu-toggle { display: block; }
  .section { padding: 48px 20px; }
  .content-area { padding: 40px 20px; }
  .hero-inner { padding: 48px 20px; }
  .servizi-grid, .condo-online-grid { grid-template-columns: 1fr; }
  .perche-grid { grid-template-columns: 1fr; }
  .contatti-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; text-align: center; }
  .stats-strip { grid-template-columns: repeat(2,1fr); padding: 32px 20px; }
  .pronto-strip { padding: 24px 20px; flex-direction: column; text-align: center; }
  .zone-list { grid-template-columns: repeat(2,1fr); }
  .page-hero { padding: 40px 20px; }
}

/* ═══════════════════════════════════════════════
   ACCESSIBILITÀ — WCAG AA/AAA
   Font grandi, contrasto elevato, focus visibili
═══════════════════════════════════════════════ */
body { font-size: 20px; }

/* CF7 form styling accessibile */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--brd);
  font-size: 18px;
  font-family: inherit;
  color: var(--txt);
  background: white;
  outline: none;
  transition: border-color .2s;
  margin-bottom: 8px;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,95,.15);
}
.wpcf7-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--txt);
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 14px;
}
.wpcf7-form input[type="submit"] {
  padding: 16px 40px;
  background: var(--gold);
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  transition: background .2s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--navy); }

/* Focus outline visibile per accessibilità tastiera */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Zona tag più leggibile */
.zona-tag { font-size: 15px; font-weight: 700; }

/* Perche item testo */
.perche-item h4 { font-size: 20px; }
.perche-item p { font-size: 17px; color: var(--txt); }

/* Valore box */
.valore-box h4 { font-size: 18px; }
.valore-box p { font-size: 16px; color: var(--txt); }

/* Staff box testo */
.staff-box p { color: #c0d0e0; font-size: 17px; }
.staff-box .iscrizioni li { font-size: 16px; color: #b0c4d8; }

/* Servizio feature */
.servizio-feature p { color: #b0c4d8; font-size: 17px; }

/* Pronto strip */
.pronto-strip p { font-size: 18px; }

/* Footer bottom */
.footer-bottom p { font-size: 14px; }

/* ═══════════════════════════════════════════════
   IMMAGINI — stili aggiuntivi
═══════════════════════════════════════════════ */

/* Card servizi con immagine nella home */
.serv-card-img {
  width: 100%; height: 180px;
  object-fit: cover; display: block;
  margin-bottom: 0;
  transition: transform .3s;
}
.serv-card:hover .serv-card-img { transform: scale(1.03); }
.serv-card-img-wrap {
  overflow: hidden;
  margin: -36px -30px 20px;
}

/* Hero section - overlay migliorato */
.hero-home {
  min-height: 560px;
}

/* Immagini nelle pagine con caption */
.img-caption {
  font-size: 12px;
  color: var(--txt3);
  text-align: center;
  padding: 6px 0;
  font-style: italic;
}

/* Feature image block */
.feature-img {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
}

/* Griglia home — colonna destra con foto */
.home-intro-img {
  width: 100%; height: 260px;
  object-fit: cover; object-position: center;
  display: block;
}
