/* =========================================================
   Parchalmed - Estilos principales
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --navy: #1f2a6b;
  --navy-dark: #161f52;
  --teal: #1f8fab;
  --teal-dark: #17758d;
  --teal-light: #e8f5f8;
  --text: #2b3258;
  --muted: #6b7394;
  --border: #e3e7f0;
  --white: #ffffff;
  --bg: #f7fafc;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 20px 50px -20px rgba(31, 42, 107, 0.25);
  --container: 1360px;
  --header-h: 84px;
}

/* ---------- Reset básico ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* Oculta la página un instante mientras se aplica el idioma guardado (js/lang-boot.js) */
.i18n-pending body { visibility: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--teal); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(31, 143, 171, .7);
}
.btn--primary:hover { background: var(--teal-dark); }

.btn--outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--teal);
}
.btn--outline:hover { background: var(--teal-light); }

.btn--block { width: 100%; }
.btn:disabled { cursor: wait; opacity: .75; transform: none; }

/* Botón con icono de WhatsApp */
.btn__icon { flex-shrink: 0; width: 22px; height: 22px; fill: #25d366; }
.btn--whatsapp { gap: 10px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(31, 42, 107, .08); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: auto; }
.logo__img { width: auto; height: 68px; }

.nav { display: flex; align-items: center; gap: 40px; }

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  font-size: .92rem;
  font-weight: 700;
  color: var(--navy);
  padding: 6px 0;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width .25s;
}
.nav__link:hover::after { width: 100%; }

.nav__cta { padding: 12px 22px; white-space: nowrap; }

/* Selector de idioma */
.lang { position: relative; flex-shrink: 0; }

