/* ===== VARIABILI & BASE (pagina Servizi - solo desktop, no dipendenze esterne) ===== */
:root {
  --bg: #f8f9fb;
  --surface: rgba(248, 249, 251, 0.72);
  --surface-strong: rgba(248, 249, 251, 0.88);
  --text: #1e2328;
  --muted: rgba(30, 35, 40, 0.72);
  --border: rgba(30, 35, 40, 0.14);

  --accent: #2f7ea7;
  --accent-2: #7f9b8f;
  --accent-soft: rgba(47, 126, 167, 0.14);

  --shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  --radius: 16px;

  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  --font-serif: ui-serif, "Georgia", serif;

  --header-height: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

/* Focus visibile per tastiera */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

a:focus-visible {
  outline-offset: 2px;
}

/* Voce Servizi in nav bar e menu hamburger: grassetto e colori Floating Dream */
.nav-list a[href="servizi.php"] {
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-list a[href="servizi.php"]::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 100%;
}

.nav-modal-list a[href="servizi.php"] {
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== SFONDO PARALLAX ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../img/servizi/background_parallax_servizi.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #fff;
  opacity: 0.95;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.hero-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border: 1px solid rgba(47, 126, 167, 0.5);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(47, 126, 167, 0.28), 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(47, 126, 167, 0.35), 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: rgba(47, 126, 167, 0.6);
  color: #fff;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #fff, transparent);
  opacity: 0.6;
  border-radius: 1px;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  opacity: 0.8;
}

/* ===== SEZIONE CONTENUTO ===== */
.content-section {
  min-height: 60vh;
  padding: 4rem 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.content-section--transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.content-section--transparent .section-title,
.content-section--transparent .section-lead {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Sezione 2: trasparente sopra, gradiente nero verso il basso (nero prende piÃ¹ spazio, svanisce dopo) */
.content-section--gradient-black-bottom {
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.70) 75%, rgba(0, 0, 0, 0.80) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.content-section--gradient-black-bottom .section-title,
.content-section--gradient-black-bottom .section-lead {
  color: #f8f9fb;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Sezione 3: nero sopra, gradiente verso trasparente sotto (nero prende piÃ¹ spazio, svanisce dopo) */
.content-section--gradient-black-top {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.70) 25%, transparent 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.content-section--gradient-black-top .section-title,
.content-section--gradient-black-top .section-lead {
  color: #f8f9fb;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ===== SEZIONE 2: FEATURE (2 colonne, desktop only) ===== */
.section-feature {
  padding: 120px 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.70) 25%, rgba(0, 0, 0, 0.80) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.section-feature .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-feature .section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f8f9fb;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.section-feature .section-head p {
  margin: 0;
  font-size: 1.0625rem;
  color: rgba(248, 249, 251, 0.9);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  height: 320px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  display: flex;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-media {
  position: absolute;
  inset: 0;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transform: scale(1.02);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.feature-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: #fff;
}

.feature-content h3 {
  font-size: 28px;
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-content p {
  opacity: 0.9;
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.5;
}

.feature-cta {
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.feature-card:hover .feature-media img {
  transform: scale(1.06);
  opacity: 0.75;
}

.feature-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.feature-card:hover .feature-cta::after {
  width: 100%;
}

/* ===== SEZIONE ABOUT US (desktop only) ===== */
.section-about {
  padding: 140px 0;
}

.section-about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.about-media {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(248, 249, 251, 0.35);
  pointer-events: none;
}

.about-content h2 {
  font-size: 48px;
  margin-bottom: 24px;
  color: var(--text);
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 700px;
  margin: 0;
}

.about-highlights {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-highlights span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  font-weight: 600;
  color: var(--text);
  transition: transform 0.25s ease;
}

.about-highlights span:hover {
  transform: translateY(-3px);
}

.section-about.content-section--gradient-black-top .about-content h2 {
  color: #f8f9fb;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.section-about.content-section--gradient-black-top .about-content p {
  color: rgba(248, 249, 251, 0.92);
}

.section-about.content-section--gradient-black-top .about-highlights span {
  color: #f8f9fb;
  border-color: rgba(248, 249, 251, 0.35);
  background: rgba(248, 249, 251, 0.12);
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

/* ===== SEZIONE 1: CAROUSEL (desktop only) ===== */
.section-carousel .section-inner {
  margin-bottom: 2rem;
}

.carousel-container {
  width: 100%;
  min-width: 900px;
}

.container--carousel {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0 3rem;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: 420px;
}

/* ----- Frecce stile Floating Dream (pill glass + gradient accent) ----- */
.carousel-arrow {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(47, 126, 167, 0.35);
  background: linear-gradient(135deg, rgba(248, 249, 251, 0.92) 0%, rgba(247, 249, 250, 0.88) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(47, 126, 167, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.carousel-arrow:hover {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(127, 155, 143, 0.12) 100%);
  color: var(--accent-2);
  border-color: rgba(47, 126, 167, 0.5);
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(47, 126, 167, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-arrow:focus-visible {
  outline-offset: 2px;
  outline-color: var(--accent);
}

/* ----- Card slide ----- */
.slide-card {
  position: absolute;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, z-index 0.4s ease, box-shadow 0.4s ease;
}

/* Effetto 3D: lato verso la centrale piÃ¹ â€œgrossoâ€ (vicino), lato esterno piÃ¹ â€œpiccoloâ€ (lontano) */
.slide-card.is-prev {
  transform: scale(0.91) rotateY(-14deg);
  transform-origin: right center;
  opacity: 0.9;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backface-visibility: hidden;
}

.slide-card.is-next {
  transform: scale(0.91) rotateY(14deg);
  transform-origin: left center;
  opacity: 0.9;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backface-visibility: hidden;
}

.slide-card.is-active {
  transform: scale(1);
  left: 50%;
  margin-left: -360px;
  top: 0;
  z-index: 2;
  box-shadow: var(--shadow);
}

.slide-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Dimensioni card: active 720x420, side 70% = 504x294 */
.slide-card.is-active .slide-frame {
  width: 720px;
  height: 420px;
}

.slide-card.is-prev .slide-frame,
.slide-card.is-next .slide-frame {
  width: 504px;
  height: 294px;
}

.carousel-track {
  position: relative;
  z-index: 0;
  margin: 0 auto;
  max-width: 1728px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

/* Laterali sotto la centrale del 30% (la centrale le sovrappone) */
.slide-card.is-prev {
  position: absolute;
  left: calc(50% - 360px - 504px + 151px);
  top: 50%;
  margin-top: -134px;
}

.slide-card.is-next {
  position: absolute;
  left: calc(50% + 360px - 151px);
  top: 50%;
  margin-top: -134px;
}

/* ----- Stack immagini + hover ----- */
.img-stack {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.img-main {
  z-index: 1;
}

.slide-card:hover .img-main {
  transform: translateY(-100%);
}

.img-hover {
  z-index: 0;
  transform: translateY(100%);
}

.slide-card:hover .img-hover {
  transform: translateY(0);
}

/* Overlay hover: nero 40% + SCOPRI DI PIÃ™ */
.hover-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.slide-card:hover .hover-overlay {
  opacity: 1;
}

.hover-overlay span {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----- Side cards: blur gradiente (img-blur con mask) ----- */
.slide-card .img-blur-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.slide-card.is-active .img-blur-wrap {
  display: none;
}

.slide-card.is-prev .img-blur-wrap,
.slide-card.is-next .img-blur-wrap {
  display: block;
}

.img-blur-wrap .img-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.05);
}

/* Left side: nitido verso interno (destra), blur verso esterno (sinistra) */
.slide-card.is-prev .img-blur-wrap {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}

/* Right side: nitido verso interno (sinistra), blur verso esterno (destra) */
.slide-card.is-next .img-blur-wrap {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 35%);
  mask-image: linear-gradient(to left, transparent 0%, black 35%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}

/* Utility: evita saltini su scroll (riserva spazio per header fixed) */
main {
  padding-top: 0;
}

/* ===== PAGINA SERVIZI: footer bianco + sezioni contenuto ===== */
/* Riga separatrice tra hero e sezione 1 (colori Floating Dream) */
.services-intro {
  position: relative;
  padding: 70px 0 56px;
  background: #ffffff;
}

.services-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 20%,
    var(--accent-2) 80%,
    transparent 100%
  );
  opacity: 0.9;
}

.services-intro__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.services-intro__card {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
}

.services-intro__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-intro__list {
  margin: 0 auto;
  max-width: 680px;
  list-style: none;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.services-intro__item {
  padding: 0;
}

.services-intro__item-title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-intro__item-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #000;
}

.service-section {
  padding: 110px 0;
}

.service-section .container,
.container.service-grid {
  max-width: 1200px;
  margin: 0 auto;
}

/* Padding solo per container che NON sono il rettangolo grid (evita sovrascrittura) */
.service-section .container:not(.service-grid) {
  padding: 0 1.5rem;
}

/* Rettangolo stile Floating Dream: sfondo nero 40% opacità, bordo 3px, 90% larghezza */
.service-grid {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(47, 126, 167, 0.5);
  border-radius: 22px;
  padding: 3rem 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-section.is-reverse .service-media {
  order: 2;
}

.service-section.is-reverse .service-text {
  order: 1;
}

/* Centra l’immagine rispetto all’asse orizzontale del rettangolo */
/* Colonna immagine: img a dimensioni fisse, centrata (non segue il rettangolo) */
.service-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-media img {
  display: block;
  width: 480px;
  max-width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  /* Sfumatura gradiente verso trasparente nell’ultimo 20% dei bordi */
}

.service-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.service-icon {
  flex-shrink: 0;
  width: var(--service-icon-size, 56px);
  height: var(--service-icon-size, 56px);
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.service-text h2 {
  margin: 0;
  font-size: 42px;
  letter-spacing: 0.3px;
  color: #f8f9fb;
}

/* Colori per sezione: icona, titolo e bordo contenitore (💧 🔥 🥂 ☕) */
.service-section--water .service-grid { border-color: rgba(3, 169, 244, 0.65); }
.service-section--water .service-icon,
.service-section--water .service-text h2 { color: #03a9f4; }

.service-section--fire .service-grid { border-color: rgba(255, 87, 34, 0.65); }
.service-section--fire .service-icon,
.service-section--fire .service-text h2 { color: #ff5722; }

.service-section--champagne .service-grid { border-color: rgba(255, 193, 7, 0.7); }
.service-section--champagne .service-icon,
.service-section--champagne .service-text h2 { color: #ffc107; }

.service-section--coffee .service-grid { border-color: rgba(109, 76, 65, 0.7); }
.service-section--coffee .service-icon,
.service-section--coffee .service-text h2 { color: #bcaaa4; }

.service-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(248, 249, 251, 0.9);
  max-width: 640px;
}

.service-cta-wrap {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.service-cta {
  --cta-color: #2f7ea7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--cta-color);
  background: rgba(0, 0, 0, 0.25);
  color: var(--cta-color);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.service-cta:hover,
.service-cta:focus-visible {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  filter: saturate(1.15);
}

.service-section--water .service-cta { --cta-color: #03a9f4; }
.service-section--fire .service-cta { --cta-color: #ff5722; }
.service-section--champagne .service-cta { --cta-color: #ffc107; }
.service-section--coffee .service-cta { --cta-color: #bcaaa4; }

.bg-w2b {
  background: linear-gradient(180deg, #ffffff 0%, transparent 100%);
}

.bg-b2w {
  background: linear-gradient(180deg, transparent 0%, #ffffff 100%);
}

/* Footer servizi: gradiente morbido come home/gallery */
body.page-servizi .footer {
  background: #fff !important;
}

/* ===== MEDIA QUERIES: MOBILE & TABLET (4 breakpoint) ===== */

/* 1. Mobile portrait (max-width 767px) */
@media (max-width: 767px) and (orientation: portrait) {
  body::before {
    background-image: url("../img/servizi/background_parallax_servizi_mobile.png");
  }

  .hero {
    padding: calc(var(--header-height) + 1.5rem) 1rem 3rem;
    min-height: 100vh;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .scroll-indicator {
    bottom: 1.5rem;
  }

  .scroll-line {
    height: 32px;
  }

  .services-intro {
    padding: 52px 0 28px;
  }

  .services-intro__inner {
    padding: 0 1rem;
  }

  .services-intro__card {
    text-align: center;
  }

  .services-intro__title {
    font-size: 1.5rem;
  }

  .services-intro__item-title {
    font-size: 1.0625rem;
  }

  .services-intro__item-text {
    font-size: 0.975rem;
  }

  .service-section {
    padding: 64px 0;
  }

  .service-grid {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .container.service-grid {
    padding: 2rem 1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-text {
    order: 1;
    text-align: center;
  }

  .service-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .service-media {
    order: 2;
  }

  .service-media img {
    width: 280px;
    max-width: 100%;
    height: 200px;
  }

  .service-text h2 {
    font-size: 1.5rem;
  }

  .service-text p {
    font-size: 1rem;
  }

  .service-title-wrap {
    justify-content: center;
  }

}

/* 2. Mobile landscape (max-width 767px) */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    padding: calc(var(--header-height) + 1rem) 1rem 2rem;
    min-height: 100vh;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-line {
    height: 28px;
  }

  .services-intro {
    padding: 44px 0 24px;
  }

  .services-intro__inner {
    padding: 0 1rem;
  }

  .services-intro__card {
    text-align: center;
  }

  .services-intro__title {
    font-size: 1.375rem;
  }

  .services-intro__item-title {
    font-size: 1rem;
  }

  .services-intro__item-text {
    font-size: 0.95rem;
  }

  .service-section {
    padding: 56px 0;
  }

  .service-section .container:not(.service-grid) {
    padding: 0 1rem;
  }

  .container.service-grid {
    padding: 1.5rem 1rem;
  }

  .service-grid {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-text {
    order: 1;
    text-align: center;
  }

  .service-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .service-media {
    order: 2;
  }

  .service-media img {
    width: 260px;
    max-width: 100%;
    height: 180px;
  }

  .service-text h2 {
    font-size: 1.375rem;
  }

  .service-text p {
    font-size: 0.95rem;
  }

  .service-title-wrap {
    justify-content: center;
  }
}

/* 3. Tablet portrait (768px – 1024px): stesso menu hamburger di mobile (logo, simbolo disabili, lingue + hamburger) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  body::before {
    background-image: url("../img/servizi/background_parallax_servizi_mobile.png");
  }

  .hero {
    padding: calc(var(--header-height) + 2rem) 1.5rem 3.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
  }

  .services-intro {
    padding: 60px 0 34px;
  }

  .services-intro__inner {
    padding: 0 1.5rem;
  }

  .service-section {
    padding: 90px 0;
  }

  .service-section .container:not(.service-grid) {
    padding: 0 1.5rem;
  }

  .container.service-grid {
    padding: 2rem 1.5rem;
  }

  .service-grid {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-text {
    order: 1;
    text-align: center;
  }

  .service-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .service-media {
    order: 2;
  }

  .service-media img {
    width: 360px;
    max-width: 100%;
    height: 280px;
  }

  .service-text h2 {
    font-size: 2rem;
  }

  .service-text p {
    font-size: 1.0625rem;
  }

  .service-title-wrap {
    justify-content: center;
  }

}

/* 4. Tablet landscape (768px – 1360px) */
@media (min-width: 768px) and (max-width: 1360px) and (orientation: landscape) {
  .hero {
    padding: calc(var(--header-height) + 1.5rem) 2rem 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
  }

  .services-intro {
    padding: 64px 0 36px;
  }

  .services-intro__inner {
    padding: 0 1.5rem;
  }

  .service-section {
    padding: 90px 0;
  }

  .service-section .container:not(.service-grid) {
    padding: 0 1.5rem;
  }

  .container.service-grid {
    padding: 2rem 1.5rem;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .service-media img {
    width: 400px;
    max-width: 100%;
    height: 300px;
  }

  .service-text h2 {
    font-size: 2.25rem;
  }

  .service-text p {
    font-size: 1.0625rem;
  }

}

