/* ============================================================
   DRONE INVENTORY
   HEADER + NAV + HERO
   Independiente de Camaro
============================================================ */

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

/* ============================================================
   CONTENEDOR
============================================================ */

.di-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ============================================================
   HEADER SUPERIOR
============================================================ */

.di-header {
  position: sticky;
  top: -112px;
  z-index: 1000;
  background: #ffffff;
  color: #263746;
}

.di-header__top {
  border-bottom: 1px solid #e4e9ed;
  background: #f8fafb;
}

.di-header__top-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.di-brand {
  display: flex;
  align-items: center;
  gap: 25px;
  color: inherit;
  text-decoration: none;
}

.di-brand:hover,
.di-brand:focus {
  color: inherit;
  text-decoration: none;
}

.di-brand__logo {
  display: block;
  width: 174px;
  height: auto;
  flex: 0 0 auto;
}

.di-brand__tagline {
  color: #667685;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}

.di-header__utilities {
  display: flex;
  align-items: center;
  gap: 22px;
}

.di-header__email {
  color: #526273;
  font-size: 14px;
  text-decoration: none;
}

.di-header__email:hover,
.di-header__email:focus {
  color: #1f4d78;
  text-decoration: underline;
}

/* ============================================================
   BOTONES
============================================================ */

.di-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.di-btn:hover,
.di-btn:focus {
  text-decoration: none;
}

.di-btn--primary {
  background: #2878bd;
  border-color: #2878bd;
  color: #ffffff;
}

.di-btn--primary:hover,
.di-btn--primary:focus {
  background: #1f639d;
  border-color: #1f639d;
  color: #ffffff;
}

.di-btn--outline {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.85);
  color: #ffffff;
}

.di-btn--outline:hover,
.di-btn--outline:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: #18324a;
}

/* ============================================================
   NAVEGACIÓN
============================================================ */

.di-nav-wrap {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-bottom: 1px solid #edf1f4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.di-nav-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: flex-end;
}

.di-nav {
  width: 100%;
}

.di-nav__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.di-nav__menu > li {
  position: relative;
  margin: 0;
}

.di-nav__menu > li > a,
.di-submenu-toggle {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  background: transparent;
  border: 0;
  color: #273746;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.di-nav__menu > li > a:hover,
.di-nav__menu > li > a:focus,
.di-submenu-toggle:hover,
.di-submenu-toggle:focus {
  color: #2878bd;
  text-decoration: none;
}

/* ============================================================
   SUBMENÚ
============================================================ */

.di-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  min-width: 310px;
  margin: 0;
  padding: 8px 0;
  visibility: hidden;
  opacity: 0;
  background: #ffffff;
  border: 1px solid #dfe7ed;
  box-shadow: 0 12px 28px rgba(24, 50, 74, .12);
  list-style: none;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}

.di-submenu li {
  margin: 0;
}

.di-submenu a {
  display: block;
  padding: 11px 18px;
  color: #34495c;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.di-submenu a:hover,
.di-submenu a:focus {
  background: #f3f7fa;
  color: #2878bd;
  text-decoration: none;
}

.di-nav__item--submenu:hover > .di-submenu,
.di-nav__item--submenu:focus-within > .di-submenu,
.di-nav__item--submenu.is-open > .di-submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BOTÓN MÓVIL
============================================================ */

.di-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: transparent;
  border: 1px solid #d8e0e6;
  border-radius: 4px;
  color: #263746;
  font: inherit;
  cursor: pointer;
}

.di-nav-toggle__icon,
.di-nav-toggle__icon::before,
.di-nav-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.di-nav-toggle__icon {
  position: relative;
}

.di-nav-toggle__icon::before,
.di-nav-toggle__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.di-nav-toggle__icon::before { top: -7px; }
.di-nav-toggle__icon::after { top: 7px; }

/* ============================================================
   HERO
============================================================ */

.di-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #18324a;
}

.di-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.di-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.di-hero__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  background: transparent;
}

.di-hero__content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 70px;
  text-align: center;
  color: #ffffff;

  background: radial-gradient(
    ellipse at center,
    rgba(12, 24, 36, 0.48) 0%,
    rgba(12, 24, 36, 0.28) 48%,
    rgba(12, 24, 36, 0) 75%
  );
}

.di-hero__eyebrow {
  margin: 0 0 12px;
  color: #dce9f3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.di-hero__title {
  margin: 0 auto 18px;
  color: #ffffff;
  font-size: clamp(32px, 3.1vw, 48px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.di-hero__subtitle {
  max-width: 790px;
  margin: 0 auto;
  color: rgba(255,255,255,.94);
  font-size: 18px;
  line-height: 1.6;
}
.di-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ============================================================
   TABLET / MÓVIL
============================================================ */

@media (max-width: 991px) {
  .di-header {
    top: -88px;
  }

  .di-shell {
    width: min(100% - 30px, 1180px);
  }

  .di-header__top-inner {
    min-height: 88px;
  }

  .di-brand__logo {
    width: 155px;
  }

  .di-brand__tagline,
  .di-header__email {
    display: none;
  }

  .di-nav-inner {
    min-height: auto;
    padding: 10px 0;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .di-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .di-nav {
    width: 100%;
  }

  .di-nav__menu {
    display: none;
    width: 100%;
    padding: 12px 0 4px;
  }

  .di-nav__menu.is-open {
    display: block;
  }

  .di-nav__menu > li {
    width: 100%;
    border-top: 1px solid #edf1f4;
  }

  .di-nav__menu > li > a,
  .di-submenu-toggle {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 0 4px;
    text-align: left;
  }

  .di-submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 8px 15px;
    visibility: visible;
    opacity: 1;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .di-nav__item--submenu.is-open > .di-submenu {
    display: block;
  }

  .di-submenu a {
    padding: 9px 10px;
  }
  .di-hero__content {
    padding: 60px 0;
  }

  .di-hero__subtitle {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .di-header {
    top: -76px;
  }

  .di-shell {
    width: calc(100% - 30px);
  }

  .di-header__top-inner {
    min-height: 76px;
  }

  .di-brand__logo {
    width: 145px;
  }

  .di-header__cta {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 14px;
  }
  .di-hero__content {
    padding: 52px 0;
  }

  .di-hero__title {
    font-size: 31px;
    line-height: 1.18;
  }

  .di-hero__subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  .di-hero__actions {
    display: grid;
    gap: 11px;
  }

  .di-hero__actions .di-btn {
    width: 100%;
  }
}

/* ============================================================
   ALTURA RESPONSIVE DEL HERO — FUENTE ÚNICA
============================================================ */
:root {
  --di-hero-height-desktop: 500px;
  --di-hero-height-tablet: 440px;
  --di-hero-height-mobile: 380px;
}

.di-hero,
.di-hero__overlay {
  min-height: var(--di-hero-height-desktop);
}

@media (max-width: 991px) {
  .di-hero,
  .di-hero__overlay {
    min-height: var(--di-hero-height-tablet);
  }
}

@media (max-width: 600px) {
  .di-hero,
  .di-hero__overlay {
    min-height: var(--di-hero-height-mobile);
  }
}
