/* ============================================================
   Sant'Andrea - Laboratorio Analisi
   Stylesheet principale
   ============================================================ */

:root {
  --color-primary: #0c5b8b;
  --color-primary-dark: #084770;
  --color-primary-light: #1a78b3;
  --color-accent: #c89b3b;
  --color-accent-dark: #a87f2a;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f9fc;
  --color-bg-dark: #0a3d5c;
  --color-text: #2b2b2b;
  --color-text-light: #5a6873;
  --color-muted: #8a99a5;
  --color-border: #e3e8ee;
  --color-success: #2eaa6b;
  --color-danger: #d23b3b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 6px 18px rgba(12,91,139,.10);
  --shadow-lg: 0 14px 40px rgba(12,91,139,.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font-sans: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --container: 1200px;
  --transition: .25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; color: var(--color-primary-dark); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--color-text-light); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--color-bg-alt); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--color-accent); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; margin-bottom: 8px; }
.section-lead { text-align: center; max-width: 720px; margin: 0 auto 50px; color: var(--color-text-light); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-pill); font-weight: 600;
  border: 2px solid transparent; transition: all var(--transition); cursor: pointer;
  text-decoration: none; font-size: .95rem; letter-spacing: .02em;
}
.btn--primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn--primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn--secondary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--light { background: #fff; color: var(--color-primary); }
.btn--light:hover { background: var(--color-accent); color: #fff; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--color-primary-dark);
  color: #fff;
  font-size: .9rem;
  padding: 13px 0;
}
.topbar .container { display: flex; flex-wrap: nowrap; gap: 18px; align-items: center; justify-content: space-between; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--color-accent); }
.topbar__group { display: flex; flex-wrap: nowrap; gap: 18px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.topbar__socials { display: flex; gap: 13px; }
.topbar__socials a {
  width: 35px; height: 35px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12);
}
.topbar__socials a:hover { background: var(--color-accent); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
  max-width: 1560px;
}
.header__logo img { height: auto; width: 320px; max-width: 100%; display: block; }
.nav { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; }
.nav a {
  padding: 7px 9px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: .015em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav a:hover, .nav a.active { background: var(--color-bg-alt); color: var(--color-accent); }
.nav__cta { margin-left: 8px; }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  padding: 6px 10px;
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
}
.hero-carousel__track {
  position: relative;
  min-height: 560px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide__content {
  max-width: 820px;
  margin: 0 auto;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .8s ease .15s, opacity .8s ease .15s;
}
.hero-slide.is-active .hero-slide__content {
  transform: translateY(0);
  opacity: 1;
}
.hero-slide h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero-slide__subtitle {
  font-size: 1.3rem;
  color: rgba(255,255,255,.95);
  margin-bottom: 30px;
  font-weight: 300;
}
.hero-slide .btn {
  font-size: 1.05rem;
  padding: 16px 36px;
}

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hero-carousel__arrow:hover {
  background: rgba(255,255,255,.32);
}
.hero-carousel__arrow--prev { left: 24px; }
.hero-carousel__arrow--next { right: 24px; }

.hero-carousel__dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.hero-carousel__dot.is-active {
  background: var(--color-accent, #d2a14a);
  transform: scale(1.25);
}
.hero-carousel__dot:hover { background: rgba(255,255,255,.85); }

/* ============================================================
   PROMO
   ============================================================ */
.promo { background: linear-gradient(135deg, var(--color-bg-alt), #eaf3fa); }
.promo__grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.promo__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.promo h2 { color: var(--color-primary-dark); margin-bottom: 12px; }
.promo__price { font-size: 4rem; font-weight: 800; color: var(--color-accent); line-height: 1; margin-bottom: 18px; }
.promo__price small { font-size: 1.3rem; color: var(--color-text-light); font-weight: 600; }
.promo__list { list-style: none; padding: 0; margin: 0 0 28px; }
.promo__list li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.promo__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-success);
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2l-3.5-3.5a1 1 0 1 0-1.4 1.4l4.2 4.2a1 1 0 0 0 1.4 0l9.2-9.2a1 1 0 1 0-1.4-1.4z'/%3E%3C/svg%3E");
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center;
}
.promo__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.promo__image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.promo__badge--center { display: block; width: max-content; margin: 0 auto 12px; }

/* Promo price banner */
.promo-price-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 520px;
  margin: 0 auto 40px;
  padding: 22px 36px 26px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.promo-price-banner::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--color-accent), #f3c861, var(--color-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.promo-price-banner__tag {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.promo-price-banner__amount {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1;
}
.promo-price-banner__currency {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .15em;
  align-self: center;
}
.promo-price-banner__value {
  font-size: 4.4rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.promo-price-banner__value sup {
  font-size: 1.8rem;
  margin-left: 4px;
  top: -.5em;
  font-weight: 700;
}
.promo-price-banner__note {
  font-size: .92rem;
  color: rgba(255,255,255,.9);
  letter-spacing: .02em;
}

/* Check-up Uomo / Donna cards */
.checkup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: 28px;
  margin-bottom: 50px;
}
.checkup-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 0;
}
.checkup-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.checkup-card__header {
  padding: 28px 24px 22px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.checkup-card__header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.15), transparent 55%);
  pointer-events: none;
}
.checkup-card__header--uomo {
  background: linear-gradient(135deg, #0c5b8b, #084770);
}
.checkup-card__header--donna {
  background: linear-gradient(135deg, #1a78b3, #0c5b8b);
}
.checkup-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.checkup-card__icon svg { width: 28px; height: 28px; }
.checkup-card__title {
  color: #fff;
  font-size: 1.5rem;
  margin: 4px 0 6px;
  position: relative;
  z-index: 1;
}
.checkup-card__meta {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
}
.checkup-card .checkup-list {
  list-style: none;
  padding: 24px 28px;
  margin: 0;
  columns: 2;
  column-gap: 22px;
  flex: 1;
}
.checkup-card .checkup-list li {
  padding: 5px 0 5px 22px;
  position: relative;
  font-size: .86rem;
  color: var(--color-text);
  break-inside: avoid;
  line-height: 1.4;
}
.checkup-card .checkup-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-success);
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2l-3.5-3.5a1 1 0 1 0-1.4 1.4l4.2 4.2a1 1 0 0 0 1.4 0l9.2-9.2a1 1 0 1 0-1.4-1.4z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.checkup-card__cta {
  margin: 0 24px 26px;
  align-self: center;
}

/* Partner buttons under the promo (Elan Vital / MD Fisiosport / BioVitalAge) */
.partner-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px auto 0;
  max-width: 820px;
}
.partner-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 28px 20px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-sm);
}
.partner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45));
  z-index: 0;
}
.partner-card > .partner-btn {
  position: relative;
  z-index: 1;
}
.partner-card--elan      { background-image: url("../assets/images/assistenza-anziani.jpg"); }
.partner-card--md        { background-image: url("../assets/images/benefits-of-physiotherapy-edmonton-south.jpg"); }
.partner-card--bio       { background-image: url("../assets/images/premium_photo-1681966826227-d008a1cfe9c7.avif"); }
.partner-card--longevity { background-image: url("../assets/images/iv-therapy-in-crete-fertility-centre.jpg"); }

