/* =========================================================
   PEDÍ TU SERVICIO — Fonts locales
   ========================================================= */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
src: url("../fonts/Roboto-Regular.woff2") format("woff2"),
       url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/Roboto-SemiBold.woff2") format("woff2"),
       url("../fonts/Roboto-SemiBold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: 
  url("../fonts/Roboto-Bold.woff2") format("woff2"),
       url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  src:
   url("../fonts/Roboto-Black.woff2") format("woff2"),
       url("../fonts/Roboto-Black.ttf") format("truetype");
  font-display: swap;
}

/* =========================================================
   PEDÍ TU SERVICIO — Design tokens
   ========================================================= */
:root {
  --azul-oscuro: #0d47a1;
  --azul-principal: #1976d2;
  --celeste: #42a5f5;
  --celeste-claro: #e3f2fd;
  --naranja: #e8590c;
  --blanco: #ffffff;
  --gris-claro: #f5f7fa;
  --texto: #1d2939;
  --texto-suave: #52607a;
  --borde: #e2e8f0;

  --font-display: "Roboto", "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --font-label: "Roboto", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(13, 47, 102, 0.08);
  --shadow-md: 0 8px 24px rgba(13, 47, 102, 0.12);
  --container: 1250px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
body {
  font-family: var(--font-body);
  color: var(--texto);
  background: #f5f2ed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

[class^="bi-"], [class*=" bi-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  min-width: 1em;
}
a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: 760px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--azul-oscuro);
}
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--azul-oscuro);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.btn--primary {
  background: var(--azul-oscuro);
  color: #fff;
}
.btn--primary:hover {
  background: #0a3a8a;
  box-shadow: var(--shadow-md);
}
.btn--cta {
  background: var(--naranja);
  color: #fff;
}
.btn--cta:hover {
  background: #f8800f;
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--azul-oscuro);
  border: 1.5px solid var(--borde);
}
.btn--ghost:hover {
  border-color: var(--azul-principal);
  color: var(--azul-principal);
}
.btn--outline {
  background: transparent;
  color: var(--azul-principal);
  border: 1.5px solid var(--azul-principal);
}
.btn--outline:hover {
  background: var(--celeste-claro);
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}
.btn--whatsapp {
  background: #25d366;
  color: #fff;
}
.btn--whatsapp:hover {
  background: #1da851;
}
.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--blanco);
  border-bottom: 1px solid var(--borde);
}

body {
  padding-top: 90px;
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 90px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__icon {
  border: 1px solid #0d47a1;

  background-color: #f5f7fa;
  border-radius: 8px;
  padding: 4px;
  height: 54px;
  width: 54px;
  object-fit: contain;
  flex-shrink: 0;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--azul-oscuro);
  letter-spacing: 0.01em;
}
.brand__title em {
  font-style: normal;
  color: var(--azul-principal);
}
.brand__subtitle {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto);
}
.brand__title--light {
  color: #fff;
}
.brand__title--light em {
  color: var(--celeste);
}
.brand__subtitle--light {
  color: #b9cbe8;
}
.brand--footer {
  margin-bottom: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a {
  color: var(--texto);
  transition: color 0.15s ease;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--azul-principal);
  transition: width 0.2s ease;
  border-radius: 1px;
}
.nav a:hover {
  color: var(--azul-principal);
}
.nav a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__phone {
  font-family: var(--font-label);
  font-weight: 900;
  font-size: 1.5rem;
  color: #00b4d8;
  white-space: nowrap;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header__phone svg {
  width: 30px;
  height: 30px;
}
.header__phone:hover {
  color: var(--azul-oscuro);
}
.header__phone-bar {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1.5px solid var(--borde);
  border-radius: 8px;
  transition: border-color 0.2s;
}
.menu-toggle:hover {
  border-color: var(--azul-principal);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--azul-oscuro);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  transform-origin: center;
}
.menu-toggle.is-open {
  border-color: var(--azul-principal);
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* =========================================================
   Hero — imagen grande, pegada arriba y a la derecha
   ========================================================= */
.hero {
  position: relative;
  background: #f8f9fa;
  margin-top: 0;
  scroll-margin-top: 50px;
  overflow: hidden;
  padding: 0 0 56px;
}

.hero__row {
  display: grid;
  grid-template-columns: 1fr 1.15fr; /* columna de foto un poco más ancha */
  align-items: center; /* centra verticalmente el bloque de texto y buscador */
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--azul-oscuro);
  letter-spacing: 0;
}
.hero h1 span {
  color: var(--azul-principal);
}
.hero__sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a2e;
  max-width: 580px;
  margin-bottom: 28px;
}

