:root{
  --brand-blue:#5CA3D6;
  --brand-gray:#6F6F6F;

  --text:#1f2a37;
  --muted:#6b7280;

  --bg:#ffffff;
  --bg-alt:#F4F6F8;

  --card:#ffffff;
  --border:rgba(31,42,55,.10);

  --shadow:0 12px 30px rgba(16,24,40,.10);
  --shadow-soft:0 10px 26px rgba(16,24,40,.08);

  --radius:16px;
  --max:1120px;

  --ease:cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* Accessibility helper */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ===== HEADER PREMIUM ===== */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  transition:all .35s ease;
}

.header::after{
  content:"";
  display:block;
  height:2px;
  background:linear-gradient(to right, transparent, var(--brand-blue), transparent);
  opacity:.55;
}

.header.scrolled{
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:100px;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
}
.brand img{
  height:80px;
  width:auto;
  display:block;
}

/* Desktop nav */
.nav{
  display:flex;
  gap:28px;
  align-items:center;
}
.nav a{
  font-family:"Montserrat", sans-serif;
  font-weight:500;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--brand-gray);
  position:relative;
  padding:6px 0;
  transition:color .2s ease;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:var(--brand-blue);
  transition:width .25s ease;
}
.nav a:hover{color:var(--text)}
.nav a:hover::after{width:100%}

/* Header CTA link */
.header-cta-link{
  font-family:"Montserrat", sans-serif;
  font-size:13px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--brand-blue);
  border:1px solid rgba(92,163,214,.4);
  padding:10px 16px;
  border-radius:999px;
  transition:all .25s ease;
  white-space:nowrap;
}
.header-cta-link:hover{
  background:var(--brand-blue);
  color:#fff;
  box-shadow:0 8px 20px rgba(92,163,214,.3);
}

/* Burger */
.burger{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  padding:0;
}
.burger span{
  display:block;
  width:18px; height:2px;
  background:var(--text);
  margin:4px auto;
  border-radius:2px;
}

/* Mobile nav */
.mobile-nav{
  border-top:1px solid var(--border);
  padding:10px 0 16px;
  background:rgba(255,255,255,.97);
}
.m-link{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  color:var(--brand-gray);
  transition:background .15s var(--ease), color .15s var(--ease);
}
.m-link:hover{background:rgba(92,163,214,.10); color:var(--text)}
.mobile-cta{
  display:flex; gap:10px;
  padding:10px 14px 0;
}
.mobile-cta .btn{width:100%}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  font-family:"Montserrat", sans-serif;
  font-weight:600;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:var(--brand-blue);
  color:#fff;
  box-shadow:0 10px 20px rgba(92,163,214,.25);
}
.btn-primary:hover{box-shadow:0 14px 26px rgba(92,163,214,.30)}
.btn-outline{
  background:transparent;
  border-color:rgba(92,163,214,.55);
  color:var(--text);
}
.btn-outline:hover{background:rgba(92,163,214,.10)}
.btn-outline-hero{
  color:#fff;
  border-color:rgba(255,255,255,.55);
  background:rgba(255,255,255,.08);
}
.btn-outline-hero:hover{background:rgba(255,255,255,.14)}

