:root {
  --verde: #0f9f5a;
  --verde-oscuro: #0b7040;
  --gris-fondo: #f3f4f6;
  --texto: #111827;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--texto);
  background-color: white;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER / NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde-oscuro);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--verde);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-cta-nav {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--verde);
  color: white;
  border: 1px solid var(--verde-oscuro);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-cta-nav:hover {
  background: var(--verde-oscuro);
  box-shadow: 0 8px 18px rgba(15, 159, 90, 0.35);
  transform: translateY(-1px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0.25rem;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--verde-oscuro);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.2s ease, translate 0.25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

main {
  margin-top: 76px;
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d1fae5;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: #6ee7b7;
}

.hero p {
  font-size: 1rem;
  max-width: 33rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #e5e7eb;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
}

.hero-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 250, 229, 0.8);
  background: rgba(15, 159, 90, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #16a34a;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 18px 45px rgba(22, 163, 74, 0.45);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(22, 163, 74, 0.6);
}

.btn-secondary {
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(229, 231, 235, 0.7);
  background: rgba(17, 24, 39, 0.45);
  color: #e5e7eb;
  font-weight: 500;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(17, 24, 39, 0.7);
  border-color: #e5e7eb;
  transform: translateY(-1px);
}

.hero-aside {
  background: rgba(17, 24, 39, 0.55);
  border-radius: 1.25rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(55, 65, 81, 0.85);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.hero-aside h2 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: #f9fafb;
}

.hero-aside p {
  margin-bottom: 0;
  color: #d1d5db;
}

.hero-aside-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent),
    rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(55, 65, 81, 0.75);
}

.hero-aside-highlight span {
  font-size: 0.8rem;
  color: #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-aside-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.8);
  color: #bbf7d0;
}

/* SECCIONES GENERALES */
section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--verde-oscuro);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  color: #6b7280;
  font-size: 0.98rem;
  max-width: 36rem;
  margin: 0 auto;
}

/* VENTAJAS */
.ventajas {
  background: var(--gris-fondo);
}

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.ventaja-card {
  background: white;
  border-radius: 1.2rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.ventaja-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.06);
  color: var(--verde-oscuro);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.ventaja-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(34, 197, 94, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.ventaja-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.ventaja-card p {
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.6;
}

/* NOSOTROS */
.nosotros {
  background: white;
}

.nosotros-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.nosotros h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--verde-oscuro);
}

.nosotros .empresa {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #4b5563;
}

.nosotros p {
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 0.98rem;
  color: #4b5563;
}

.nosotros-highlight {
  padding: 1rem 1.2rem;
  border-radius: 0.9rem;
  background: rgba(15, 159, 90, 0.06);
  border: 1px dashed rgba(15, 159, 90, 0.5);
  font-size: 0.92rem;
  color: #065f46;
}

.nosotros-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.9rem;
  margin-top: 1.7rem;
}

.nosotros-metric-box {
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.nosotros-metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.nosotros-metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde-oscuro);
}

/* Collage imágenes */
.nosotros-images-wrapper {
  position: relative;
  width: 100%;
  min-height: 280px;
  border-radius: 1.8rem;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top left, rgba(132, 204, 22, 0.4), transparent 60%),
    radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.45), transparent 55%),
    #ecfdf5;
  overflow: visible;
}

