/*
Theme Name: Studio Mulas
Theme URI: https://studiodentisticomulas.it
Author: Software Magic
Description: Tema professionale per Studio Dentistico Mulas
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: studio-mulas
*/

/* ===== CSS VARIABLES ===== */
:root {
  --green:        #2e8b4a;
  --green-dark:   #1a5c30;
  --green-light:  #e8f5ee;
  --green-xlight: #f4fbf6;
  --cream:        #fafaf8;
  --white:        #ffffff;
  --text:         #1c2b1e;
  --text-muted:   #5a7060;
  --text-light:   #8fa894;
  --border:       #d6e8db;
  --shadow:       rgba(30,60,35,0.10);
  --shadow-md:    rgba(30,60,35,0.18);
  --radius:       10px;
  --radius-lg:    18px;
  --radius-xl:    28px;
  --transition:   0.28s cubic-bezier(.4,0,.2,1);

  /* Customizer overrides via PHP */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;
  --color-primary:   #2e8b4a;
  --color-secondary: #1a5c30;
  --header-bg:    #ffffff;
  --footer-bg:    #0f3d1f;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 90px 0;
}
.section--alt {
  background: var(--green-xlight);
}
.section--dark {
  background: var(--green-dark);
  color: #fff;
}
.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section--dark .section__label { color: #7ecf96; }
.section__title {
  margin-bottom: 18px;
}
.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 50px;
}
.section--dark .section__subtitle { color: rgba(255,255,255,.72); }
.section--dark h2 { color: #fff; }
.text-center { text-align: center; }
.text-center .section__subtitle { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,139,74,.35);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--green-xlight);
  transform: translateY(-2px);
  color: var(--green-dark);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}
#site-header.scrolled {
  box-shadow: 0 4px 24px var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto;
  height: 72px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo__mark {
  width: 52px;
  height: 52px;
  background: var(--green-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--green);
}
.site-logo__sdm {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green);
  line-height: 1;
  letter-spacing: -1px;
}
.site-logo__sub {
  font-size: 0.38rem;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
  font-family: var(--font-body);
}
.site-logo__text { display: flex; flex-direction: column; }
.site-logo__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.1;
}
.site-logo__tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}
.header-phone svg { color: var(--green); }
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
#main-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
#main-nav ul li a:hover,
#main-nav ul li.current-menu-item a {
  background: var(--green-light);
  color: var(--green-dark);
}
#main-nav ul li.menu-area-riservata a {
  background: var(--green);
  color: #fff;
  border-radius: 50px;
  padding: 8px 18px;
}
#main-nav ul li.menu-area-riservata a:hover {
  background: var(--green-dark);
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: var(--text);
}
.nav-toggle:hover { background: var(--green-light); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition);
  margin: 5px 0;
}
body { padding-top: 72px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
}
/* Overlay: opacità controllata da customizer via --hero-overlay-op */
:root { --hero-overlay-op: 0.50; }
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,61,31,var(--hero-overlay-op)) 0%,
    rgba(26,92,48,calc(var(--hero-overlay-op) * 0.75)) 50%,
    rgba(15,61,31,var(--hero-overlay-op)) 100%
  );
  z-index: 1;
  transition: opacity 0.4s;
}
.hero__bg.overlay-off { opacity: 0; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}
.hero-carousel__slide.active {
  opacity: 1;
}
.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-carousel__slide .slide-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f3d1f 0%, #1e6637 50%, #2e8b4a 100%);
}
/* Frecce nav */
.hero-carousel__nav {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-carousel__btn {
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}
.hero-carousel__btn:hover { background: rgba(255,255,255,.32); }
/* Dots */
.hero-carousel__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.hero-carousel__dot.active {
  background: #fff;
  transform: scale(1.35);
}
/* Barra progresso */
.hero-carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255,255,255,.5);
  z-index: 3;
  width: 0%;
  transition: width linear;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 32px 32px;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero__text {}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,139,74,.25);
  border: 1px solid rgba(46,139,74,.5);
  color: #7ecf96;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero__title span { color: #7ecf96; }
.hero__desc {
  font-size: 1.12rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__card {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.hero__card-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-stat {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.hero-stat__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #7ecf96;
  line-height: 1;
}
.hero-stat__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}
.hero-cert {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-cert__icon {
  width: 36px;
  height: 36px;
  background: rgba(46,139,74,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-cert__text {
  font-size: 0.83rem;
  color: rgba(255,255,255,.75);
}

/* ===== SERVICES STRIP ===== */
.services-strip {
  background: var(--white);
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.services-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1160px;
  margin: 0 auto;
}
.service-strip-item {
  padding: 30px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.service-strip-item:last-child { border-right: none; }
.service-strip-item:hover { background: var(--green-xlight); }
.service-strip-item__icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.service-strip-item__title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 3px;
}
.service-strip-item__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 12px 40px var(--shadow-md);
  transform: translateY(-4px);
}
.card__icon-wrap {
  padding: 28px 28px 0;
}
.card__icon {
  width: 54px;
  height: 54px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.5rem;
}
.card__body { padding: 20px 28px 28px; }
.card__title { font-size: 1.1rem; margin-bottom: 8px; }
.card__text { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.team-card {
  text-align: center;
}
.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--green-light);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 4px 20px var(--shadow);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-light), #d0ead9);
  color: var(--green);
}
.team-card__name { font-size: 1.05rem; margin-bottom: 4px; }
.team-card__role {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.team-card__bio { font-size: 0.88rem; color: var(--text-muted); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--green-light);
}
.gallery-item:first-child {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,61,31,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: #fff;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-light), #c8e6d0);
  color: var(--green);
  gap: 8px;
}
.gallery-placeholder span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,.3); }

