/* ==========================================================================
   Riva dee Cioppe — foglio di stile unico
   Valori ricavati dal kit Elementor (post-6375) e dai CSS delle pagine.
   Breakpoint come l'originale: tablet <= 1024px, mobile <= 767px.
   ========================================================================== */

/* ---------- Font locali (variabili, sottoinsieme latin) ---------- */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/eb-garamond-latin.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/eb-garamond-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/karla-latin.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/karla-italic-latin.woff2") format("woff2"); }

/* ---------- Variabili ---------- */
:root {
  /* colori */
  --c-green: #345C59;      /* titoli, footer */
  --c-green-dark: #203533; /* sfondo menu */
  --c-text: #586B6A;       /* testo */
  --c-text-dark: #3F5553;
  --c-gold: #BB923A;       /* link, bottoni */
  --c-yellow: #E9C475;     /* hover, accenti */
  --c-orange: #DA7B4A;
  --c-bg: #F9F6F5;         /* sfondo pagina */
  --c-grey: #E1E1DD;       /* barra finale footer */
  --c-grey-rect: #E1E2DD;  /* riquadro decorativo */
  --c-white: #FFFFFF;
  --c-black: #000000;

  /* font */
  --f-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --f-sans: "Karla", Arial, Helvetica, sans-serif;

  /* titoli (desktop) */
  --h1-size: 90px; --h1-lh: 80px;
  --h2-size: 60px; --h2-lh: 60px;
  --h3-size: 42px; --h3-lh: 40px;
  --h4-size: 30px; --h4-lh: 34px;

  /* layout */
  --container: 1140px;
  --gap: 20px;           /* spaziatura widget Elementor */
  --radius: 0;           /* nessun angolo arrotondato nel sito */

  /* animazioni */
  --anim-duration: 1.25s;
  --anim-duration-slow: 2s;
}
@media (max-width: 1024px) {
  :root { --h1-size: 72px; --container: 1024px; }
}
@media (max-width: 767px) {
  :root { --h1-size: 56px; --h2-size: 48px; --h3-size: 36px; --h4-size: 28px; --container: 767px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 20px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-gold); text-decoration: none; font-size: 18px; line-height: 28px; }
a:hover { color: var(--c-gold); }
p { margin: 0 0 0.9rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--c-green); font-weight: 400; }
h1, h2, h3 { font-family: var(--f-serif); }
h1 { font-size: var(--h1-size); line-height: var(--h1-lh); letter-spacing: -2px; }
h2 { font-size: var(--h2-size); line-height: var(--h2-lh); letter-spacing: -2px; }
h3 { font-size: var(--h3-size); line-height: var(--h3-lh); letter-spacing: -1px; }
h4, h5, h6 { font-family: var(--f-sans); font-weight: 700; letter-spacing: -1px; }
h4 { font-size: var(--h4-size); line-height: var(--h4-lh); }
h5 { font-size: 24px; line-height: 30px; }
h6 { font-size: 18px; letter-spacing: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--c-green); color: var(--c-white); padding: 8px 16px; }
.skip-link:focus { top: 16px; }

/* ---------- Bottone (link con freccia e sottolineatura) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 20px 0 10px;
  font-family: var(--f-sans); font-size: 20px; font-weight: 700; line-height: 28px; letter-spacing: -1px;
  color: var(--c-gold);
  border-bottom: 2px solid var(--c-gold);
  transition: border-color .3s, color .3s;
}
.btn__icon { width: 1em; height: 1em; flex: none; }
.btn:hover, .btn:focus-visible { color: var(--c-gold); border-color: transparent; }
.btn--orange { color: var(--c-orange); border-color: var(--c-orange); }
.btn--orange:hover, .btn--orange:focus-visible { color: var(--c-orange); border-color: transparent; }
/* "wobble-horizontal" di Elementor: solo dove c'è un mouse */
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .btn:focus-visible { animation: wobble-horizontal 1s ease-in-out 1; }
}
@keyframes wobble-horizontal {
  16.65% { transform: translateX(8px); }
  33.3%  { transform: translateX(-6px); }
  49.95% { transform: translateX(4px); }
  66.6%  { transform: translateX(-2px); }
  83.25% { transform: translateX(1px); }
  100%   { transform: translateX(0); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: relative; z-index: 20; }
.site-header__bar {
  display: flex; align-items: center;
  margin: 30px 0; padding: 0 40px; min-height: 67px;
}
.site-header__logo { display: block; width: 35%; padding: 10px; font-size: 0; line-height: 0; }
.site-header__logo img { width: 48%; }
.site-header__contacts {
  flex: 1; display: flex; justify-content: flex-end; align-items: center;
  padding: 10px 0 10px 10px;
}
.site-header__contacts a {
  font-size: 18px; line-height: 18px; color: var(--c-green);
  padding-right: 50px;
}
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 37px; margin-right: 10px;
  color: var(--c-yellow);
}
.menu-toggle__close { display: none; }

/* ---------- Pannello menu (popup a destra su desktop/tablet) ---------- */
.menu-panel {
  position: fixed; top: 0; right: 0; z-index: 100;
  width: min(1120px, 100%); height: 100vh; height: 100dvh;
  background: var(--c-green-dark) url("/assets/img/statua-giardino-1200.webp") center / cover no-repeat;
  visibility: hidden;
  transform: translateX(100%);
}
.menu-panel::before { content: ""; position: absolute; inset: 0; background: var(--c-green-dark); opacity: .95; }
.menu-panel.is-open { visibility: visible; transform: none; animation: slideInRight 1s both; }
.menu-panel.is-closing { visibility: visible; transform: none; animation: popupOut 1s both; }
@keyframes popupOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(100%, 0, 0); } }

.menu-panel__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px 50px 55px 160px;
  overflow-y: auto;
}
.menu-panel__contacts { display: flex; justify-content: flex-end; align-items: center; }
.menu-panel__contacts a { font-size: 18px; line-height: 18px; color: var(--c-yellow); }
.menu-panel__contacts a:first-child { padding-right: 50px; }
.menu-panel__contacts a:last-child { padding-right: 84px; }
.menu-panel__main { width: 40%; padding-bottom: 155px; }
.menu-panel__nav ul { list-style: none; margin: 0; padding: 0; }
.menu-panel__nav a {
  display: block; padding: 15px 0;
  font-family: var(--f-serif); font-size: 55px; line-height: 40px; letter-spacing: -2px;
  color: var(--c-yellow); white-space: nowrap;
  transition: color .3s;
}
.menu-panel__nav a:hover, .menu-panel__nav a:focus-visible, .menu-panel__nav a[aria-current="page"] { color: var(--c-white); }
.menu-panel__cta { margin-top: 30px; }
.menu-panel__close {
  position: absolute; top: 23px; right: 50px;
  display: flex; color: var(--c-yellow);
}