.nosotros-img-large,
.nosotros-img-small {
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.nosotros-img-large {
  top: 0.6rem;
  left: 0.6rem;
  width: 72%;
  height: 62%;
  border-radius: 1.4rem;
  overflow: hidden;
}

.nosotros-img-small {
  bottom: 0.3rem;
  right: 0.4rem;
  width: 74%;
  height: 65%;
  border-radius: 1.8rem;
  overflow: hidden;
}

.nosotros-img-large img,
.nosotros-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nosotros-images-wrapper:hover .nosotros-img-large {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}
.nosotros-images-wrapper:hover .nosotros-img-small {
  transform: translateY(4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

/* SERVICIOS */
.servicios {
  background: #f9fafb;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

.servicio-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.servicio-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  border-color: rgba(16, 185, 129, 0.7);
}

.servicio-img {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.servicio-card:hover .servicio-img img {
  transform: scale(1.08);
}

.servicio-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 60%);
  opacity: 0.9;
}

.servicio-tag {
  position: absolute;
  left: 0.9rem;
  bottom: 0.85rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.95);
  color: white;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.servicio-body {
  padding: 1.1rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.93rem;
}

.servicio-title {
  font-weight: 700;
  font-size: 1.03rem;
}

.servicio-desc {
  color: #4b5563;
  line-height: 1.6;
}


/* CTA Servicios - WhatsApp */
.servicios-cta {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
}

.btn-whatsapp-servicios {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: none;
  background: #16a34a;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.45);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-whatsapp-servicios:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 20px 52px rgba(22, 163, 74, 0.6);
}

@media (max-width: 640px) {
  .btn-whatsapp-servicios {
    width: 100%;
    max-width: 320px;
  }
}

/* Segunda fila de servicios centrada (4 arriba, 2 abajo) */
@media (min-width: 1101px) {
  .servicios-grid .servicio-card:nth-child(5) {
    grid-column: 2 / span 1;
  }

  .servicios-grid .servicio-card:nth-child(6) {
    grid-column: 3 / span 1;
  }
}


/* POR QUÉ ELEGIRNOS */
.por-que {
  background: radial-gradient(circle at top left, #ecfdf5, #f9fafb);
}

.por-que-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.por-que-card {
  border-radius: 1.2rem;
  padding: 1.4rem 1.5rem 1.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.por-que-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent 55%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.por-que-card:hover::before {
  opacity: 1;
}

.por-que-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.08);
  margin-bottom: 0.7rem;
  font-size: 1.4rem;
}

.por-que-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.por-que-card p {
  font-size: 0.94rem;
  color: #4b5563;
  line-height: 1.65;
}

/* TESTIMONIOS */
.testimonios {
  background: #0b1120;
  color: #e5e7eb;
}

.testimonios .section-header {
  color: #e5e7eb;
}

.testimonios .section-subtitle {
  color: #9ca3af;
}

.testimonio-wrapper {
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.testimonio-card {
  border-radius: 1.4rem;
  padding: 1.8rem 2rem;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.7);
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.testimonio-comillas {
  position: absolute;
  font-size: 4rem;
  opacity: 0.08;
  top: -10px;
  right: 20px;
}

.testimonio-text {
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1.3rem;
}

.testimonio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.testimonio-nombre {
  font-weight: 600;
  color: #f9fafb;
}

.testimonio-meta {
  color: #9ca3af;
  font-size: 0.82rem;
}

.testimonio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.testimonio-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: transparent;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.testimonio-arrow:hover {
  background: rgba(15, 118, 110, 0.8);
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.9);
}

.testimonio-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.testimonio-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease, background 0.18s ease;
}

.testimonio-dot.active {
  transform: scale(1.5);
  background: #22c55e;
}

/* FOOTER */
footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .servicios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .por-que-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-aside {
    max-width: 420px;
    margin: 0 auto;
  }
  .nosotros-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .nosotros-images-wrapper {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav-links.open {
    max-height: 260px;
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 0.7rem 0;
    width: 100%;
  }

  .btn-cta-nav {
    margin: 0.5rem 0 1rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  .servicios-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .por-que-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding-inline: 1.1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .ventajas-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .nosotros-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .testimonio-card {
    padding: 1.5rem 1.35rem;
  }
}


/* SEGURIDAD GPS */
.seguridad-gps {
  background: radial-gradient(circle at top left, #ecfdf5, #f9fafb);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.seguridad-header {
  margin-bottom: 2rem;
}

.seguridad-kicker {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--verde-oscuro);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.seguridad-title {
  font-size: 1.35rem;
  max-width: 34rem;
  margin: 0 auto;
  text-transform: uppercase;
  color: #065f46;
}

.seguridad-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.seguridad-img {
  width: 100%;
  max-width: 720px;
  border-radius: 1.8rem;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.25);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seguridad-img:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
}

@media (max-width: 640px) {
  .seguridad-title {
    font-size: 1.1rem;
  }
  .seguridad-gps {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}


/* EQUIPO DE TRANSPORTE */
.equipo {
  background: #ffffff;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.equipo-card {
  border-radius: 1.4rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.equipo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 60%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.equipo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
  border-color: rgba(16, 185, 129, 0.7);
}

.equipo-card:hover::before {
  opacity: 1;
}

.equipo-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.equipo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.equipo-card:hover .equipo-img {
  transform: scale(1.09) translateY(-4px);
}

.equipo-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.equipo-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.95);
  color: #f9fafb;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.equipo-body {
  padding: 1.3rem 1.4rem 1.5rem;
  position: relative;
  z-index: 1;
}

.equipo-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--verde-oscuro);
}

