:root {
  --bg: #F7F9F8;
  --bg-light: #FFFFFF;
  --text: #1E274F;
  --muted: #65706F;

  --primary: #009E91;
  --primary-dark: #00786F;

  --navy: #1E274F;
  --navy-dark: #151C3A;
  --accent: #F58220;

  --border: rgba(30, 39, 79, 0.12);
  --white: #ffffff;

  --shadow: 0 24px 70px rgba(30, 39, 79, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ANIMAZIONI SCROLL */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal-zoom.is-visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.reveal-delay-5 {
  transition-delay: 0.40s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(247, 249, 248, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

.logo-main {
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.logo small {
  color: var(--navy);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  margin-top: 6px;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}

.main-nav a {
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}
/* HEADER LANDING IMPIANTI */

.implant-header .main-nav {
  gap: 28px;
}

.implant-header .main-nav a {
  position: relative;
  font-weight: 600;
}

.implant-header .main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.implant-header .main-nav a:hover::after {
  width: 100%;
}

.implant-header .header-cta {
  white-space: nowrap;
}

/* MOBILE MENU LANDING IMPIANTI */

@media (max-width: 768px) {
  .implant-header .main-nav.active {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 82px;
    display: grid;
    gap: 6px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .implant-header .main-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
    color: var(--navy);
  }

  .implant-header .main-nav a:hover {
    background: rgba(0, 158, 145, 0.08);
    color: var(--primary);
  }

  .implant-header .main-nav a::after {
    display: none;
  }
}
.header-cta {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 30px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 7px 0;
}

/* HERO */

.hero {
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 158, 145, 0.12), transparent 38%),
    radial-gradient(circle at left center, rgba(245, 130, 32, 0.08), transparent 34%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(0, 158, 145, 0.10);
  top: -220px;
  right: -160px;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.05;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(48px, 7vw, 84px);
  max-width: 760px;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin-bottom: 22px;
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
  letter-spacing: -0.025em;
}

.hero-content p,
.section-heading p,
.studio-content p,
.contact-content p {
  color: var(--muted);
  font-size: 18px;
  max-width: 660px;

}
.reviews-section p {
    margin: 0 auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(30, 39, 79, 0.18);
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.hero-info div {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.hero-info strong,
.hero-info span {
  display: block;
}

.hero-info strong {
  font-size: 15px;
  color: var(--navy);
}

.hero-info span {
  color: var(--muted);
  font-size: 14px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image {
  width: 100%;
  height: 660px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: -30px;
  bottom: 42px;
  z-index: 2;
  width: 280px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 39, 79, 0.08);
}

.hero-card span {
  display: block;
  font-size: 13px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-card strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.025em;
}
/* HERO LANDING SERVIZI */

.implant-hero {
  position: relative;
  padding: 155px 0 105px;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(247, 249, 248, 0.98) 0%,
      rgba(247, 249, 248, 0.92) 48%,
      rgba(0, 158, 145, 0.10) 100%
    ),
    var(--bg);
}

.implant-hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -220px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: rgba(0, 158, 145, 0.12);
  z-index: 0;
}

.implant-hero::after {
  content: "";
  position: absolute;
  left: -220px;
  bottom: -280px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(245, 130, 32, 0.08);
  z-index: 0;
}

.implant-hero-bg-shape {
  position: absolute;
  right: 8%;
  top: 130px;
  width: 340px;
  height: 340px;
  border-radius: 48% 52% 62% 38% / 42% 40% 60% 58%;
  background: linear-gradient(
    135deg,
    rgba(0, 158, 145, 0.20),
    rgba(30, 39, 79, 0.08)
  );
  filter: blur(1px);
  z-index: 0;
  animation: implantFloatShape 8s ease-in-out infinite;
}

@keyframes implantFloatShape {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(18px) rotate(4deg);
  }
}

.implant-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.implant-hero-content {
  max-width: 720px;
}

.implant-hero-content .eyebrow {
  color: var(--primary);
}

.implant-hero-content h1 {
  max-width: 760px;
  color: var(--navy);
}

.implant-hero-content p {
  color: var(--muted);
  font-size: 18px;
  max-width: 650px;
}

.implant-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.implant-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.implant-trust-row div {
  padding: 18px 0 0;
  border-top: 1px solid rgba(30, 39, 79, 0.14);
}

.implant-trust-row strong,
.implant-trust-row span {
  display: block;
}

.implant-trust-row strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.implant-trust-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* HERO VISUAL */

.implant-hero-visual {
  position: relative;
  min-height: 680px;
}

.implant-image-card {
  position: absolute;
  top: 30px;
  right: 0;
  width: 78%;
  height: 600px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(30, 39, 79, 0.18);
  z-index: 2;
}

.implant-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(30, 39, 79, 0.02),
      rgba(30, 39, 79, 0.22)
    );
  z-index: 2;
  pointer-events: none;
}

.implant-image-card .implant-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.implant-data-card {
  position: absolute;
  z-index: 4;
  width: 250px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(30, 39, 79, 0.08);
  box-shadow: 0 24px 70px rgba(30, 39, 79, 0.14);
}

.implant-data-card span {
  display: flex;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(0, 158, 145, 0.10);
  color: var(--primary);
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.implant-data-card strong {
  display: block;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.implant-data-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.implant-data-card-one {
  top: 0;
  left: 0;
  animation: implantFloatCardOne 6s ease-in-out infinite;
}

.implant-data-card-two {
  right: 18px;
  bottom: 68px;
  animation: implantFloatCardTwo 7s ease-in-out infinite;
}

@keyframes implantFloatCardOne {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

@keyframes implantFloatCardTwo {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.implant-mini-cta {
  position: absolute;
  left: 42px;
  bottom: 0;
  z-index: 5;
  width: 340px;
  padding: 24px;
  border-radius: 26px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 28px 80px rgba(30, 39, 79, 0.22);
}

.implant-mini-cta span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.5;
}

.implant-mini-cta a {
  display: inline-flex;
  color: var(--accent);
  font-weight: 800;
  border-bottom: 1px solid var(--accent);
}

/* RESPONSIVE HERO LANDING */

@media (max-width: 1180px) {
  .implant-hero-grid {
    gap: 54px;
  }

  .implant-image-card {
    width: 82%;
  }
}

@media (max-width: 1024px) {
  .implant-hero {
    padding: 135px 0 85px;
  }

  .implant-hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .implant-hero-content {
    max-width: 100%;
  }

  .implant-hero-content p {
    max-width: 760px;
  }

  .implant-hero-visual {
    min-height: 620px;
  }

  .implant-image-card {
    position: relative;
    top: auto;
    right: auto;
    width: 78%;
    height: 560px;
    margin-left: auto;
  }

  .implant-data-card-one {
    top: 34px;
    left: 0;
  }

  .implant-data-card-two {
    right: 24px;
    bottom: 78px;
  }

  .implant-mini-cta {
    left: 24px;
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .implant-hero {
    padding: 120px 0 70px;
  }

  .implant-hero-grid {
    gap: 44px;
  }

  .implant-hero-actions {
    width: 100%;
  }

  .implant-hero-actions .btn {
    width: 100%;
  }

  .implant-trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .implant-hero-visual {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .implant-image-card {
    position: relative;
    width: 100%;
    height: 430px;
    margin-left: 0;
    border-radius: 28px;
  }

  .implant-data-card,
  .implant-mini-cta {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    animation: none;
  }

  .implant-data-card {
    padding: 22px;
  }

  .implant-mini-cta {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .implant-hero {
    padding: 110px 0 60px;
  }

  .implant-image-card {
    height: 360px;
    border-radius: 24px;
  }

  .implant-data-card {
    border-radius: 22px;
  }

  .implant-mini-cta {
    border-radius: 22px;
  }
}


/* SECTIONS */

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 54px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* SERVIZI - SLIDER */

.services-section {
  position: relative;
  background-image:
  linear-gradient(
    135deg,
    rgba(30, 39, 79, 0.90) 0%,
    rgba(30, 39, 79, 0.78) 42%,
    rgba(0, 158, 145, 0.68) 100%
  ),
  url("img/servizi-bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 158, 145, 0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(245, 130, 32, 0.16), transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

/* HEADER SEZIONE */

.services-heading-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 54px;
}

.services-section .section-heading {
  margin-bottom: 0;
}

.services-section .section-heading h2 {
  color: var(--white);
}

.services-section .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

/* FRECCE */

.services-slider-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 6px;
}

.services-prev,
.services-next {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.services-prev:hover,
.services-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* TRACK SLIDER - TOTALMENTE TRASPARENTE */

.services-slider-wrap {
  position: relative;
  overflow: hidden;
  margin-left: calc((100vw - min(1180px, calc(100vw - 40px))) / -2);
  margin-right: calc((100vw - min(1180px, calc(100vw - 40px))) / -2);
  padding-left: calc((100vw - min(1180px, calc(100vw - 40px))) / 2);
  padding-right: calc((100vw - min(1180px, calc(100vw - 40px))) / 2);
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.services-slider-wrap::before,
.services-slider-wrap::after {
  display: none !important;
  content: none !important;
}

.services-slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 0 28px;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.services-slider::before,
.services-slider::after {
  display: none !important;
  content: none !important;
}

.services-slider.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.services-slider::-webkit-scrollbar {
  display: none;
}

/* CARD BIANCHE - OMBRA RIDOTTA */

.service-slide-card {
  flex: 0 0 365px;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(30, 39, 79, 0.10);
  box-shadow: none;
  scroll-snap-align: start;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-slide-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 158, 145, 0.28);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.service-slide-card-link {
  color: inherit;
}

/* IMMAGINE CARD */

.service-slide-image {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: transparent;
}

.service-slide-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 39, 79, 0.00), rgba(30, 39, 79, 0.20));
  pointer-events: none;
}

.service-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 0.55s ease;
}

.service-slide-card:hover .service-slide-image img {
  transform: scale(1.06);
}

/* CONTENUTO CARD */

.service-slide-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
  background: var(--white);
}

.service-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(0, 158, 145, 0.10);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-slide-content h3 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 25px;
}

.service-slide-content ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.service-slide-content li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.service-slide-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 158, 145, 0.12);
}

.service-more {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid var(--accent);
}

/* NOTA FINALE */

.services-bottom-note {
  margin-top: 28px;
}

.services-bottom-note p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.services-bottom-note a {
  color: var(--accent);
  font-weight: 800;
  border-bottom: 1px solid var(--accent);
}

.services-bottom-note a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* RESPONSIVE SERVIZI */

@media (max-width: 1024px) {
  .services-section {
    background-attachment: scroll;
  }

  .services-heading-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .services-slider-controls {
    padding-bottom: 0;
  }

  .service-slide-card {
    flex-basis: 340px;
  }
}

@media (max-width: 768px) {
  .services-heading-row {
    margin-bottom: 36px;
  }

  .services-slider-wrap {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .services-slider {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .service-slide-card {
    flex-basis: 310px;
    min-height: 560px;
  }

  .service-slide-card:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
  }

  .service-slide-image {
    height: 190px;
  }

  .service-slide-content {
    padding: 24px;
  }

  .service-slide-content h3 {
    font-size: 22px;
  }

  .services-prev,
  .services-next {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .service-slide-card {
    flex-basis: 86vw;
  }

  .services-slider-controls {
    width: 100%;
  }

  .services-prev,
  .services-next {
    flex: 1;
    border-radius: 999px;
  }
}

/* LO STUDIO */

.studio-section {
  background: var(--bg);
}

.studio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.studio-content p + p {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 30px;
  color: var(--primary);
  font-weight: 800;
  border-bottom: 1px solid var(--primary);
  transition: all 0.3s ease;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
/* TIP BOX STUDIO */

.studio-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 620px;
  margin-top: 30px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0, 158, 145, 0.10), rgba(255, 255, 255, 0.92)),
    var(--white);
  border: 1px solid rgba(0, 158, 145, 0.16);
  box-shadow: 0 18px 48px rgba(30, 39, 79, 0.08);
}

.studio-tip-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 23px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 158, 145, 0.22);
}

