/* Font Manrope e Inter: self-hosted in assets/fonts/fonts.css (caricato da ogni pagina), nessuna richiesta a Google */

:root {
  --ink: #0a2036;
  --muted: #4a5b70;
  --line: #dce9f2;
  --paper: #ffffff;
  --white: #ffffff;
  --cyan: #00b0e2;
  --blue: #0062d9;
  --teal: #00b0e2;
  --teal-dark: #0062d9;
  --navy: #0a2036;
  --sky: #f2f8fc;
  --mint: #e8f3fa;
  --gold: #00b0e2;
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 100%);
  --shadow: 0 24px 70px rgba(10, 32, 54, 0.15);
  --radius: 14px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  place-content: center;
  gap: 16px;
  background: var(--navy);
  color: var(--white);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__mark {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.preloader__logo {
  width: min(260px, 64vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.24));
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: var(--container);
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 14px 12px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: 0 16px 60px rgba(10, 32, 54, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: top 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 70px rgba(10, 32, 54, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__logo {
  width: 188px;
  height: auto;
  display: block;
}

.brand__logo--footer {
  width: 210px;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--grad);
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 98, 217, 0.22);
}

.brand strong {
  display: block;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  font-family: "Manrope", "Inter", sans-serif;
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-group > a {
  padding-right: 0;
}

.nav-group__toggle {
  position: static;
  flex: none;
  width: 18px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: 5px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-group__toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-submenu {
  position: absolute;
  left: -18px;
  top: calc(100% - 2px);
  width: 270px;
  display: grid;
  gap: 3px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 54px rgba(10, 32, 54, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-group.is-open .nav-group__toggle svg {
  transform: rotate(180deg);
}

.nav-submenu a {
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.25;
}

.nav-submenu a:hover {
  color: var(--blue);
  background: var(--sky);
}

.nav-submenu a::after {
  display: none;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  background: var(--grad);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav__appointment {
  display: none;
}

.header-cta,
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--grad);
  font-size: 13px;
  box-shadow: 0 10px 24px -8px rgba(0, 98, 217, 0.55);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--grad);
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(0, 176, 226, 0.28);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 132px max(20px, calc((100vw - 1160px) / 2)) 86px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__wash {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -2;
  background: var(--navy);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero__wash {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 32, 54, 0.92), rgba(0, 98, 217, 0.52) 42%, rgba(0, 176, 226, 0.08) 76%),
    linear-gradient(0deg, rgba(10, 32, 54, 0.66), rgba(10, 32, 54, 0.03) 38%);
}

.hero__content {
  max-width: 720px;
  padding-bottom: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Inter", sans-serif;
}

.eyebrow {
  color: var(--white);
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 1.02;
}

h1 span {
  display: inline;
  background: none;
  color: inherit;
}

.text-gradient {
  display: inline;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  padding: 0 22px;
}

.btn--primary {
  color: var(--white);
  background: var(--grad);
  box-shadow: 0 18px 44px rgba(0, 98, 217, 0.28);
}

.btn--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: absolute;
  right: max(20px, calc((100vw - 1160px) / 2));
  top: 56%;
  bottom: auto;
  width: min(420px, calc(100vw - 40px));
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
}

.hero-panel > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.panel-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--mint);
  background: rgba(255, 255, 255, 0.16);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 74px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: float 2.2s ease-in-out infinite;
}

.quick-strip {
  width: var(--container);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: -36px auto 0;
  position: relative;
  z-index: 5;
}

.quick-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(10, 32, 54, 0.08);
}

.quick-card > svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  color: var(--teal-dark);
  background: var(--sky);
  border-radius: 50%;
}

.quick-card h2 {
  margin-bottom: 5px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.quick-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 112px 0;
}

.section--split {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 80px;
  align-items: start;
}

.studio-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
}

.studio-section::before {
  position: absolute;
  inset: 54px 0 54px auto;
  width: min(690px, 68%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(242, 248, 252, 0.78) 26%, rgba(255, 255, 255, 0.92));
  border-radius: var(--radius);
  content: none;
  z-index: 0;
}

.studio-heading {
  align-self: center;
}

.studio-heading h2 {
  margin-bottom: 26px;
}

