/* ==========================================================================
   Mudanzas FYMO — hoja de estilos
   ========================================================================== */

:root {
  --terracota: #9E4F4F;
  --terracota-dark: #7E3D3D;
  --acero: #53689A;
  --acero-dark: #3F4F79;
  --gris-piedra: #DDE1E6;
  --azul-profundo: #2D3748;
  --gris-carbon: #4A5568;
  --blanco: #FFFFFF;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(45, 55, 72, 0.08);
  --shadow-md: 0 10px 30px rgba(45, 55, 72, 0.12);
  --shadow-lg: 0 20px 50px rgba(45, 55, 72, 0.18);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--azul-profundo);
  background: var(--gris-piedra);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--azul-profundo);
  margin: 0 0 .5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--gris-carbon); }

a { color: inherit; text-decoration: none; }

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

ul { margin: 0; padding: 0; list-style: none; }

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

.section {
  padding: 96px 0;
}

.section--acero-dark { background: var(--acero-dark); }
.section--terracota-dark { background: var(--terracota-dark); }
.section--acero { background: var(--acero); }
.section--terracota { background: var(--terracota); }
.section--azul { background: var(--azul-profundo); }

.section--dark .section-head h2,
.section--dark .why-item h4 { color: var(--blanco); }

.section--dark .section-head p,
.section--dark .why-item p { color: var(--gris-piedra); }

.section--dark .section-tag { color: var(--gris-piedra); }
.section--dark .section-tag::before { background: var(--blanco); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 14px;
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--terracota);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-head p {
  font-size: 1.05rem;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--terracota);
  color: var(--blanco);
  box-shadow: 0 10px 24px rgba(158, 79, 79, .35);
}
.btn--primary:hover { background: var(--terracota-dark); }

.btn--ghost {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255,255,255,.55);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); }

.btn--dark {
  background: var(--acero);
  color: var(--blanco);
  box-shadow: 0 10px 24px rgba(83, 104, 154, .35);
}
.btn--dark:hover { background: var(--acero-dark); }

.btn--sm { padding: 11px 22px; font-size: .88rem; }

.btn svg { width: 19px; height: 19px; flex: none; }

/* Header ------------------------------------------------------------------ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255,255,255,0);
  transition: background .25s ease, box-shadow .25s ease;
}

.header.is-scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blanco);
  transition: color .25s ease;
}

.header.is-scrolled .brand { color: var(--azul-profundo); }

.brand__logo-frame {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  flex: none;
  position: relative;
  overflow: hidden;
}

.brand__logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__links {
  display: flex;
  gap: 30px;
}

.nav__links a {
  font-size: .93rem;
  font-weight: 600;
  color: var(--blanco);
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}

.header.is-scrolled .nav__links a { color: var(--azul-profundo); }

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--terracota);
  transition: width .2s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--blanco);
  transition: all .2s ease;
}
.header.is-scrolled .nav__toggle span { background: var(--azul-profundo); }
.header.is-scrolled .nav__toggle { border-color: rgba(45,55,72,.25); }

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--blanco);
  overflow: hidden;
  background: linear-gradient(135deg, var(--acero-dark) 0%, var(--acero) 46%, var(--terracota) 100%);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(45,55,72,.86) 10%, rgba(83,104,154,.72) 55%, rgba(158,79,79,.68) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__text { max-width: 640px; }

.hero__image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.16);
}

.hero h1 {
  color: var(--blanco);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: .35em;
}

.hero h1 span { color: #FFD9C4; }

.hero__slogan {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: rgba(255,255,255,.92);
  margin-bottom: 18px;
}

.hero__desc {
  color: rgba(255,255,255,.88);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
}
.hero__stat > span {
  font-size: .82rem;
  color: rgba(255,255,255,.78);
}

/* Marquee / clientes -------------------------------------------------------- */

.clients {
  background: var(--azul-profundo);
  padding: 34px 0;
  overflow: hidden;
}

.clients__label {
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: scroll-marquee 46s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.marquee__track .logo-pill {
  flex: none;
  width: 160px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--blanco);
}

.marquee__track .logo-pill img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@keyframes scroll-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-25%, 0, 0); }
}