.studio-tip-icon span {
  display: block;
  line-height: 1;
}

.studio-tip-content strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.studio-tip-content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .studio-tip-box {
    padding: 20px;
    border-radius: 22px;
  }

  .studio-tip-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 20px;
  }

  .studio-tip-content strong {
    font-size: 18px;
  }

  .studio-tip-content p {
    font-size: 14px;
  }
}

/* GALLERY STUDIO - 2 QUADRATE + 1 VERTICALE */

.studio-gallery {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: stretch;
}

.studio-gallery-left {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.studio-gallery-right {
  display: block;
}

.studio-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(30, 39, 79, 0.10);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.studio-gallery-left img {
  aspect-ratio: 1 / 1;
}

.studio-gallery-right img {
  aspect-ratio: 4 / 5.85;
}

.studio-gallery img:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 70px rgba(30, 39, 79, 0.16);
}

/* PADRE E FIGLIO */

.family-section {
  background:
    radial-gradient(circle at top left, rgba(0, 158, 145, 0.10), transparent 32%),
    radial-gradient(circle at bottom right, rgba(245, 130, 32, 0.08), transparent 28%),
    var(--white);
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.family-image-wrap {
  position: relative;
}

.family-image {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.family-badge {
  position: absolute;
  right: -28px;
  bottom: 42px;
  width: 280px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 39, 79, 0.08);
}

.family-badge span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.family-badge strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.family-content p {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}

.family-content p + p {
  margin-top: 18px;
}

.family-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.family-values div {
  padding: 24px;
  border-radius: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.family-values strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.family-values span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Effetto hover immagine */
.family-image-wrap:hover .family-image {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 80px rgba(30, 39, 79, 0.16);
}

.family-image {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

/* RECENSIONI */

.reviews-section {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(0, 158, 145, 0.10), transparent 34%),
    radial-gradient(circle at bottom left, rgba(245, 130, 32, 0.08), transparent 30%),
    var(--bg);
  overflow: hidden;
}

.reviews-section .section-heading {
  margin-bottom: 54px;
}

.reviews-slider {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  overflow: visible;
}

.review-track {
  position: relative;
  width: 100%;
  transition: height 0.35s ease;
  overflow: visible;
}

.review-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: auto;
  padding: 46px;
  border-radius: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(30, 39, 79, 0.10);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  overflow: visible;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
    text-align: center;
}

.review-card.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.review-card:hover {
  border-color: rgba(0, 158, 145, 0.22);
  box-shadow: 0 30px 90px rgba(30, 39, 79, 0.14);
}

.review-card .stars,
.stars {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 0.10em;
  margin-bottom: 26px;
}

.review-card p {
  display: block;
  max-height: none;
  overflow: visible;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 30px;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: center;
}

.review-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.review-card span {
  display: block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

/* CONTROLLI SLIDER */

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

.slider-prev,
.slider-next {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(30, 39, 79, 0.12);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(30, 39, 79, 0.10);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(0, 158, 145, 0.22);
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 39, 79, 0.18);
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.slider-dots button.active {
  width: 28px;
  border-radius: 999px;
  background: var(--primary);
}

/* LINK GOOGLE */

.google-reviews-bottom {
  margin-top: 28px;
  text-align: center;
}

.google-reviews-bottom a {
  display: inline-flex;
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
  border-bottom: 1px solid var(--primary);
}

.google-reviews-bottom a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* RESPONSIVE RECENSIONI */

@media (max-width: 768px) {
  .reviews-section .section-heading {
    margin-bottom: 36px;
  }

  .review-card {
    padding: 32px;
    border-radius: 28px;
  }

  .review-card p {
    font-size: 16px;
    line-height: 1.7;
  }

  .review-card .stars,
  .stars {
    font-size: 19px;
    margin-bottom: 22px;
  }

  .slider-controls {
    gap: 14px;
    margin-top: 28px;
  }

  .slider-prev,
  .slider-next {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .review-card {
    padding: 26px;
    border-radius: 24px;
  }

  .review-card p {
  font-size: 16px;
  }

  .slider-controls {
    gap: 12px;
  }

  .slider-prev,
  .slider-next {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
  }

  .slider-dots {
    gap: 7px;
  }

  .slider-dots button {
    width: 8px;
    height: 8px;
  }

  .slider-dots button.active {
    width: 24px;
  }
}


/* CONTATTI */

.contact-section {
  background:
    radial-gradient(circle at top right, rgba(0, 158, 145, 0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(245, 130, 32, 0.14), transparent 30%),
    var(--navy);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-section h2 {
  color: var(--white);
}

.contact-section .eyebrow {
  color: var(--accent);
}

.contact-content p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-info {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

.contact-info div {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-info strong,
.contact-info span,
.contact-info a {
  display: block;
}

.contact-info strong {
  margin-bottom: 4px;
  color: var(--white);
}

.contact-info span,
.contact-info a {
  color: rgba(255, 255, 255, 0.78);
}

.contact-info a:hover {
  color: var(--accent);
}

.contact-form-box {
  background: var(--white);
  color: var(--navy);
  padding: 38px;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.booking-form {
  display: grid;
  gap: 18px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(30, 39, 79, 0.14);
  border-radius: 16px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  background: #ffffff;
  outline: none;
  transition: all 0.3s ease;
}

.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 23px,
    calc(100% - 16px) 23px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(30, 39, 79, 0.45);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 158, 145, 0.10);
}

.privacy-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.privacy-check input {
  margin-top: 4px;
  accent-color: var(--primary);
}

.full-width {
  width: 100%;
  border: 0;
}

.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.form-message.success {
  display: block;
  background: rgba(0, 158, 145, 0.10);
  color: var(--primary-dark);
}

.form-message.error {
  display: block;
  background: rgba(245, 130, 32, 0.12);
  color: #b85d0f;
}

.honeypot {
  display: none !important;
}

/* CLOUDFLARE TURNSTILE */

.turnstile-wrap {
  display: flex;
  justify-content: center;
  padding: 4px 0 2px;
}

.turnstile-wrap .cf-turnstile {
  max-width: 100%;
}

@media (max-width: 480px) {
  .turnstile-wrap {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

/* RESPONSIVE CONTATTI */

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

@media (max-width: 768px) {
  .contact-form-box {
    padding: 26px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* PRIVACY MODAL */

.privacy-check button.privacy-modal-open {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-family: inherit;
  font-size: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.privacy-check button.privacy-modal-open:hover {
  color: var(--accent);
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.privacy-modal.is-open {
  display: flex;
}

.privacy-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 28, 58, 0.74);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.privacy-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  max-height: min(86vh, 820px);
  background: var(--white);
  color: var(--navy);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.privacy-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 39, 79, 0.08);
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.privacy-modal-close:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(90deg);
}

.privacy-modal-header {
  padding: 42px 46px 24px;
  border-bottom: 1px solid var(--border);
}

.privacy-modal-header .eyebrow {
  color: var(--primary);
  margin-bottom: 14px;
}

.privacy-modal-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
  padding-right: 42px;
}

.privacy-modal-header p {
  color: var(--muted);
  font-size: 16px;
  max-width: 700px;
}

.privacy-modal-content {
  padding: 30px 46px 42px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(30, 39, 79, 0.08);
}

.privacy-modal-content::-webkit-scrollbar {
  width: 8px;
}

.privacy-modal-content::-webkit-scrollbar-track {
  background: rgba(30, 39, 79, 0.08);
  border-radius: 999px;
}

.privacy-modal-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 999px;
}

.privacy-modal-content h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.privacy-modal-content h3:first-child {
  margin-top: 0;
}

.privacy-modal-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.privacy-modal-content p + p {
  margin-top: 12px;
}

.privacy-modal-content strong {
  color: var(--navy);
}

.privacy-modal-note {
  margin-top: 30px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(0, 158, 145, 0.08);
  border: 1px solid rgba(0, 158, 145, 0.14);
}

/* blocca scroll pagina quando modal aperto */
body.privacy-modal-opened {
  overflow: hidden;
}

@media (max-width: 768px) {
  .privacy-modal {
    padding: 14px;
  }

  .privacy-modal-dialog {
    max-height: 88vh;
    border-radius: 24px;
  }

  .privacy-modal-header {
    padding: 34px 24px 20px;
  }

  .privacy-modal-header h2 {
    padding-right: 34px;
  }

  .privacy-modal-content {
    padding: 24px;
  }

  .privacy-modal-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 28px;
  }
}

/* FOOTER */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-section {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 520px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    left: 24px;
  }

  .studio-gallery {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    height: 72px;
  }

  .logo-main {
    font-size: 24px;
  }

  .logo small {
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .main-nav.active {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 82px;
    display: grid;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 15px;
    color: var(--navy);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 100%;
    margin-top: 12px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(0, 158, 145, 0.06);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: block;
    transform: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a {
    padding: 11px 12px;
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 70px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-content p,
  .section-heading p,
  .studio-content p,
  .contact-content p {
    font-size: 16px;
  }

  .hero-info {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 430px;
  }

  .hero-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px;
  }

  .studio-gallery {
    grid-template-columns: 1fr;
  }

  .studio-gallery-left {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
  }

  .studio-gallery-left img,
  .studio-gallery-right img {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .review-track {
    min-height: 390px;
  }

  .review-card {
    padding: 34px 24px;
  }

  .review-card p {
    font-size: 16px;
  }

  .contact-form-box {
    padding: 26px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-image {
    height: 360px;
  }

  .studio-gallery-left {
    grid-template-columns: 1fr;
  }

  .studio-gallery-left img,
  .studio-gallery-right img {
    aspect-ratio: 4 / 5;
  }

  .review-track {
    min-height: 450px;
  }
}
/* RESPONSIVE */

@media (max-width: 1024px) {
  .family-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .family-image {
    height: 520px;
  }

  .family-badge {
    right: 24px;
  }
}

@media (max-width: 768px) {
  .family-image {
    height: 430px;
  }

  .family-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }

  .family-content p {
    font-size: 16px;
  }

  .family-values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .family-image {
    height: 360px;
  }
}

/* LANDING IMPIANTI DENTALI */

.implant-hero {
  padding: 150px 0 95px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 158, 145, 0.14), transparent 38%),
    radial-gradient(circle at bottom left, rgba(245, 130, 32, 0.08), transparent 34%),
    var(--bg);
}

.implant-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.implant-hero-content p {
  color: var(--muted);
  font-size: 18px;
  max-width: 660px;
}

.implant-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.implant-hero-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.implant-hero-points div {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.implant-hero-points strong,
.implant-hero-points span {
  display: block;
}

.implant-hero-points strong {
  color: var(--navy);
  font-size: 15px;
}

.implant-hero-points span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.implant-hero-image-wrap {
  position: relative;
}

.implant-hero-image {
  width: 100%;
  height: 660px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.implant-floating-card {
  position: absolute;
  left: -28px;
  bottom: 42px;
  width: 290px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 39, 79, 0.08);
}

.implant-floating-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.implant-floating-card strong {
  display: block;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* INTRO */

.implant-intro-section {
  background: var(--white);
}

.implant-intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 64px;
  align-items: start;
}

.implant-intro-content p {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.implant-intro-content p + p {
  margin-top: 18px;
}

.implant-intro-box {
  padding: 34px;
  border-radius: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(30, 39, 79, 0.08);
}

.implant-intro-box ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  list-style: none;
}

.implant-intro-box li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.implant-intro-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

.implant-intro-box p {
  color: var(--muted);
  font-size: 15px;
}

/* STEPS */

.implant-steps-section {
  background:
    linear-gradient(
      135deg,
      rgba(30, 39, 79, 0.92),
      rgba(0, 158, 145, 0.78)
    ),
    url("img/servizi-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
}

.implant-steps-section .eyebrow {
  color: var(--accent);
}

.implant-steps-section h2,
.implant-steps-section h3 {
  color: var(--white);
}

.implant-steps-section .section-heading p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto;
}

.implant-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.implant-step-card {
  padding: 34px;
  min-height: 260px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  transition: all 0.3s ease;
}

.implant-step-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
}

.implant-step-card span {
  display: flex;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.implant-step-card p {
  color: rgba(255, 255, 255, 0.76);
}

/* CASI CLINICI */

.clinical-section {
  background: var(--bg);
}

.clinical-grid {
  display: grid;
  gap: 34px;
}

.clinical-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(30, 39, 79, 0.08);
}

.clinical-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.clinical-images div {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.clinical-images img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.clinical-images span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(30, 39, 79, 0.82);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.clinical-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.clinical-content p {
  color: var(--muted);
  font-size: 16px;
}

.clinical-content ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.clinical-content li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15px;
}

.clinical-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* RECENSIONI IMPIANTI */

.implant-reviews-section {
  background:
    radial-gradient(circle at top right, rgba(0, 158, 145, 0.10), transparent 34%),
    radial-gradient(circle at bottom left, rgba(245, 130, 32, 0.08), transparent 30%),
    var(--white);
}

.implant-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.implant-review-card {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(30, 39, 79, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.implant-review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 158, 145, 0.26);
  box-shadow: 0 26px 76px rgba(30, 39, 79, 0.13);
}

.implant-review-card.featured {
  background:
    linear-gradient(135deg, rgba(0, 158, 145, 0.10), rgba(255, 255, 255, 0.96)),
    var(--white);
  border-color: rgba(0, 158, 145, 0.22);
}

.implant-review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.implant-review-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.implant-review-top strong,
.implant-review-top span {
  display: block;
}

.implant-review-top strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.implant-review-top span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.implant-review-stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 0.10em;
  margin-bottom: 18px;
}

.implant-review-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* RESPONSIVE RECENSIONI IMPIANTI */

@media (max-width: 1024px) {
  .implant-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .implant-reviews-grid {
    grid-template-columns: 1fr;
  }

  .implant-review-card {
    padding: 26px;
  }
}

/* BENEFICI */

.implant-benefits-section {
  background: var(--white);
}

.implant-benefits-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.implant-benefits-content p {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}

.implant-benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.implant-benefits-list div {
  padding: 28px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.implant-benefits-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.implant-benefits-list span {
  color: var(--muted);
  font-size: 15px;
}

/* FAQ */

.implant-faq-section {
  background: var(--bg);
}

.implant-faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.implant-faq-heading p {
  color: var(--muted);
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  padding: 24px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 22px;
  color: var(--primary);
  font-size: 26px;
  line-height: 1;
}

.faq-item.active button::after {
  content: "–";
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 15px;
}

/* CTA FINALE CON FORM */

.implant-final-cta {
  padding: 110px 0;
  background:
    radial-gradient(circle at top right, rgba(0, 158, 145, 0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(245, 130, 32, 0.14), transparent 30%),
    var(--navy);
  color: var(--white);
}

.implant-form-cta-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 70px;
  align-items: start;
}

.implant-form-cta-content {
  position: sticky;
  top: 120px;
}

.implant-form-cta-content .eyebrow {
  color: var(--accent);
}

.implant-form-cta-content h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.implant-form-cta-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  max-width: 620px;
}

.implant-cta-info {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

.implant-cta-info div {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.implant-cta-info strong,
.implant-cta-info span {
  display: block;
}

.implant-cta-info strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.implant-cta-info span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.5;
}

.implant-phone-box {
  margin-top: 42px;
  padding: 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.implant-phone-box span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.5;
}

.implant-phone-box .btn-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.implant-phone-box .btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.implant-form-box {
  background: var(--white);
  color: var(--navy);
  padding: 38px;
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.implant-form-box .booking-form {
  display: grid;
  gap: 18px;
}

.implant-form-box .form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.implant-form-box .form-row {
  display: grid;
  gap: 8px;
}

.implant-form-box .form-row label {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.implant-form-box .form-row input,
.implant-form-box .form-row select,
.implant-form-box .form-row textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(30, 39, 79, 0.14);
  border-radius: 16px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  background: #ffffff;
  outline: none;
  transition: all 0.3s ease;
}

.implant-form-box .form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 50%),
    linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 23px,
    calc(100% - 16px) 23px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.implant-form-box .form-row textarea {
  resize: vertical;
  min-height: 130px;
}

.implant-form-box .form-row input::placeholder,
.implant-form-box .form-row textarea::placeholder {
  color: rgba(30, 39, 79, 0.45);
}

.implant-form-box .form-row input:focus,
.implant-form-box .form-row select:focus,
.implant-form-box .form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 158, 145, 0.10);
}

.implant-form-box .privacy-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.implant-form-box .privacy-check input {
  margin-top: 4px;
  accent-color: var(--primary);
}

.implant-form-box .privacy-check button.privacy-modal-open {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-family: inherit;
  font-size: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.implant-form-box .privacy-check button.privacy-modal-open:hover {
  color: var(--accent);
}

.implant-form-box .full-width {
  width: 100%;
  border: 0;
}

.implant-form-box .form-message {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.implant-form-box .form-message.success {
  display: block;
  background: rgba(0, 158, 145, 0.10);
  color: var(--primary-dark);
}

.implant-form-box .form-message.error {
  display: block;
  background: rgba(245, 130, 32, 0.12);
  color: #b85d0f;
}

.implant-form-box .honeypot {
  display: none !important;
}

/* RESPONSIVE LANDING IMPIANTI */

@media (max-width: 1024px) {
  .implant-hero-grid,
  .implant-intro-grid,
  .implant-benefits-grid,
  .implant-faq-grid,
  .implant-final-box {
    grid-template-columns: 1fr;
  }

  .implant-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clinical-card {
    grid-template-columns: 1fr;
  }

  .implant-steps-section {
    background-attachment: scroll;
  }

  .implant-hero-image {
    height: 520px;
  }

  .implant-floating-card {
    left: 24px;
  }
  .implant-form-cta-grid {
   grid-template-columns: 1fr;
   gap: 48px;
 }

 .implant-form-cta-content {
   position: relative;
   top: auto;
 }
}

@media (max-width: 768px) {
  .implant-hero {
    padding: 120px 0 70px;
  }

  .implant-hero-points {
    grid-template-columns: 1fr;
  }

  .implant-hero-image {
    height: 430px;
  }

  .implant-floating-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }

  .implant-steps-grid,
  .implant-benefits-list {
    grid-template-columns: 1fr;
  }
  .implant-steps-grid {
    grid-template-columns: 1fr;
  }

  .clinical-card {
    padding: 20px;
  }

  .clinical-images {
    grid-template-columns: 1fr;
  }

  .clinical-images img {
    height: 280px;
  }

  .implant-final-actions {
    width: 100%;
  }

  .implant-final-actions .btn {
    width: 100%;
  }
  .implant-final-cta {
    padding: 80px 0;
  }

  .implant-form-box {
    padding: 26px;
  }

  .implant-form-box .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .implant-phone-box .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .implant-hero-image {
    height: 360px;
  }

  .implant-intro-box,
  .implant-step-card,
  .implant-benefits-list div {
    padding: 24px;
  }
}

/* GALLERY STUDIO SLIDER */

.studio-slider-section {
  background:
    radial-gradient(circle at top right, rgba(0, 158, 145, 0.10), transparent 34%),
    radial-gradient(circle at bottom left, rgba(245, 130, 32, 0.08), transparent 30%),
    var(--white);
  overflow: hidden;
}

.studio-slider-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 54px;
}

.studio-slider-heading .section-heading {
  margin-bottom: 0;
}

.studio-slider-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 6px;
}

.studio-gallery-prev,
.studio-gallery-next {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(30, 39, 79, 0.12);
  background: var(--white);
  color: var(--primary);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.studio-gallery-prev:hover,
.studio-gallery-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(0, 158, 145, 0.22);
}

.studio-gallery-slider-wrap {
  position: relative;
  overflow: hidden;
  margin-left: calc((100vw - min(1180px, calc(100vw - 40px))) / -2);
  margin-right: calc((100vw - min(1180px, calc(100vw - 40px))) / -2);
  padding-left: calc((100vw - min(1180px, calc(100vw - 40px))) / 2);
  padding-right: calc((100vw - min(1180px, calc(100vw - 40px))) / 2);
}

.studio-gallery-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 0 24px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.studio-gallery-slider.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.studio-gallery-slider::-webkit-scrollbar {
  display: none;
}

.studio-gallery-card {
  position: relative;
  flex: 0 0 520px;
  height: 620px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg);
  scroll-snap-align: start;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.studio-gallery-card:hover {
  transform: translateY(-8px);
}

.studio-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 0.65s ease;
}

.studio-gallery-card:hover img {
  transform: scale(1.06);
}

.studio-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(30, 39, 79, 0.00) 35%,
      rgba(30, 39, 79, 0.72) 100%
    );
  pointer-events: none;
}

.studio-gallery-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.studio-gallery-caption span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.studio-gallery-caption strong {
  display: block;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* RESPONSIVE GALLERY STUDIO */

@media (max-width: 1024px) {
  .studio-slider-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .studio-slider-controls {
    padding-bottom: 0;
  }

  .studio-gallery-card {
    flex-basis: 460px;
    height: 560px;
  }
}

@media (max-width: 768px) {
  .studio-slider-heading {
    margin-bottom: 36px;
  }

  .studio-gallery-slider-wrap {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .studio-gallery-card {
    flex-basis: 82vw;
    height: 520px;
    border-radius: 28px;
  }

  .studio-gallery-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 20px;
    border-radius: 20px;
  }

  .studio-gallery-caption strong {
    font-size: 19px;
  }

  .studio-gallery-prev,
  .studio-gallery-next {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .studio-gallery-card {
    flex-basis: 88vw;
    height: 460px;
  }

  .studio-slider-controls {
    width: 100%;
  }

  .studio-gallery-prev,
  .studio-gallery-next {
    flex: 1;
    border-radius: 999px;
  }
}