.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 12px;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lang__toggle:hover,
.lang.is-open .lang__toggle { border-color: var(--teal); background: var(--teal-light); }
.lang__toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.lang__globe,
.lang__chevron {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lang__globe { width: 18px; height: 18px; color: var(--teal); }
.lang__chevron { width: 14px; height: 14px; transition: transform .2s; }
.lang.is-open .lang__chevron { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 110;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lang__menu[hidden] { display: none; }

.lang__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.lang__option:hover,
.lang__option:focus-visible { background: var(--teal-light); outline: none; }
.lang__option[aria-checked="true"] { color: var(--teal-dark); font-weight: 800; }
.lang__option[aria-checked="true"]::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}
.lang__code {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 22px;
  font-size: .72rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(circle at 85% 20%, #e6f3f7 0%, transparent 45%),
    linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .9fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero__eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -.5px;
  margin-bottom: 22px;
}

.hero__lead {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.hero__text {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Tarjeta formulario ---------- */
.hero__content { grid-column: 1; grid-row: 1; }
.hero__form-wrap { position: relative; z-index: 2; grid-column: 2; grid-row: 1; scroll-margin-top: calc(var(--header-h) + 16px); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 26px 22px;
}

.form-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-card__text {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.field { position: relative; margin-bottom: 12px; }

.field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .75;
  pointer-events: none;
}

.field input {
  width: 100%;
  padding: 13px 14px 13px 44px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #9aa1bb; }
.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 143, 171, .15);
}
.field.is-invalid input { border-color: #d64545; }

/* Quita flechas del input number */
.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.form-card .btn--block { margin-top: 10px; }

/* Campo trampa anti-bots: fuera de la vista */
.form-card__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card__note {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 14px;
}

.form-card__status {
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  margin-top: 6px;
  min-height: 1.2em;
}
.form-card__status.is-success { color: var(--teal-dark); }
.form-card__status.is-error { color: #d64545; }

/* ---------- Imagen hero ---------- */
.hero__media {
  position: relative;
  /* Empieza detrás del formulario (columna 2) y llega hasta el borde derecho */
  grid-column: 2 / 4;
  grid-row: 1;
  align-self: stretch;
  min-height: 460px;
  margin-right: calc((100vw - min(100vw, var(--container))) / -2 - 24px);
  margin-top: -48px;
  margin-bottom: -72px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  /* Fondo de respaldo mientras no exista img/hero.jpg */
  background: linear-gradient(160deg, #eaf5f8 0%, #d6ebf1 100%);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Foto pegada a la izquierda: asoma la persona sentada junto al formulario
     y la persona de pie se ve completa a la derecha */
  object-position: 0% center;
}

/* En pantallas medianas hay menos ancho: se desplaza un poco para no cortar a la persona de pie */
@media (max-width: 1500px) and (min-width: 1101px) {
  .hero__img { object-position: 10% center; }
}

/* ---------- Ventajas (franja sobre los servicios) ---------- */
.highlights { padding: 56px 0 8px; background: var(--white); }

.highlights__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 150px;
  padding: 36px 24px;
}
.highlight + .highlight { border-left: 1px solid var(--border); }

.highlight__icon {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight__text { display: flex; flex-direction: column; line-height: 1.25; }
.highlight__text strong { font-size: 1.45rem; font-weight: 800; color: var(--navy); }
.highlight__text span { font-size: 1.1rem; font-weight: 600; color: var(--muted); }

/* ---------- Secciones (común) ---------- */
.section { padding: 96px 0; scroll-margin-top: var(--header-h); }

.section__header { margin-bottom: 48px; }

.section__eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -.3px;
}

/* ---------- Serviços ---------- */
.services { background: var(--white); }

.services__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.services__intro { margin-bottom: 48px; }

.services__subtitle {
  position: relative;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  padding-left: 16px;
  margin-bottom: 12px;
}
.services__subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--teal);
}

.services__text { color: var(--muted); max-width: 680px; }

/* Tarjetas de exámenes */
.exams__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.exam-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.exam-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.exam-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2fb0c9, var(--teal-dark));
  box-shadow: 0 10px 20px -8px rgba(31, 143, 171, .7);
}
.exam-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.exam-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.exam-card__text { font-size: .88rem; line-height: 1.55; color: var(--muted); }

/* Imagen */
.services__media {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Fondo de respaldo mientras no exista img/servicos.jpg */
  background: linear-gradient(160deg, #f1f6f9 0%, #dfeef3 100%);
}
.services__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mantiene el rostro del trabajador visible en cualquier proporción */
  object-position: 28% 20%;
}

/* Tarjetas: consultas, exames complementares, ficha de aptidão */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -18px rgba(31, 42, 107, .25);
  padding: 36px 30px 32px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-card__icon { width: 64px; height: 64px; margin: 0 auto 20px; }
.feature-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 14px;
}

.feature-card__text { font-size: .92rem; line-height: 1.6; color: var(--muted); }
.feature-card__text + .feature-card__text { margin-top: 10px; }

.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 16px 0;
  padding: 0;
}
.feature-card__tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
}

/* ---------- Como funciona ---------- */
.steps { background: var(--bg); }

.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.step { position: relative; display: flex; gap: 16px; align-items: flex-start; }

/* Flecha entre pasos */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -36px;
  width: 22px;
  height: 12px;
  background: var(--teal);
  opacity: .5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.step__number {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #2fb0c9, var(--teal-dark));
  box-shadow: 0 10px 20px -8px rgba(31, 143, 171, .7);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 8px;
}

.step__text { font-size: .9rem; line-height: 1.55; color: var(--muted); }

/* Banner de marcação */
.booking {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 64px;
  padding: 36px 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, var(--teal-dark) 0%, var(--teal) 55%, #2bb3a8 100%);
  box-shadow: 0 20px 40px -20px rgba(23, 117, 141, .6);
  color: var(--white);
}

.booking__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking__content { flex: 1; min-width: 0; }

.booking__title {
  max-width: 460px;
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.booking__text { max-width: 520px; font-size: .95rem; color: rgba(255, 255, 255, .88); }

.booking__btn { flex-shrink: 0; min-width: 200px; padding: 16px 32px; }

/* ---------- Porquê escolher-nos + FAQ ---------- */
.why-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}