/* ==========================================================================
   HOME — 1. HERO
   ========================================================================== */
.hero { position: relative; z-index: 1; display: flex; align-items: stretch; }
.hero__text {
  position: relative; width: 47.557%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 0 0 11.889%; /* = 25% della colonna larga 47.557% */
}
.hero__blob { position: absolute; z-index: 2; top: 52px; right: -71.953px; width: 98px; }
.hero__blob img { margin: 0 auto; }
.hero__title {
  position: relative; z-index: 1;
  padding-right: 10%;
  font-size: 90px; line-height: 77px;
}
.hero__glow { position: absolute; z-index: 0; bottom: 25%; right: 17.4%; width: 389px; pointer-events: none; }
.hero__cta { position: relative; z-index: 1; margin: var(--gap) 0; }
.hero__label {
  position: absolute; top: 54%; left: -22%; width: 115px; margin: 0;
  font-size: 16px; line-height: 16px; font-weight: 700; color: var(--c-gold);
}
.hero__label span { display: block; transform: rotate(-450deg); transform-origin: left center; }
.hero__media { width: 52.443%; }

/* ---------- Carosello (immagini e recensioni) ---------- */
.carousel { position: relative; }
.carousel__viewport { position: relative; overflow: hidden; }
.carousel__track { display: flex; align-items: flex-start; will-change: transform; }
.carousel__slide { flex: 0 0 100%; min-width: 0; margin: 0; }
.carousel__arrow {
  position: absolute; top: 50%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-50%);
}
.carousel__dots { display: flex; justify-content: center; }
.carousel__dot { width: 6px; height: 6px; margin: 0 6px; border-radius: 50%; background: var(--c-black); opacity: .2; transition: opacity .2s; }
.carousel__dot[aria-current="true"] { opacity: 1; }

.carousel--images { padding-bottom: 38px; }
/* tutte le foto in 3:2: la foto aerea (16:9) non lascia più spazio vuoto sotto */
.carousel--images .carousel__slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carousel--images .carousel__arrow { width: 25px; height: 40px; color: rgba(238, 238, 238, .9); }
.carousel--images .carousel__arrow svg { width: 12px; height: 20px; }
.carousel--images .carousel__arrow--prev { left: 10px; }
.carousel--images .carousel__arrow--next { right: 10px; }
.carousel--images .carousel__dots { position: absolute; left: 0; right: 0; bottom: 13px; }

/* ==========================================================================
   HOME — 2. CITAZIONE
   ========================================================================== */
/* sezione a tutta larghezza che ritaglia la sfumatura; il contenuto sta in una colonna da 1140px */
.quote { position: relative; overflow: hidden; margin-top: -79px; padding: 250px 0; }
.quote__col { position: relative; max-width: var(--container); margin: 0 auto; padding: 10px; }
.quote__glow { position: absolute; z-index: 0; bottom: 40%; right: -54%; width: 834px; pointer-events: none; }
.quote__text {
  position: relative; z-index: 1;
  padding: 0 5%;
  text-align: center; font-style: italic; font-size: 60px; line-height: 68px; letter-spacing: -2px;
}

/* ==========================================================================
   HOME — 3. AGRITURISMO (immagine + testo)
   ========================================================================== */
.split { display: flex; align-items: center; margin-bottom: 170px; }
.split__media { position: relative; width: 56.492%; overflow: hidden; }
.split__bg {
  position: absolute; top: 0; left: 0; height: 100%; width: 110%;
  background: linear-gradient(var(--c-grey-rect), var(--c-grey-rect)) top left / 725px 946px no-repeat;
}
.split__photo { position: relative; padding: 100px 0 80px 180px; margin-bottom: var(--gap); }
.split__photo img { width: 100%; }
.split__blob { position: absolute; top: 75px; left: 290px; z-index: 1; }
.split__blob img { width: 92px; }
.split__content { width: 43.462%; }
/* nell'originale la colonna ha padding-right 35% (della colonna) e i widget padding-left 100px */
.split__content > * { margin-right: 35%; padding-left: 100px; }
.split__content h2 { padding-bottom: 15px; margin-bottom: var(--gap); }
.split__text { display: flow-root; margin-bottom: var(--gap); }
/* testo come ultimo blocco (Il Bar, Mini Golf): niente spaziatura, ma il paragrafo tiene il margine come in Elementor */
.split__text:last-child { margin-bottom: 0; }
.split__text p:last-child, .park__text p:last-child { margin-bottom: .9rem; }
.split__cta { margin-top: -10px; }

/* ==========================================================================
   HOME — 4. PARCO GIOCHI E MINIGOLF
   ========================================================================== */