/* ===== MAP PAGE ===== */
.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  border: 2px solid var(--border);
  box-shadow: 0 8px 32px var(--shadow);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.info-box__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.info-box__icon {
  width: 42px; height: 42px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.info-box__title { font-size: 1rem; margin: 0; }
.hours-list { display: flex; flex-direction: column; gap: 8px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; padding-bottom: 0; }
.hours-row__day { color: var(--text-muted); }
.hours-row__time { font-weight: 600; color: var(--green-dark); }
.hours-row.closed .hours-row__time { color: #dc2626; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  align-items: start;
}
.contact-info-card {
  background: var(--green-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  position: sticky;
  top: 92px;
}
.contact-info-card h3 { color: #fff; margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,.72); font-size: 0.9rem; margin-bottom: 28px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item__icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #7ecf96;
}
.contact-item__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}
.contact-item__value {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 44px;
  box-shadow: 0 4px 24px var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  margin-bottom: 22px;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.form-label span { color: #dc2626; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,139,74,.12);
  background: var(--white);
}
.form-control::placeholder { color: var(--text-light); }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a7060' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.file-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}
.file-drop:hover, .file-drop.dragover {
  border-color: var(--green);
  background: var(--green-xlight);
}
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-drop__icon {
  color: var(--green);
  margin: 0 auto 10px;
}
.file-drop__text { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.file-drop__hint { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }
.file-list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.file-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.file-chip button {
  background: none; border: none; cursor: pointer;
  color: var(--green-dark); font-size: 1rem;
  line-height: 1; padding: 0;
}
.antibot-field { display: none !important; }
.form-privacy {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.form-privacy a { color: var(--green); }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; }
.form-notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}
.form-notice.success {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid #a8d9b8;
  display: block;
}
.form-notice.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  display: block;
}

/* ===== AREA RISERVATA ===== */
.reserved-hero {
  background: var(--green-dark);
  padding: 80px 0 60px;
  text-align: center;
  color: #fff;
}
.reserved-hero h1 { color: #fff; margin-bottom: 12px; }
.reserved-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.reserved-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 760px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.reserved-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px var(--shadow-md);
  padding: 40px 36px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.reserved-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px var(--shadow-md);
}
.reserved-card__icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.reserved-card--paziente .reserved-card__icon { background: var(--green-light); color: var(--green); }
.reserved-card--medico .reserved-card__icon { background: var(--green-dark); color: #7ecf96; }
.reserved-card h3 { margin-bottom: 10px; }
.reserved-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.reserved-card .btn { width: 100%; justify-content: center; }

/* ===== FOOTER ===== */
#site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.78);
}
.footer-top {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand .site-logo__name { color: #fff; }
.footer-brand .site-logo__tagline { color: rgba(255,255,255,.5); }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,.58);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #7ecf96; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,.58);
}
.footer-contact-item svg { color: #7ecf96; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,.38);
  gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #7ecf96; }
.footer-links { display: flex; gap: 20px; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1e6637 100%);
  padding: 70px 0 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 28px 28px;
}
.page-header__content { position: relative; z-index: 1; }
.page-header h1 { color: #fff; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 560px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ===== FEATURES LIST ===== */
.features-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.feature-item:hover { box-shadow: 0 4px 16px var(--shadow); }
.feature-item__check {
  width: 32px; height: 32px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.feature-item__title { font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
.feature-item__desc { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--green);
  padding: 70px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 32px; }
.cta-banner .btn-white:hover { color: var(--green-dark); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: 0 8px 28px var(--shadow); }
.testimonial-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.92rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.65;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author__avatar {
  width: 38px; height: 38px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-author__name { font-weight: 700; font-size: 0.88rem; }
.testimonial-author__label { font-size: 0.78rem; color: var(--text-muted); }

/* ===== UTILS ===== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-50 { margin-top: 50px; }
.gap-16 { gap: 16px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.divider-green {
  width: 60px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 16px 0 28px;
}
.text-center .divider-green { margin-left: auto; margin-right: auto; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.6s ease both; }
.animate-in--d1 { animation-delay: 0.1s; }
.animate-in--d2 { animation-delay: 0.22s; }
.animate-in--d3 { animation-delay: 0.34s; }
.animate-in--d4 { animation-delay: 0.46s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { max-width: 480px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .services-strip__inner { grid-template-columns: 1fr 1fr; }
  .service-strip-item:nth-child(2) { border-right: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { padding-top: 64px; }
  .header-inner { height: 64px; }
  .site-logo__text { display: none; }
  .header-phone { display: none; }
  #main-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px var(--shadow);
    padding: 16px;
  }
  #main-nav.open { display: block; }
  #main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  #main-nav ul li a { border-radius: var(--radius); }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; }
  .section { padding: 60px 0; }
  .hero { min-height: auto; }
  .hero__content { padding: 60px 24px; }
  .services-strip__inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .gallery-item:first-child { grid-column: span 2; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .reserved-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-info-card { padding: 28px 24px; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .services-strip__inner { grid-template-columns: 1fr; }
  .service-strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .service-strip-item:last-child { border-bottom: none; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .reserved-cards { padding: 0 16px; }
  .cards-grid { grid-template-columns: 1fr; }
}