/* Servicios ----------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.service-card {
  background: var(--blanco);
  border: 1px solid #ECEFF3;
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--terracota), var(--terracota-dark));
  color: var(--blanco);
  margin-bottom: 20px;
}
.service-card__icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: .95rem; margin-bottom: 0; }

.extras {
  background: var(--blanco);
  border: 1px solid #ECEFF3;
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.extras h3 { font-size: 1.05rem; margin-bottom: 20px; }

.extras__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 28px;
}

.extras__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: .94rem;
  color: var(--azul-profundo);
}

.extras__list li svg {
  width: 20px; height: 20px;
  flex: none;
  color: var(--acero);
}

/* Flotilla ------------------------------------------------------------------ */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.fleet-card {
  text-align: center;
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 26px 16px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #ECEFF3;
}

.fleet-card__icon {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gris-piedra);
  display: flex; align-items: center; justify-content: center;
  color: var(--acero);
}
.fleet-card__icon svg { width: 28px; height: 28px; }

.fleet-card h4 { font-size: .96rem; margin-bottom: 4px; }
.fleet-card span { font-size: .8rem; color: var(--gris-carbon); }

/* Por qué elegirnos ----------------------------------------------------------- */

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  position: relative;
}

.why__badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--terracota);
  color: var(--blanco);
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow: var(--shadow-md);
  text-align: center;
  z-index: 3;
}
.why__badge strong { display: block; font-family: var(--font-head); font-size: 1.9rem; }
.why__badge span { font-size: .76rem; letter-spacing: .04em; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

.why-item {
  display: flex;
  gap: 16px;
}

.why-item__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--gris-piedra);
  color: var(--acero);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.why-item__icon svg { width: 22px; height: 22px; }

.why-item h4 { font-size: 1rem; margin-bottom: 4px; }
.why-item p { font-size: .92rem; margin-bottom: 0; }

/* Testimonios ----------------------------------------------------------------- */

.reviews {
  position: relative;
}

.reviews__head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.reviews__google {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blanco);
  border: 1px solid #ECEFF3;
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
  font-size: .88rem;
  font-weight: 600;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #ECEFF3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card__stars {
  color: #F5A623;
  display: flex;
  gap: 3px;
}
.review-card__stars svg { width: 16px; height: 16px; }

.review-card__text {
  font-size: .95rem;
  color: var(--azul-profundo);
  flex: 1;
}

.review-card__text .edit-tag {
  color: var(--terracota);
  font-weight: 700;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--acero);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex: none;
}

.review-card__author strong { display: block; font-size: .9rem; }
.review-card__author span { font-size: .78rem; color: var(--gris-carbon); }

/* Galería ----------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}

.gallery-grid .photo-frame:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .photo-frame:nth-child(4) { grid-column: span 2; }

/* Placeholder / real photo frame ------------------------------------------- */

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--gris-piedra), #EDF0F3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame__fallback {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  color: var(--gris-carbon);
}

.photo-frame__fallback svg {
  width: 30px; height: 30px;
  color: var(--acero);
  opacity: .7;
}

.photo-frame__fallback small {
  font-size: .72rem;
  line-height: 1.3;
  font-weight: 600;
  opacity: .8;
}

/* Cobertura / contacto ------------------------------------------------------- */

.coverage {
  background: var(--azul-profundo);
  color: var(--blanco);
}

