/* =========================================================
   Mundo Drone - HERO independiente
   Archivo: /assets/css/sections/hero.css

   Ajuste v6:
   - Aprovecha mejor el espacio lateral izquierdo y derecho.
   - Expande el layout casi a todo el ancho útil de pantalla.
   - Columna izquierda hacia la izquierda.
   - Columna derecha hacia la derecha.
   - Mantiene el texto centrado dentro de cada columna.
   - Reduce el hueco central sin comprimir los bloques.

   Este CSS se carga después de:
   - /assets/css/mundodrone-mock.css?v=1
   - /assets/css/build-extra.css?v=1
   ========================================================= */

.hero,
.hero * {
  box-sizing: border-box;
}

.hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding: clamp(28px, 4.2vw, 64px) clamp(24px, 2vw, 40px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
}

.hero::before {
  top: 22px;
  left: 22px;
  border-top: 1px solid var(--cyan, #00d4ff);
  border-left: 1px solid var(--cyan, #00d4ff);
}

.hero::after {
  right: 22px;
  bottom: 22px;
  border-right: 1px solid var(--cyan, #00d4ff);
  border-bottom: 1px solid var(--cyan, #00d4ff);
}

/*
   Layout principal:
   - Se abre a casi todo el ancho disponible.
   - Las columnas se envían a los extremos útiles.
   - El contenido interno sigue centrado.
*/
.hero-layout {
  position: relative;
  z-index: 1;
  width: min(100%, 1820px);
  min-height: calc(100vh - 124px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(720px, 1fr) minmax(610px, 0.78fr);
  justify-content: space-between;
  column-gap: clamp(18px, 2vw, 36px);
  row-gap: 42px;
  align-items: start;
}

/* ---------------------------------------------------------
   Columna izquierda
   --------------------------------------------------------- */

.hero-main,
.hero-clicks {
  min-width: 0;
  width: 100%;
}

.hero-main {
  justify-self: start;
  align-self: start;
  width: min(100%, 900px);
  padding-left: clamp(26px, 3.8vw, 76px);
  padding-top: clamp(8px, 2vw, 30px);
  text-align: center;
}

.hero .nav-logo-drone-prin {
  width: min(100%, 435px);
  max-width: 435px;
  margin: 0 auto clamp(24px, 3vw, 40px);
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.18));
}

.hero .nav-logo-drone-prin img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-subtitle {
  max-width: 100%;
  margin: 0 auto clamp(22px, 2.6vw, 32px);
  font-family: var(--fhud, "Orbitron", sans-serif);
  color: var(--plata-a, #c8d0d8);
  opacity: 0.72;
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: clamp(6px, 0.95vw, 13px);
  text-transform: uppercase;
  text-align: center;
}

.hero-desc {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--ftac, "Rajdhani", sans-serif);
  color: var(--plata-a, #c8d0d8);
  opacity: 0.70;
  font-size: clamp(15px, 1.14vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.hero-actions a {
  min-width: 210px;
  text-align: center;
}

/* ---------------------------------------------------------
   Columna derecha / rutas rápidas
   --------------------------------------------------------- */

.hero-clicks {
  justify-self: end;
  align-self: start;
  width: min(100%, 670px);
  max-width: 670px;
  margin-right: clamp(10px, 2vw, 36px);
  padding-top: clamp(92px, 8.8vw, 145px);
  text-align: center;
}

.clicks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  text-align: center;
}

.clicks-kicker {
  flex: 1 1 auto;
  font-family: var(--fmono, "Share Tech Mono", monospace);
  font-size: 12px;
  color: var(--cyan, #00d4ff);
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
}

.clicks-pulse {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan, #00d4ff);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.90);
}

.hero .click-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 112px;
  padding: 20px 22px;
  color: var(--plata-b, #e8edf2);
  text-decoration: none;
  text-align: center;
  background: rgba(17, 21, 26, 0.78);
  border: 2px solid var(--border, #d8e2ec);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hero .click-card:hover {
  border-color: rgba(0, 212, 255, 0.48);
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0, 212, 255, 0.14);
}

.hero .click-card.is-primary {
  min-height: 140px;
  margin-bottom: 14px;
  border-color: rgba(0, 212, 255, 0.34);
}

.hero .click-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.hero .click-mini-grid .click-card {
  min-height: 126px;
  padding: 18px;
}

.hero .click-card > span:first-child {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.hero .click-meta {
  display: block;
  margin-bottom: 9px;
  font-family: var(--fmono, "Share Tech Mono", monospace);
  color: var(--orange, #ff7a00);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  text-align: center;
}

.hero .click-title {
  display: block;
  margin: 0 auto;
  font-family: var(--fhud, "Orbitron", sans-serif);
  color: var(--plata-b, #e8edf2);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.75);
}

.hero .click-card.is-primary .click-title {
  font-size: clamp(24px, 2.2vw, 36px);
}

.hero .click-desc {
  display: block;
  margin: 9px auto 0;
  font-family: var(--ftac, "Rajdhani", sans-serif);
  color: rgba(200, 208, 216, 0.62);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
}

.hero .click-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--cyan, #00d4ff);
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: rgba(0, 212, 255, 0.08);
  font-family: var(--fhud, "Orbitron", sans-serif);
  font-size: 22px;
}

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

@media (max-width: 1500px) {
  .hero-layout {
    width: min(100%, 1420px);
    grid-template-columns: minmax(620px, 760px) minmax(560px, 640px);
    column-gap: clamp(14px, 1.6vw, 24px);
  }

  .hero-main {
    padding-left: clamp(18px, 2.2vw, 42px);
  }

  .hero-clicks {
    margin-right: clamp(0px, 1vw, 18px);
  }
}

@media (max-width: 1320px) {
  .hero-layout {
    grid-template-columns: minmax(540px, 680px) minmax(500px, 590px);
    column-gap: clamp(10px, 1.2vw, 18px);
  }

  .hero-main {
    padding-left: 0;
  }

  .hero-clicks {
    margin-right: 0;
  }
}

/* ---------------------------------------------------------
   Responsive a una columna
   --------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 64px;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-main,
  .hero-clicks {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
  }

  .hero-main {
    justify-self: center;
    padding-left: 0;
    padding-top: 0;
  }

  .hero-clicks {
    justify-self: center;
    padding-top: 0;
  }

  .hero .nav-logo-drone-prin {
    width: min(100%, 420px);
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 38px 18px 52px;
    text-align: center;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    width: 100%;
  }

  .hero-main,
  .hero-clicks {
    max-width: 100%;
  }

  .hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero .nav-logo-drone-prin {
    width: min(100%, 330px);
    margin-inline: auto;
    margin-bottom: 26px;
  }

  .hero-subtitle,
  .hero-desc {
    width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: 4px;
    margin-bottom: 24px;
  }

  .hero-desc {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-actions a {
    min-width: 0;
    width: 100%;
    max-width: 360px;
  }

  .hero .click-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero .click-card,
  .hero .click-card.is-primary {
    min-height: auto;
    padding: 20px 18px;
  }

  .hero .click-card.is-primary .click-title {
    font-size: 26px;
  }

  .hero .click-title {
    font-size: 18px;
  }

  .hero .click-desc {
    font-size: 15px;
  }

  .hero .click-arrow {
    position: static;
    transform: none;
    margin: 12px auto 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-inline: 14px;
  }

  .hero .nav-logo-drone-prin {
    width: min(100%, 280px);
  }

  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero .click-card.is-primary .click-title {
    font-size: 24px;
  }

  .hero .click-title {
    font-size: 17px;
  }
}