.studio-copy {
  display: block;
}

.studio-copy > p {
  margin: 0;
}

.studio-copy .pill-row {
  justify-content: flex-start;
  margin-top: 24px;
}

.studio-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 28px;
  color: var(--blue-strong);
  font-weight: 800;
  text-decoration: none;
}

.studio-link svg {
  width: 18px;
  transition: transform 0.25s ease;
}

.studio-link:hover svg {
  transform: translate(3px, -3px);
}

.studio-carousel {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.55;
}

.studio-carousel__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 66px rgba(10, 32, 54, 0.16);
}

.studio-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.studio-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
}

.studio-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 12px 30px rgba(10, 32, 54, 0.18);
  transition: transform 0.25s ease, background 0.25s ease;
}

.carousel-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow--prev { left: 18px; }
.carousel-arrow--next { right: 18px; }

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: -26px;
  left: 0;
  z-index: 2;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #c5d3df;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--blue-strong);
}

.studio-folder-art {
  position: absolute;
  right: clamp(28px, 4vw, 56px);
  top: 50%;
  z-index: 0;
  width: min(470px, 46vw);
  opacity: 0.16;
  pointer-events: none;
  transform: translate3d(var(--studio-x, 0), var(--studio-y, 0), 0) translateY(-50%) rotate(-7deg);
  transition: transform 0.28s ease-out;
  filter: saturate(1.12);
}

.studio-section > *:not(.studio-folder-art) {
  position: relative;
  z-index: 1;
}

.section h2,
.doctor-card h2,
.appointment h2,
.contact-copy h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
}

.section__body p,
.section-head p,
.doctor-card p,
.appointment__copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-row span {
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

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

.section-head--center .section-kicker {
  justify-content: center;
}

.specialties {
  padding-top: 40px;
}

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

.specialty-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 58px rgba(10, 32, 54, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.specialty-card::before {
  position: absolute;
  inset: auto -20% -35% 34%;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 176, 226, 0.18), transparent 68%);
  content: "";
}

.specialty-card:hover {
  border-color: rgba(0, 176, 226, 0.36);
  box-shadow: 0 26px 76px rgba(10, 32, 54, 0.13);
  transform: translateY(-8px);
}

.specialty-card--active {
  color: var(--white);
  background: linear-gradient(150deg, var(--navy), var(--blue));
}

.specialty-card > svg {
  width: 58px;
  height: 58px;
  padding: 14px;
  color: var(--teal-dark);
  background: var(--sky);
  border-radius: 50%;
}

.specialty-card--active > svg {
  color: var(--navy);
  background: var(--mint);
}

.specialty-card__number {
  align-self: flex-start;
  padding: 7px 11px;
  color: var(--teal-dark);
  background: rgba(0, 176, 226, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.specialty-card--active .specialty-card__number {
  color: var(--mint);
  background: rgba(255, 255, 255, 0.12);
}

.specialty-card h3 {
  font-size: 30px;
}

.specialty-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.specialty-card--active p {
  color: rgba(255, 255, 255, 0.78);
}

.specialty-card a,
.specialty-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 900;
  color: var(--teal-dark);
}

.specialty-card--active a,
.specialty-card--active .specialty-card__link {
  color: var(--mint);
}

.doctor-band {
  position: relative;
  padding: 90px 0;
  background:
    linear-gradient(90deg, rgba(10, 32, 54, 0.94), rgba(0, 98, 217, 0.82)),
    radial-gradient(circle at 85% 20%, rgba(0, 176, 226, 0.28), transparent 34%);
  color: var(--white);
  isolation: isolate;
}

.doctor-band::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.doctor-card {
  width: var(--container);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
  margin: 0 auto;
}

.doctor-card__portrait {
  width: 320px;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(10, 32, 54, 0.28);
}

.doctor-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.doctor-card p {
  color: rgba(255, 255, 255, 0.78);
}

.journey {
  overflow: hidden;
}

.journey-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 46px 0 18px;
  isolation: isolate;
}

.journey-line::before {
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(50% + 14px);
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 176, 226, 0.18), var(--cyan), var(--blue), rgba(0, 98, 217, 0.18));
  background-size: 180% 100%;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 98, 217, 0.16);
  content: "";
  z-index: 0;
  transform: translateY(-50%);
  animation: timelineFlow 3.8s ease-in-out infinite alternate;
}