.park { position: relative; display: flex; overflow: hidden; padding-top: 70px; }
.park__media { width: 42.046%; }
.park__media img { width: 100%; }
/* la colonna occupa tutta l'altezza della riga (come Elementor) e centra il contenuto */
.park__content { position: relative; width: 57.954%; padding: 10px 0; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.park__glow { position: absolute; z-index: 0; top: -7%; right: 0; width: 590px; pointer-events: none; }
.park__title, .park__text, .park__cta { position: relative; z-index: 1; }
.park__title { margin: 0 28% var(--gap); padding-bottom: 20px; }
.park__text { max-width: 650px; margin: 0 auto; padding: 20px 60px 50px; text-align: left; color: var(--c-text-dark); }
.park__cta { margin: 40px 0 20px; }

/* ==========================================================================
   HOME — 5. RECENSIONI
   ========================================================================== */
.reviews { max-width: var(--container); margin: 0 auto; padding: 100px 10px; }
.reviews__title { margin: 0 28% var(--gap); padding-bottom: 20px; text-align: center; }
.carousel--reviews { padding-top: 15px; }
.carousel--reviews .carousel__viewport { width: calc(70% - 40px); margin: 0 auto; padding-bottom: 40px; }
.carousel--reviews .carousel__track { align-items: stretch; column-gap: 21px; }
@media (max-width: 1024px) { .carousel--reviews .carousel__track { column-gap: 10px; } }
.carousel--reviews .carousel__arrow { top: calc(50% - 5px); width: 30px; height: 50px; color: var(--c-yellow); }
.carousel--reviews .carousel__arrow svg { width: 16px; height: 28px; }
.carousel--reviews .carousel__arrow--prev { left: 15px; }
.carousel--reviews .carousel__arrow--next { right: 15px; }
.carousel--reviews .carousel__dots { position: absolute; left: 0; right: 0; bottom: 12px; }
.carousel--reviews .carousel__dot { width: 3px; height: 3px; }
.review { padding: 20px; text-align: center; }
.review__logo { width: 55px; height: 55px; margin: 0 auto 18px; padding: 0; border: 2px solid #d6d6d6; border-radius: 50%; object-fit: cover; }
.review__text { margin: 0; font-size: 18px; line-height: 1.4; font-style: italic; color: var(--c-black); }
.review__name { margin-top: 25px; font-size: 15px; line-height: 28px; font-weight: 800; text-transform: uppercase; color: var(--c-yellow); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* Stessa struttura di Elementor: blocchi impilati a distanza fissa (--fgap), ogni paragrafo
   tiene il suo margine sotto, alcuni blocchi hanno un margine negativo (--mt) come nell originale. */
.site-footer__main { position: relative; z-index: 2; background: var(--c-green); padding: 0 0 95px; }
.site-footer__grid { display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.site-footer__col { width: 25%; padding: 10px; display: flex; flex-direction: column; --fgap: 20px; }
.site-footer__col > * { margin: 0; }
.site-footer__col > * + * { margin-top: calc(var(--fgap) + var(--mt, 0px)); }
.site-footer__col p { margin-bottom: .9rem; }
.site-footer__title { padding: 60px 0 10px; font-size: 42px; line-height: 60px; letter-spacing: -1px; color: var(--c-white); }
.site-footer__col--kitchen .site-footer__title { padding-top: 0; margin-top: 60px; }
.site-footer__hours { color: var(--c-white); }
.site-footer__hours.is-tight { --mt: -10px; }
.site-footer__hours strong { font-weight: 700; }
.site-footer__label { line-height: 14px; font-weight: 700; color: var(--c-white); --mt: -10px; }
.site-footer__label--email { --mt: -7px; }
.site-footer__value { --mt: -27px; }
.site-footer__value a { color: var(--c-gold); }
/* l originale ha un paragrafo vuoto (&nbsp;) dopo l email: stesso spazio, senza markup vuoto */
.site-footer__value--email { padding-bottom: calc(28px + .9rem); }

.map-embed { position: relative; width: 100%; height: 300px; background: rgba(255, 255, 255, .08); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
/* riquadro al posto della mappa: foto aerea dell agriturismo sotto un velo verde scuro */
.map-embed__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  padding: 20px; text-align: center; color: var(--c-white);
  background: linear-gradient(rgba(32, 53, 51, .78), rgba(32, 53, 51, .78)), url("/assets/img/agriturismo-vista-aerea-800.webp") center / cover no-repeat;
}
.map-embed__placeholder p { margin: 0; }
.map-embed__pin { color: var(--c-yellow); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.map-embed__address { font-size: 16px; line-height: 22px; font-weight: 700; }
.map-embed__note { max-width: 260px; font-size: 12px; line-height: 16px; opacity: .8; }
.map-embed__btn { margin: 4px 0; padding: 8px 0 4px; font-weight: 700; color: var(--c-yellow); border-bottom: 2px solid var(--c-yellow); transition: color .3s, border-color .3s; }
.map-embed__btn:hover, .map-embed__btn:focus-visible { color: var(--c-white); border-color: var(--c-white); }
.map-embed.is-loaded .map-embed__placeholder { display: none; }

.site-footer__bottom { background: var(--c-grey); padding: 35px 0; text-align: center; }
.site-footer__bottom > * { max-width: 1291px; margin: 0 auto; padding-left: 10px; }
.site-footer__region { margin-bottom: var(--gap); }
.site-footer__region img { width: 20%; margin: 0 auto; }
.site-footer__bottom .site-footer__legal { margin-bottom: .9rem; font-size: 14px; line-height: 28px; font-weight: 500; }
.site-footer__legal a { font-size: inherit; line-height: inherit; color: var(--c-gold); } /* stessa dimensione del testo */

/* ==========================================================================
   PAGINA L'AGRITURISMO
   (padding in % delle colonne Elementor convertiti in % della sezione)
   ========================================================================== */
.agri-hero { display: flex; overflow: hidden; }
.agri-hero__text {
  width: 46.366%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 4.637% 10.664% 0 9.273%; /* = 10% 23% 0 20% della colonna */
}
.agri-hero__lead {
  margin-top: var(--gap); padding: 0 5%;
  text-align: center; font-style: italic; font-size: 35px; line-height: 41px; letter-spacing: -2px;
}
.agri-hero__media { position: relative; z-index: 2; width: 53.634%; }
.agri-hero__media img { width: 100%; }

.agri-logos { display: flex; align-items: flex-start; max-width: var(--container); margin: 31px auto 30px; }
.agri-logos__item { width: 50%; padding: 10px; }
.agri-logos__item img { margin: 0 auto; }
.agri-logos__item--tv img { width: 27%; }
.agri-logos__item--cia img { width: 36%; }

.agri-about { display: flex; overflow: hidden; padding-top: 99px; }
.agri-about__media { position: relative; z-index: 2; width: 45.021%; padding-left: 6.753%; /* = 15% della colonna */ }
.agri-about__media img { width: 80%; }
.agri-about__text { width: 54.979%; padding-right: 12.645%; /* = 23% della colonna */ display: flex; flex-direction: column; justify-content: center; }
.agri-about__text h2 { line-height: 80px; margin-bottom: var(--gap); }
.agri-about__text p, .agri-kitchen__body, .agri-farm__text p { font-size: 18px; line-height: 28px; }
/* come i blocchi di testo Elementor: anche l'ultimo paragrafo tiene il margine sotto */
.agri-about__text p:last-child, .agri-kitchen__body p:last-child, .agri-farm__text p:last-child { margin-bottom: .9rem; }

.agri-glow { position: relative; z-index: 0; height: 20px; pointer-events: none; }
.agri-glow img { position: absolute; top: -736px; left: calc(25% - 575.5px); width: 389px; max-width: none; }

.agri-kitchen { display: flex; padding-top: 40px; }
.agri-kitchen__text { width: 50%; padding: 1% 0 0 15%; /* = 2% 0 0 30% della colonna */ display: flex; flex-direction: column; justify-content: center; }
.agri-kitchen__text h2 { padding-right: 25%; margin-bottom: var(--gap); }
.agri-kitchen__body { padding: 10px; }
.agri-kitchen__media { width: 50%; padding: 0 3% 0 5%; /* = 0 6% 0 10% della colonna */ }
.agri-kitchen__media img { width: 100%; }

.agri-spacer { height: 210px; }

.agri-band {
  position: relative; padding: 150px;
  background: var(--c-green) url("/assets/img/fascia-vista-aerea-desktop-1880.webp") left top no-repeat;
}
.agri-band::before { content: ""; position: absolute; inset: 0; background: rgba(30, 31, 33, .335); }
.agri-band__row { position: relative; display: flex; max-width: var(--container); margin: 0 auto; }
.agri-band__col { position: relative; width: 50%; height: 20px; }
.agri-band__blob { position: absolute; width: 84px; }
.agri-band__blob img { margin: 0 auto; }
.agri-band__blob--1 { top: -759px; left: -251px; }
.agri-band__blob--2 { top: 329.03px; left: -141.003px; }

.agri-farm { display: flex; align-items: center; padding: 160px 0; }
.agri-farm__text { position: relative; z-index: 3; width: 41.886%; padding: 0 9.634% 0 8.377%; /* = 0 23% 0 20% della colonna */ }
.agri-farm__text h2 { margin-bottom: var(--gap); }
.agri-farm__media { position: relative; width: 58.114%; }
.agri-farm__rect { position: absolute; z-index: 2; top: -82px; right: 4px; width: 68%; aspect-ratio: 745 / 893; background: var(--c-grey); }
.agri-farm__photo { position: relative; z-index: 2; max-width: 1026px; padding-right: 5%; }
.agri-farm__photo img { width: 100%; }

@media (max-width: 1024px) {
  .agri-hero { flex-direction: column-reverse; }
  .agri-hero__text, .agri-hero__media { width: 100%; }
  .agri-hero__text { padding: 80px 120px 60px; text-align: center; } /* titolo centrato (richiesta cliente) */
  .agri-hero__lead { font-size: 42px; line-height: 52px; }
  .agri-hero__media { padding: 20px 20px 0; }

  .agri-about { flex-direction: column; padding-top: 0; }
  .agri-about__media, .agri-about__text { width: 100%; }
  .agri-about__media { padding: 60px 40px 0; }
  .agri-about__media img { margin: 0 auto; } /* foto centrata (richiesta cliente) */
  .agri-about__text { padding: 40px 120px 60px; }

  .agri-glow img { top: -616px; left: calc(25% - 280.5px); }

  .agri-kitchen { flex-direction: column-reverse; padding-top: 0; }
  .agri-kitchen__text, .agri-kitchen__media { width: 100%; }
  .agri-kitchen__text { padding: 50px 120px 40px; }
  .agri-kitchen__text h2 { padding-right: 0; }
  .agri-kitchen__media { padding: 0; }

  .agri-spacer { height: 110px; }
  .agri-band { background-image: url("/assets/img/fascia-vista-aerea-tablet-1024.webp"); }
  /* macchie spostate nello spazio vuoto sopra la fascia: non coprono più il testo (richiesta cliente) */
  .agri-band__blob { width: 88px; top: -60px !important; left: 63px !important; }

  .agri-farm { flex-direction: column; align-items: stretch; padding: 0 0 160px; }
  .agri-farm__text, .agri-farm__media { width: 100%; }
  .agri-farm__text { padding: 80px 120px 0; }
  .agri-farm__media { padding: 100px 40px 0; }
  /* riquadro grigio abbassato: parte sotto il testo e resta dietro la foto (richiesta cliente) */
  .agri-farm__rect { top: 50px; left: 241px; right: -1px; width: auto; }
  .agri-farm__photo { width: 649px; max-width: 100%; padding-right: 0; margin: 0 auto; } /* foto centrata */
}

@media (max-width: 767px) {
  .agri-hero__text { padding: 30px 20px 0; }
  .agri-hero h1 { font-size: 42px; line-height: 42px; padding-bottom: 10px; }
  .agri-hero__lead { margin-top: 10px; padding: 0 30px; font-size: 36px; line-height: 42px; }

  .agri-logos { flex-direction: column; }
  .agri-logos__item { width: 100%; }

  .agri-about__media { padding: 60px 20px 0; }
  .agri-about__text { padding: 30px 20px 0; }
  .agri-about__text h2 { font-size: 42px; line-height: 42px; }

  .agri-glow { height: 21px; }
  .agri-glow img { display: none; }

  .agri-kitchen__media { padding: 0 20px; }
  .agri-kitchen__text { position: relative; z-index: 3; padding: 30px 20px 0; }
  .agri-kitchen__text h2 { font-size: 42px; line-height: 42px; padding-bottom: 10px; margin-bottom: 10px; }
  .agri-kitchen__body { padding: 0; }

  .agri-spacer { height: 90px; }
  .agri-band { padding: 0; }
  .agri-band__row { flex-direction: column; }
  .agri-band__col { width: 100%; }
  .agri-band__blob { top: -55px !important; left: 10px !important; }
  .agri-band__blob--2 { display: none; } /* su mobile le due macchie si sovrapponevano */
  .agri-band__blob img { width: 42%; }

  .agri-farm { margin-top: -20px; padding: 0 20px 50px; }
  .agri-farm__text { padding: 60px 0 0; }
  .agri-farm__text h2 { font-size: 42px; line-height: 42px; padding-bottom: 10px; margin-bottom: 10px; }
  .agri-farm__media { padding: 80px 0 0; }
  .agri-farm__rect { top: 30px; left: auto; right: -20px; width: 76%; }
  .agri-farm__photo { width: 100%; }
}

/* ==========================================================================
   PAGINA MENÙ
   ========================================================================== */
/* elenco piatti (era il widget "price list" di Elementor) */
.dish-list { list-style: none; margin: 0; padding: 0; }
.dish-list li { display: flow-root; } /* evita che il margine del titolo collassi */
.dish-list li + li { margin-top: 37px; }
.dish-list__head { display: flex; align-items: center; margin-bottom: 10px; font-size: 24px; line-height: 26px; letter-spacing: -1px; font-weight: 600; color: var(--c-gold); }
.dish-list__title { max-width: 80%; }
.dish-list__sep { flex-grow: 1; height: 0; margin: 0 13px; border-bottom: 2px dotted rgba(88, 107, 106, .2); }
.dish-list__desc { margin: 0; font-size: 18px; line-height: 28px; color: var(--c-text); }
.page-menu main h2 { font-size: 96px; line-height: 100px; text-align: center; }

.menu-hero { position: relative; z-index: 0; display: flex; margin-bottom: 150px; }
.menu-hero__text {
  width: 41.886%; margin-top: 40px; padding: 0 8.377%; /* = 0 20% della colonna */
  display: flex; flex-direction: column; justify-content: center;
}
.menu-hero__cta { margin-top: 75px; } /* spaziatore 50px + spaziature 20px + margine -15px */
.menu-hero__cta .btn { line-height: 26px; }
.menu-hero__media { position: relative; width: 58.114%; }
.menu-hero__photo { position: relative; z-index: 2; margin-bottom: var(--gap); }
.menu-hero__photo img { width: 100%; }
.menu-hero__glow { position: absolute; z-index: 0; right: 0; bottom: -231.766px; width: 631px; }
.menu-hero__blob { position: absolute; z-index: 2; top: 170px; left: -58px; width: 119px; }
.menu-hero__blob img { margin: 0 auto; }

/* le colonne occupano tutta l'altezza (le macchie sono posizionate rispetto alla colonna) e centrano il contenuto */
.menu-feature { display: flex; overflow: hidden; }
.menu-feature__media, .menu-feature__content { display: flex; flex-direction: column; justify-content: center; }
.menu-feature__media { position: relative; width: 39.953%; }
.menu-feature__media > img { width: 100%; margin-bottom: var(--gap); }
.menu-feature__blob { position: absolute; }
.menu-feature--antipasti .menu-feature__blob { top: 140px; right: -43px; width: 83px; }
.menu-feature__content { width: 60%; }
.menu-feature__content h2 { padding-bottom: 40px; margin-bottom: var(--gap); }
.menu-feature__content .dish-list { padding: 0 20%; }
.menu-gap { height: 70px; }

.menu-feature--dolci { max-width: 1560px; margin: 0 auto; }
.menu-feature--dolci .menu-feature__media { width: 46%; padding: 10px 30px; }
.menu-feature--dolci .menu-feature__blob { right: -40px; bottom: 112px; width: 92px; }
.menu-feature--dolci .menu-feature__content { position: relative; z-index: 1; width: 54%; }
.menu-feature--dolci .menu-feature__content h2 { padding-bottom: 0; margin-bottom: 60px; } /* margine 40 + spaziatura 20 */

.menu-block { position: relative; z-index: 2; overflow: hidden; max-width: 925px; margin: 25px auto 0; padding: 30px 0; }
.menu-block > * { width: 815px; margin-left: 80px; }
.menu-block--left > * { margin-left: 30px; }
.menu-block h2 { margin-bottom: 90px; } /* spaziatore 50px + 2 spaziature 20px */

.menu-edges { position: relative; z-index: 0; height: 1px; margin-bottom: 155px; }
.menu-edges img { position: absolute; max-width: none; }
.menu-edges__left { left: 0; top: -368px; width: 210px; }
.menu-edges__right { right: 0; top: -713px; width: 138px; }

.menu-glow { position: relative; overflow: hidden; margin-top: -50px; height: 201px; }
.menu-glow__shape { position: absolute; z-index: 0; top: 93px; left: 8%; width: 441px; }
.menu-glow__shape img { margin: 0 auto; }
.menu-suppliers { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 10px; text-align: center; }
.page-menu .menu-suppliers h2 { margin-bottom: var(--gap); font-size: 41px; line-height: 80px; }
.menu-suppliers__text { font-family: var(--f-serif); font-size: 25px; font-weight: 500; line-height: 9px; }
.menu-suppliers__text p:last-child { margin-bottom: .9rem; }
.menu-end { height: 70px; }

@media (max-width: 1024px) {
  .menu-hero { flex-direction: column-reverse; margin-bottom: 0; padding: 0 20px; }
  .menu-hero__text, .menu-hero__media { width: 100%; }
  .menu-hero__text { margin: 40px 0 60px; padding: 0 20%; }
  .menu-hero__glow { display: none; }

  .menu-feature { flex-direction: column; align-items: stretch; padding: 60px 20px 0; }
  .menu-feature__media, .menu-feature__content { width: 100% !important; }
  .menu-feature__content { padding-top: 40px; }
  .menu-feature__content h2 { padding-bottom: 20px; }
  .menu-feature__content .dish-list { padding: 0 60px; }

  .menu-block { margin-top: 0; padding: 10px 20px 0; max-width: 965px; }
  .menu-block > *, .menu-block--left > * { width: auto; margin-left: 60px; margin-right: 60px; }
  .menu-block h2 { padding: 60px 0 20px; margin-bottom: 90px; } /* spaziatore 50 + 2 spaziature 20 */

  .menu-edges { display: none; }

  .menu-feature--dolci { padding: 0; }
  .menu-feature--dolci .menu-feature__media { padding: 100px 35px 0 0; }
  .menu-feature--dolci .menu-feature__content h2 { padding-bottom: 10px; margin-bottom: var(--gap); }
  .menu-feature--dolci .menu-feature__content .dish-list { padding: 0 20%; }

  .menu-glow { margin-top: 0; height: 71px; }
  .menu-glow__shape { top: 3px; left: 8px; width: 313px; }
}

@media (max-width: 767px) {
  .menu-hero { padding: 0 20px 40px; }
  .menu-hero__text { margin: 0; padding: 0; text-align: center; }
  .menu-hero h1 { font-size: 42px; line-height: 42px; padding-bottom: 10px; }
  .menu-hero__cta { margin-top: 5px; } /* spaziatore 0 + 2 spaziature 10 - 15 */
  .menu-hero__media { margin-top: 20px; }
  .menu-hero__photo { margin-bottom: var(--gap); padding-bottom: 10px; }
  .menu-hero__blob { top: 118px; }
  .menu-hero__blob img { width: 48%; }

  .page-menu main h2 { font-size: 42px; line-height: 42px; }
  .dish-list__head { font-size: 20px; }

  .menu-feature { padding: 20px 20px 0; }
  .menu-feature__content { padding-top: 30px; }
  .menu-feature__content h2 { padding-bottom: 10px; }
  .menu-feature__content .dish-list, .menu-feature--dolci .menu-feature__content .dish-list { padding: 0; }
  .menu-feature--antipasti .menu-feature__blob { top: 130px; right: -41px; }
  .menu-feature--antipasti .menu-feature__blob img { width: 47%; margin-left: auto; }

  .menu-block > *, .menu-block--left > * { margin-left: 0; margin-right: 0; }
  .menu-block h2 { padding-top: 40px; padding-bottom: 10px; }

  .menu-feature--dolci { padding: 60px 20px 0; }
  .menu-feature--dolci .menu-feature__media { padding: 0; }
  .menu-feature--dolci .menu-feature__blob { display: none; }
  .menu-feature--dolci .menu-feature__content { padding-top: 30px; }

  .menu-glow__shape { left: 19px; }
  .page-menu .menu-suppliers h2 { font-size: 42px; line-height: 42px; padding-bottom: 10px; }
  .menu-suppliers__text { line-height: .9em; }
}

/* ==========================================================================
   PAGINA IL BAR
   ========================================================================== */
.intro { display: flex; }
.intro__text {
  position: relative; width: 50%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 6% 0 9.5%; /* = 0 12% 0 19% della colonna */
}
.intro__title { position: relative; z-index: 1; padding: 0 0 15px 100px; font-size: 60px; line-height: 60px; }
.intro__glow { position: absolute; z-index: 0; left: 299.993px; top: 353.995px; width: 100%; pointer-events: none; }
.intro__glow img { margin: 0 auto; opacity: .26; }
.intro__media { position: relative; width: 50%; }
.intro__media > img { width: 100%; margin-bottom: var(--gap); }
.intro__blob { position: absolute; z-index: 2; left: 651px; top: 1050px; width: 101px; }
.intro__blob img { margin: 0 auto; }

.bar-spacer { position: relative; max-width: var(--container); height: 20px; margin: 0 auto; }
.bar-spacer__blob { position: absolute; top: -759px; left: -251px; width: 84px; }
.bar-gap { height: 151px; }

.bar-gallery {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 380px)); justify-content: center;
  margin: -80px 0 40px; padding: 40px;
}
.bar-gallery::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .49); }
.bar-gallery__item { position: relative; padding: 10px; }
.bar-gallery__item img { width: 100%; }

.split--bar .split__media { width: 56%; }
.split--bar .split__content { width: 43.954%; }
.split--bar .split__photo img { width: 75%; margin: 0 auto; }
.split__label {
  position: absolute; z-index: 1; top: 55%; left: 64px; margin: 0;
  font-size: 16px; line-height: 16px; font-weight: 700; color: var(--c-gold); white-space: nowrap;
}
.split__label span { display: block; transform: rotate(-450deg); transform-origin: left center; }

@media (max-width: 1024px) {
  .intro__text { padding: 0 40px 0 50px; }
  .intro__title { display: none; } /* nell'originale il titolo è nascosto su tablet */
  .intro__glow { left: 164px; top: 19px; }
  .intro__blob { left: 232px; top: 406px; }
  .bar-spacer { max-width: none; }
  .bar-spacer__blob { top: -335px; left: 63px; width: 88px; }
  .bar-gap { height: 1px; }
  .split--bar .split__media, .split--bar .split__content { width: 100%; }
  .split__label { display: none; }
}

@media (max-width: 767px) {
  .intro { flex-direction: column-reverse; }
  .intro__text, .intro__media { width: 100%; }
  .intro__text { padding: 20px 30px 40px; }
  .intro__title { display: block; padding: 0 0 10px; text-align: center; font-size: 42px; line-height: 1.2; }
  .intro__glow, .intro__blob, .bar-spacer__blob, .bar-gap { display: none; }
  .bar-gallery { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   PAGINA MINI GOLF (riusa .intro e .split--bar della pagina Il Bar)
   ========================================================================== */
.minigolf-gap { height: 140px; }
.split--minigolf .split__photo img { width: 69%; }
.minigolf-gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--container); margin: 0 auto; padding-bottom: 100px;
}
.minigolf-gallery__item { display: block; padding: 10px; font-size: 0; line-height: 0; }
.minigolf-gallery__item img { width: 100%; }
@media (max-width: 767px) {
  .intro--minigolf .intro__title { line-height: 60px; }
  .minigolf-gallery { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   PAGINA CONTATTI
   ========================================================================== */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/roboto-latin.woff2") format("woff2"); }

.contact-band { position: relative; background: center / cover no-repeat; }
.contact-band::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .97); }
.contact-band--map { padding-top: 80px; background-image: url("/assets/img/sfondo-contatti-facciata-1600.webp"); }
.contact-band--info { padding-bottom: 80px; background-image: url("/assets/img/sfondo-contatti-piazzale-1600.webp"); }
@media (min-width: 1025px) { .contact-band { background-attachment: fixed; } }
.contact-band__inner { position: relative; max-width: 1040px; margin: 0 auto; padding: 30px; }

.contact-divider { padding: 8px 0; margin-bottom: 12px; }
.contact-divider span { display: block; width: 48px; margin: 0 auto; border-top: 4px solid #cc9955; }
.contact-map { margin-bottom: 40px; }
.map-embed--large { height: 368px; }
.map-embed--large .map-embed__placeholder { gap: 10px; background-image: linear-gradient(rgba(32, 53, 51, .72), rgba(32, 53, 51, .72)), url("/assets/img/agriturismo-vista-aerea-1200.webp"); }
.map-embed--large .map-embed__pin { width: 44px; height: 57px; }
.map-embed--large .map-embed__address { font-size: 20px; line-height: 28px; }
.map-embed--large .map-embed__note { max-width: none; font-size: 13px; }

/* colonne: stessa logica del footer (blocchi a 20px, margini negativi come Elementor) */
.contact-grid { display: flex; }
.contact-col { width: 33.333%; display: flex; flex-direction: column; --fgap: 20px; border-right: 1px solid rgba(255, 255, 255, .12); }
.contact-col--contacts { padding-left: 30px; border-right: 0; }
.contact-col > * { margin: 0; }
.contact-col > * + * { margin-top: calc(var(--fgap) + var(--mt, 0px)); }
.contact-col p { margin-bottom: .9rem; }
.contact-col__title {
  font-family: "Roboto", Arial, sans-serif; font-size: 1.5rem; font-weight: 500; line-height: 60px;
  letter-spacing: 1px; text-transform: uppercase; color: rgba(0, 0, 0, .7);
}
.contact-col__hours.is-tight { --mt: -10px; }
.contact-col__label { line-height: 14px; --mt: -10px; }
.contact-col__label--email { --mt: -7px; }
.contact-col__value { --mt: -27px; }
.contact-col__value--link { color: var(--c-gold); }

@media (max-width: 1024px) {
  .contact-col__hours, .contact-col__label, .contact-col__value--address { font-size: 16px; }
}
@media (max-width: 767px) {
  .contact-band--map { padding: 40px 0; }
  .contact-grid { flex-direction: column; }
  .contact-col { width: 100%; text-align: center; margin-bottom: 30px; }
  .contact-col--contacts { padding-left: 0; margin-bottom: 0; }
  .contact-col__value--link { --mt: -10px; }
}

/* ==========================================================================
   PAGINA PRIVACY POLICY (stile dell'originale: titolo e testo Raleway, sezioni Karla)
   ========================================================================== */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/raleway-latin.woff2") format("woff2"); }

.legal { max-width: var(--container); margin: 0 auto; padding: 70px 10px 80px; font-family: "Raleway", Arial, sans-serif; }
.legal__title { margin-bottom: var(--gap); font-family: "Raleway", Arial, sans-serif; font-weight: 700; font-size: 60px; line-height: 60px; letter-spacing: -2px; }
.legal h2 { margin: 1.4em 0 .5em; font-family: var(--f-sans); font-weight: 700; font-size: 30px; line-height: 34px; letter-spacing: -1px; }
.legal__doc-title { margin-top: 0 !important; }
.legal ol, .legal ul { margin: 0 0 .9rem; padding-left: 1.4em; }
.legal li { margin-bottom: .35em; }
.legal__sections > li::marker { font-family: var(--f-sans); font-weight: 700; font-size: 30px; color: var(--c-green); }
.legal__sections > li { padding-left: .2em; }
.legal__alpha { list-style: lower-alpha; }
.legal__alpha ol { margin: .35em 0 0; list-style: decimal; }
.legal a { font-size: inherit; line-height: inherit; }
.legal__todo { background: #fff3b0; color: #7a5b00; padding: 0 .25em; }
.legal__updated { margin-top: 2em; font-size: 16px; }
/* Cookie Policy inserita da CookieYes: il suo H1 prende lo stile del titolo della Privacy */
.legal__embed h1 { margin-bottom: var(--gap); font-family: "Raleway", Arial, sans-serif; font-weight: 700; font-size: 60px; line-height: 60px; letter-spacing: -2px; }
.legal__embed { min-height: 300px; }
@media (max-width: 767px) { .legal__embed h1 { font-size: 48px; line-height: 52px; } }
@media (max-width: 767px) {
  .legal__title { font-size: 48px; }
  .legal h2, .legal__sections > li::marker { font-size: 28px; }
}

/* ==========================================================================
   PAGINA PRENOTA UN TAVOLO
   ========================================================================== */
.booking { display: flex; overflow: hidden; }
.booking__text {
  position: relative; width: 47.598%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 9.52%; /* = 0 20% della colonna */
}
.booking__title { position: relative; z-index: 2; padding-bottom: 20px; margin-bottom: var(--gap); font-size: 90px; line-height: 80px; letter-spacing: -2px; }
.booking__glow { position: absolute; z-index: 0; left: 151px; top: 157px; width: 386px; pointer-events: none; }
.booking__phones { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; }
.booking__phones li + li { margin-top: 14px; }
.booking__phones a { display: flex; align-items: flex-start; font-size: 31px; line-height: 19px; color: var(--c-gold); }
.booking__phones span { padding-top: 6px; }
.booking__icon { flex: none; width: 38px; height: 31px; padding-right: 7px; }
.booking__media { position: relative; width: 52.402%; }
.booking__media > img { width: 100%; }
.booking__blob { position: absolute; z-index: 1; left: -64px; top: 56px; width: 104px; }
.booking__blob img { margin: 0 auto; }
.booking-end { height: 70px; }

@media (max-width: 1024px) {
  .booking { flex-direction: column-reverse; padding-bottom: 60px; }
  .booking__text, .booking__media { width: 100%; }
  .booking__text { padding: 0 20%; }
  .booking__glow { left: 319px; top: -674px; }
  .booking__media { padding: 40px 40px 80px; }
  .booking__blob { left: 508px; top: 594px; }
}
@media (max-width: 767px) {
  .booking { padding: 20px 20px 60px; }
  .booking__text { padding: 0; }
  .booking__title { padding: 0; font-size: 42px; line-height: 48px; }
  .booking__media { padding: 0 0 30px; }
  .booking__glow, .booking__blob { display: none; }
}

/* ---------- Pagina 404 ---------- */
.not-found { max-width: var(--container); margin: 0 auto; padding: 80px 20px 120px; text-align: center; }
.not-found h1 { margin-bottom: 30px; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; margin: 30px 0 10px; padding: 0; }
@media (max-width: 767px) { .not-found h1 { font-size: 48px; line-height: 48px; } }

/* ---------- Lightbox (foto ingrandita) ---------- */
.lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox__inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 60px 20px; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__close { position: absolute; top: 16px; right: 20px; display: flex; color: var(--c-white); }

/* ==========================================================================
   ANIMAZIONI D'INGRESSO (come Elementor: partono quando l'elemento entra nello schermo)
   ========================================================================== */
html.js [data-anim]:not(.is-animated) { visibility: hidden; }
.is-animated { animation-duration: var(--anim-duration); animation-fill-mode: both; }
.is-animated[data-speed="slow"] { animation-duration: var(--anim-duration-slow); }
.is-animated[data-anim="fadeIn"] { animation-name: fadeIn; }
.is-animated[data-anim="fadeInUp"] { animation-name: fadeInUp; }
.is-animated[data-anim="fadeInDown"] { animation-name: fadeInDown; }
.is-animated[data-anim="fadeInRight"] { animation-name: fadeInRight; }
.is-animated[data-anim="slideInDown"] { animation-name: slideInDown; }
.is-animated[data-anim="slideInUp"] { animation-name: slideInUp; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes slideInDown { from { transform: translate3d(0, -100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
@keyframes slideInUp { from { transform: translate3d(0, 100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
@keyframes slideInRight { from { transform: translate3d(100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }

/* effetti allo scorrimento (Motion FX): la trasformazione viene scritta dal JS in --fx */
[data-fx] { transform: var(--fx, none); transition: transform .1s linear; }
[data-fx-bg] > .split__bg { transform: var(--fx, none); transition: transform .1s linear; }

/* ==========================================================================
   TABLET (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header__bar { margin: 20px 0; padding: 0 20px; min-height: 57px; }
  .site-header__contacts a { font-size: 14px; line-height: 14px; padding: 0 20px 2px 0; }
  .site-header__contacts a + a { padding-right: 30px; }

  .menu-panel__inner { padding: 45px 40px 40px 60px; }
  .menu-panel__contacts a:last-child { padding-right: 60px; }
  .menu-panel__nav a { font-size: 56px; letter-spacing: -1px; padding: 10px 0; }
  .menu-panel__close { top: 20px; right: 30px; }

  .hero__text { padding: 0 0 0 30px; }
  .hero__title { font-size: 60px; line-height: 60px; }
  .hero__blob { top: 310px; right: -24.4px; width: 50px; }
  .hero__glow, .hero__label { display: none; }
  .hero__cta { margin: 5px 0; padding-bottom: 80px; }

  .quote { margin-top: -61px; padding: 120px 0; }
  .quote__text { font-size: 42px; line-height: 52px; }

  .split { flex-wrap: wrap; margin-bottom: 0; }
  .split__media, .split__content { width: 100%; }
  .split__photo { padding: 80px 0 60px 80px; }
  .split__blob { top: 105px; left: 48px; }
  .split__blob img { width: 81px; }
  .split__content { padding: 120px 60px; text-align: center; }
  .split__content > * { padding-left: 0; margin-right: 0; }
  .split__content h2 { padding-bottom: 10px; }

  .park { flex-wrap: wrap; padding-top: 0; }
  .park__media, .park__content { width: 100%; }
  .park__content { margin: 100px 0 50px; padding: 0; }
  .park__title { margin: 0 50px var(--gap); padding-bottom: 0; }
  .park__glow { top: -96px; right: -163.8px; width: 431px; }

  .reviews { padding: 100px 25px; }
  .reviews__title { margin: 0 50px var(--gap); padding-bottom: 0; }
  .carousel--reviews .carousel__viewport { width: 530px; }

  .site-footer__main { padding: 0 0 20px 30px; }
  .site-footer__col { width: 40%; }
  .site-footer__title, .site-footer__col--kitchen .site-footer__title { padding: 80px 0 0; font-size: 38px; }
  .site-footer__hours, .site-footer__label, .site-footer__value--address { font-size: 16px; }
  .site-footer__bottom { padding: 20px 30px; }
}

/* ==========================================================================
   MOBILE (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .site-header__bar { flex-wrap: wrap; margin: 15px 0 40px; padding: 0 20px; }
  .site-header__logo { width: 80%; padding: 0 0 3px; } /* 3px: spazio sotto il logo come nell'originale */
  .site-header__logo img { width: 100%; }
  .menu-toggle { width: 20%; height: 42px; margin: 0; justify-content: flex-end; }
  .menu-toggle svg { width: 28px; height: auto; }
  .site-header__contacts {
    order: 3; width: 100%; flex: none; flex-direction: column; padding: 0;
  }
  .site-header__contacts a { color: var(--c-yellow); padding: 0; }
  .site-header__contacts a:first-child { padding: 20px 0 10px; }
  .site-header__contacts a + a { padding: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

  /* il pannello diventa una tendina verde a tutta larghezza */
  .menu-panel {
    position: absolute; top: 134px; left: 0; right: 0; width: auto; height: auto;
    background: var(--c-green); transform: scaleY(0); transform-origin: top;
    max-height: 0; overflow: hidden; transition: transform .3s, max-height .3s, visibility 0s .3s;
  }
  .menu-panel::before, .menu-panel__contacts, .menu-panel__cta, .menu-panel__close { display: none; }
  /* su mobile il menu non ha animazioni d'ingresso: segue la visibilità della tendina */
  html.js .menu-panel [data-anim]:not(.is-animated) { visibility: inherit; }
  .menu-panel.is-open, .menu-panel.is-closing { animation: none; }
  .menu-panel.is-open { transform: scaleY(1); max-height: 100vh; transition: transform .3s, max-height .3s; }
  .menu-panel.is-closing { visibility: hidden; transform: scaleY(0); }
  .menu-panel__inner { display: block; height: auto; padding: 0; overflow: visible; }
  .menu-panel__main { width: 100%; padding: 0; }
  .menu-panel__nav a {
    padding: 10px; text-align: center; white-space: normal;
    font-family: var(--f-sans); font-size: 18px; line-height: 20px; letter-spacing: 0; color: var(--c-white);
  }
  .menu-panel__nav a:hover, .menu-panel__nav a:focus-visible, .menu-panel__nav a[aria-current="page"] { color: var(--c-yellow); }

  .hero { flex-wrap: wrap; }
  .hero__text, .hero__media { width: 100%; }
  .hero__text { position: static; padding: 0 30px; text-align: center; }
  .hero__title { padding: 0; font-size: 48px; line-height: 48px; letter-spacing: -1px; }
  .hero__blob { top: 275px; right: 0; }
  .hero__cta { padding-bottom: 50px; }

  .quote { margin-top: -60px; padding: 70px 0; }
  .quote__col { padding: 0; }
  .quote__glow { width: 410px; bottom: 208px; }
  .quote__text { padding: 0 30px; font-size: 36px; line-height: 42px; }

  .split__photo { padding: 40px 0 20px 40px; }
  .split__blob { top: 66px; left: 19px; }
  .split__blob img { width: 52px; }
  .split__content { padding: 70px 30px; }
  .split__content h2 { font-size: 42px; }

  .park__content { margin: 0; padding-top: 50px; }
  .park__title { margin: 0 0 var(--gap); padding: 0 30px; font-size: 42px; }
  .park__text { padding: 10px 70px 40px; }
  .park__cta { margin: 0 0 20px; padding: 20px 30px 0; }

  .reviews { padding: 50px 20px; }
  .reviews__title { margin: 0 0 var(--gap); padding: 0 30px; font-size: 42px; }
  .carousel--reviews .carousel__viewport { width: 260px; }

  .site-footer__main { padding: 0 30px; }
  .site-footer__col { width: 100%; padding: 0; text-align: center; --fgap: 10px; }
  .site-footer__col--contacts, .site-footer__col--map { padding-top: 10px; }
  .site-footer__col--kitchen .site-footer__title, .site-footer__col--snacks .site-footer__title { padding-top: 50px; }
  .site-footer__col--contacts .site-footer__title, .site-footer__col--map .site-footer__title { padding-top: 0; }
  .site-footer__value--phones, .site-footer__value--email { --mt: -10px; }
  .site-footer__bottom { padding: 40px 40px 30px; }
  .site-footer__region img { width: 100%; }
}

/* ==========================================================================
   ACCESSIBILITÀ: niente animazioni se l'utente le ha disattivate
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html.js [data-anim]:not(.is-animated) { visibility: visible; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-fx], [data-fx-bg] > .split__bg { transform: none !important; }
  .menu-panel.is-open { visibility: visible; }
}