.why, .faq { scroll-margin-top: calc(var(--header-h) + 24px); }

.faq {
  padding-left: 64px;
  border-left: 1px solid var(--border);
}

.why .section__title { margin-bottom: 20px; }
.faq .section__eyebrow { margin-bottom: 20px; }

.why__text { color: var(--muted); margin-bottom: 24px; }

.why__list-title { font-weight: 800; color: var(--navy); margin-bottom: 12px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 7px 0 7px 32px;
  font-weight: 600;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10 3 3 5-6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 100%;
}

/* Acordeón FAQ */
.faq__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px -12px rgba(31, 42, 107, .25);
  transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] { border-color: var(--teal); box-shadow: var(--shadow); }

.faq__item summary {
  position: relative;
  padding: 18px 48px 18px 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: var(--radius); }

.faq__item p {
  padding: 0 20px 18px;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Contactos ---------- */
.contact { background: var(--bg); scroll-margin-top: var(--header-h); }

.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr .75fr 1fr;
  min-height: 480px;
}

.contact__info {
  padding: 72px 48px 72px max(24px, calc((100vw - var(--container)) / 2 + 24px));
}
.contact__info .section__title { margin-bottom: 28px; }

.contact__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.contact__item { display: flex; gap: 12px; font-size: .92rem; line-height: 1.45; }
/* La dirección es larga: ocupa toda la fila */
.contact__item:first-child { grid-column: 1 / -1; }
.contact__item div { display: flex; flex-direction: column; min-width: 0; }
.contact__item strong { color: var(--navy); font-weight: 800; }
.contact__item span,
.contact__item a { color: var(--muted); overflow-wrap: anywhere; }
.contact__item a:hover { color: var(--teal); }
.contact__item small { color: var(--muted); font-size: .72rem; opacity: .85; }

.contact__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__media {
  position: relative;
  /* Fondo de respaldo mientras no exista img/instalacoes.jpg */
  background: linear-gradient(160deg, #e3eef3 0%, #c9dee7 100%);
  overflow: hidden;
}
.contact__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Prioriza el logo y el mostrador de la recepción */
  object-position: 70% 30%;
}

.contact__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 72px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 72px 48px;
  background: linear-gradient(150deg, #2aa3be 0%, var(--teal-dark) 100%);
  color: rgba(255, 255, 255, .92);
}
.contact__cta-eyebrow {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.contact__cta-title {
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}
.contact__cta .btn { margin-top: 10px; }

.btn--light { background: var(--white); color: var(--teal-dark); }
.btn--light:hover { background: var(--navy); color: var(--white); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, .7); }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

/* Logo sobre fondo blanco dentro del footer oscuro */
.logo--footer {
  display: inline-flex;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
}
.logo--footer .logo__img { height: 96px; }

.footer__heading { margin: 20px 0 8px; font-weight: 800; color: var(--white); }
.footer__text { max-width: 520px; font-size: .9rem; line-height: 1.65; }

.footer__title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a,
.footer__legal a { font-size: .9rem; transition: color .2s; }
.footer__links a:hover,
.footer__legal a:hover { color: var(--white); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: .82rem;
}
.footer__legal { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer__legal a { font-size: .82rem; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 25px -6px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }

/* ---------- Volver arriba ---------- */
.back-to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 10px 25px -6px rgba(22, 31, 82, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .3s, visibility .3s, transform .3s, background-color .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--teal); }
.back-to-top:hover .back-to-top__arrow { transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 3px solid #7fd0e0; outline-offset: 3px; }

/* Anillo que indica cuánto se ha recorrido de la página */
.back-to-top__progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
  stroke: #7fd0e0;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 163.4;
  stroke-dashoffset: 163.4;
}

.back-to-top__arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s;
}