.hero__search-title {
  text-align: center;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azul-principal);
  margin-bottom: 10px;
}

/* Contenedor del buscador */
.search-box {
  display: flex;
  flex-direction: column; /* campos uno encima del otro por defecto */
  gap: 20px; /* antes 15px, más aire entre campos */
  background: #ffffff;
  padding: 32px; /* antes 24px, caja más alta */
  border-radius: 20px;
  box-shadow:
    0 12px 32px rgba(13, 47, 102, 0.1),
    0 2px 8px rgba(13, 47, 102, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.6);
  margin-top: 20px;
  position: relative;
  z-index: 5; /* la levanta por encima del borde de la foto */
  align-self: flex-start; /* para que el ancho custom no lo pise el stretch del flex padre */
  width: calc(100% + 80px); /* antes +60px, más ancho */
  max-width: 760px; /* antes 680px */
  margin-right: -80px; /* la corre para que "invada" el borde de la foto */
}
.search-field {
  width: 100%;
}
.search-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--texto-suave);
  margin-bottom: 8px;
  white-space: nowrap; /* evita que el texto se corte en dos líneas y rompa la alineación */
}
.search-field label i {
  color: var(--azul-principal);
  font-size: 0.95rem;
  flex-shrink: 0; /* el ícono no se achica si el espacio es justo */
}
.brand__cerca {
  font-size: 1.1em;
  color: var(--azul-principal);
}
.search-field select {
  font: inherit;
  font-size: 0.8rem; /* más chico, antes 0.9rem */
  width: 100%;
  padding: 15px 40px 15px 14px; /* antes 13px, caja más alta */
  border-radius: 10px;
  border: 1.5px solid var(--borde);
  color: var(--texto);
  background-color: #fff;
  appearance: none; /* saca la flecha nativa del navegador */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2352607a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.search-field select:hover {
  border-color: var(--azul-principal);
}
.search-field select:focus,
.search-box__submit:focus {
  outline: none;
  border-color: var(--azul-principal);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}
.search-box__submit {
  width: 100%;
  padding: 15px;
  margin-top: 10px;
  border-radius: 10px;
  background: var(--azul-oscuro);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}
.search-box__submit i {
  font-size: 1rem;
}
.search-box__submit:hover {
  background: #0a3a8a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 71, 161, 0.3);
}
.search-box__submit:active {
  transform: translateY(0);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texto-suave);
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-list li i {
  color: var(--azul-principal);
  font-size: 1rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra h1, párrafo y buscador dentro de la columna */
 padding-top: 40px;
  position: relative;
  z-index: 2;
}

.hero__content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__content p.hero__sub {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Wrapper de la foto: rompe el contenedor y llega al borde derecho real */
.hero__art {
  align-self: start; /* la foto se mantiene pegada arriba aunque la fila esté centrada */
  position: relative;
  margin-right: calc(50% - 50vw); /* truco full-bleed hacia la derecha */
  display: flex;
  justify-content: flex-end;
  align-items: flex-start; /* pegada arriba */
}

/* La imagen en sí: grande, recortada arriba-derecha, esquina redondeada solo a la izquierda */
.hero-photo {
  width: 100%;
  height: 620px;
  max-height: 85vh;
  border-radius: 260px 0 0 260px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  object-position: 55% 30%;
  -webkit-border-radius: 260px 0 0 260px;
  -moz-border-radius: 260px 0 0 260px;
  -ms-border-radius: 260px 0 0 260px;
  -o-border-radius: 260px 0 0 260px;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 2;
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #1d2939;
}
.feature i {
  color: #1976d2;
  font-size: 1.5rem;
}

/* =========================================================
   Sections
   ========================================================= */
.section {
  padding: 72px 0;
  scroll-margin-top: 60px;
}
.section--tint {
  background: var(--gris-claro);
}
.section__title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  text-align: center;
  margin-bottom: 10px;
}
.section__sub {
  text-align: center;
  color: var(--texto-suave);
  max-width: 560px;
  margin: 0 auto 12px;
}
.section__tagline strong{
  text-align: center;
  font-size: 1rem;
   color: var(--azul-oscuro);
  margin: 0 auto 36px;
}
.section__cta {
  text-align: center;
  margin-top: 36px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: stretch;
}
.split-layout__main .cards-grid {
  grid-template-columns: repeat(3, 1fr);
}
.split-layout__aside .contact-card {
  max-width: none;
  margin: 0;
  position: sticky;
  top: 100px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.split-layout__aside .contact-card form {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.split-layout__aside .contact-card .btn--block {
  margin-top: auto;
}
.split-layout__aside .contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  text-align: center;
}
.contact-card__sub {
  text-align: center;
  color: var(--texto-suave);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

@media (max-width: 960px) {
  .split-layout {
    grid-template-columns: 1fr;
  }
  .split-layout__aside .contact-card {
    position: static;
  }
  .split-layout__main .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .split-layout__main .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Servicios cards */
.cards-grid__title {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--azul-oscuro);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
}
.service-card__icon svg {
  width: 22px;
  height: 22px;
}
.service-card__label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--azul-oscuro);
}
.service-card__link {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--azul-principal);
  white-space: nowrap;
}