/* Hero */
.hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid var(--border);
}
.hero-bg{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(15,23,42,.62) 0%, rgba(15,23,42,.30) 55%, rgba(15,23,42,.18) 100%),
    url("../assets/img/jesolo.jpg");
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
}
.hero-content{position:relative; padding:54px 20px}
.hero-card{max-width:780px; color:#fff}
.hero-card h1{
  font-family:"Montserrat", sans-serif;
  font-weight:700;
  font-size:clamp(34px, 4vw, 54px);
  line-height:1.06;
  margin:0 0 14px;
  letter-spacing:-.3px;
}
.hero-sub{
  margin:0 0 26px;
  font-size:clamp(16px, 1.4vw, 18px);
  color:rgba(255,255,255,.92);
  max-width:60ch;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.hero-meta{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.chip{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.92);
  font-family:"Montserrat", sans-serif;
  font-weight:600;
  font-size:12px;
}

.scroll-indicator{
  position:absolute; left:50%; bottom:18px; transform:translateX(-50%);
  width:34px; height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  display:flex; align-items:center; justify-content:center;
  opacity:.85;
  transition:transform .2s var(--ease), opacity .2s var(--ease);
}
.scroll-indicator:hover{transform:translateX(-50%) translateY(-2px); opacity:1}
.scroll-indicator span{
  display:block;
  width:8px; height:8px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(45deg);
  margin-top:-2px;
}

/* Sections */
.section{padding:88px 0}
.section-alt{background:var(--bg-alt)}
.section-head{text-align:center; margin-bottom:36px}

.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-family:"Montserrat", sans-serif;
  font-weight:600;
  color:var(--brand-blue);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  margin:0 0 10px;
}
.kicker::before, .kicker::after{
  content:"";
  height:2px; width:34px;
  background:rgba(92,163,214,.55);
  border-radius:999px;
}
.kicker-left{justify-content:flex-start}
.kicker-left::after{display:none}

h2{
  font-family:"Montserrat", sans-serif;
  font-weight:700;
  font-size:clamp(26px, 2.2vw, 36px);
  line-height:1.2;
  margin:0 0 10px;
}

.lead{
  margin:0 auto;
  max-width:100%;
  color:var(--muted);
  font-size:16px;
}
.lead-left{margin:0; text-align:left; max-width:70ch}

.muted{color:var(--muted)}
.small{color:var(--muted); font-size:14px; margin:10px 0 12px}
.link{color:var(--brand-blue); text-decoration:underline}

/* Grids */
.grid{display:grid; gap:22px}
.grid-3{grid-template-columns:repeat(3, 1fr)}
.grid-2{grid-template-columns:repeat(2, 1fr); align-items:start}

@media (max-width: 980px){
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
}

/* Cards */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:transform .18s var(--ease), box-shadow .18s var(--ease);
}
.card:hover{transform:translateY(-2px); box-shadow:0 16px 44px rgba(16,24,40,.14)}
.card img{width:100%; aspect-ratio:4/3; object-fit:cover}
.card-body{padding:18px 18px 16px}
.card-body h3{
  font-family:"Montserrat", sans-serif;
  margin:8px 0 4px;
  font-size:18px;
  font-weight:700;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(92,163,214,.12);
  color:var(--text);
  border:1px solid rgba(92,163,214,.25);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-family:"Montserrat", sans-serif;
  font-weight:600;
}

/* Services */
.services{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:26px;
}
@media (max-width: 980px){
  .services{grid-template-columns:1fr}
}
.service{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px 18px 16px;
  box-shadow:var(--shadow-soft);
  transition:transform .18s var(--ease), box-shadow .18s var(--ease);
  min-height:140px;
}
.service:hover{transform:translateY(-2px); box-shadow:0 16px 40px rgba(16,24,40,.12)}
.service-top{display:flex; align-items:center; gap:12px; margin-bottom:10px}
.num{
  width:34px; height:34px;
  border-radius:10px;
  background:rgba(92,163,214,.14);
  border:1px solid rgba(92,163,214,.25);
  display:flex; align-items:center; justify-content:center;
  font-family:"Montserrat", sans-serif;
  font-weight:700;
  color:var(--brand-blue);
}
.service h3{
  margin:0;
  font-family:"Montserrat", sans-serif;
  font-size:16px;
  font-weight:700;
}
.service p{margin:0; color:var(--muted); font-size:14px}

/* Pills */
.pills{display:grid; gap:10px; margin-top:14px}
.pill{
  display:flex;
  gap:10px;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 14px;
  box-shadow:0 10px 22px rgba(16,24,40,.07);
}
.dot{
  width:10px; height:10px; margin-top:7px;
  border-radius:999px;
  background:var(--brand-blue);
  box-shadow:0 0 0 6px rgba(92,163,214,.18);
  flex:0 0 auto;
}

/* Map */
.map-frame{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  min-height:360px;
  background:#fff;
}

/* Contacts */
.contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  margin-top:26px;
}

@media (max-width: 980px){
  .contact-grid{grid-template-columns:1fr}
}

