:root{
  --bg:#f2ede3;
  --paper:#ffffff;
  --ink:#171717;
  --muted:rgba(23,23,23,.68);
  --line:rgba(0,0,0,.10);
  --accent:#b08a4a;
  --shadow:0 14px 34px rgba(0,0,0,.08);
  --radius:18px;
}

*{box-sizing:border-box;margin:0;padding:0;}
body{font-family:system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--ink);}
.container{max-width:1200px;margin:0 auto;padding:20px;}

/* ================= NAVBAR (stile Laghetto) ================= */
.topnav{max-width:1200px;margin:16px auto 0;padding:0 20px;}
.topnav-inner{
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  backdrop-filter:blur(10px);
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  gap:10px;
}
.topnav-brand{
  font-weight:900;
  letter-spacing:.02em;
  padding:8px 12px;
  border-radius:999px;
  display:flex;
  gap:10px;
  align-items:center;
  white-space:nowrap;
  text-decoration:none;
  color:var(--ink);
  flex:0 0 auto;
}
.topnav-brand .dot{
  width:10px;height:10px;border-radius:999px;
  background:linear-gradient(180deg,#caa157 0%,var(--accent) 100%);
  box-shadow:0 0 0 4px rgba(176,138,74,.15);
}
.topnav-links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}
.navlink{
  text-decoration:none;
  color:var(--ink);
  font-weight:900;
  font-size:13px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid transparent;
  transition:.18s;
  white-space:nowrap;
}
.navlink:hover{
  transform:translateY(-1px);
  background:rgba(255,247,238,.9);
  border-color:rgba(176,138,74,.35);
}
.navlink.active{
  background:linear-gradient(180deg,#caa157 0%,var(--accent) 100%);
  color:#fff;
  border-color:rgba(176,138,74,.9);
}

/* ================= PAGE / LAYOUT (light) ================= */
.hero{
  margin-top:14px;
  background:linear-gradient(180deg,#fff 0%,#fff7ee 100%);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px 18px;
  box-shadow:var(--shadow);
}
.hero-grid{display:grid;grid-template-columns:1fr;gap:14px;align-items:center;}
.kicker{letter-spacing:.12em;text-transform:uppercase;font-size:12px;opacity:.75;margin:0 0 6px;}
.title{font-size:clamp(30px,4vw,46px);margin:0;line-height:1.05;}
.sub{margin:10px 0 0;max-width:70ch;color:var(--muted);line-height:1.55;font-size:15px;}

.pillrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(0,0,0,.14);
  background:#fff;font-weight:900;font-size:12px;
}

.btnrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 14px;border-radius:14px;
  border:1px solid rgba(0,0,0,.14);
  background:#fff;color:var(--ink);
  text-decoration:none;font-weight:900;font-size:14px;
  cursor:pointer;box-shadow:0 8px 18px rgba(0,0,0,.06);
  transition:.18s;
}
.btn:hover{transform:translateY(-1px);border-color:rgba(176,138,74,.55);box-shadow:0 12px 26px rgba(0,0,0,.09);}
.btn.primary{
  background:linear-gradient(180deg,#caa157 0%,var(--accent) 100%);
  border-color:rgba(176,138,74,.9);
  color:#fff;
}

.section{margin-top:14px;display:grid;grid-template-columns:1fr;gap:14px;align-items:start;}
.card{
  background:var(--paper);
  border:1px solid rgba(0,0,0,.12);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
.card h2{margin:0 0 10px;font-size:18px;}
.p{margin:0 0 10px;color:var(--muted);line-height:1.55;font-size:14.5px;}
.help{font-size:12.5px;color:rgba(23,23,23,.62);line-height:1.45;margin-top:8px;}

.grid-3{display:grid;grid-template-columns:1fr;gap:12px;}
.grid-3 .mini{
  border:1px solid rgba(0,0,0,.12);
  border-radius:16px;
  padding:14px;
  background:linear-gradient(180deg,#fff 0%,#fbf7f0 100%);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
.grid-3 .mini strong{display:block;margin-bottom:6px;}

/* ================= WHATSAPP ================= */
.wa-row{display:flex;gap:10px;flex-wrap:wrap;}
.wa-btn{
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;padding:10px 12px;border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background:linear-gradient(180deg,#effaf2 0%,#e6f7ea 100%);
  color:#0d4b1f;font-weight:900;text-decoration:none;
  box-shadow:0 8px 18px rgba(0,0,0,.06);transition:.18s;
}
.wa-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,0,0,.08);}

/* ================= BANNER SLIDER (foto) ================= */
.banner{
  margin-top:14px;
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.banner-stage{position:relative;aspect-ratio:16/6;min-height:220px;background:#f7f3ee;}
.banner-slide{display:none;position:absolute;inset:0;}
.banner-slide.is-active{display:block;}
.banner-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.banner-overlay{
  position:absolute;inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 55%);
  pointer-events:none;
}
.banner-caption{
  position:absolute;left:18px;bottom:16px;right:18px;
  color:#fff;font-weight:900;
  text-shadow:0 10px 22px rgba(0,0,0,.35);
}
.banner-caption small{display:block;font-weight:700;opacity:.9;margin-top:6px;max-width:70ch;}
.banner-dots{display:flex;gap:8px;justify-content:center;padding:12px;background:#fff;}
.banner-dot{width:8px;height:8px;border-radius:999px;background:rgba(0,0,0,.18);cursor:pointer;}
.banner-dot.is-active{background:rgba(176,138,74,.95);}

/* ================= FIDELITY SLIDER (no tagli) ================= */
.fidelity-box{border:1px solid rgba(0,0,0,.12);border-radius:var(--radius);padding:14px;background:#fff;}
.fidelity-slide{display:none;}
.fidelity-slide.is-active{display:block;}
.fidelity-slide img{
  width:100%;
  height:auto;
  display:block;
  margin:0 auto;
  max-height:460px;
  object-fit:contain;
}
.fidelity-dots{display:flex;gap:8px;justify-content:center;margin-top:10px;}
.fidelity-dot{width:8px;height:8px;border-radius:999px;background:rgba(0,0,0,.18);cursor:pointer;}
.fidelity-dot.is-active{background:rgba(176,138,74,.95);}

/* ================= HOME (COMPATTA + CARD INTERNE PIU GRANDI) ================= */
.home-title{font-size:36px;margin:22px 0 6px;font-weight:950;}
.home-subtitle{margin:0 0 16px;color:rgba(23,23,23,.62);font-size:14.5px;line-height:1.5;}

.home-row{
  max-width:980px;
  margin:0 auto 18px auto;
  border-radius:22px;
  border:1px solid rgba(0,0,0,.14);
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.10);
}
.home-row-inner{
  display:grid;
  grid-template-columns:410px 1fr 62px;
  gap:18px;
  align-items:center;
  padding:20px;
  min-height:168px;
}

.home-left{
  background:rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.14);
  border-radius:18px;
  padding:18px;
}
.home-left h3{font-size:20px;margin-bottom:6px;}
.home-left p{color:rgba(23,23,23,.72);line-height:1.45;font-size:14px;margin-bottom:10px;}
.home-tags{display:flex;gap:8px;flex-wrap:wrap;}
.home-tag{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.14);
  font-size:12px;
  font-weight:800;
  color:rgba(23,23,23,.84);
  background:rgba(255,255,255,.85);
}

/* LOGHI HOME: +12% */
.home-logo{display:flex;justify-content:center;align-items:center;}
.home-logo img{
  width:auto;height:auto;
  max-height:148px;
  max-width:410px;
  object-fit:contain;
  opacity:.95;
}
.home-row:nth-of-type(2) .home-logo img{
  max-height:139px;
}
.home-row:nth-of-type(3) .home-logo img{
  max-height:141px;
}

/* freccia */
.home-go{display:flex;justify-content:center;align-items:center;}
.home-go a{
  width:44px;height:44px;border-radius:999px;
  border:1px solid rgba(0,0,0,.16);
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  text-decoration:none;color:rgba(23,23,23,.95);font-weight:900;
  transition:.18s;
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.home-go a:hover{transform:translateY(-1px);border-color:rgba(176,138,74,.55);}

/* riga beach scura */
.is-dark-row{border-color:rgba(255,255,255,.10)!important;}
.is-dark-row .home-left{background:rgba(0,0,0,.35)!important;border-color:rgba(255,255,255,.12)!important;}
.is-dark-row .home-left h3{color:#fff!important;}
.is-dark-row .home-left p{color:rgba(255,255,255,.78)!important;}
.is-dark-row .home-tag{border-color:rgba(255,255,255,.18)!important;color:rgba(255,255,255,.85)!important;background:rgba(255,255,255,.06)!important;}
.is-dark-row .home-go a{border-color:rgba(255,255,255,.18)!important;background:rgba(255,255,255,.06)!important;color:#fff!important;}

footer{max-width:1200px;margin:0 auto;padding:24px 20px 40px;color:rgba(23,23,23,.55);font-size:12px;}

/* ================= RESPONSIVE ================= */
@media (max-width: 1020px){
  .home-row{max-width:100%;}
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr;}
  .section{grid-template-columns:1fr;}
  .grid-3{grid-template-columns:1fr;}
  .home-row-inner{
    grid-template-columns:1fr;
    gap:14px;
    min-height:auto;
  }
  .home-go{justify-content:flex-start;}
  .home-logo img{max-width:340px;max-height:157px;}
}

/* ================= THEME: GIPSY BEACH (solo beach.php) ================= */
/* Metti <body class="theme-beach"> in beach.php */
body.theme-beach{
  background:#0b0f14; /* NAVY come index dark */
}

/* ticker meteo/ora sotto navbar */
.ticker{
  max-width:1200px;
  margin:10px auto 0;
  padding:0 20px;
}
.ticker-inner{
  background:rgba(255,255,255,.75);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  display:flex;
  align-items:center;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}
.ticker-time{
  padding:10px 12px;
  font-weight:950;
  border-right:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.60);
  min-width:96px;
  text-align:center;
}
.ticker-text{
  padding:10px 12px;
  font-weight:900;
  color:rgba(23,23,23,.80);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* HERO dark (usato su beach.php) */
.hero.is-dark{
  background:linear-gradient(180deg,#0f1b2b 0%, #0b0f14 100%);
  border-color:rgba(255,255,255,.10);
}
.hero.is-dark .kicker{color:rgba(232,238,247,.70);}
.hero.is-dark .title{color:#e8eef7;}
.hero.is-dark .sub{color:rgba(232,238,247,.72);}
.hero.is-dark .pill{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.16);
  color:rgba(232,238,247,.92);
}
.hero.is-dark .btn{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.16);
  color:#e8eef7;
  box-shadow:0 10px 22px rgba(0,0,0,.25);
}
.hero.is-dark .btn:hover{border-color:rgba(176,138,74,.55);}
.hero.is-dark .btn.primary{
  background:linear-gradient(180deg,#caa157 0%,var(--accent) 100%);
  border-color:rgba(176,138,74,.9);
  color:#fff;
}

/* Card “hero image” (4 card grandi) */
.beach-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.beach-card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:#0b0f14;
  box-shadow:0 18px 40px rgba(0,0,0,.28);
  min-height:190px;
}
.beach-card img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.55;
  display:block;
}
.beach-card::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.05) 100%);
}
.beach-card .content{
  position:relative;
  padding:18px;
  z-index:1;
}
.beach-card .label{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(232,238,247,.70);
  font-weight:950;
}
.beach-card h3{
  margin-top:6px;
  font-size:22px;
  color:#e8eef7;
}
.beach-card p{
  margin-top:6px;
  color:rgba(232,238,247,.72);
  line-height:1.45;
  max-width:60ch;
}
.beach-card .actions{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap;}
.beach-card .actions .btn{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);color:#e8eef7;}
.beach-card .actions .btn.primary{background:linear-gradient(180deg,#caa157 0%,var(--accent) 100%);border-color:rgba(176,138,74,.9);color:#fff;}

/* Mobile: card più alte */
@media (max-width: 900px){
  .beach-card{min-height:210px;}
  .ticker-text{font-size:12.5px;}
}

/* ============================================================
   GIPSY BEACH — OVERRIDE MINIMO (solo background + componenti beach)
   NON TOCCA GIPSY / LAGHETTO
   ============================================================ */

/* 1) SOLO background pagina navy (il resto invariato) */
body.beach{
  background:#0b0f14;
}

/* ticker pulito */
.ticker{
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.14);
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}
.ticker-time{
  font-weight:950;
  padding:6px 10px;
  border-radius:12px;
  background:rgba(0,0,0,.06);
  border:1px solid rgba(0,0,0,.12);
  font-variant-numeric:tabular-nums;
}
.ticker-text{
  font-weight:900;
  color:rgba(23,23,23,.78);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* hero beach dark (coerente con home row dark) */
.beach-hero{
  background:linear-gradient(180deg,#0b2236 0%,#071a2a 100%);
  border-color:rgba(255,255,255,.10);
}
.beach-hero .kicker,
.beach-hero .sub{color:rgba(232,238,247,.72);}
.beach-hero .title{color:#e8eef7;}
.pill.pill-dark{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
  color:rgba(232,238,247,.92);
}

/* griglia card beach */
.beach-gridcards{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.beach-card{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 40px rgba(0,0,0,.22);
  text-decoration:none;
  min-height:170px;
  background:linear-gradient(180deg,#0b2236 0%,#071a2a 100%);
}
.beach-card-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:.35; /* se manca immagine resta bello uguale */
}
.beach-card-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.0) 70%);
}
.beach-card-content{
  position:relative;
  z-index:2;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:6px;
  justify-content:flex-end;
  height:100%;
}
.beach-card-title{
  font-size:22px;
  font-weight:950;
  color:#e8eef7;
}
.beach-card-sub{
  font-weight:800;
  color:rgba(232,238,247,.72);
}

/* responsive beach cards */
@media (min-width: 900px){
  .beach-gridcards{grid-template-columns:1fr 1fr;}
  .beach-card{min-height:220px;}
}
/* ============================================================
   HOME MOBILE FIX LEGGERO
   Aggiunta sicura sopra la tua base attuale
   ============================================================ */
@media (max-width: 900px){

  .topnav{
    margin:12px auto 0;
    padding:0 16px;
  }

  .topnav-inner{
    padding:8px 10px;
    gap:8px;
  }

  .topnav-brand{
    padding:7px 10px;
    font-size:14px;
    gap:8px;
  }

  .topnav-links{
    gap:6px;
  }

  .navlink{
    font-size:12px;
    padding:7px 10px;
  }

  .home-title{
    font-size:30px;
    margin:18px 0 6px;
  }

  .home-subtitle{
    font-size:14px;
    margin:0 0 14px;
  }

  .home-row{
    margin:0 auto 14px auto;
    border-radius:20px;
  }

  .home-row-inner{
    grid-template-columns:1fr;
    gap:10px;
    padding:15px;
    min-height:auto;
  }

  .home-left{
    padding:15px;
    border-radius:16px;
  }

  .home-left h3{
    font-size:18px;
    margin-bottom:5px;
  }

  .home-left p{
    font-size:13.2px;
    line-height:1.38;
    margin-bottom:8px;
  }

  .home-tag{
    padding:6px 9px;
    font-size:11px;
  }

  /* loghi un po' più grandi */
  .home-logo img{
    max-width:360px;
    max-height:150px;
  }

  .home-row:nth-of-type(2) .home-logo img{
    max-height:145px;
  }

  .home-row:nth-of-type(3) .home-logo img{
    max-height:147px;
  }

  .home-go{
    justify-content:flex-start;
  }

  .home-go a{
    width:40px;
    height:40px;
  }
}

@media (max-width: 640px){

  .topnav{
    padding:0 14px;
  }

  .topnav-inner{
    padding:8px 9px;
  }

  .topnav-brand{
    font-size:13px;
    padding:7px 9px;
  }

  .navlink{
    font-size:11px;
    padding:7px 9px;
  }

  .container{
    padding:16px;
  }

  .home-title{
    font-size:26px;
  }

  .home-subtitle{
    font-size:13.5px;
  }

  .home-row{
    margin-bottom:12px;
    border-radius:18px;
  }

  .home-row-inner{
    padding:13px;
    gap:9px;
  }

  .home-left{
    padding:13px;
    border-radius:15px;
  }

  .home-left h3{
    font-size:17px;
  }

  .home-left p{
    font-size:12.8px;
    line-height:1.34;
  }

  .home-tag{
    padding:5px 8px;
    font-size:10.8px;
  }

  .home-logo img{
    max-width:325px;
    max-height:136px;
  }

  .home-row:nth-of-type(2) .home-logo img{
    max-height:132px;
  }

  .home-row:nth-of-type(3) .home-logo img{
    max-height:134px;
  }

  .home-go a{
    width:38px;
    height:38px;
  }
}
/* ============================================================
   FIX HOME ROW GIPSY BEACH
   Ripristina sfondo dark della card Beach su desktop e mobile
   ============================================================ */

.is-dark-row{
  background:linear-gradient(180deg,#10253b 0%, #0b1c2c 100%) !important;
  border-color:rgba(255,255,255,.10) !important;
}

.is-dark-row .home-row-inner{
  background:transparent !important;
}

.is-dark-row .home-logo{
  background:transparent !important;
}

.is-dark-row .home-logo img{
  opacity:1 !important;
}

.is-dark-row .home-go a{
  border-color:rgba(255,255,255,.18) !important;
  background:rgba(255,255,255,.06) !important;
  color:#fff !important;
}

/* anche su mobile resta scura */
@media (max-width: 900px){
  .is-dark-row{
    background:linear-gradient(180deg,#10253b 0%, #0b1c2c 100%) !important;
  }

  .is-dark-row .home-left{
    background:rgba(0,0,0,.28) !important;
    border-color:rgba(255,255,255,.12) !important;
  }

  .is-dark-row .home-left h3{
    color:#fff !important;
  }

  .is-dark-row .home-left p{
    color:rgba(255,255,255,.80) !important;
  }

  .is-dark-row .home-tag{
    border-color:rgba(255,255,255,.18) !important;
    color:rgba(255,255,255,.88) !important;
    background:rgba(255,255,255,.08) !important;
  }
}
/* ================= LAGHETTO ROW - leggermente più scura ================= */

.home-row:nth-of-type(3){
  background:linear-gradient(180deg,#e4d6bc 0%, #d9c9ab 100%);
  border-color:rgba(0,0,0,.18);
}

.home-row:nth-of-type(3) .home-left{
  background:rgba(0,0,0,.05);
  border-color:rgba(0,0,0,.16);
}

.home-row:nth-of-type(3) .home-tag{
  background:rgba(255,255,255,.90);
  border-color:rgba(0,0,0,.18);
}
/* ===== FOOTER BEACH ===== */

.footer-beach{
  max-width:1200px;
  margin:0 auto;
  padding:24px 20px 40px;
  color:rgba(255,255,255,.75);
  font-size:12px;
}