.equipo-body p {
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.7;
}

/* Responsive para la galería */
@media (max-width: 1100px) {
  .equipo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .equipo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* CONTACTO */
.contacto {
  background: #f9fafb;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-form-card,
.contact-info-card {
  border-radius: 1.4rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.04);
  padding: 1.7rem 1.7rem 1.9rem;
}

.contact-form-card h3,
.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--verde-oscuro);
}

.contact-form-sub {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1.3rem;
}

/* FORMULARIO */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.form-group label {
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 0.7rem;
  border: 1px solid #d1d5db;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #f9fafb;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.6);
  background: #ffffff;
}

/* reCAPTCHA wrapper */
.recaptcha-group {
  margin-top: 0.4rem;
}

/* Botón enviar */
.btn-contact-submit {
  margin-top: 0.4rem;
  align-self: flex-start;
}

.contact-legal {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* INFO + MAPA */
.contact-info-block {
  margin-bottom: 1.2rem;
}

.contact-info-block h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.contact-info-block p {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.6;
}

.contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
}

.contact-phones a {
  font-size: 0.9rem;
  color: var(--verde-oscuro);
  font-weight: 600;
}

.contact-phones a:hover {
  text-decoration: underline;
}

.contact-mail {
  font-size: 0.9rem;
  color: #0f766e;
  font-weight: 500;
}

.contact-mail:hover {
  text-decoration: underline;
}

