/* ===========================================================
   Segrino Soccorso o.d.v. — stylesheet
   =========================================================== */

:root{
  --navy: #142a52;
  --navy-dark: #0c1b38;
  --red: #e21f2b;
  --red-dark: #b5131d;
  --green: #0f8a3c;
  --green-dark: #0b6b2e;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-soft-2: #eef1f7;
  --text: #1d2433;
  --text-muted: #5b6475;
  --border: #e3e7ef;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20,42,82,.08);
  --shadow-sm: 0 4px 14px rgba(20,42,82,.07);
  --maxw: 1180px;
  --ff-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ff-head: 'Poppins', 'Public Sans', var(--ff-system);
  --ff-body: 'Public Sans', var(--ff-system);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin:0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height:1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--ff-head); color: var(--navy); line-height:1.2; margin:0 0 .5em; }
h1{ font-size: clamp(2rem, 4vw, 3.1rem); font-weight:700; }
h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight:700; }
h3{ font-size: 1.25rem; font-weight:600; }
p{ margin:0 0 1em; color: var(--text-muted); }
.container{ max-width: var(--maxw); margin:0 auto; padding:0 24px; }
section{ padding: 72px 0; }
.section-soft{ background: var(--bg-soft); }
.section-navy{ background: linear-gradient(135deg,var(--navy) 0%, var(--navy-dark) 100%); color:#fff; }
.section-navy h2, .section-navy h3{ color:#fff; }
.section-navy p{ color: #c7d0e4; }

.eyebrow{
  display:inline-block; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  font-size:.78rem; color: var(--red); margin-bottom:10px;
}
.section-head{ max-width: 720px; margin: 0 auto 44px; text-align:center; }
.section-head p{ margin-bottom:0; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px; border-radius: 999px; font-weight:700; font-size:.98rem;
  border: 2px solid transparent; cursor:pointer; transition: all .18s ease; white-space:nowrap;
}
.btn-red{ background: var(--red); color:#fff; }
.btn-red:hover{ background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-dark); transform: translateY(-2px); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.5); color:#fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-outline-navy{ background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color:#fff; }
.btn-green{ background: var(--green); color:#fff; }
.btn-green:hover{ background: var(--green-dark); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:.88rem; }

/* ===== Top utility bar ===== */
.topbar{
  background: var(--navy-dark); color:#dfe6f5; font-size:.85rem;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding-top:8px; padding-bottom:8px; flex-wrap:wrap;
}
.topbar a{ color:#dfe6f5; }
.topbar .tb-left-group{ display:flex; align-items:center; gap:16px; }
.topbar .tb-left{ display:flex; gap:20px; flex-wrap:wrap; }
.topbar .tb-left span, .topbar .tb-left a{ display:inline-flex; align-items:center; gap:6px; }
.topbar .tb-social{ display:flex; gap:14px; }
.topbar .tb-social a{ font-weight:600; }
.topbar svg{ width:14px; height:14px; fill:currentColor; }

/* ===== Header / nav ===== */
header.site-header{
  position: sticky; top:0; z-index:100; background:#fff;
  box-shadow: 0 2px 18px rgba(20,42,82,.08);
}
.navwrap{ display:flex; align-items:center; justify-content:space-between; padding:26px 0; gap:18px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height:76px; width:auto; }
.main-nav{ display:flex; align-items:center; gap:22px; }
.main-nav a{
  font-weight:600; font-size:.92rem; color: var(--navy); position:relative; padding:6px 0; white-space:nowrap;
}
.main-nav a.active, .main-nav a:hover{ color: var(--red); }
.main-nav a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:3px; background: var(--red); border-radius:3px;
}
.call-pill{
  display:inline-flex; align-items:center; gap:8px; background: var(--green); color:#fff;
  padding:8px 16px; border-radius:999px; font-weight:700; font-size:.88rem; white-space:nowrap; flex-shrink:0;
}
.call-pill svg{ width:15px; height:15px; fill:#fff; }
.hamburger{ display:none; background:none; border:0; cursor:pointer; padding:6px; flex-shrink:0; }
.hamburger span{ display:block; width:24px; height:3px; background:#fff; margin:5px 0; border-radius:2px; }

@media (max-width: 980px){
  .brand img{ height:52px; }
  .navwrap{ padding-left:20px; padding-right:20px; justify-content:center; }
  .main-nav{
    position:fixed; inset: var(--nav-top, 100px) 0 0 0; background:#fff; flex-direction:column; align-items:flex-start;
    padding: 24px; gap:4px; transform: translateX(100%); transition: transform .25s ease; overflow:auto;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a{ width:100%; padding:14px 6px; border-bottom:1px solid var(--border); }
  .hamburger{ display:block; }
}

/* Sotto i 640px: vero telefono, qui serve il layout compatto a due righe */
@media (max-width: 640px){
  .brand img{ height:34px; }
  .call-pill span.cta-text{ display:none; }
  .call-pill{ padding:7px; }
  .topbar{ font-size:.74rem; }
  .topbar .container{ align-items:flex-start; }
  .topbar .tb-left-group{ gap:8px; flex:1 1 auto; min-width:0; align-items:flex-start; }
  .topbar .tb-left{ min-width:0; flex:1 1 auto; }
  .topbar .tb-left span:not(:first-child){ display:none; }
  .topbar .tb-left span{ display:block; white-space:normal; min-width:0; }
  .topbar .tb-social{ flex-basis:100%; justify-content:center; order:2; margin-top:6px; }
}

/* ===== Hero ===== */
.hero{
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 92px 0 84px; position:relative; overflow:hidden;
}
.hero::before{
  content:""; position:absolute; top:-120px; left:50%; width:900px; height:900px; transform:translateX(-50%);
  background: radial-gradient(circle, rgba(226,31,43,.16) 0%, rgba(226,31,43,0) 70%); pointer-events:none;
}
.hero .container{ position:relative; }
.hero-text .eyebrow{ color:var(--red); }
.hero-text h1{ text-transform:uppercase; color:#fff; letter-spacing:.01em; }
.hero-text p.lead{ font-size:1.18rem; color:#fff; margin-top:18px; }
.hero-text p.lead strong{ color:#ff8a8f; }
.hero-text > p:not(.lead){ color:#aab6cf; margin-top:14px; }
.hero-text-center{ max-width:640px; margin:0 auto; text-align:center; }
.hero-text-center .hero-actions{ justify-content:center; }
.hero-actions{ display:flex; gap:14px; margin-top:38px; flex-wrap:wrap; }
.btn-arrow{ width:18px; height:18px; fill:currentColor; margin-left:2px; transition: transform .2s ease; }
.btn-red:hover .btn-arrow{ transform:translateX(3px); }

.hero-stats{
  display:flex; align-items:center; justify-content:center; gap:40px; flex-wrap:wrap; max-width:560px; margin:44px auto 0;
  padding-top:34px; border-top:1px solid rgba(255,255,255,.14);
}
.hs-item{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.hs-divider{ width:1px; align-self:stretch; background: rgba(255,255,255,.18); min-height:48px; }
.hs-icon{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background: rgba(255,255,255,.1); margin-bottom:10px; }
.hs-icon svg{ width:20px; height:20px; fill: #ff8a8f; }
.hero-stats strong{ font-family: var(--ff-head); font-size:1.4rem; color: #fff; }
.hero-stats .hs-label{ color: #ff8a8f; text-transform:uppercase; font-size:.78rem; font-weight:700; letter-spacing:.04em; margin-bottom:4px; }

/* Numero verde pill nell'hero */
.hero-emergency-pill{
  display:inline-flex; align-items:center; gap:12px; background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.22); color:#fff; padding:10px 20px; border-radius:999px;
  transition: background .15s ease, border-color .15s ease;
}
.hero-emergency-pill:hover{ background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.hero-emergency-pill svg{ width:22px; height:22px; fill: var(--green); flex-shrink:0; }
.hero-emergency-pill small{ display:block; font-size:.68rem; text-transform:uppercase; letter-spacing:.05em; opacity:.8; font-weight:600; }
.hero-emergency-pill strong{ font-family: var(--ff-head); font-size:1.08rem; color:#fff; letter-spacing:.01em; }

/* Emergency / numero verde banner */
.emergency-banner{
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color:#fff; border-radius: var(--radius); margin-top:46px; padding:26px 32px;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  box-shadow: 0 14px 34px rgba(15,138,60,.25);
}
.emergency-banner .eb-left{ display:flex; align-items:center; gap:16px; cursor:pointer; border-radius: var(--radius-sm); transition: background .15s ease; }
.emergency-banner a.eb-left:hover{ background: rgba(255,255,255,.08); }
.emergency-banner .eb-left svg{ width:42px; height:42px; fill:#fff; flex-shrink:0; }
.emergency-banner .eb-label{ font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; opacity:.9; font-weight:700; }
.emergency-banner .eb-number{ font-family: var(--ff-head); font-size: clamp(1.6rem,3vw,2.2rem); font-weight:800; }
.emergency-banner .eb-sub{ font-size:.86rem; opacity:.9; margin-top:2px; }
.emergency-banner .btn{ flex-shrink:0; }

/* ===== Cards / grids ===== */
.grid{ display:grid; gap:28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-wrap{
  width:54px; height:54px; border-radius:14px; background: rgba(226,31,43,.09);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.card .icon-wrap svg{ width:28px; height:28px; fill: var(--red); }
.card h3{ margin-bottom:8px; }
.card p{ margin-bottom:0; font-size:.95rem; }
.card ul{ margin-top:10px; }
.card ul li{ font-size:.92rem; color: var(--text-muted); padding-left:20px; position:relative; margin-bottom:6px; }
.card ul li::before{ content:"✓"; position:absolute; left:0; color: var(--green); font-weight:700; }

/* Mezzi */
.mezzo-card img{ border-radius: var(--radius-sm); aspect-ratio: 16/10; object-fit:cover; margin-bottom:16px; }

/* Chi siamo */
.about-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap:52px; align-items:center; }
.about-grid img{ border-radius: var(--radius); box-shadow: var(--shadow); }
.values{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; margin-top:24px; }
.value-item{ display:flex; gap:12px; align-items:flex-start; }
.value-item svg{ width:22px; height:22px; fill: var(--red); flex-shrink:0; margin-top:3px; }
.value-item strong{ display:block; color: var(--navy); font-size:.95rem; }
.value-item span{ font-size:.86rem; color: var(--text-muted); }
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; } .values{ grid-template-columns: 1fr; } }

/* Timeline (diventa volontario) */
.timeline{ position:relative; max-width:760px; margin:0 auto; }
.timeline::before{ content:""; position:absolute; left:23px; top:6px; bottom:6px; width:3px; background: var(--border); }
.tl-step{ position:relative; padding-left:64px; margin-bottom:38px; }
.tl-step:last-child{ margin-bottom:0; }
.tl-num{
  position:absolute; left:0; top:0; width:48px; height:48px; border-radius:50%;
  background: var(--red); color:#fff; display:flex; align-items:center; justify-content:center;
  font-family: var(--ff-head); font-weight:700; font-size:1.1rem; box-shadow: 0 6px 16px rgba(226,31,43,.3);
}

/* Impegno obbligatorio (diventa volontario) */
.commitment-highlight{
  display:flex; align-items:center; gap:18px; max-width:560px; margin:0 auto; justify-content:center;
  background: linear-gradient(135deg, rgba(226,31,43,.08), rgba(226,31,43,.03)); border:1px solid rgba(226,31,43,.25);
  border-radius: var(--radius); padding:20px 28px;
}
.commitment-highlight .ch-icon{
  display:flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%;
  background: var(--red); flex-shrink:0; box-shadow: 0 6px 16px rgba(226,31,43,.3);
}
.commitment-highlight .ch-icon svg{ width:26px; height:26px; fill:#fff; }
.commitment-highlight .ch-text{ display:flex; flex-direction:column; gap:2px; }
.commitment-highlight .ch-tag{ color: var(--red); text-transform:uppercase; font-size:.78rem; font-weight:700; letter-spacing:.04em; }
.commitment-highlight strong{ font-family: var(--ff-head); font-size:1.3rem; color: var(--navy); }
@media (max-width:560px){ .commitment-highlight{ flex-direction:column; text-align:center; } }

/* 5x1000 section */
.fivexmille{
  background: var(--navy); color:#fff; border-radius: var(--radius); overflow:hidden;
  display:grid; grid-template-columns: 1fr 1fr; align-items:center;
}
.fivexmille .fx-text{ padding: 48px; }
.fivexmille .fx-text h2{ color:#fff; }
.fivexmille .fx-text p{ color:#c7d0e4; }
.fivexmille img{ height:100%; width:100%; object-fit:contain; max-height:560px; padding:24px; }
.cf-box{
  background: rgba(255,255,255,.08); border:1px dashed rgba(255,255,255,.35); border-radius: var(--radius-sm);
  padding:16px 20px; margin:20px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.cf-box strong{ font-family: var(--ff-head); font-size:1.3rem; letter-spacing:.03em; }
.copy-btn{
  background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.3); color:#fff; padding:8px 14px;
  border-radius:999px; font-size:.82rem; font-weight:700; cursor:pointer;
}
.copy-btn:hover{ background: rgba(255,255,255,.24); }
.cf-box.light{ background: var(--bg-soft); border: 1px dashed var(--border); }
.cf-box.light strong{ color: var(--navy); }
.copy-btn.light{ background: var(--navy); color:#fff; border-color: var(--navy); }
.copy-btn.light:hover{ background: var(--navy-dark); }
@media (max-width: 860px){ .fivexmille{ grid-template-columns: 1fr; } .fivexmille img{ max-height:320px; } }

/* Sponsor / amici grid */
.amico-card{ text-align:center; }
.amico-card .logo-frame{
  height:120px; display:flex; align-items:center; justify-content:center; background: var(--bg-soft);
  border-radius: var(--radius-sm); margin-bottom:16px; padding:14px;
}
.amico-card .logo-frame img{ max-height:90px; max-width:100%; object-fit:contain; }
.amico-card h3{ font-size:1.05rem; margin-bottom:4px; }
.amico-empty{
  text-align:center; padding:50px 20px; border:2px dashed var(--border); border-radius: var(--radius); color: var(--text-muted);
}

/* Gallery */
.gallery-filters{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:34px; }
.gallery-filters button{
  background: var(--bg-soft); border:1px solid var(--border); padding:9px 18px; border-radius:999px;
  font-weight:600; font-size:.88rem; cursor:pointer; color: var(--navy);
}
.gallery-filters button.active{ background: var(--navy); color:#fff; border-color: var(--navy); }
.gallery-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.gallery-grid figure{ margin:0; border-radius: var(--radius-sm); overflow:hidden; position:relative; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.gallery-grid figure:hover img{ transform: scale(1.06); }
.gallery-grid figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:12px 14px 14px; background: linear-gradient(0deg, rgba(12,27,56,.9) 40%, transparent);
  color:#fff; font-size:.82rem; font-weight:600;
}
.gallery-grid figcaption small{
  display:block; font-size:.76rem; font-weight:400; opacity:.85; margin-top:3px; line-height:1.4;
}
@media (max-width: 860px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns: 1fr; } }

/* Testimonials */
.testi-card{ background:#fff; }
.testi-stars{ color:#f5b301; letter-spacing:2px; margin-bottom:12px; font-size:1rem; }
.testi-quote{ font-style:italic; color: var(--text); }
.testi-author{ margin-top:16px; font-weight:700; color: var(--navy); font-size:.9rem; }

/* Social showcase */
.social-strip{ display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }
.social-strip a{
  display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--border);
  padding:14px 22px; border-radius:999px; font-weight:700; color: var(--navy); box-shadow: var(--shadow-sm);
}
.social-strip a:hover{ border-color: var(--red); color: var(--red); }
.social-strip svg{ width:22px; height:22px; fill: currentColor; }

/* CTA band */
.cta-band{
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color:#fff; border-radius: var(--radius);
  padding: 48px; text-align:center;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color: rgba(255,255,255,.9); max-width:600px; margin:0 auto 24px; }
.cta-band .btn-group{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Forms */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
.form-grid .full{ grid-column: 1 / -1; }
label{ display:block; font-weight:600; font-size:.88rem; color: var(--navy); margin-bottom:6px; }
input, textarea, select{
  width:100%; padding:13px 16px; border:1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--ff-body); font-size:.96rem; background: #fff; color: var(--text);
}
input:focus, textarea:focus, select:focus{ outline:2px solid var(--navy); outline-offset:1px; }
textarea{ resize: vertical; min-height:120px; }
@media (max-width: 640px){ .form-grid{ grid-template-columns: 1fr; } }

/* Area riservata */
.login-wrap{
  min-height: calc(100vh - 360px); display:flex; align-items:center; justify-content:center; padding: 60px 20px;
  background: var(--bg-soft);
}
.login-card{
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px 40px; max-width:420px; width:100%;
}
.login-card .icon-wrap{ margin:0 auto 18px; }
.login-card h1{ font-size:1.5rem; text-align:center; }
.login-card p.sub{ text-align:center; margin-bottom:28px; }
.login-msg{ font-size:.86rem; padding:12px 14px; border-radius: var(--radius-sm); margin-top:16px; display:none; }
.login-msg.show{ display:block; }
.login-msg.err{ background:#fdecee; color: var(--red-dark); }
.login-msg.ok{ background:#e9f7ee; color: var(--green-dark); }
.note-box{
  background:#fff8e6; border:1px solid #f0d99a; border-radius: var(--radius-sm); padding:14px 16px; font-size:.84rem; color:#7a5c00; margin-top:18px;
}

.dash-header{ background: var(--navy); color:#fff; padding:22px 0; }
.dash-header .container{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.dash-header .brand img{ height:40px; }
.tabs{ display:flex; gap:8px; border-bottom:1px solid var(--border); margin-bottom:30px; flex-wrap:wrap; }
.tab-btn{
  background:none; border:0; padding:14px 20px; font-weight:700; color: var(--text-muted); cursor:pointer;
  border-bottom:3px solid transparent; font-size:.95rem;
}
.tab-btn.active{ color: var(--navy); border-color: var(--red); }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }
.manage-list{ display:flex; flex-direction:column; gap:14px; }
.manage-item{
  display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--border); border-radius: var(--radius-sm);
  padding:14px 16px;
}
.manage-item img{ width:64px; height:64px; object-fit:cover; border-radius:8px; flex-shrink:0; background: var(--bg-soft); }
.manage-item .mi-info{ flex:1; min-width:0; }
.manage-item .mi-info strong{ display:block; color: var(--navy); }
.manage-item .mi-info span{ font-size:.84rem; color: var(--text-muted); }
.manage-item .mi-actions{ display:flex; gap:8px; }
.icon-btn{
  width:36px; height:36px; border-radius:8px; border:1px solid var(--border); background:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.icon-btn:hover{ background: var(--bg-soft); }
.icon-btn svg{ width:16px; height:16px; fill: var(--text-muted); }
.icon-btn.danger:hover svg{ fill: var(--red); }

/* Contact actions (contatti.html) */
.contact-actions{ display:flex; flex-direction:column; gap:14px; margin:26px 0; }
.contact-action{
  display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding:18px 22px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.contact-action:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-action .ca-icon{
  width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-action .ca-icon svg{ width:24px; height:24px; }
.contact-action.ca-email .ca-icon{ background: rgba(20,42,82,.08); }
.contact-action.ca-email .ca-icon svg{ fill: var(--navy); }
.contact-action.ca-whatsapp .ca-icon{ background: rgba(37,211,102,.12); }
.contact-action.ca-whatsapp .ca-icon svg{ fill: #25d366; }
.contact-action strong{ display:block; color: var(--navy); font-size:1.02rem; }
.contact-action span{ font-size:.88rem; color: var(--text-muted); }
.contact-social{ display:flex; gap:12px; margin-top:4px; }
.contact-social a{
  width:42px; height:42px; border-radius:50%; background: var(--bg-soft); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; transition: background .15s ease, transform .15s ease;
}
.contact-social a:hover{ background: var(--navy); transform: translateY(-2px); }
.contact-social svg{ width:20px; height:20px; fill: var(--navy); transition: fill .15s ease; }
.contact-social a:hover svg{ fill:#fff; }

/* Scroll reveal animations */
.reveal{ opacity:0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform:none; }
.grid .reveal:nth-child(2){ transition-delay:.08s; }
.grid .reveal:nth-child(3){ transition-delay:.16s; }
.grid .reveal:nth-child(4){ transition-delay:.24s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* Cookie banner */
.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:200; max-width:760px; margin:0 auto;
  background:#fff; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(12,27,56,.25);
  padding:22px 26px; display:flex; align-items:center; gap:22px; flex-wrap:wrap;
  transform: translateY(140%); transition: transform .4s ease;
}
.cookie-banner.show{ transform: translateY(0); }
.cookie-banner p{ margin:0; font-size:.88rem; color: var(--text-muted); flex:1; min-width:240px; }
.cookie-banner a{ color: var(--navy); font-weight:700; text-decoration:underline; }
.cookie-banner .cb-actions{ display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width:560px){
  .cookie-banner{ padding:18px; flex-direction:column; align-items:stretch; }
  .cookie-banner .cb-actions{ justify-content:stretch; }
  .cookie-banner .cb-actions .btn{ flex:1; }
}

/* Mappa con consenso cookie */
.maps-placeholder{
  background: var(--bg-soft); border:1px solid var(--border); border-radius: var(--radius);
  padding:50px 24px; text-align:center;
}
.maps-placeholder svg{ width:38px; height:38px; fill: var(--navy); margin-bottom:14px; }
.maps-placeholder p{ max-width:440px; margin:0 auto 18px; }

/* Pagine testuali (privacy/cookie policy) */
.legal-content h2{ margin-top:1.6em; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content ul{ list-style:disc; padding-left:1.3em; margin-bottom:1em; }
.legal-content ul li{ margin-bottom:.4em; color: var(--text-muted); }
.legal-content p{ max-width:760px; }
.legal-content strong{ color: var(--navy); }

.about-media{ min-width:0; }

/* Striscia foto che scorrono (chi-siamo): una foto alla volta, a piena larghezza */
.photo-marquee{
  overflow:hidden; border-radius: var(--radius); margin-top:20px;
  container-type: inline-size;
}
.photo-marquee-track{ display:flex; width:max-content; animation: ss-marquee 42s linear infinite; }
.photo-marquee:hover .photo-marquee-track{ animation-play-state: paused; }
.photo-marquee-track img{
  width:100cqw; height:260px; object-fit:cover; flex-shrink:0; box-shadow:none !important; border-radius:0;
}
@keyframes ss-marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){
  .photo-marquee-track{ animation:none; overflow-x:auto; scroll-snap-type:x mandatory; }
  .photo-marquee-track img{ scroll-snap-align:start; }
  .photo-marquee-track img[aria-hidden="true"]{ display:none; }
}
@media (max-width:860px){ .photo-marquee-track img{ height:320px; } }
@media (max-width:640px){ .photo-marquee-track img{ height:220px; } }

/* Founder callout (chi-siamo) */
.founder-card{
  display:flex; align-items:center; gap:14px; background: var(--bg-soft); border:1px solid var(--border);
  border-radius: var(--radius-sm); padding:14px 18px; margin:18px 0 22px;
}
.founder-avatar{
  width:46px; height:46px; border-radius:50%; background: var(--navy); color:#fff; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-family: var(--ff-head); font-weight:700; font-size:.95rem;
}
.founder-card strong{ display:block; color: var(--navy); font-size:1rem; }
.founder-card span{ font-size:.85rem; color: var(--text-muted); }

/* "Continua a leggere" (chi-siamo) */
.read-more summary{
  cursor:pointer; font-weight:700; color: var(--red); font-size:.95rem; margin:4px 0 14px; list-style:none;
}
.read-more summary::-webkit-details-marker{ display:none; }
.read-more summary::after{ content:" ▾"; }
.read-more[open] summary::after{ content:" ▴"; }
.read-more[open] summary{ margin-bottom:10px; }

/* Province badges (home) */
.province-badges{ display:flex; gap:12px; flex-wrap:wrap; margin:14px 0 0; }
.province-badge{
  display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--border);
  padding:10px 20px 10px 14px; border-radius:999px; font-family: var(--ff-head); font-weight:700;
  font-size:1.05rem; color: var(--navy); box-shadow: var(--shadow-sm);
}
.province-badge svg{ width:20px; height:20px; fill: var(--red); flex-shrink:0; }

/* Footer */
footer.site-footer{ background: var(--bg); color: var(--text-muted); padding-top:64px; border-top:1px solid var(--border); }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; }
.footer-grid h4{ color: var(--navy); font-size:1rem; margin-bottom:18px; }
.footer-grid p, .footer-grid a{ color: var(--text-muted); font-size:.92rem; }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid a:hover{ color: var(--red); }
.footer-logo img{ height:56px; margin-bottom:16px; }
.footer-social{ display:flex; gap:12px; margin-top:16px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; background: var(--navy); display:flex; align-items:center; justify-content:center;
}
.footer-social svg{ width:18px; height:18px; fill:#fff; }
.footer-social a:hover{ background: var(--red); }
.footer-bottom{
  border-top:1px solid var(--border); padding:20px 0; display:flex; justify-content:space-between;
  align-items:center; flex-wrap:wrap; gap:10px; font-size:.82rem; color: var(--text-muted);
}
.footer-bottom a{ color: var(--text-muted); }
.footer-bottom a:hover{ color: var(--red); }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero{
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color:#fff; padding: 56px 0;
  text-align:center;
}
.page-hero h1{ color:#fff; margin-bottom:10px; }
.page-hero p{ color:#c7d0e4; max-width:640px; margin:0 auto; }
.breadcrumb{ font-size:.85rem; color:#9fabc9; margin-bottom:14px; }
.breadcrumb a{ color:#c7d0e4; }

.badge-dot{ display:inline-block; width:8px; height:8px; border-radius:50%; background: var(--green); margin-right:6px; }

/* utility */
.mt-0{ margin-top:0 } .mb-0{ margin-bottom:0 }
.text-center{ text-align:center }
.small{ font-size:.85rem; color: var(--text-muted); }
