:root {
  --celeste: #a9dcf5;
  --celeste-suave: #d6eefb;
  --azul: #0a7ab8;
  --azul-oscuro: #06466b;
  --azul-900: #083a57;
  --gris: #d6eefb;
  --gris-oscuro: #3f6b8c;
  --texto: #0d3b58;
  --blanco: #ffffff;
  --sombra: 0 10px 30px rgba(8, 58, 87, 0.12);
  --radio: 14px;
  --fuente-titulos: "Montserrat", system-ui, sans-serif;
  --fuente-texto: "Source Sans 3", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  font-family: var(--fuente-texto);
  color: var(--texto);
  line-height: 1.6;
  background: var(--celeste);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: none; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--azul); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.ic { width: 1em; height: 1em; vertical-align: -0.14em; }

/* ---------- Header ---------- */
.topbar { background: var(--azul); color: #e6f6ff; font-size: 0.88rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-block: 0.5rem; flex-wrap: wrap; }
.topbar__text { display: flex; align-items: center; gap: 0.4rem; }
.topbar__actions { display: flex; gap: 1.25rem; }
.topbar__actions a { color: #e6f6ff; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar__actions a:hover { color: #fff; }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--azul-900); }
.brand img { border-radius: 10px; }
.brand__name { font-family: var(--fuente-titulos); font-weight: 500; font-size: 1.05rem; line-height: 1.1; text-transform: uppercase; display: flex; flex-direction: column; }
.brand__name strong { color: var(--azul); font-weight: 800; font-size: 1.15rem; }

.main-nav { display: flex; align-items: center; gap: 0.35rem; }
.main-nav__link {
  font-family: var(--fuente-titulos); font-weight: 500; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.04em; color: var(--azul-900);
  padding: 0.55rem 0.75rem; border-radius: 8px;
}
.main-nav__link:hover { color: var(--azul); background: rgba(255, 255, 255, 0.7); }
.main-nav__cta { background: var(--azul); color: #fff; font-weight: 700; }
.main-nav__cta:hover { background: var(--azul-900); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--azul-900); border-radius: 3px; transition: 0.25s; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--fuente-titulos); font-weight: 700; font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 0.03em; padding: 0.9rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: 0.2s;
}
.btn--primary { background: var(--azul); color: #fff; }
.btn--primary:hover { background: var(--azul-900); color: #fff; transform: translateY(-2px); box-shadow: var(--sombra); }
.btn--ghost { background: transparent; border-color: var(--azul); color: var(--azul); }
.btn--ghost:hover { background: var(--azul); color: #fff; }
.btn--outline { background: transparent; border-color: var(--azul); color: var(--azul); font-size: 0.8rem; padding: 0.6rem 1.2rem; }
.btn--outline:hover { background: var(--azul); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(255, 255, 255, 0.7), transparent 60%),
    linear-gradient(160deg, var(--celeste-suave) 0%, var(--celeste) 55%, #c2e6f9 100%);
  color: var(--azul-900); padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%;
  border: 60px solid rgba(10, 122, 184, 0.1);
}
.hero__inner { position: relative; z-index: 1; max-width: 720px; }
.hero__eyebrow {
  font-family: var(--fuente-titulos); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.8rem; color: var(--azul); margin-bottom: 0.9rem;
}
.hero__title { font-family: var(--fuente-titulos); font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; color: var(--azul-900); }
.hero__title span { color: var(--azul); }
.hero__tag { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 600; margin-top: 1rem; color: var(--azul-oscuro); }
.hero__sub { margin-top: 0.6rem; font-size: 1.05rem; color: var(--azul-oscuro); }
.hero__actions { display: flex; gap: 0.9rem; margin-top: 2.2rem; flex-wrap: wrap; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--services { background: var(--celeste); }
.section--motor { background: linear-gradient(160deg, var(--azul) 0%, var(--azul-900) 100%); color: #fff; position: relative; overflow: hidden; }
.section--motor::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(255, 255, 255, 0.12), transparent 60%); }
.section--motor .container { position: relative; }
.section--motor .section-head__kicker { color: #fff; }
.moto-titulo { font-family: var(--fuente-titulos); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.moto-titulo span { color: var(--celeste-suave); }
.moto-lead { max-width: 680px; margin: 1.1rem auto 0; color: #e6f6ff; font-size: 1.1rem; }
.moto-bullets { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; }
.moto-bullets li { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px; padding: 1.1rem 1rem; font-weight: 600; }
.moto-versus { margin: 2.2rem 0 0; text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
.moto-versus p { margin: 0.25rem 0; }
.moto-versus span { color: var(--celeste-suave); }
.moto-cierre { text-align: center; margin: 1.1rem auto 0; font-size: 1.15rem; color: #e6f6ff; max-width: 640px; }
.moto-cta-q { text-align: center; font-family: var(--fuente-titulos); font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; margin: 1.8rem 0 0; text-transform: uppercase; }
.moto-ubi { text-align: center; margin: 0.6rem 0 0; color: var(--celeste-suave); font-weight: 600; font-size: 1.05rem; }
.moto-actions { display: flex; gap: 0.9rem; justify-content: center; margin-top: 1.6rem; flex-wrap: wrap; }
.moto-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.6rem; }
.moto-media__item { margin: 0; border-radius: 14px; overflow: hidden; background: var(--azul); box-shadow: var(--sombra); }
.moto-media__item img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
.moto-media__item--video { width: min(100%, 360px); justify-self: center; }
.moto-media__item--video video { width: 100%; display: block; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.section--choose { background: var(--celeste); }
.section--permisos { background: var(--celeste); }
.section--faq { background: var(--celeste); }
.section--contacto { background: var(--celeste); }

.section-head { margin-bottom: 2.5rem; max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__kicker {
  font-family: var(--fuente-titulos); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; color: var(--azul); margin-bottom: 0.5rem;
}
.section-head__title { font-family: var(--fuente-titulos); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--azul-900); line-height: 1.15; }
.section-head__lead { margin-top: 0.9rem; color: var(--gris-oscuro); font-size: 1.05rem; }

.section--permisos .section-head__kicker { color: var(--azul); }
.section--permisos .section-head__title { color: var(--azul-900); }
.section--permisos .section-head__lead { color: var(--gris-oscuro); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--blanco); border-radius: var(--radio); padding: 2rem 1.6rem;
  box-shadow: var(--sombra); transition: 0.25s;
}
.card:hover { transform: translateY(-5px); }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--azul); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-family: var(--fuente-titulos); font-size: 1.15rem; color: var(--azul-900); margin-bottom: 0.6rem; }
.card p { color: var(--texto); font-size: 0.98rem; }
.card--light { background: #fff; box-shadow: var(--sombra); border: 1px solid #c8e6f7; }
.card--alt { background: #0d6fa5; background: linear-gradient(170deg, #08608f, var(--azul)); color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.card--alt:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }
.card--alt h3 { color: #fff; font-size: 1.25rem; text-transform: uppercase; }
.card--alt .btn--outline { border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.card--alt .btn--outline:hover { background: #fff; border-color: #fff; color: var(--azul-900); }

.check-list { list-style: none; text-align: left; width: 100%; margin: 0 auto; }
.check-list li { position: relative; padding: 0.45rem 0 0.45rem 1.9rem; font-size: 1rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.45rem; width: 22px; height: 22px; border-radius: 50%;
  background: var(--azul); color: #fff; font-weight: 800; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Sobre nosotros ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__media img { border-radius: var(--radio); box-shadow: var(--sombra); }
.about__content p { margin-bottom: 1rem; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.5rem; margin-top: 1.2rem; }
.feature-list li { position: relative; padding-left: 1.7rem; font-size: 0.98rem; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px;
  background: var(--azul); color: #fff; font-size: 0.75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__intro p { margin: 1rem 0 1.6rem; color: var(--gris-oscuro); }
.faq { background: #fff; border-radius: 12px; padding: 0.2rem 1.3rem; margin-bottom: 0.8rem; }
.faq summary {
  cursor: pointer; font-family: var(--fuente-titulos); font-weight: 600; color: var(--azul-900);
  padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--azul); transition: 0.2s; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { padding-bottom: 1.1rem; color: var(--texto); font-size: 0.97rem; }

/* ---------- Contacto ---------- */
.contacto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contacto__info p { color: var(--texto); margin-bottom: 1rem; }
.contacto__datos { font-style: normal; margin: 1.4rem 0; }
.horarios { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.95rem; }
.horarios caption { text-align: left; font-family: var(--fuente-titulos); font-weight: 700; color: var(--azul-900); margin-bottom: 0.5rem; }
.horarios td { padding: 0.55rem 0.2rem; border-bottom: 1px dashed #d2e2ed; }
.horarios td:last-child { text-align: right; font-weight: 600; color: var(--azul); }
.contacto__redes { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.contacto__redes a {
  font-family: var(--fuente-titulos); font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  background: var(--azul); color: #fff; padding: 0.55rem 1.1rem; border-radius: 999px;
}
.contacto__redes a:hover { background: var(--azul-900); color: #fff; }

.form { background: #fff; border-radius: var(--radio); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--sombra); }
.form__row { margin-bottom: 1.1rem; }
.form__row label { display: block; font-family: var(--fuente-titulos); font-weight: 600; font-size: 0.85rem; color: var(--azul-900); margin-bottom: 0.35rem; }
.form__row input, .form__row select, .form__row textarea {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 0.7rem 0.9rem;
  border: 1.5px solid #d2e2ed; border-radius: 10px; background: var(--blanco); color: var(--texto); transition: 0.2s;
}
.form__row input:focus, .form__row select:focus, .form__row textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(0, 124, 191, 0.15); }
.form__row input.is-invalid { border-color: #d9534f; }
.form__legal { font-size: 0.8rem; color: var(--gris-oscuro); margin-bottom: 1rem; }
.form__status { margin-top: 1rem; font-weight: 600; min-height: 1.4em; }
.form__status.ok { color: #1a7a37; }
.form__status.err { color: #d9534f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--azul); color: #e6f6ff; padding: 2.2rem 0; font-size: 0.92rem; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.site-footer__links a { color: #e6f6ff; }
.site-footer__links a:hover { color: #fff; }

.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; width: 58px; height: 58px;
  border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); transition: transform 0.2s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.1); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about__grid, .contacto__grid, .faq__grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .moto-media { grid-template-columns: 1fr; }
  .moto-media__item--video { width: min(100%, 300px); }
}

@media (max-width: 820px) {
  :root { scroll-padding-top: 96px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: #fff; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0.4rem; padding: 5rem 1.5rem 1.5rem;
    box-shadow: -20px 0 50px rgba(2, 58, 82, 0.25); transform: translateX(100%); transition: transform 0.3s;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-toggle { z-index: 95; min-width: 46px; min-height: 46px; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav__link { font-size: 0.95rem; padding: 0.8rem 0.9rem; }
  .hero::after { display: none; }
}

@media (max-width: 700px) {
  :root { scroll-padding-top: 132px; }
  .topbar { font-size: 0.8rem; }
  .topbar__inner { flex-direction: column; justify-content: center; gap: 0.45rem; padding-block: 0.6rem; }
  .topbar__text { justify-content: center; text-align: center; }
  .topbar__actions { justify-content: center; flex-wrap: wrap; gap: 0.8rem 1.1rem; }
}

@media (max-width: 480px) {
  .topbar__text { display: none; }
  .topbar__actions { gap: 1rem 1.25rem; }
  .topbar__actions .topbar__mail { display: none; }
  .topbar__actions a { gap: 0.3rem; font-size: 0.78rem; }
  .horarios { font-size: 0.85rem; }
}