.journey-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 16px;
  align-content: start;
  min-height: 250px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(10, 32, 54, 0.08);
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.journey-step:hover {
  border-color: rgba(0, 176, 226, 0.38);
  box-shadow: 0 30px 74px rgba(10, 32, 54, 0.13);
}

.journey-step span {
  position: static;
  grid-row: 1 / span 2;
  align-self: start;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  color: var(--white);
  background: var(--grad);
  border-radius: 14px;
  box-shadow: 0 14px 26px rgba(0, 98, 217, 0.18);
  font-weight: 900;
}

.journey-step h3 {
  grid-column: 2;
  font-size: 26px;
}

.journey-step p {
  grid-column: 2;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.journey-step.reveal {
  transform: none;
  transition: opacity 0.7s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.journey-step.reveal.is-visible {
  transform: none;
}

.appointment {
  width: var(--container);
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 46px;
  align-items: start;
  margin: 0 auto 112px;
  padding: 46px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 32, 54, 0.98), rgba(0, 98, 217, 0.9)),
    radial-gradient(circle at 90% 18%, rgba(189, 241, 232, 0.26), transparent 34%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.appointment__copy {
  position: sticky;
  top: 120px;
}

.appointment__copy p {
  color: rgba(255, 255, 255, 0.78);
}

.appointment-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  outline: 0;
}

.appointment-form input,
.appointment-form select {
  height: 48px;
  padding: 0 14px;
}

.appointment-form textarea {
  min-height: 126px;
  padding: 14px;
  resize: vertical;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(189, 241, 232, 0.16);
}

.appointment-form option {
  color: var(--ink);
}

.appointment-form ::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--mint);
  font-weight: 800;
}

.details-contact {
  width: var(--container);
  margin: 0 auto 94px;
  padding: clamp(64px, 8vw, 110px) 0 clamp(26px, 4vw, 44px);
  color: var(--ink);
  background: var(--paper);
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(420px, 1.24fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.contact-title {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: 0;
}

.contact-title span {
  display: block;
  color: var(--blue);
}

.role {
  max-width: 460px;
  margin: 0 0 34px;
  color: #242b35;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.55;
}

.primary-phone {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
}

.hours {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list {
  display: grid;
  gap: 17px;
  margin-top: 26px;
}

.contact-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #2b3340;
  font-size: 1rem;
  line-height: 1.45;
}

.contact-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-icon svg {
  display: block;
  width: 21px;
  height: 21px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border-radius: 0;
  stroke-width: 2.2;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef5fb;
  box-shadow: 0 24px 64px rgba(22, 54, 91, 0.12);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: clamp(360px, 46vw, 520px);
  border: 0;
  filter: saturate(0.98) contrast(1.02);
}

.map-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: var(--paper);
}

.map-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.map-actions a {
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  width: var(--container);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

/* Pagine chirurgia */
.inner-page {
  background: var(--sky);
}

.page-hero {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: end;
  padding: 160px max(20px, calc((100vw - 1160px) / 2)) 76px;
  overflow: hidden;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(10, 32, 54, 0.94) 0%, rgba(8, 48, 91, 0.82) 44%, rgba(0, 98, 217, 0.48) 76%, rgba(0, 74, 150, 0.42) 100%),
    var(--hero-image, linear-gradient(135deg, var(--navy), #073d78 58%, var(--blue)));
  background-position: center, center;
  background-size: cover;
  isolation: isolate;
}

.page-hero::before,
.page-hero::after {
  display: none;
}

.page-hero::before {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -180px;
}

.page-hero::after {
  width: 260px;
  height: 260px;
  right: 130px;
  top: 20px;
}

.page-hero__content {
  width: min(820px, 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.breadcrumb a:hover {
  color: var(--white);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 7vw, 82px);
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 2vw, 22px);
}

.surgery-intro {
  width: var(--container);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  margin: 0 auto;
  padding: 92px 0 40px;
}

.surgery-intro h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.07;
}

.surgery-intro__copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.surgery-grid {
  width: var(--container);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto;
  padding: 30px 0 112px;
}

.surgery-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(10, 32, 54, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.surgery-card:hover {
  border-color: rgba(0, 98, 217, 0.32);
  box-shadow: 0 28px 70px rgba(10, 32, 54, 0.14);
  transform: translateY(-7px);
}

.surgery-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 50%;
}

.surgery-card h2 {
  font-size: 27px;
  line-height: 1.15;
}

.surgery-card p {
  margin: 14px 0 24px;
  color: var(--muted);
}

.surgery-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.clinical-layout {
  width: var(--container);
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 66px;
  align-items: start;
  margin: 0 auto;
  padding: 80px 0 112px;
}

.clinical-nav {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 5px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(10, 32, 54, 0.07);
}

.clinical-nav strong {
  margin-bottom: 9px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
}

.clinical-nav a {
  padding: 9px 11px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.clinical-nav a:hover,
.clinical-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--sky);
}

.clinical-article {
  min-width: 0;
}

.clinical-article > p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.65;
}