.steps {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-top: 32px;
  justify-content: center;
}
.steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  flex: 0 1 280px;
}
.steps__number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--azul-principal);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.steps p {
  color: var(--texto-suave);
  font-size: 0.95rem;
}

.contact-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.contact-card__sub {
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form-row {
  display: flex;
  gap: 8px;
}
.contact-form-row input {
  flex: 1;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 0.9rem;
  padding: 9px 12px;
  border: 1.5px solid var(--borde);
  border-radius: 8px;
  resize: vertical;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--azul-principal);
  outline-offset: 1px;
}

/* Chips / localidades */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.chip {
  padding: 10px 20px;
  border: 1.5px solid var(--borde);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: #fff;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip i {
  color: var(--azul-principal);
  font-size: 0.95rem;
}
.chip:hover {
  border-color: var(--azul-principal);
  color: var(--azul-principal);
}
.chip--more {
  background: var(--azul-principal);
  color: #fff;
  border-color: var(--azul-principal);
}
.chip--more:hover {
  background: #0f52a3;
  color: #fff;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: #0a2452;
  color: #c7d6ee;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.3fr;
  gap: 28px;
  padding: 40px 24px 28px;
}
.footer__brand p {
  font-size: 0.9rem;
  max-width: 220px;
  margin-bottom: 14px;
}
.brand--footer .brand__title {
  font-size: 1.5rem;
}
.brand--footer .brand__icon {
  width: 44px;
  height: 44px;
}
.footer__disclaimer {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #8899bb;
  max-width: 260px;
  margin-top: 14px;
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.footer__social a {
  color: #c7d6ee;
  font-size: 1.2rem;
  transition: color 0.15s;
}
.footer__social a:hover {
  color: #fff;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__links a {
  font-size: 0.9rem;
  color: #c7d6ee;
}
.footer__links a:hover {
  color: #fff;
}
.footer__map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 10px;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-label);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.footer__pro h3 {
  color: #fff;
}
.footer__pro p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.pro-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.pro-form__row {
  display: flex;
  gap: 8px;
}
.pro-form__row input {
  flex: 1;
  min-width: 0;
}
.pro-form input,
.pro-form select {
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  width: 100%;
}
.pro-form input::placeholder {
  color: #8899bb;
}
.pro-form select option {
  color: #1d2939;
}
.pro-form button {
  margin-top: 2px;
  font-size: 0.9rem;
  padding: 10px 18px;
}
.pro-form__actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.pro-form__actions .btn {
  flex: 1;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__disclaimer {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8899bb;
  text-align: center;
  padding: 16px 0 0;
  max-width: 700px;
  margin: 0 auto;
}
.footer__bottom-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  font-size: 0.9rem;
}

