:root {
  --bg: #ffffff;     /* sfondo di base chiaro */
  --fg: #000000;     /* colore principale del testo (nero) */
  --muted: #000000;  /* testo secondario (grigio scuro) */
  --brand: #7bc5b7;  /* colore accento */
  --card: #f2f2f2;   /* sfondo elementi come box */
  --accent: #000000; /* testi decorativi neri */
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--fg);
  background: url('sfondo.png') 
              no-repeat center center fixed;
  background-size: cover;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
header {
  position: fixed;            /* resta sempre visibile */
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11,27,40,.9); /* leggermente più opaco per leggibilità */
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  z-index: 9999;              /* resta sopra tutti gli altri elementi */
  box-shadow: 0 4px 20px rgba(0,0,0,0.25); /* effetto ombra elegante */
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .08em; }
.brand-badge {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #49a59a);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(123,197,183,.35);
}
.brand-badge svg { width: 20px; height: 20px; fill: #0e2334; }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 12px;
  background: var(--brand); color: #0e2334; font-weight: 700;
  box-shadow: 0 10px 30px rgba(123,197,183,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(123,197,183,.45); }

.hero { padding: 80px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.kicker { font-size: 12px; letter-spacing: .08em; background: rgba(214,245,238,.1); border: 1px solid rgba(214,245,238,.25); padding: 6px 12px; border-radius: 999px; color: var(--accent); }
h1 { font-size: clamp(36px,5vw,56px); line-height: 1.05; margin: 16px 0; }
.lead { font-size: clamp(16px,2vw,20px); color: var(--muted); max-width: 52ch; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { padding: 8px 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; font-size: 12px; color: var(--accent); }

.slider { position: relative; border-radius: 18px; overflow: hidden; height: 320px; }
.slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
}
.slide.active { opacity: 1; }

footer { padding: 40px 0; color: var(--muted); border-top: 1px solid rgba(255,255,255,.06); text-align: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Tutti i testi neri e in grassetto */
body, h1, h2, h3, h4, h5, h6, p, span, a, li, label, input, textarea, button {
  color: #000 !important;
  font-weight: 700 !important;
}

.form-section {
  padding: 60px 0;
  background: rgba(123, 197, 183, 0.85); /* verde acqua brillante */
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,0.1);
}


.form-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #000;
}

.form-section .lead {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
  color: #000;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

label {
  font-weight: 700;
  color: #000;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.2);
  font-size: 15px;
  color: #000;
  background: #fff;
}

textarea {
  min-height: 120px;
}

.submit {
  background: var(--brand);
 border: 2px solid #000; /* ✅ Bordino nero */
  color: #000;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

h1, h2, h3, h4, h5, h6, p, span, label {
  text-shadow:
    1px 1px 2px rgba(255,255,255,0.6),
    -1px -1px 2px rgba(255,255,255,0.6);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}

.badge {
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  background: rgba(123, 197, 183, 0.55); /* verde acqua semi-trasparente */
  border: 2px solid rgba(123, 197, 183, 0.8);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.badge:hover {
  transform: translateY(-4px);
  background: rgba(123, 197, 183, 0.85);
  box-shadow: 0 6px 25px rgba(123, 197, 183, 0.5);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(240,180,100,0.85), rgba(255,140,80,0.85)); /* sfumatura caldo dorato-arancio */
  border-bottom: 1px solid rgba(255, 140, 80, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Logo e testo brand */
.brand span {
  color: #2a1a00; /* marrone scuro elegante per contrasto */
  font-weight: 800;
}

/* Icona */
.brand-badge svg {
  fill: #2a1a00;
}

/* Pulsante */
.cta {
  background: #757665;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}
.cta:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.hero-img.slider {
border: 4px solid rgba(170,120,50,0.95);
  box-shadow: 0 0 12px rgba(190,140,60,0.6),
  0 8px 30px rgba(0,0,0,0.35);
}

  /* ✅ Cornice / bordo */
  border: 4px solid rgba(255,255,255,0.65); /* puoi cambiare colore */

  /* ✅ Effetto vetro per eleganza */
  backdrop-filter: blur(6px);

  /* ✅ Ombra per farla emergere */
  box-shadow: 0 8px 35px rgba(0,0,0,0.35);

  /* Spazio attorno (se serve separarlo) */
  margin-top: 20px;
}

html {
  scroll-behavior: smooth;
}

.kicker {
  text-shadow: 0 0 6px rgba(240,180,100,0.8);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;

  color: #000; /* testo evidente */
  background: rgba(255, 255, 255, 0.6); /* leggero fondo traslucido */

  border: 2px solid rgba(0, 0, 0, 0.85); /* ✅ bordino nero deciso */
  border-radius: 999px; /* pillola elegante */

  padding: 8px 14px; /* più presenza */
  margin-bottom: 10px;

  box-shadow: 0 0 12px rgba(0,0,0,0.15); /* profondità soft */
  backdrop-filter: blur(6px); /* eff effetto vetro premium */
}

h1 {
  font-size: clamp(50px, 7vw, 85px);
  font-weight: 900;
  line-height: 1.05;
  color: #000; /* testo ben visibile */
  margin-bottom: 22px;
   /* ✅ Contorno più largo */
  -webkit-text-stroke: 1.2px rgba(255,255,255,0.6); /* contorno più morbido */
  text-shadow:

  text-shadow:
    0 0 8px rgba(255,255,255,0.7),   /* alone chiaro diffuso */
    0 0 18px rgba(0,0,0,0.2);       /* profondità */
}
.lead {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: #111;

  max-width: 60ch;
  margin-top: 10px;

  text-shadow:
    0 0 6px rgba(255,255,255,0.5),
    0 0 14px rgba(0,0,0,0.2);
}

.hero-grid {
  padding: 50px 60px; /* aumenta lo spazio interno orizzontale */
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  border-radius: 22px;
  box-shadow: 0 8px 35px rgba(0,0,0,0.25);
  max-width: 1200px; /* ✅ più larghezza del blocco */
  margin: 0 auto; /* centra il rettangolo */
}

.acquisto-section {
	width: 520px; /* (possiamo aumentare o ridurre dopo) */
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Titolo centrale */
.acquisto-top h3 {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  padding: 12px 24px;
  background: rgba(255,255,255,0.5);
  border: 2px solid rgba(170,120,50,0.95); /* oro scuro elegante */
  border-radius: 14px;
  text-align: center;
  backdrop-filter: blur(8px);
  margin-bottom: 25px;
}

/* Contenitore dei 2 riquadri */
.acquisto-boxes {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

/* Card */
.acquisto-card {
  width: 320px;
  width: 48%; /* ✅ due card affiancate perfette */
  padding: 24px;
  background: rgba(255,255,255,0.35);
  border: 3px solid rgba(170,120,50,0.95);
  border-radius: 18px;
  box-shadow:
    0 0 14px rgba(170,120,50,0.45),
    0 8px 35px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  text-align: center;
}

/* Titolo card */
.acquisto-card h4 {
  font-size: 20px;
  font-weight: 800;
  color: #000;
  margin-bottom: 12px;
}

/* Testo */
.acquisto-card p {
  font-size: 15px;
  color: #111;
  line-height: 1.4;
}
/* DESKTOP - SOLO DESKTOP */
@media (min-width: 901px) {
  .acquisto-wrap {
    grid-column: 2 / 3;
    display: flex;
    justify-content: flex-end;
    margin-top: -300px;
    position: relative;
    z-index: 2;
  }
}
.form-and-map {
  display: grid;
  grid-template-columns: 1fr 400px; /* form largo | mappa più piccola */
  gap: 40px;
  align-items: flex-start;
}

.form-box {
  width: 100%;
}

.map-box {
  width: 100%;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;

  background: rgba(255,255,255,0.35);
  border: 3px solid rgba(170,120,50,0.95);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 14px rgba(170,120,50,0.45),
    0 8px 35px rgba(0,0,0,0.25);
}

/* Mobile: mappa sotto */
@media(max-width: 900px) {
  .form-and-map {
    grid-template-columns: 1fr;
  }
  .map-box {
    height: 240px;
  }
}

.social-footer {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1877f2;
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid #0f4fb3;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.fb-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  transition: transform .25s ease;
}

.fb-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.fb-btn:hover svg {
  transform: scale(1.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Icona Facebook piccola in header */
.fb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid rgba(170,120,50,0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.fb-icon svg {
  width: 20px;
  height: 20px;
  fill: rgba(170,120,50,0.95);
}

.fb-icon:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 8px 22px rgba(170,120,50,0.55);
}

.highlight-banner {
  margin-top: 30px;
  margin-bottom: 50px;
  padding: 20px 40px;
  background: rgba(255, 200, 140, 0.28);
  border: 3px solid rgba(140, 85, 20, 0.85); /* ✅ dorato più definito */
  border-radius: 18px;
  backdrop-filter: blur(6px);
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.30);
}

.highlight-banner p {
  font-size: 22px;
  font-weight: 700;
  color: #2a1a00; /* ✅ marrone caldo elegante */
  letter-spacing: .5px;
  text-shadow: 0 2px 3px rgba(255,230,190,0.6); /* ✅ bagliore caldo */
}

/* MOBILE - FINALMENTE SI SGANCIA */
@media (max-width: 900px) {
  .acquisto-wrap {
    grid-column: auto !important;
    margin-top: 20px !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

/* La hero deve essere compatta */
  .hero-grid {
    padding: 20px !important;
    margin: 0 !important;
  }

  /* La sezione sopra le modalità di acquisto */
  .acquisto-section {
    width: 100% !important;
    margin-top: 0 !important;
  }

  .acquisto-top h3 {
    font-size: 20px !important;
    padding: 12px !important;
    margin-bottom: 20px !important;
  }

  /* Le 2 card sotto */
  .acquisto-boxes {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .acquisto-card {
    width: 100% !important;
  }
}