/* =============================================
   AVIS Locate di Triulzi – Main Stylesheet
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #C8102E;
  --red-dark:   #A0001E;
  --red-light:  #F9E8EB;
  --white:      #FFFFFF;
  --gray-50:    #F8F8F8;
  --gray-100:   #F0F0F0;
  --gray-200:   #E5E5E5;
  --gray-400:   #9CA3AF;
  --gray-600:   #6B7280;
  --gray-800:   #2D2D2D;
  --dark:       #1A1A1A;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --transition: .25s ease;
  --font:       'Poppins', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.bg-white { background: var(--white); }
.bg-gray  { background: var(--gray-50); }

.d-none-sm { display: none; }
@media (min-width: 768px) { .d-none-sm { display: inline; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--red          { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--red:hover    { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,16,46,.35); }
.btn--white        { background: var(--white); color: var(--red); border-color: var(--white); }
.btn--white:hover  { background: var(--red-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-white{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn--full { width: 100%; justify-content: center; }
.btn--sm   { padding: 10px 20px; font-size: .85rem; }

/* ---- Grids ---- */
.grid { display: grid; gap: 24px; }
.grid--2    { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2-lg { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3    { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--4    { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section--red { background: var(--red); color: var(--white); }

.section__header { text-align: center; margin-bottom: 56px; }
.section__header--white .section__lead { color: rgba(255,255,255,.85); }

.section__tag {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section__tag--white {
  background: rgba(255,255,255,.2);
  color: var(--white);
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section--red .section__title { color: var(--white); }

.section__lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card--icon { text-align: center; }
.card__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.card__icon svg { width: 28px; height: 28px; }
.card__icon--red { background: var(--red-light); color: var(--red); }

.card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.card__text  { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }

.card--feature { position: relative; overflow: hidden; padding: 0; }
.card--feature::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  border-radius: 4px 0 0 4px;
  z-index: 1;
}
.card__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card--feature:hover .card__img img { transform: scale(1.05); }
.card--feature .card__number,
.card--feature .card__title,
.card--feature .card__text {
  padding-left: 32px;
  padding-right: 32px;
}
.card--feature .card__number { padding-top: 24px; }
.card--feature .card__text   { padding-bottom: 32px; }
.card__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.navbar__logo { width: 56px; height: 56px; flex-shrink: 0; }
.navbar__logo img, .navbar__logo svg { width: 100%; height: 100%; object-fit: contain; }
.navbar__logo--footer { width: 48px; height: 48px; }

.navbar__title { display: flex; flex-direction: column; line-height: 1.2; }
.navbar__avis     { font-size: 1.5rem; font-weight: 800; color: var(--red); letter-spacing: .04em; }
.navbar__location { font-size: .88rem; font-weight: 500; color: var(--gray-600); letter-spacing: .03em; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.navbar__link {
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.navbar__link:hover { background: var(--gray-100); color: var(--red); }

.navbar__cta {
  margin-left: 8px;
  padding: 9px 22px;
  background: var(--red);
  color: var(--white);
  font-size: .88rem;
  font-weight: 600;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}
.navbar__cta:hover { background: var(--red-dark); transform: translateY(-1px); }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all .3s;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero__bg {
  position: absolute; inset: 0;
  background-image: url("https://www.avis.it/wp-content/uploads/2023/06/2-donazioni-soci-avis.jpg");
  background-size: cover;
  background-position: center center;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(90,0,10,.85) 0%,
    rgba(170,8,30,.75) 50%,
    rgba(120,4,20,.80) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
  color: var(--white);
}

.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  opacity: .88;
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.hero__stat strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.hero__stat .counter::after { content: '+'; font-size: 1.8rem; }
.hero__stat span { font-size: .85rem; opacity: .75; font-weight: 500; margin-top: 4px; display: block; }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: .6;
  animation: bounce 2s infinite;
  z-index: 1;
}
.hero__scroll svg { width: 32px; height: 32px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---- Team ---- */
.team { margin-top: 56px; text-align: center; }
.team__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 32px; color: var(--gray-800); }

.team__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.team__grid--councillors { gap: 16px; }
.team__grid--single { justify-content: center; margin-bottom: 8px; }
.team__subtitle {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin: 32px 0 16px;
  position: relative;
}
.team__subtitle::before,
.team__subtitle::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gray-200);
  vertical-align: middle;
  margin: 0 10px;
}

.team__member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: var(--gray-600);
  width: 130px;
}
.team__member strong { color: var(--gray-800); font-size: .9rem; line-height: 1.3; }
.team__member span   { font-size: .78rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.team__member--lead .team__avatar {
  width: 72px; height: 72px;
  font-size: 1rem;
  border: 3px solid var(--red);
}
.team__member--lead strong { font-size: 1rem; }
.team__member--lead { width: 160px; }

.team__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  font-weight: 700;
  font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
  flex-shrink: 0;
  overflow: hidden;
}
.team__avatar--photo {
  background: none;
  border: 3px solid var(--red);
}
.team__avatar--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

/* ---- Blood types ---- */
.blood-types { text-align: center; margin-top: 56px; }
.blood-types__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; color: var(--gray-800); }
.blood-types__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.blood-type {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-800);
  transition: all var(--transition);
}
.blood-type:hover { border-color: var(--red); color: var(--red); transform: scale(1.1); }
.blood-type--special {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.blood-type--special:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.blood-types__note { font-size: .88rem; color: var(--gray-600); }

/* ---- Steps ---- */
.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 56px;
}
.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
}
.step:last-child { border-bottom: none; }