/* ---------- Modal de éxito ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 31, 82, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 40px 80px -20px rgba(22, 31, 82, .45);
  text-align: center;
  opacity: 0;
  transform: translateY(24px) scale(.94);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.25);
}

.modal.is-open .modal__overlay { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }

/* Cabecera con degradado */
.modal__header {
  position: relative;
  display: grid;
  place-items: center;
  height: 170px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 45%, #2bb3a8 100%);
  overflow: hidden;
}
.modal__header::after {
  /* Curva inferior */
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -46px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
}

.modal__bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.modal__bubble--1 { width: 160px; height: 160px; top: -60px; left: -40px; }
.modal__bubble--2 { width: 90px; height: 90px; top: 30px; right: -20px; }
.modal__bubble--3 { width: 40px; height: 40px; top: 18px; right: 90px; background: rgba(255, 255, 255, .16); }

.modal__badge {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .3);
}

.modal__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .7);
  opacity: 0;
}
.modal.is-open .modal__ring { animation: modal-ring 2.4s ease-out .5s infinite; }
.modal.is-open .modal__ring--delay { animation-delay: 1.3s; }

.modal__check { width: 60px; height: 60px; }
.modal__check-circle {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}
.modal__check-mark {
  fill: none;
  stroke: var(--teal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
}
.modal.is-open .modal__check-circle { animation: modal-draw .6s ease-out .25s forwards; }
.modal.is-open .modal__check-mark { animation: modal-draw .4s ease-out .75s forwards; }

/* Destellos alrededor del icono */
.modal__spark {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9f3ea;
  opacity: 0;
}
.modal__spark--1 { top: 40px; left: calc(50% - 82px); }
.modal__spark--2 { top: 34px; left: calc(50% + 70px); width: 6px; height: 6px; background: var(--white); }
.modal__spark--3 { top: 112px; left: calc(50% - 74px); width: 5px; height: 5px; background: var(--white); }
.modal__spark--4 { top: 104px; left: calc(50% + 76px); }
.modal.is-open .modal__spark { animation: modal-spark .9s ease-out 1s both; }
.modal.is-open .modal__spark--2 { animation-delay: 1.1s; }
.modal.is-open .modal__spark--3 { animation-delay: 1.2s; }
.modal.is-open .modal__spark--4 { animation-delay: 1.05s; }

.modal__body { padding: 12px 36px 36px; }

.modal__title {
  margin-bottom: 12px;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}

.modal__text { margin-bottom: 28px; font-size: 1rem; line-height: 1.6; color: var(--muted); }

.modal__btn { min-width: 180px; }

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.modal__close:hover { background: rgba(255, 255, 255, .3); transform: rotate(90deg); }
.modal__close:focus-visible,
.modal__btn:focus-visible { outline: 3px solid #7fd0e0; outline-offset: 3px; }
.modal__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.2;
  stroke-linecap: round;
}

body.modal-open { overflow: hidden; }

@keyframes modal-draw { to { stroke-dashoffset: 0; } }

@keyframes modal-ring {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes modal-spark {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(1); opacity: .9; }
}

@media (prefers-reduced-motion: reduce) {
  .modal__overlay,
  .modal__dialog { transition: none; }
  .modal.is-open .modal__ring { animation: none; }
  .modal.is-open .modal__check-circle,
  .modal.is-open .modal__check-mark,
  .modal.is-open .modal__spark { animation-duration: .01s; animation-delay: 0s; }
}

/* =========================================================
   Página legal (Política de Privacidade)
   ========================================================= */
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 90% 10%, rgba(43, 179, 168, .18) 0%, transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white);
}
.legal-hero::after {
  /* Cruz decorativa de fondo */
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translateY(-50%);
  background:
    linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) center / 60px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) center / 100% 60px no-repeat;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
}
.breadcrumb a { color: rgba(255, 255, 255, .9); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--white); }

.legal-hero__title {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
}