.contact-map-wrapper {
  margin-top: 1.3rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #d1d5db;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 230px;
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* FOOTER NUEVO */
.site-footer {
  background: #020617; /* casi negro, moderno */
  color: #9ca3af;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 0;
  border-top: 1px solid #1f2937;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* Columnas */
.footer-column h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e5e7eb;
  margin-bottom: 0.7rem;
}

/* Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-logo span {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #f9fafb;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #9ca3af;
  max-width: 20rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

/* Redes sociales */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f9fafb;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.social-facebook {
  background: #2563eb;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

.social-instagram {
  background: radial-gradient(circle at 30% 30%, #f97316, #ec4899, #6366f1);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.5);
}

.social-icon:hover {
  transform: translateY(-1px) scale(1.03);
  opacity: 0.95;
}

/* Navegación */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.4rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-nav a:hover {
  color: #e5e7eb;
  transform: translateX(2px);
}

/* Contacto / Soporte */
.footer-address {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.footer-phone a,
.footer-mail a {
  font-size: 0.9rem;
  color: #22c55e;
  font-weight: 600;
  text-decoration: none;
}

.footer-phone a:hover,
.footer-mail a:hover {
  text-decoration: underline;
}

.footer-support-text {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0.8rem 0 0.9rem;
}

/* Botón Llamar ahora */
.btn-footer-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #16a34a;
  background: #16a34a;
  color: #f9fafb;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.5);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-footer-call:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 20px 52px rgba(22, 163, 74, 0.7);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 2.4rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    row-gap: 2rem;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    padding-top: 2.4rem;
  }

  .footer-column {
    text-align: left;
  }
}



/* RECLUTAMIENTO */
.reclutamiento {
  background: #ffffff;
}

.reclutamiento-body {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.reclutamiento-copy {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1.4rem;
}

.btn-reclutamiento {
  margin-top: 0.3rem;
}

/* Evitar scroll cuando modal está abierto */
body.no-scroll {
  overflow: hidden;
}

/* MODAL RECLUTAMIENTO */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 2000;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.modal-reclutamiento {
  max-width: 960px;
  width: 100%;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.25), #020617);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 2rem 2.2rem 2.3rem;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}

/* Botón cerrar */
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.modal-close:hover {
  background: rgba(15, 118, 110, 0.9);
  border-color: #22c55e;
  transform: translateY(-1px);
}

/* Layout interno del modal */
.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.9rem;
  align-items: flex-start;
}

.modal-kicker {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: #6ee7b7;
  margin-bottom: 0.4rem;
}

.modal-content-text h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.modal-lead {
  font-size: 0.95rem;
  color: #d1d5db;
  margin-bottom: 0.9rem;
}

.modal-beneficios {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
}

.modal-beneficios li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.25rem;
}

.modal-beneficios li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
}

.modal-cta-text {
  font-size: 0.9rem;
  color: #a5b4fc;
  margin-bottom: 0.8rem;
}

.modal-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn-modal-call {
  box-shadow: 0 18px 45px rgba(22, 163, 74, 0.7);
}

.btn-modal-whatsapp {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
}

.btn-modal-whatsapp:hover {
  background: rgba(15, 23, 42, 0.75);
}

/* Media (imagen + QR) */
.modal-content-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
}

.modal-media-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 1rem;
  border: 1px solid rgba(30, 64, 175, 0.7);
  padding: 0.8rem;
}

.modal-media-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #93c5fd;
  display: block;
  margin-bottom: 0.4rem;
}

.modal-media-img-wrapper {
  border-radius: 0.8rem;
  overflow: hidden;
  background: #020617;
  max-height: 180px;
}

.modal-media-img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.modal-media-card:hover .modal-media-img-wrapper img {
  transform: scale(1.06);
}

/* Responsive Modal */
@media (max-width: 900px) {
  .modal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .modal-reclutamiento {
    padding: 1.7rem 1.4rem 2rem;
  }
}

@media (max-width: 640px) {
  .modal-reclutamiento {
    border-radius: 1.1rem;
  }

  .modal-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-modal-whatsapp,
  .btn-modal-call {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #22c55e;
  color: #f9fafb;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(22, 163, 74, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.whatsapp-floating-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-floating-icon svg {
  width: 100%;
  height: 100%;
}

.whatsapp-floating-text {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hover / efecto */
.whatsapp-floating:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 60px rgba(22, 163, 74, 0.85);
  background: #16a34a;
  opacity: 0.96;
}

/* Versión compacta en pantallas pequeñas */
@media (max-width: 640px) {
  .whatsapp-floating {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 0.7rem;
  }

  .whatsapp-floating-text {
    display: none;
  }
}


/* BARRA DE COOKIES */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1800;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid #1f2937;
  color: #e5e7eb;
  padding: 0.9rem 1.2rem;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(8px);
}

.cookie-bar.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.cookie-text {
  font-size: 0.85rem;
  color: #d1d5db;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-link {
  font-size: 0.8rem;
  color: #93c5fd;
  text-decoration: none;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: #16a34a;
  color: #f9fafb;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.7);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.cookie-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.85);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .cookie-actions {
    justify-content: flex-start;
  }
}