.step__number {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step__content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.step__content p  { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }

/* ---- Requisiti ---- */
.requisiti { background: var(--gray-50); border-radius: var(--radius-lg); padding: 40px; }
.requisiti__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: var(--dark); text-align: center; }
.requisito {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--gray-800);
}
.requisito svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.requisiti__note { margin-top: 24px; text-align: center; font-size: .85rem; color: var(--gray-600); }

/* ---- Orari ---- */
.orari__card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
}
.orari__card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: var(--white); }

.orari__icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.orari__icon svg { width: 24px; height: 24px; color: var(--white); }

.orari__schedule { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.orari__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  font-size: .9rem;
}
.orari__row--highlight { background: rgba(255,255,255,.2); font-weight: 600; }
.orari__day  { color: rgba(255,255,255,.9); }
.orari__time { color: var(--white); font-weight: 600; }
.orari__note { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 20px; line-height: 1.5; }

.orari__address { font-style: normal; margin-bottom: 20px; }
.orari__address p { color: rgba(255,255,255,.9); line-height: 1.7; font-size: .95rem; }

.orari__contacts { margin-bottom: 24px; }
.orari__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.orari__contact-link:hover { color: var(--white); }
.orari__contact-link svg { width: 16px; height: 16px; }

/* ---- Mappa ---- */
.orari__map-wrap {
  position: relative;
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.orari__map {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
  filter: saturate(.9);
}
.orari__map-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  color: var(--red);
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.orari__map-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.orari__map-btn svg { width: 15px; height: 15px; }

@media (max-width: 600px) {
  .orari__map { height: 260px; }
}

/* ---- Contact ---- */
.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .contact__wrapper { grid-template-columns: 1fr 360px; }
}

.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.contact__form { display: flex; flex-direction: column; gap: 20px; }

.form__row { display: grid; gap: 20px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form__row--2 { grid-template-columns: 1fr; } }

.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: .85rem; font-weight: 600; color: var(--gray-800); }
.form__required { color: var(--red); }

.form__input {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font);
  font-size: .92rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form__input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.12); }
.form__input::placeholder { color: var(--gray-400); }
.form__select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form__textarea { resize: vertical; min-height: 120px; }