.legal-hero__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}
.legal-hero__date svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-hero__notice { max-width: 640px; margin-top: 16px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.legal-hero__notice:empty { display: none; }

.legal { padding: 64px 0 96px; background: var(--bg); }

.legal__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* Índice lateral */
.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.legal__toc-title {
  margin-bottom: 12px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
}
.legal__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  border-radius: 8px;
  transition: background-color .2s, color .2s;
}
.legal__toc a::before {
  content: counter(toc);
  flex-shrink: 0;
  min-width: 18px;
  font-weight: 800;
  color: var(--teal);
}
.legal__toc a:hover { background: var(--teal-light); color: var(--navy); }

/* Contenido */
.legal__content {
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -20px rgba(31, 42, 107, .2);
  color: var(--text);
  line-height: 1.75;
}
.legal__content p + p { margin-top: 14px; }
.legal__content a { color: var(--teal-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal__content a:hover { color: var(--navy); }
.legal__content strong { color: var(--navy); }

.legal__intro {
  padding-bottom: 32px;
  margin-bottom: 8px;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--border);
}

.legal__section { padding-top: 36px; scroll-margin-top: calc(var(--header-h) + 24px); }

.legal__section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
}
.legal__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(145deg, #2fb0c9, var(--teal-dark));
  border-radius: 10px;
  box-shadow: 0 8px 16px -8px rgba(31, 143, 171, .8);
}

.legal__list { margin: 14px 0; padding: 0; list-style: none; }
.legal__list li { position: relative; padding: 6px 0 6px 26px; }
.legal__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Ficha del responsable */
.legal__card {
  display: grid;
  margin: 16px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.legal__card div { display: grid; grid-template-columns: 160px 1fr; }
.legal__card div + div { border-top: 1px solid var(--border); }
.legal__card dt { padding: 12px 16px; font-weight: 800; color: var(--navy); background: var(--bg); }
.legal__card dd { margin: 0; padding: 12px 16px; }

/* Tabla de finalidades */
.legal__table-wrap { margin: 8px 0 20px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.legal__table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.55; }
.legal__table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 800;
  color: var(--white);
  background: var(--navy);
}
.legal__table td { padding: 14px 18px; vertical-align: top; border-top: 1px solid var(--border); }
.legal__table td:first-child { width: 40%; font-weight: 700; color: var(--navy); }
.legal__table tbody tr:nth-child(even) { background: var(--bg); }

.legal__highlight {
  padding: 16px 20px;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--teal-light);
  color: var(--navy);
  font-weight: 600;
}

/* Derechos en cuadrícula */
.legal__rights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}
.legal__rights li {
  position: relative;
  padding: 14px 16px 14px 48px;
  font-size: .93rem;
  line-height: 1.5;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.legal__rights li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10 3 3 5-6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 100%;
}
.legal__rights li:last-child { grid-column: 1 / -1; }