/* =========================================================
   WhatsApp floating button
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 200;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 3px solid rgba(37, 211, 102, 0.45);
  pointer-events: none;
}
.whatsapp-float::before {
  animation: whatspulse 2.4s ease-out infinite;
}
.whatsapp-float::after {
  animation: whatspulse 2.4s ease-out infinite 1.2s;
}
@keyframes whatspulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

/* =========================================================
   Modal
   ========================================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal-overlay.is-open {
  display: flex;
}
.modal {
  background: #fff;
  border-radius: 18px;
  padding: 40px 36px 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  line-height: 1;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
}
.modal__close:hover {
  color: #333;
}
.modal__logo {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 38px;
  height: 38px;
}
.modal__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 8px;
}
.modal__icon {
  width: 64px;
  height: 64px;
  margin: 4px auto 14px;
  color: #16a34a;
}
.modal__icon--error {
  color: #dc2626;
}
.modal__icon svg {
  width: 100%;
  height: 100%;
}
.modal__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--azul-principal);
  margin: 0 0 8px;
}
.modal__msg {
  font-size: 1rem;
  color: var(--texto);
  margin: 0 0 24px;
  line-height: 1.5;
}
.modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.modal__btn-wa,
.modal__btn-close {
  flex: 1 1 auto;
  min-width: 130px;
  max-width: 200px;
}
.modal__btn-close {
  background: #eef2f7;
  color: var(--texto);
  border: 1px solid var(--borde);
}
.modal__btn-close:hover {
  background: #e2e8f0;
}
@media (max-width: 480px) {
  .modal {
    padding: 36px 20px 24px;
  }
  .modal__actions {
    flex-direction: column;
  }
  .modal__btn-wa,
  .modal__btn-close {
    max-width: 100%;
    width: 100%;
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  p {
    font-size: 1.14rem;
    line-height: 1.75;
    letter-spacing: 0.01em;
    text-align: left;
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  .hero__background {
    display: none;
  }

  .hero__row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .hero__art {
    order: -1;
    display: block;
    margin-left: -24px;
    margin-right: -24px;
    min-height: auto;
  }

  .hero-photo {
    width: 100vw;
    max-width: none;
    height: 380px;
    transform: none;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .hero {
    text-align: center;
    padding: 0 0 40px;
  }
  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__content {
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__features {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }

  .trust-list {
    justify-content: center;
    gap: 16px;
  }
  .search-box {
    margin: 0 auto;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    gap: 14px;
    padding: 24px;
  }
  .search-field {
    flex: 1 1 auto;
    width: 100%;
  }
  .search-field select {
    padding: 14px 12px;
    font-size: 1rem;
  }
  .search-box__submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    margin-top: 4px;
  }
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .steps li {
    flex: 0 1 auto;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .split-layout {
    gap: 28px;
  }
  .split-layout__main .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card {
    max-width: 420px;
    margin: 0 auto;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 24px 24px;
  }
  .footer__pro {
    grid-column: 1/-1;
  }
  .footer__map iframe {
    height: 240px;
  }
  .footer__bottom-row {
    padding: 18px 24px;
  }
}

@media (max-width: 768px) {
  .split-layout {
    grid-template-columns: 1fr;
  }
  .split-layout__aside .contact-card {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }
  .split-layout__main .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-photo {
    width: 100%;
    max-width: none;
    height: 280px;
    border-radius: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__pro {
    grid-column: 1/-1;
  }
}

@media (max-width: 720px) {
  body {
    padding-top: 136px;
  }
  p {
    font-size: 1.16rem;
    line-height: 1.78;
    letter-spacing: 0.01em;
    text-align: left;
  }
  .header__row {
    height: 86px;
  }
  .brand__title {
    font-size: 1.7rem;
  }
  .brand__icon {
    width: 48px;
    height: 48px;
  }
  .brand__subtitle {
    font-size: 0.75rem;
  }
  .header__actions .btn--sm {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .header__phone {
    display: none;
  }
  .header__phone-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    background: #0a2452;
    font-family: var(--font-label);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
  }
  .header__phone-bar a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .header__phone-bar a svg {
    width: 30px;
    height: 30px;
  }
  .hero {
    padding: 0 0 32px;
    margin-top: 0;
  }
  .hero__row {
    gap: 8px;
  }
  .hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    letter-spacing: 0;
  }
  .hero__content {
    padding-top: 8px;
  }
  .hero-photo {
    width: 100%;
    max-width: none;
    height: 240px;
    border-radius: 0;
  }
  .hero__search-title {
    font-size: 0.78rem;
    margin-bottom: 8px;
    margin-top: 20px;
  }
  .search-box {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .search-field {
    flex: 1 1 auto;
  }
  .search-field select {
    padding: 10px 10px;
  }
  .search-box__submit {
    width: 100%;
    padding: 12px;
  }
  .trust-list {
    gap: 12px;
    margin-top: 16px;
  }
  .section {
    padding: 40px 0;
  }
  .section__title {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
  }
  .section__sub {
    margin-bottom: 24px;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .section__tagline {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    padding: 12px 14px;
    gap: 10px;
  }
  .service-card__icon {
    width: 38px;
    height: 38px;
  }
  .service-card__icon svg {
    width: 18px;
    height: 18px;
  }
  .service-card__label {
    font-size: 0.88rem;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .split-layout__main .cards-grid {
    grid-template-columns: 1fr;
  }
  .split-layout__aside .contact-card {
    position: static;
  }
  .contact-card {
    padding: 16px;
  }
  .contact-card h3 {
    font-size: 0.95rem;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 8px 10px;
  }
  .contact-form-row {
    flex-direction: column;
    gap: 8px;
  }
  .steps {
    gap: 20px;
    margin-top: 20px;
  }
  .steps li {
    gap: 8px;
    text-align: left;
    align-items: flex-start;
  }
  .steps h3 {
    font-size: 0.95rem;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px 20px;
  }
  .footer__map iframe {
    height: 220px;
  }
  .footer__bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    padding: 18px 24px;
  }
  .footer__pro {
    order: -1;
  }
  .pro-form__row {
    flex-direction: column;
    gap: 6px;
  }
  .pro-form input,
  .pro-form select {
    padding: 7px 9px;
  }
  .pro-form__actions {
    flex-direction: column;
    gap: 6px;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
  .brand__subtitle {
    font-size: 0.6rem;
  }
  .modal {
    padding: 28px 24px 24px;
  }
  .modal__msg {
    font-size: 0.95rem;
  }
  .footer__disclaimer {
    font-size: 0.72rem;
    padding: 12px 0 0;
  }
}

/* Mobile nav open state (added via JS) */
.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 20px 24px;
  border-bottom: 1px solid var(--borde);
  gap: 16px;
  animation: navSlide 0.25s ease;
}
@media (max-width: 400px) {
  body {
    padding-top: 120px;
  }
  .header__row {
    height: 70px;
    gap: 8px;
  }
  .brand {
    gap: 8px;
  }
  .brand__icon {
    width: 38px;
    height: 38px;
    padding: 3px;
  }
  .brand__title {
    font-size: 1.25rem;
  }
  .brand__subtitle {
    display: none;
  }
  .menu-toggle {
    padding: 5px;
  }
  .menu-toggle span {
    width: 18px;
    height: 2px;
  }
}
@keyframes navSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Para pantallas grandes (Desktop) */
@media (min-width: 768px) {
  .search-box {
    flex-direction: row;
    align-items: flex-end;
    gap: 15px;
  }
  .search-field {
    flex: 1;
  }
  .search-box__submit {
    width: auto;
    flex-shrink: 0; /* que no se achique cuando el espacio está justo */
    min-width: 150px;
    padding: 13px 28px; /* mismo padding vertical que los selects, para igualar la altura */
    margin-top: 0;
    white-space: nowrap;
  }
}
.faq-item summary {
  list-style: none;
  position: relative;
  padding-right: 40px !important;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--texto-suave, #666);
  border-bottom: 2px solid var(--texto-suave, #666);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}