.clinical-article p,
.clinical-article li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.clinical-article h2 {
  margin: 48px 0 16px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.clinical-article h3 {
  margin: 34px 0 10px;
  color: var(--blue);
  font-size: 22px;
}

.clinical-article ul {
  padding-left: 22px;
}

.info-panel {
  margin: 36px 0;
  padding: 24px 26px;
  background: linear-gradient(135deg, #eaf6fc, #f8fbfe);
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.info-panel p {
  margin: 0;
  color: var(--ink);
}

.clinical-disclaimer {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
}

.page-cta {
  width: var(--container);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin: 0 auto 94px;
  padding: 38px 42px;
  color: var(--white);
  background: linear-gradient(130deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-cta h2 {
  font-size: clamp(28px, 3.3vw, 42px);
}

.page-cta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.inner-page .site-footer {
  background: transparent;
}

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

.area-tabs {
  width: var(--container);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: -28px auto 0;
  padding: 10px;
  position: relative;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(10, 32, 54, 0.1);
  backdrop-filter: blur(14px);
}

.area-tabs a {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.area-tabs a:hover,
.area-tabs a[aria-current="page"] {
  color: var(--white);
  background: var(--grad);
}

.services-section {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 112px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(10, 32, 54, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: rgba(0, 98, 217, 0.32);
  box-shadow: 0 26px 68px rgba(10, 32, 54, 0.12);
  transform: translateY(-6px);
}

.service-card > span {
  align-self: flex-start;
  margin-bottom: 17px;
  padding: 6px 9px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.service-card h3 {
  font-size: 23px;
  line-height: 1.18;
}

.service-card p {
  margin: 13px 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

/* Studio page */
.studio-page-hero {
  width: 100%;
  min-height: 720px;
  margin: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.studio-page-hero__media,
.studio-page-hero__media::after {
  position: absolute;
  inset: 0;
}

.studio-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-page-hero__media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 32, 54, 0.9) 0%, rgba(0, 98, 217, 0.58) 58%, rgba(0, 176, 226, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 32, 54, 0.72), rgba(10, 32, 54, 0.04) 72%);
}

.studio-page-hero__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  max-width: none;
  margin: 0 auto;
  padding: 0 0 clamp(58px, 8vw, 104px);
}

.studio-page-hero .breadcrumb,
.studio-page-hero .breadcrumb a,
.studio-page-hero p {
  color: rgba(255, 255, 255, 0.88);
}

.studio-page-hero h1 {
  max-width: 780px;
  margin: 18px 0 20px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.98;
}

.studio-page-hero__lead {
  max-width: 690px;
  margin: 0;
  font-size: clamp(17px, 1.8vw, 21px);
}

.studio-story {
  width: var(--container);
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  column-gap: clamp(46px, 8vw, 112px);
  row-gap: 52px;
  margin: 0 auto;
  padding: 112px 0 92px;
}

.studio-story__intro h2 {
  max-width: 500px;
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.04;
}

.studio-story__copy {
  padding-top: 34px;
}

.studio-story__copy > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.studio-values {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 4px;
}

.studio-value {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--sky);
  border: 1px solid rgba(0, 98, 217, 0.09);
  border-radius: var(--radius);
  text-align: center;
}

.studio-value svg {
  width: 24px;
  height: 24px;
  margin: 0 auto 24px;
  color: var(--blue);
}

.studio-value h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.studio-value p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.studio-gallery-section {
  padding: 100px 0 110px;
  background: #f4f8fb;
}

.studio-gallery-head {
  width: var(--container);
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
  margin: 0 auto 44px;
}

.studio-gallery-head h2 {
  max-width: 680px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
}

.studio-gallery-head > p {
  max-width: 390px;
  margin: 0 0 8px;
  color: var(--muted);
}

.studio-gallery {
  width: var(--container);
  columns: 3 300px;
  column-gap: 14px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  background: #dbe8f1;
  border: 0;
  border-radius: 12px;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(10, 32, 54, 0.3), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-lightbox {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  padding: 0;
  overflow: visible;
  color: var(--white);
  background: transparent;
  border: 0;
}

.gallery-lightbox::backdrop {
  background: rgba(5, 20, 34, 0.92);
  backdrop-filter: blur(8px);
}

.gallery-lightbox__frame {
  position: relative;
}

.gallery-lightbox__image {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.gallery-lightbox__close {
  top: 14px;
  right: 14px;
}

.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__nav--prev { left: 14px; }
.gallery-lightbox__nav--next { right: 14px; }

.gallery-lightbox__caption {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.journey-step.reveal {
  transform: none;
  transition: opacity 0.7s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.journey-step.reveal.is-visible {
  transform: none;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-18px, -10px, 0);
  }
}

@keyframes float {
  50% {
    transform: translate(-50%, -8px);
  }
}

@keyframes pulse {
  from {
    opacity: 0.7;
    transform: scale(0.52);
  }
  to {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes timelineFlow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes mobileMenuGradient {
  from {
    background-position: 78% 10%, 0% 50%;
  }
  to {
    background-position: 18% 28%, 100% 50%;
  }
}

@media (max-width: 1060px) {
  .site-header {
    left: 20px;
    right: 20px;
    width: auto;
    grid-template-columns: auto auto;
    transform: none;
    z-index: 70;
  }

  .nav-toggle {
    position: relative;
    z-index: 80;
    display: grid;
    justify-self: end;
    box-shadow: 0 12px 28px rgba(0, 98, 217, 0.24);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 106px 28px 34px;
    color: var(--white);
    background:
      radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.18), transparent 28%),
      linear-gradient(145deg, var(--cyan) 0%, var(--blue) 58%, var(--navy) 100%);
    background-size: 140% 140%, 180% 180%;
    background-position: 78% 10%, 0% 50%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(-10px) scale(1.02);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  }

  .main-nav .nav-group {
    width: min(100%, 520px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .main-nav .nav-group > a {
    width: auto;
    margin: 0;
    padding-right: 0;
    border-bottom: 0;
  }

  .nav-group__toggle {
    position: static;
    width: 46px;
    height: 46px;
    margin-left: 0;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
  }

  .nav-submenu {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    gap: 2px;
    padding: 0 0 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-group.is-open .nav-submenu {
    display: grid;
  }

  .main-nav .nav-submenu a {
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.09);
    border: 0;
    font-size: 15px;
    line-height: 1.3;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: mobileMenuGradient 7s ease-in-out infinite alternate;
  }

  .main-nav a {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(26px, 8vw, 44px);
    font-weight: 850;
    line-height: 1.05;
    text-align: left;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:last-of-type {
    border-bottom: 0;
  }

  .main-nav__appointment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-top: 24px;
    padding: 0 22px;
    color: var(--blue) !important;
    background: var(--white);
    border: 0 !important;
    border-radius: 999px;
    font-size: 15px !important;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 20px 44px rgba(10, 32, 54, 0.18);
  }

  body.nav-open .site-header {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.nav-open .brand {
    position: relative;
    z-index: 80;
  }

  body.nav-open .brand__logo {
    filter: brightness(0) invert(1);
  }

  body.nav-open .nav-toggle {
    color: var(--blue);
    background: var(--white);
  }

  body.nav-open .nav-toggle:focus-visible {
    outline-color: rgba(255, 255, 255, 0.66);
  }

  .header-cta {
    display: none;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    top: auto;
    width: min(420px, 100%);
    margin-top: 30px;
    transform: none;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .scroll-cue {
    bottom: 24px;
  }

  .quick-strip,
  .specialty-grid,
  .appointment,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .journey-line {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 38px;
    padding: 36px 0 0;
  }

  .journey-line::before {
    left: 50%;
    right: auto;
    top: 48px;
    bottom: 36px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, rgba(0, 176, 226, 0.18), var(--cyan), var(--blue), rgba(0, 98, 217, 0.18));
    background-size: 100% 180%;
    transform: translateX(-50%);
  }

  .journey-step,
  .journey-step:nth-child(even),
  .journey-step:hover,
  .journey-step:nth-child(even):hover {
    transform: none;
  }

  .journey-step {
    display: block;
    width: min(100%, 420px);
    min-height: 0;
    padding: 68px 26px 34px;
    text-align: center;
  }

  .journey-step span {
    position: absolute;
    top: -34px;
    left: 50%;
    right: auto;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 20px;
    transform: translateX(-50%);
    box-shadow: 0 18px 34px rgba(0, 98, 217, 0.24);
  }

  .journey-step h3,
  .journey-step p {
    grid-column: auto;
    text-align: center;
  }

  .map-card iframe {
    height: 360px;
  }

  .section--split,
  .doctor-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .studio-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .studio-copy {
    display: block;
  }

  .studio-copy .pill-row {
    justify-content: flex-start;
  }

  .studio-carousel {
    width: 100%;
    aspect-ratio: 1.6;
    margin-bottom: 22px;
  }

  .studio-story {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .studio-story__copy {
    padding-top: 0;
  }

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

  .studio-gallery-head > p {
    margin-top: 20px;
  }

  .studio-folder-art {
    right: 18px;
  }

  .doctor-card__portrait {
    width: min(320px, 100%);
  }

  .appointment__copy {
    position: static;
  }

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

  .clinical-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .clinical-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clinical-nav strong {
    grid-column: 1 / -1;
  }

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

@media (max-width: 700px) {
  :root {
    --container: min(100vw - 24px, 1160px);
  }

  .site-header {
    top: 10px;
    left: 12px;
    right: 12px;
    min-height: 64px;
    padding: 10px;
    border-radius: 12px;
  }

  .brand__logo {
    width: 142px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 52px;
  }

  .hero__wash {
    background:
      linear-gradient(90deg, rgba(10, 32, 54, 0.95), rgba(0, 98, 217, 0.5)),
      linear-gradient(0deg, rgba(10, 32, 54, 0.78), rgba(10, 32, 54, 0.12));
  }

  .hero__content {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(34px, 11.2vw, 44px);
    line-height: 1.04;
  }

  .hero__lead,
  .section__body p,
  .section-head p,
  .doctor-card p,
  .appointment__copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.58;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .hero-panel {
    width: 100%;
    margin-top: 24px;
  }

  .hero-panel > div {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 13px;
  }

  .studio-heading h2 {
    margin-bottom: 20px;
  }

  .studio-carousel {
    aspect-ratio: 1.22;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow--prev { left: 10px; }
  .carousel-arrow--next { right: 10px; }

  .studio-page-hero {
    min-height: 600px;
  }

  .studio-page-hero__content {
    padding: 0 0 42px;
  }

  .studio-page-hero h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .studio-story {
    padding: 74px 0 66px;
  }

  .studio-story__copy > p {
    font-size: 16px;
  }

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

  .studio-gallery-section {
    padding: 70px 0 76px;
  }

  .studio-gallery {
    columns: 2 145px;
    column-gap: 9px;
  }

  .gallery-item {
    margin-bottom: 9px;
    border-radius: 9px;
  }

  .gallery-lightbox {
    width: calc(100vw - 18px);
  }

  .gallery-lightbox__close,
  .gallery-lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .panel-icon {
    width: 38px;
    height: 38px;
  }

  .scroll-cue {
    display: none;
  }

  .quick-strip {
    gap: 10px;
    margin-top: 14px;
  }

  .quick-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .quick-card > svg {
    width: 44px;
    height: 44px;
    padding: 11px;
  }

  .section {
    padding: 70px 0;
  }

  .specialties {
    padding-bottom: 96px;
  }

  .doctor-band {
    margin-top: -64px;
    padding-top: 126px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 248, 252, 0.72) 8%, rgba(0, 176, 226, 0.18) 18%, rgba(0, 98, 217, 0) 34%),
      linear-gradient(90deg, rgba(10, 32, 54, 0.94), rgba(0, 98, 217, 0.82)),
      radial-gradient(circle at 85% 20%, rgba(0, 176, 226, 0.28), transparent 34%);
  }

  .doctor-band::before {
    inset: 0 0 auto;
    height: 140px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(242, 248, 252, 0.72) 28%,
      rgba(0, 176, 226, 0.18) 60%,
      rgba(0, 98, 217, 0) 100%
    );
    z-index: 0;
  }

  .doctor-card {
    position: relative;
    z-index: 1;
  }

  .section h2,
  .doctor-card h2,
  .appointment h2,
  .contact-copy h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .details-contact {
    padding: 56px 0 28px;
  }

  .details-grid {
    gap: 32px;
  }

  .contact-title {
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  .map-card iframe {
    height: 320px;
  }

  .map-actions {
    display: grid;
  }

  .specialty-card,
  .appointment {
    padding: 22px;
  }

  .journey-step {
    width: min(100%, 332px);
    padding: 68px 22px 34px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 400px;
    padding: 126px 12px 58px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .surgery-intro,
  .surgery-grid {
    grid-template-columns: 1fr;
  }

  .surgery-intro {
    gap: 22px;
    padding-top: 64px;
  }

  .surgery-grid {
    padding-bottom: 76px;
  }

  .surgery-card {
    min-height: 0;
  }

  .clinical-layout {
    padding: 58px 0 76px;
  }

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

  .page-cta {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 64px;
    padding: 28px 24px;
  }

  .gyn-area-grid,
  .area-tabs,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .area-tabs {
    margin-top: -18px;
  }

  .area-tabs a {
    min-height: 48px;
  }

  .services-section {
    padding-bottom: 76px;
  }

  .service-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === aggiunte 2026-10: form (honeypot + consenso), footer legale, pagine legali === */
.appointment-form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.appointment-form .consent { grid-template-columns: auto 1fr; align-items: start; gap: 12px; font-weight: 500; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.84); }
.appointment-form .consent input { appearance: auto; -webkit-appearance: checkbox; width: 18px; height: 18px; min-height: 0; padding: 0; margin: 2px 0 0; border: 0; border-radius: 4px; background: none; box-shadow: none; accent-color: var(--cyan); }
.appointment-form .consent a { color: #fff; text-decoration: underline; }
.site-footer { flex-wrap: wrap; }
.site-footer__legal { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 0.85rem; }
.clinical-layout--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; padding-top: 56px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 40px 0 12px; }
.legal h3 { margin: 26px 0 8px; color: var(--ink); font-size: 1.1rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 12px 0 20px; }
.legal th, .legal td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.legal th { color: var(--ink); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.legal code { background: var(--sky); padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.9em; }
.legal .legal-meta { font-size: 0.9rem; }

/* === aggiunte 2026-10 (mobile): spazio per il bottone cookie, menu, swipe, mappa su richiesta === */
.site-footer, .inner-page .site-footer { padding-bottom: 88px; }
.studio-carousel__viewport { touch-action: pan-y; cursor: grab; }
.studio-carousel__slide img { user-select: none; -webkit-user-drag: none; }
.gallery-lightbox__image { touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.map-consent { display: grid; place-items: center; height: clamp(360px, 46vw, 520px); padding: 28px 24px; text-align: center; background: var(--sky); }
.map-consent p { max-width: 440px; margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.map-card iframe[hidden] { display: none; }
@media (max-width: 1060px) {
  .main-nav a.main-nav__appointment { margin: 30px auto 0; }
  .map-consent { height: 360px; }
}
@media (max-width: 700px) {
  .map-consent { height: 320px; }
}
.site-footer__legal .powered { color: inherit; font-weight: 700; text-decoration: none; }
.site-footer__legal .powered:hover { text-decoration: underline; }