/* Bloque de contacto final */
.legal__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, var(--teal-dark) 0%, var(--teal) 60%, #2bb3a8 100%);
  color: var(--white);
}
.legal__contact-title { font-size: 1.2rem; font-weight: 800; }
.legal__contact-text { color: rgba(255, 255, 255, .88); }
.legal__content .legal__contact .btn { flex-shrink: 0; text-decoration: none; color: var(--teal-dark); }
.legal__content .legal__contact .btn:hover { color: var(--white); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 24px 28px;
    background: var(--white);
    box-shadow: 0 16px 30px rgba(31, 42, 107, .12);
    transform: translateY(calc(-100% - var(--header-h)));
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }

  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav__link::after { display: none; }

  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2)::after { display: none; }
  .faq__list { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .legal__grid { grid-template-columns: 1fr; gap: 24px; }
  .legal__toc { position: static; }
  .legal__toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }

  .highlight { gap: 16px; min-height: 130px; padding: 30px 16px; }
  .highlight__icon { width: 56px; height: 56px; }
  .highlight__text strong { font-size: 1.2rem; }
  .highlight__text span { font-size: 1rem; }

  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__media {
    grid-column: 1 / -1;
    min-height: 360px;
    margin: 0;
    border-radius: var(--radius-lg);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__content,
  .hero__form-wrap { grid-row: auto; }
  .hero__form-wrap { grid-column: 2; }
  .hero__media { grid-row: auto; }
  .hero__img { object-position: 40% 30%; }

  .services__grid { grid-template-columns: 1fr; }
  .services__media { min-height: 320px; }
  .features { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }

  .why-faq__grid { grid-template-columns: 1fr; gap: 56px; }
  .faq { padding-left: 0; border-left: 0; }
  .faq__list { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__info { grid-column: 1 / -1; width: 100%; max-width: var(--container); margin: 0 auto; padding: 64px 24px 48px; }
  .contact__media { min-height: 320px; }
  .contact__cta { padding: 56px 40px; }
}


@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .logo__img { height: 58px; }
  .logo--footer .logo__img { height: 84px; }

  .hero { padding: 32px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__content,
  .hero__form-wrap,
  .hero__media { grid-column: 1; }
  .hero__media { min-height: 280px; }

  .section { padding: 64px 0; }

  .highlights { padding: 40px 0 0; }

  .legal-hero { padding: 44px 0 40px; }
  .legal-hero::after { display: none; }
  .legal { padding: 32px 0 64px; }
  .legal__toc ol { grid-template-columns: 1fr; }
  .legal__content { padding: 28px 20px; }
  .legal__section h2 { font-size: 1.15rem; }
  .legal__card div { grid-template-columns: 1fr; }
  .legal__card dt { padding-bottom: 4px; }
  .legal__card dd { padding-top: 4px; }
  .legal__rights { grid-template-columns: 1fr; }
  .legal__table thead { display: none; }
  .legal__table tr { display: block; padding: 12px 16px; border-top: 1px solid var(--border); }
  .legal__table tr:first-child { border-top: 0; }
  .legal__table td { display: block; padding: 4px 0; border: 0; }
  .legal__table td:first-child { width: auto; }
  .legal__table td::before {
    content: attr(data-label);
    display: block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--teal);
  }
  .legal__contact { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .legal__content .legal__contact .btn { width: 100%; }
  .highlight { flex-direction: column; gap: 10px; min-height: 0; padding: 26px 8px; text-align: center; }
  .highlight__icon { width: 48px; height: 48px; }
  .highlight__text strong { font-size: 1.05rem; }
  .highlight__text span { font-size: .9rem; }
  .section__header { margin-bottom: 32px; }

  .exams__list { grid-template-columns: 1fr; }
  .exam-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding: 20px; }
  .exam-card__icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  .features { margin-top: 48px; gap: 20px; }
  .feature-card { padding: 28px 20px 24px; }

  .steps__list { grid-template-columns: 1fr; gap: 28px; }
  .booking { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 48px; padding: 32px 24px; }
  .booking__icon { width: 52px; height: 52px; }
  .booking__btn { width: 100%; }
  .step::after { display: none; }
  .faq__list { grid-template-columns: 1fr; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { padding: 56px 24px 40px; }
  .contact__list { grid-template-columns: 1fr; }
  .contact__media { min-height: 320px; }
  .contact__cta { padding: 48px 24px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 48px; }
  .footer__about { grid-column: 1 / -1; }
  .footer__grid { padding-bottom: 40px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; padding-bottom: 88px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .back-to-top { left: 16px; bottom: 16px; width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero__actions .btn { width: 100%; }
  .form-card { padding: 24px 18px 18px; }
  .contact__info,
  .contact__cta { padding-left: 16px; padding-right: 16px; }
  .modal { padding: 16px; }
  .modal__body { padding: 8px 22px 28px; }
  .modal__title { font-size: 1.3rem; }
  .modal__btn { width: 100%; }
}