.coverage .section-head p { color: rgba(255,255,255,.75); }
.coverage .section-tag { color: #FFB199; }

.coverage-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.coverage-cards {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.coverage-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.coverage-card h4 {
  color: var(--blanco);
  font-size: 1.02rem;
  display: flex; align-items: center; gap: 10px;
}
.coverage-card h4 svg { width: 20px; height: 20px; color: #FFB199; }
.coverage-card p { color: rgba(255,255,255,.72); font-size: .92rem; margin-bottom: 0; }

.contact-list {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  color: #FFB199;
}
.contact-item__icon svg { width: 20px; height: 20px; }

.contact-item strong { display: block; font-size: .92rem; }
.contact-item a, .contact-item span { font-size: .92rem; color: rgba(255,255,255,.78); }
.contact-item a:hover { color: var(--blanco); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14);
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* CTA final ------------------------------------------------------------------ */

.cta-final {
  background: linear-gradient(120deg, var(--terracota-dark), var(--terracota));
  color: var(--blanco);
  text-align: center;
  padding: 80px 0;
}
.cta-final h2 { color: var(--blanco); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-final p { color: rgba(255,255,255,.85); max-width: 560px; margin-inline: auto; }
.cta-final__actions {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px;
}

/* Footer ----------------------------------------------------------------- */

.footer {
  background: #202938;
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}

.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand strong { color: var(--blanco); font-family: var(--font-head); font-size: 1.05rem; }

.footer h5 {
  color: var(--blanco);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer ul { display: grid; gap: 12px; }
.footer a { font-size: .92rem; }
.footer a:hover { color: var(--blanco); }

.footer-social {
  display: flex; gap: 10px; margin-top: 18px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--terracota); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
}

/* WhatsApp flotante -------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 600;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  animation: pulse-wa 2.4s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; color: var(--blanco); }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45); }
  50% { box-shadow: 0 10px 26px rgba(37, 211, 102, .75), 0 0 0 10px rgba(37, 211, 102, .12); }
}

/* Preguntas frecuentes ------------------------------------------------------- */

.section--light { background: var(--blanco); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-search {
  max-width: 480px;
  margin: 0 auto 32px;
  display: none;
}
.js-enabled .faq-search { display: block; }

.faq-search input {
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid #E2E6EB;
  background: var(--gris-piedra);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--azul-profundo);
}
.faq-search input:focus {
  outline: 2px solid var(--acero);
  outline-offset: 2px;
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}

.faq-nav a {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--gris-piedra);
  color: var(--azul-profundo);
  font-size: .85rem;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.faq-nav a:hover { background: var(--terracota); color: var(--blanco); }

.faq-block { margin-bottom: 44px; }
.faq-block:last-of-type { margin-bottom: 0; }

.faq-block__title {
  font-size: 1.15rem;
  color: var(--terracota);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gris-piedra);
  scroll-margin-top: 100px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--blanco);
  border: 1px solid #ECEFF3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 4px 26px;
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item.is-hidden { display: none; }

.faq-item__q {
  list-style: none;
  cursor: pointer;
  padding: 20px 38px 20px 0;
  position: relative;
  scroll-margin-top: 100px;
}
.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--azul-profundo);
}

.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terracota);
  transition: transform .2s ease;
}
.faq-item[open] .faq-item__q::after { transform: translateY(-50%) rotate(45deg); }

.faq-item__a { padding: 0 0 22px; }
.faq-item__a p { font-size: .95rem; margin-bottom: 0; }
.faq-item__a a { color: var(--terracota); font-weight: 600; text-decoration: underline; }

.faq-cta {
  margin-top: 50px;
  text-align: center;
}

/* Reveal on scroll ---------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__image { aspect-ratio: 16 / 9; max-width: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .extras__list { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr; }
  .reviews-track { grid-template-columns: repeat(2, 1fr); }
  .coverage-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-nav { gap: 8px; }
  .faq-nav a { font-size: .8rem; padding: 8px 14px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .photo-frame:nth-child(1) { grid-column: span 3; grid-row: span 1; aspect-ratio: 16/9; }
  .gallery-grid .photo-frame:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 780px) {
  .section { padding: 68px 0; }
  .nav__links, .nav__cta .btn--dark { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--blanco);
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    gap: 18px;
  }
  .nav.is-open .nav__links a { color: var(--azul-profundo); }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .extras { padding: 28px 22px; }
  .extras__list { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-track { grid-template-columns: 1fr; }
  .reviews__head-row { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .photo-frame:nth-child(1) { grid-column: span 2; }
  .gallery-grid .photo-frame:nth-child(4) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-final__actions { flex-direction: column; align-items: stretch; }
  .faq-item { padding: 2px 18px; }
  .faq-item__q { padding: 16px 32px 16px 0; }
  .faq-block__title { font-size: 1.05rem; }
}