.contact-card{
  background:#fff;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  padding:22px;
}
.contact-card h3{
  font-family:"Montserrat", sans-serif;
  font-size:16px;
  margin:0 0 12px;
}
.contact-row{
  display:flex; gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(31,42,55,.08);
  color:var(--muted);
  font-size:14px;
}
.contact-row:last-child{border-bottom:0}
.icon{
  width:34px; height:34px;
  border-radius:12px;
  background:rgba(92,163,214,.14);
  border:1px solid rgba(92,163,214,.25);
  display:flex; align-items:center; justify-content:center;
  color:var(--brand-blue);
  font-weight:700;
  flex:0 0 auto;
}
.contact-actions{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}

/* Contact variant (map on right) */
.contact-grid-map{
  align-items:stretch;
}
.contact-grid-map .map-frame{
  min-height:420px;
}

/* ===== ORARI ===== */
.orari{
  margin-top:15px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.orario-row{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size:14px;
  padding:6px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.orario-row span:first-child{
  font-weight:600;
  color:var(--text);
}
.orario-row span{
  color:var(--muted);
}
.orari-note{
  margin-top:12px;
  font-size:13px;
  color:var(--muted);
  font-style:italic;
}

@media (max-width: 600px){
  .orario-row{
    grid-template-columns: 1fr;
    gap:2px;
  }
}

/* Privacy panel */
.panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-soft);
}

/* Footer */
.footer{
  background:#0f172a;
  color:rgba(255,255,255,.86);
  padding:34px 0;
}
.footer-inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.footer-title{
  font-family:"Montserrat", sans-serif;
  font-weight:700;
  letter-spacing:.06em;
  color:#fff;
  margin:0 0 10px;
}
.footer-text{margin:0; color:rgba(255,255,255,.72); font-size:13px}
.footer-text + .footer-text{margin-top:10px}
.footer-links{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end;
}
.footer-links a{color:rgba(255,255,255,.78); font-size:13px}
.footer-links a:hover{color:#fff}

@media (max-width: 980px){
  .footer-inner{grid-template-columns:1fr}
  .footer-links{justify-content:flex-start}
}

/* Reveal animations */
.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .55s var(--ease), transform .55s var(--ease);
  will-change:opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal{transition:none}
  .btn, .card, .service, .scroll-indicator{transition:none}
}

/* Responsive header */
@media (max-width: 980px){
  .header-inner{height:88px}
  .brand img{height:60px}
  .nav, .header-cta-link{display:none}
  .burger{display:inline-block}
  .hero{min-height:72vh}
  .hero-content{padding:44px 20px}
  .section{padding:72px 0}
}

/* Privacy documents */
.privacy-panel{
  max-width:720px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:var(--shadow-soft);
}
.privacy-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.privacy-actions .btn{
  min-width:210px;
}

@media (max-width: 600px){
  .privacy-panel{padding:20px}
  .privacy-actions{flex-direction:column}
  .privacy-actions .btn{width:100%; min-width:0}
}

/* Privacy buttons */

.privacy-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:28px;
}

.privacy-actions .btn{
  min-width:230px;
  justify-content:center;
}

/* Mobile */

@media (max-width: 768px){

  .privacy-actions{
    flex-direction:column;
    gap:14px;
  }

  .privacy-actions .btn{
    width:100%;
    max-width:320px;
  }

}

/* COOKIE BANNER */

.cookie-banner{
  position:fixed;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:9999;
}

.cookie-inner{
  background:rgba(15,23,42,.96);
  color:#fff;
  border-radius:18px;
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
}

.cookie-inner p{
  margin:0;
  font-size:14px;
  line-height:1.5;
  color:rgba(255,255,255,.92);
}

.cookie-inner a{
  color:#fff;
  text-decoration:underline;
}

.cookie-inner .btn{
  flex-shrink:0;
}

/* Mobile */

@media (max-width: 768px){

  .cookie-banner{
    left:14px;
    right:14px;
    bottom:14px;
  }

  .cookie-inner{
    flex-direction:column;
    align-items:stretch;
    text-align:center;
  }

  .cookie-inner .btn{
    width:100%;
  }

}