.partner-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  color: #fff;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: var(--shadow-sm);
  min-width: 220px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.partner-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
  border-radius: inherit;
}
.partner-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.08);
}
.partner-btn__kicker {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
  line-height: 1;
}
.partner-btn__label {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.15;
}

.partner-btn--elan      { background: linear-gradient(135deg, #2eaa6b, #1f7e4f); }
.partner-btn--md        { background: linear-gradient(135deg, #e85a2c, #b53a16); }
.partner-btn--bio       { background: linear-gradient(135deg, #0c5b8b, #084770); }
.partner-btn--longevity { background: linear-gradient(135deg, #8a5cf2, #5a30c4); }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--color-primary-dark); color: #fff; padding: 60px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat__number { font-size: 3rem; font-weight: 800; color: var(--color-accent); line-height: 1; }
.stat__label { font-size: .95rem; opacity: .9; margin-top: 8px; }

/* ============================================================
   CONVENTIONS / PARTNERS
   ============================================================ */
.partners__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.partner-logo {
  filter: grayscale(0.2);
  opacity: .88;
  transition: all var(--transition);
  flex: 1 1 0;
  min-width: 0;
  height: 70px;
  max-height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.partner-logo:hover { filter: none; opacity: 1; transform: translateY(-3px); }
@media (max-width: 768px) {
  .partners__grid { flex-wrap: wrap; justify-content: center; gap: 24px; }
  .partner-logo { flex: 0 1 calc(33.333% - 24px); height: 60px; }
}
@media (max-width: 480px) {
  .partner-logo { flex-basis: calc(50% - 24px); }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.faq__intro h2 { color: var(--color-primary-dark); }
.faq__intro p { color: var(--color-text-light); margin-bottom: 24px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item__q {
  background: none; border: 0; width: 100%; text-align: left;
  padding: 18px 22px; font-size: 1rem; font-weight: 600; color: var(--color-primary-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq-item__q::after { content: "+"; font-size: 1.4rem; color: var(--color-accent); transition: transform var(--transition); }
.faq-item.is-open .faq-item__q::after { content: "−"; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height var(--transition), padding var(--transition); padding: 0 22px; }
.faq-item.is-open .faq-item__a { max-height: 300px; padding: 0 22px 18px; }
.faq-item__a p { margin: 0; color: var(--color-text-light); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: #f5b400; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-style: italic; color: var(--color-text); margin-bottom: 18px; }
.review-author { font-weight: 700; color: var(--color-primary-dark); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact__info h2 { color: var(--color-primary-dark); }
.contact__badge { display: inline-block; background: var(--color-success); color: #fff; padding: 6px 16px; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.contact__items { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 14px; }
.contact__items li { display: flex; align-items: center; gap: 14px; color: var(--color-text); }
.contact__items img { width: 36px; height: 36px; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.contact-form label { display: block; font-weight: 600; color: var(--color-primary-dark); font-size: .85rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  margin-bottom: 18px;
  transition: border-color var(--transition);
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-success {
  margin-top: 22px;
  padding: 18px 22px;
  background: #e7f7ee;
  color: #1c6b3f;
  border: 1px solid #b8e2c6;
  border-radius: var(--radius-md);
  font-size: .98rem;
}

/* ============================================================
   COMING SOON (catalogo analisi, blog placeholder…)
   ============================================================ */
.coming-soon {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 36px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}
.coming-soon__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.coming-soon h2 { color: var(--color-primary-dark); margin-bottom: 12px; }
.coming-soon p { color: var(--color-text-light); max-width: 560px; margin: 0 auto 14px; }
.coming-soon__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--color-bg-dark); color: #cbd6e0; padding: 70px 0 0; }
.footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 22px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 50px; }
.footer__col p, .footer__col a { color: #cbd6e0; font-size: .92rem; }
.footer__col a:hover { color: var(--color-accent); }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { padding: 6px 0; display: flex; align-items: center; gap: 10px; }
.footer__list img { width: 22px; height: 22px; flex-shrink: 0; filter: brightness(0) invert(1); opacity: .85; }
.footer__socials { display: flex; gap: 12px; margin-top: 16px; }
.footer__socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.footer__socials a:hover { background: var(--color-accent); }
.footer__payments { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__payments img { height: 34px; width: auto; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.footer__map iframe { width: 100%; height: 180px; border: 0; border-radius: var(--radius-sm); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .85rem;
}
.footer__bottom a { color: #cbd6e0; }
.footer__bottom a:hover { color: var(--color-accent); }
.footer__bottom .build-info {
  width: 100%;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .03em;
  margin-top: 4px;
}

/* ============================================================
   PAGE HEADER (interne)
   ============================================================ */
.page-header {
  background:
    linear-gradient(135deg, rgba(8,71,112,.85), rgba(12,91,139,.65)),
    url("../assets/images/premium_photo-1681843126728-04eab730febe-1.avif") center/cover no-repeat;
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 8px; }
.breadcrumb { color: rgba(255,255,255,.85); font-size: .95rem; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--color-accent); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  transition: transform var(--transition);
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* ============================================================
   CARDS / GRID GENERICI
   ============================================================ */
.card-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.card:hover .card__image img { transform: scale(1.06); }
.card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.1rem; color: var(--color-primary-dark); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .02em; }
.card__text { color: var(--color-text-light); margin-bottom: 18px; flex: 1; font-size: .93rem; }
.card__link { color: var(--color-accent); font-weight: 600; align-self: flex-start; }
.card__link:hover { gap: 12px; }

/* ============================================================
   TWO COLUMN GENERIC
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.two-col--reverse > div:first-child { order: 2; }
.two-col img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

/* ============================================================
   PILLARS (Chi siamo)
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all var(--transition);
  border-top: 4px solid var(--color-accent);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar h3 { color: var(--color-primary-dark); margin-bottom: 10px; font-size: 1.05rem; }
.pillar p { color: var(--color-text-light); margin: 0; font-size: .92rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-section__title {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--color-primary-dark);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: .01em;
  margin: 0 0 50px;
}
.team-carousel { position: relative; }
.team-carousel__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.team-carousel__track { display: flex; width: max-content; }
.team-carousel--auto .team-carousel__track { animation: team-marquee 32s linear infinite; }
.team-carousel--auto:hover .team-carousel__track { animation-play-state: paused; }
@keyframes team-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.team-member { flex: 0 0 270px; margin-right: 26px; text-align: center; }
.team-member__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eef2f6;
  margin-bottom: 20px;
}
.team-member__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.team-member__name { color: var(--color-primary); font-weight: 600; font-size: 1.05rem; margin: 0 0 10px; line-height: 1.3; }
.team-member__role { color: var(--color-text); font-size: .95rem; margin: 0 0 4px; }
.team-member__spec { color: var(--color-text); font-size: .92rem; line-height: 1.55; margin: 0; }
@media (max-width: 768px) {
  .team-member { flex-basis: 235px; margin-right: 20px; }
  .team-carousel--auto .team-carousel__track { animation-duration: 28s; }
}
@media (max-width: 520px) {
  .team-member { flex-basis: 215px; margin-right: 16px; }
  .team-carousel--auto .team-carousel__track { animation-duration: 24s; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.manifesto h2 { color: #fff; }
.manifesto__text { font-size: 1.6rem; font-weight: 300; max-width: 720px; margin: 0 auto; line-height: 1.6; }
.manifesto__text strong { color: var(--color-accent); font-weight: 700; }

/* ============================================================
   PARTNER LIST PAGE
   ============================================================ */
.partner-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: stretch;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}
.partner-block > div:first-child { order: 0; }
.partner-block > div:last-child {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.partner-block__logo {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border: 1px solid var(--color-border);
}
.partner-block__logo img {
  max-height: 110px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-block h2 { color: var(--color-primary-dark); margin-bottom: 14px; }
.partner-block p { margin-bottom: 12px; }
.partner-block .btn { align-self: flex-start; margin-top: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .promo__grid, .faq__grid, .contact__grid, .two-col, .partner-block { grid-template-columns: 1fr; }
  .two-col--reverse > div:first-child { order: 0; }
  .partner-block__logo { height: 180px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .checkup-grid { grid-template-columns: minmax(0, 480px); }
}

@media (max-width: 720px) {
  .checkup-card .checkup-list { columns: 2; }
  .promo-price-banner__value { font-size: 3.6rem; }
}

@media (max-width: 480px) {
  .checkup-card .checkup-list { columns: 1; }
}

@media (max-width: 600px) {
  .partner-buttons { grid-template-columns: minmax(0, 1fr); max-width: 380px; }
  .partner-card { min-height: 160px; }
  .partner-btn { width: 100%; min-width: 0; }
}

@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow-md); align-items: stretch; gap: 4px; flex-wrap: wrap; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: .9rem; white-space: normal; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 768px) {
  .header__logo img { width: 220px; }
  .topbar { font-size: .75rem; }
  .topbar .container { flex-wrap: wrap; gap: 12px; }
  .topbar__group { flex-wrap: wrap; gap: 12px; }
  .section { padding: 60px 0; }
  .page-header { padding: 60px 0 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-carousel,
  .hero-carousel__track { min-height: 460px; }
  .hero-slide { padding: 60px 0; }
  .hero-carousel__arrow { width: 38px; height: 38px; }
  .hero-carousel__arrow--prev { left: 12px; }
  .hero-carousel__arrow--next { right: 12px; }
  .hero-carousel__dots { bottom: 16px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .promo__price { font-size: 3rem; }
  .topbar__group--left { display: none; }
}