.form__group--checkbox { flex-direction: row; align-items: flex-start; gap: 12px; }
.form__checkbox {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}
.form__label-check { font-size: .85rem; color: var(--gray-600); line-height: 1.5; cursor: pointer; }
.link { color: var(--red); text-decoration: underline; }

.contact__success {
  text-align: center;
  padding: 60px 40px;
}
.success__icon {
  width: 72px; height: 72px;
  background: #ECFDF5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #10B981;
}
.success__icon svg { width: 36px; height: 36px; }
.contact__success h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.contact__success p  { color: var(--gray-600); }

.contact__info { display: flex; flex-direction: column; gap: 16px; }
.contact__info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.contact__info-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.contact__info-icon svg { width: 18px; height: 18px; }
.contact__info-card > div { display: flex; flex-direction: column; gap: 3px; }
.contact__info-card strong { font-size: .82rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .04em; }
.contact__info-card a, .contact__info-card span { font-size: .9rem; color: var(--gray-800); }
.contact__info-card a:hover { color: var(--red); }

.contact__cta-box {
  background: var(--red);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 8px;
  color: var(--white);
}
.contact__cta-box h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.contact__cta-box p  { font-size: .88rem; opacity: .88; margin-bottom: 20px; line-height: 1.6; }

/* ---- Modal Privacy Policy ---- */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  z-index: 3000;
  animation: fadeIn .2s ease;
}
.modal-overlay.open { display: block; }

.modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: min(760px, 94vw);
  max-height: 88vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  z-index: 3001;
  flex-direction: column;
  overflow: hidden;
  animation: modalIn .25s ease forwards;
}
.modal.open { display: flex; }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.94); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: var(--white);
}
.modal__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}
.modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.modal__close:hover { background: var(--red-light); color: var(--red); }
.modal__close svg { width: 18px; height: 18px; }

.modal__body {
  overflow-y: auto;
  padding: 28px 32px;
  flex: 1;
  scroll-behavior: smooth;
}
.modal__body::-webkit-scrollbar { width: 6px; }
.modal__body::-webkit-scrollbar-track { background: var(--gray-100); }
.modal__body::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 3px; }

.modal__intro {
  background: var(--red-light);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 28px;
  color: var(--gray-800);
}

.modal__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 8px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
}
.modal__body h3:first-of-type { margin-top: 0; border-top: none; }
.modal__body p  { font-size: .88rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 10px; }
.modal__body ul { padding-left: 20px; margin-bottom: 10px; }
.modal__body li { font-size: .88rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 4px; }
.modal__body a  { color: var(--red); text-decoration: underline; }

.modal__footer {
  padding: 20px 32px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  background: var(--white);
}

@media (max-width: 600px) {
  .modal__header, .modal__body, .modal__footer { padding-inline: 20px; }
}

/* ---- Footer ---- */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding-top: 64px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 220px;
}
.footer__brand > div { display: flex; flex-direction: column; gap: 4px; }
.footer__brand strong { color: var(--white); font-size: 1rem; font-weight: 700; display: block; }
.footer__brand span   { font-size: .8rem; opacity: .65; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex: 2;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; min-width: 140px; }
.footer__col h5 { color: var(--white); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.footer__col a, .footer__col span { font-size: .88rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: .8rem;
  opacity: .5;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .navbar__nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .navbar__nav.open { display: flex; }
  .navbar__link { padding: 12px 16px; border-radius: 10px; font-size: .95rem; }
  .navbar__cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }
  .navbar__hamburger { display: flex; }

  .hero__content { padding: 60px 0 80px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .hero__stats { gap: 32px; }

  .section { padding: 56px 0; }
  .section__header { margin-bottom: 40px; }

  .contact__form-wrap { padding: 24px; }

  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__links { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
  .hero__stat strong { font-size: 2rem; }
  .step { flex-direction: column; gap: 16px; }
  .requisiti { padding: 24px; }
}
