/* ===== Variables & Reset ===== */
:root {
  --blue: #0b6fc2;
  --blue-dark: #0a5aa0;
  --blue-light: #2196f3;
  --yellow: #ffc20e;
  --yellow-dark: #f0b000;
  --ink: #1a1a1a;
  --gray: #5b6470;
  --bg: #ffffff;
  --green: #25d366;
  --green-dark: #1ebe5a;
  --radius: 14px;
  --maxw: 1180px;
  --shadow: 0 10px 30px rgba(11, 111, 194, .12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 16px;
}
.section-title span { color: var(--yellow-dark); font-weight: 400; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255,194,14,.4); }
.btn--yellow:hover { background: var(--yellow-dark); }

.btn--whatsapp { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.4); }
.btn--whatsapp:hover { background: var(--green-dark); }

.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline:hover { background: rgba(255,255,255,.15); }

.btn--block { width: 100%; padding: 16px; font-size: 1.1rem; }

/* ===== Topbar ===== */
.topbar {
  background: var(--blue);
  color: #fff;
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
}
.topbar__item { opacity: .95; transition: opacity .2s; }
.topbar__item:hover { opacity: 1; text-decoration: underline; }
.topbar__sep { opacity: .5; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, #0a5aa0 0%, #0b6fc2 55%, #1f86d8 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 38%;
  height: 140%;
  background: var(--yellow);
  transform: skewX(-12deg);
  opacity: .18;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 52px 24px 64px;
}
.hero__content { max-width: 560px; }
.hero__logo {
  width: 230px;
  margin-bottom: 28px;
  background: #fff;
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero__title span { color: var(--yellow); font-weight: 400; }
.hero__lead { font-size: 1.08rem; max-width: 460px; margin-bottom: 14px; opacity: .96; }
.hero__tags {
  display: inline-block;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 30px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Form card dentro del hero */
.hero__form {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  border-top: 5px solid var(--yellow);
}
.hero__form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.hero__form-lead {
  font-size: .92rem;
  color: var(--gray);
  margin-bottom: 18px;
}
.hero__form .quote__form input,
.hero__form .quote__form textarea { padding: 12px 16px; }
.hero__form .quote__form { gap: 11px; }

/* ===== Coverage ===== */
.coverage { background: var(--yellow); color: var(--ink); }
.coverage__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 64px 24px;
}
.coverage__title {
  grid-column: 1 / -1;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.coverage__sub {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.coverage__text p { margin-bottom: 14px; font-size: 1rem; }

.fleet {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 22px;
}
.fleet li {
  position: relative;
  padding-left: 22px;
  font-weight: 500;
}
.fleet li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.coverage__cert {
  background: rgba(255,255,255,.55);
  border-left: 4px solid var(--blue);
  padding: 16px 18px;
  border-radius: 8px;
  font-size: .95rem;
}

/* ===== Equipment ===== */
.equipment { padding: 72px 0; background: #fff; }
.equipment__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0 56px;
}
.equip-card {
  background: linear-gradient(180deg, #f5f9fd 0%, #ffffff 100%);
  border: 1px solid #e6eef6;
  border-radius: var(--radius);
  padding: 24px 16px 18px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.equip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.equip-card img { height: 180px; width: auto; margin: 0 auto 16px; object-fit: contain; }
.equip-card figcaption { font-weight: 600; color: var(--blue); font-size: .98rem; }

.equipment__copy { max-width: 720px; margin: 0 auto; text-align: center; }
.equipment__copy h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.equipment__copy p { color: var(--gray); font-size: 1.05rem; }

/* ===== Team ===== */
.team {
  background: linear-gradient(120deg, #0a5aa0, #0b6fc2);
  color: #fff;
  padding: 72px 0;
}
.team__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.team .section-title { color: #fff; }
.team p { opacity: .95; margin-bottom: 16px; font-size: 1.05rem; }

/* ===== Brands ===== */
.brands { padding: 72px 0; background: #fff; }
.brands__lead {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
}
.brands__img { width: 100%; max-width: 880px; height: auto; margin: 0 auto; }

/* ===== Quote / Form ===== */
.quote {
  background: linear-gradient(160deg, #f4f8fc 0%, #e9f2fb 100%);
  padding: 80px 0;
}
.quote__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.quote__title {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.quote__lead { color: var(--gray); margin-bottom: 36px; }
.quote__form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.quote__form input,
.quote__form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid #cdd9e6;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.quote__form input:focus,
.quote__form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11,111,194,.15);
}
.quote__form textarea { resize: vertical; }
.quote__form input.is-invalid,
.quote__form textarea.is-invalid {
  border-color: #e03b3b;
  box-shadow: 0 0 0 3px rgba(224,59,59,.15);
}
.quote__form .btn { margin-top: 8px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ===== Footer ===== */
.footer { background: #0a2a45; color: #cdd9e6; padding: 48px 0 28px; }
.footer__inner { text-align: center; }
.footer__logo {
  width: 150px;
  margin: 0 auto 22px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 10px;
}
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-bottom: 22px;
  font-size: .95rem;
}
.footer__contact a:hover { color: var(--yellow); }
.footer__credits { font-size: .82rem; opacity: .6; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }

/* ===== WhatsApp Float ===== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
  z-index: 999;
  animation: wa-pulse 2.4s infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__content { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero__logo { margin-left: auto; margin-right: auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__form { max-width: 520px; margin: 0 auto; width: 100%; }
  .coverage__inner { grid-template-columns: 1fr; gap: 32px; }
  .equipment__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero::after { display: none; }
  .hero { background: linear-gradient(150deg, #0a5aa0, #1f86d8); }
  .hero__inner { padding: 40px 24px 48px; }
  .hero__logo { width: 190px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__form { padding: 24px 20px; }
  .equipment__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .equip-card img { height: 130px; }
  .fleet { grid-template-columns: 1fr; }
  .topbar__inner { font-size: .76rem; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}
