:root {
  --dark: #030c19;
  --dark2: #061122;
  --dark3: #091a32;
  --panel: rgba(255, 255, 255, 0.035);
  --panel2: rgba(255, 255, 255, 0.06);
  --cyan: #00d4f7;
  --cyan2: #00aece;
  --cyan-glow: rgba(0, 212, 247, 0.18);
  --white: #ffffff;
  --gray: #8ba4bc;
  --gray2: #c5d5e2;
  --border: rgba(0, 212, 247, 0.14);
  --border2: rgba(0, 212, 247, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden
}

/* ─── UTILS ─── */
.accent {
  color: var(--cyan)
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: var(--dark2)
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 247, 0.3);
  border-radius: 3px
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(3, 12, 25, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

nav.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5)
}

.logo {
  width: 360px;
  min-width: 360px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: 300px;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 0 18px rgba(0, 207, 255, .18)) drop-shadow(0 0 42px rgba(0, 207, 255, .10));
}

body>nav#nav:hover .logo-img {
  filter:
    drop-shadow(0 0 18px rgba(0, 207, 255, .18)) drop-shadow(0 0 42px rgba(0, 207, 255, .10));
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: .88rem;
  letter-spacing: .3px;
  transition: color .2s
}

.nav-links a:hover {
  color: var(--white)
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px
}

.burger span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.burger.open span:nth-child(2) {
  opacity: 0
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.mob-menu {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  z-index: 199;
  background: rgba(3, 12, 25, .97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
}

.mob-menu a {
  display: block;
  padding: 16px 6%;
  color: var(--gray);
  text-decoration: none;
  font-size: .95rem;
  border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s;
}

.mob-menu a:hover {
  color: var(--white);
  background: rgba(0, 212, 247, 0.05)
}

.mob-menu.open {
  display: flex
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  padding-top: 66px;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 40px;
  align-items: center;
  padding-left: 6%;
  padding-right: 5%;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('https://www.importacionesamexico.com.mx/images/cadebot/heropc.webp') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(3, 12, 25, .82) 0%, rgba(3, 12, 25, .38) 52%, rgba(3, 12, 25, .75) 100%);
}

/* Mobile hero bg swap */
@media(max-width:768px) {
  .hero-bg {
    background: url('https://www.importacionesamexico.com.mx/images/cadebot/heromovil.webp') center top/cover no-repeat;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(3, 12, 25, .55) 0%, rgba(3, 12, 25, .72) 55%, rgba(3, 12, 25, .95) 100%);
  }
}

.hero-left {
  position: relative;
  z-index: 1;
  padding: 80px 0
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 247, .08);
  border: 1px solid rgba(0, 212, 247, .25);
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 26px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.4)
  }
}

.hero-h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -.5px;
}

.hero-sub {
  color: var(--gray);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 510px;
  margin-bottom: 34px
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 36px
}

.pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: .77rem;
  color: var(--gray2);
  transition: all .2s;
}

.pill:hover {
  border-color: var(--cyan);
  color: var(--white)
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.btn-p {
  background: var(--cyan);
  color: var(--dark);
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}

.btn-p:hover {
  background: var(--cyan2);
  box-shadow: 0 8px 32px rgba(0, 212, 247, .35);
  transform: translateY(-2px)
}

.btn-o {
  background: transparent;
  color: var(--cyan);
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  border: 2px solid rgba(0, 212, 247, .35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}

.btn-o:hover {
  border-color: var(--cyan);
  background: rgba(0, 212, 247, .08)
}

/* HERO FORM */
.hero-form {
  position: relative;
  z-index: 1;
  background: rgba(6, 17, 34, .92);
  border: 1px solid var(--border2);
  border-radius: 22px;
  padding: 34px 28px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.hero-form h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px
}

.hero-form p {
  color: var(--gray);
  font-size: .86rem;
  margin-bottom: 22px;
  line-height: 1.5
}

.field {
  margin-bottom: 13px
}

.field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s, background .2s;
}

.field input::placeholder {
  color: rgba(255, 255, 255, .3)
}

.field input:focus {
  border-color: var(--cyan);
  background: rgba(0, 212, 247, .04)
}

.btn-sub {
  width: 100%;
  background: var(--cyan);
  color: var(--dark);
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  transition: all .2s;
}

.btn-sub:hover {
  background: var(--cyan2);
  box-shadow: 0 8px 28px rgba(0, 212, 247, .35);
  transform: translateY(-2px)
}

.form-note {
  text-align: center;
  color: var(--gray);
  font-size: .73rem;
  margin-top: 12px;
  opacity: .7
}

/* ─── SECTION BASE ─── */
section {
  padding: 96px 6%
}

.s-label {
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px
}

.s-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.3px
}

.s-sub {
  color: var(--gray);
  font-size: .98rem;
  line-height: 1.75;
  max-width: 580px
}

.gbar {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  border-radius: 3px;
  margin-bottom: 18px
}

.tc {
  text-align: center
}

.tc .s-sub {
  margin: 0 auto
}

.tc .gbar {
  margin-left: auto;
  margin-right: auto
}

/* ─── PROBLEMS ─── */
#problems {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      rgba(3, 12, 25, .76) 0%,
      rgba(3, 12, 25, .70) 42%,
      rgba(3, 12, 25, .86) 100%),
    url('https://www.importacionesamexico.com.mx/images/cadebot/background.gif') center center / cover no-repeat;
    background-attachment: fixed;
}

#problems::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 18%,
      rgba(0, 212, 247, .14),
      transparent 34%),
    linear-gradient(90deg,
      rgba(0, 0, 0, .32),
      rgba(0, 0, 0, .08),
      rgba(0, 0, 0, .28));
  mix-blend-mode: screen;
  opacity: .58;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

#problems>* {
  position: relative;
  z-index: 1;
}

.prob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 52px
}

.pcard {
  background:
    linear-gradient(180deg,
      rgba(8, 18, 32, .72),
      rgba(6, 15, 28, .82));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  transition: all .3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.pcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 247, .04), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.pcard:hover {
  border-color: rgba(0, 212, 247, .4);
  transform: translateY(-5px)
}

.pcard:hover::before {
  opacity: 1
}

.picon,
.sic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0, 207, 255, .12), rgba(255, 255, 255, .025));
  border: 1px solid rgba(104, 224, 255, .26);
  display: grid;
  place-items: center;
  color: #08c9ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 13px 34px rgba(0, 0, 0, .22),
    0 0 34px rgba(0, 207, 255, .10);
}

.picon {
  margin-bottom: 16px;
}

.picon svg,
.sic svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pcard:hover .picon,
.scard:hover .sic,
.itag:hover .itag-icon {
  border-color: rgba(0, 212, 247, .45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 14px 34px rgba(0, 0, 0, .26),
    0 0 38px rgba(0, 207, 255, .18);
}

.pcard h4 {
  font-family: 'Sora', sans-serif;
  font-size: .93rem;
  font-weight: 700;
  margin-bottom: 9px
}

#problems .pcard p {
  color: rgba(255, 255, 255, .76);
  font-size: .83rem;
  line-height: 1.65
}

/* ─── VIDEO ─── */
#video-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 30%, rgba(0, 212, 247, .08), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(0, 212, 247, .06), transparent 30%),
    linear-gradient(180deg, #06101d 0%, #071427 100%);
  padding: 96px 6%
}

.vid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start
}

#video-section .vid-layout>.reveal:first-child {
  margin-top: 3px;
}

.vid-feats {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px
}

.vfeat {
  display: flex;
  align-items: flex-start;
  gap: 14px
}

.vdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 10px;
  flex-shrink: 0
}

.vfeat p {
  color: rgba(255, 255, 255, .79);
  font-size: .96rem;
  line-height: 1.7
}

#video-section .s-title {
  color: rgba(255, 255, 255, .95);
  letter-spacing: -.02em;
  margin-bottom: 16px;
  text-wrap: balance;
}

#video-section .vid-cta-wrap {
  display: none;
}

#video-section .video-proposal-wrap {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#video-section .video-proposal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #f4fbff;
  border: 1px solid rgba(0, 212, 247, .48);
  background: linear-gradient(140deg, rgba(0, 174, 255, .30), rgba(4, 54, 87, .52));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 16px 34px rgba(0, 0, 0, .30);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

#video-section .video-proposal-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 226, 255, .78);
  background: linear-gradient(140deg, rgba(0, 192, 255, .40), rgba(7, 73, 112, .58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 40px rgba(0, 0, 0, .36), 0 0 20px rgba(0, 212, 247, .18);
}

#video-section .video-proposal-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 247, .32), 0 20px 40px rgba(0, 0, 0, .36);
}

@media (max-width: 960px) {
  #video-section .vid-layout>.reveal:first-child {
    margin-top: 0;
  }

  #video-section .vid-feats {
    gap: 16px;
  }

  #video-section .vfeat p {
    font-size: .93rem;
    line-height: 1.66;
  }
}

@media (max-width: 600px) {
  #video-section .video-proposal-cta {
    width: 100%;
  }
}

/* VIDEO PLAYER */
.vid-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border2);
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
  aspect-ratio: 16/9;
}

.vid-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.vid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(3, 12, 25, .1) 0%, rgba(3, 12, 25, .7) 100%);
  transition: opacity .35s;
  cursor: pointer;
}

.vid-overlay.hidden {
  opacity: 0;
  pointer-events: none
}

.play-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2.5px solid var(--cyan);
  background: rgba(0, 212, 247, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.vid-wrapper:hover .play-ring {
  background: rgba(0, 212, 247, .28);
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(0, 212, 247, .35)
}

.play-tri {
  border-style: solid;
  border-width: 13px 0 13px 24px;
  border-color: transparent transparent transparent var(--cyan);
  margin-left: 5px;
}

.vid-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(3, 12, 25, .92));
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ─── FEATURES ─── */
#features {
  background: var(--dark)
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 52px
}

.fcard {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  min-height: 360px;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}

.fcard-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
  z-index: 4;
}

.fcard:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 247, .35)
}

.fcard:hover .fcard-top {
  transform: scaleX(1)
}

.fnum {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(0, 212, 247, .1);
  position: absolute;
  top: 14px;
  right: 18px;
  line-height: 1;
  z-index: 3;
}

.fmedia {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px 110px;
  background:
    radial-gradient(circle at 70% 18%, rgba(0, 212, 247, .18), transparent 34%),
    linear-gradient(180deg, rgba(8, 18, 32, .55), rgba(6, 15, 28, .96));
}

.fmedia::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(3, 12, 25, .02) 0%,
      rgba(3, 12, 25, .12) 38%,
      rgba(3, 12, 25, .78) 68%,
      rgba(3, 12, 25, .98) 100%);
  pointer-events: none;
  z-index: 1;
}

.fmedia img {
  width: min(86%, 230px);
  height: min(68%, 220px);
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
  mix-blend-mode: screen;
  filter:
    brightness(1.04) contrast(1.05) drop-shadow(0 0 26px rgba(0, 212, 247, .20)) drop-shadow(0 22px 34px rgba(0, 0, 0, .38));
  transition:
    transform .35s ease,
    filter .35s ease,
    opacity .35s ease;
}

.fcard:hover .fmedia img {
  transform: translateY(-5px) scale(1.045);
  filter:
    brightness(1.08) contrast(1.08) drop-shadow(0 0 34px rgba(0, 212, 247, .32)) drop-shadow(0 28px 42px rgba(0, 0, 0, .46));
}

.fcontent {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  z-index: 2;
}

.fcard h4 {
  font-family: 'Sora', sans-serif;
  font-size: .97rem;
  font-weight: 700;
  margin-bottom: 8px
}

#features .s-sub {
  color: rgba(255, 255, 255, .74);
}

#features .fcard p {
  color: rgba(255, 255, 255, .76);
  font-size: .83rem;
  line-height: 1.65
}

.fcard .ftag {
  display: inline-block;
  margin-top: 14px;
  background: rgba(0, 212, 247, .08);
  border: 1px solid rgba(0, 212, 247, .2);
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ─── HOW IT WORKS ─── */
#how {
  background: var(--dark2)
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative
}

.steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 212, 247, .15));
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 14px;
  position: relative;
  z-index: 1
}

.snum {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--dark2);
  border: 2px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan);
  margin: 0 auto 22px;
  transition: all .35s;
}

.step:hover .snum {
  background: var(--cyan);
  color: var(--dark);
  box-shadow: 0 0 28px rgba(0, 212, 247, .4);
  transform: scale(1.08)
}

.step h4 {
  font-family: 'Sora', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 10px
}

.step p {
  color: var(--gray);
  font-size: .81rem;
  line-height: 1.6
}

#how .s-sub {
  color: rgba(255, 255, 255, .74);
}

#how .step h4 {
  color: rgba(255, 255, 255, .96);
}

#how .step p {
  color: rgba(255, 255, 255, .75);
  font-size: .84rem;
  line-height: 1.62;
  max-width: 300px;
  margin: 0 auto;
}

#how .step-icon {
  width: 26px;
  height: 26px;
  margin: 0 auto 12px;
  color: rgba(0, 212, 247, .95);
  display: grid;
  place-items: center;
}

#how .step-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#how .how-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

#how .how-card-grid::before {
  display: none;
  content: none;
}

#how .how-info-card {
  position: relative;
  min-height: 258px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 247, .24);
  background: #071325;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  isolation: isolate;
}

#how .how-info-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#how .how-info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .42s ease;
}

#how .how-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 12, 25, .18) 0%, rgba(3, 12, 25, .62) 46%, rgba(3, 12, 25, .95) 100%),
    linear-gradient(120deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, .44));
  pointer-events: none;
}

#how .how-info-content {
  position: relative;
  z-index: 2;
  padding: 16px 16px 18px;
  min-height: 258px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#how .how-info-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

#how .how-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 247, .44);
  background: rgba(0, 212, 247, .14);
  color: #c8f6ff;
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

#how .how-info-eyebrow {
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0, 212, 247, .92);
  font-weight: 600;
}

#how .how-info-content h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.22;
  color: rgba(255, 255, 255, .96);
  margin: 0 0 9px;
  text-wrap: balance;
}

#how .how-info-content p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .84rem;
  line-height: 1.58;
  max-width: 96%;
}

#how .how-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 247, .48);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .42), 0 0 26px rgba(0, 212, 247, .16);
}

#how .how-info-card:hover .how-info-image img {
  transform: scale(1.06);
}

@media (max-width: 980px) {
  #how .how-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #how .how-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #how .how-info-card,
  #how .how-info-content {
    min-height: 246px;
  }
}

/* ─── SUPPORT ─── */
#support {
  background: var(--dark3)
}

.sup-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.sup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px
}

.scard {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
  transition: border-color .2s
}

.scard:hover {
  border-color: var(--border2)
}

.sic {
  margin-bottom: 11px
}

.scard h4 {
  font-family: 'Sora', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 6px
}

.scard p {
  color: var(--gray);
  font-size: .81rem;
  line-height: 1.55
}

.sup-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px 0;
}

.sup-visual::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 247, .18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.sup-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(0, 212, 247, .35)) drop-shadow(0 40px 80px rgba(0, 0, 0, .7));
  display: block;
  animation: floatBot 5s ease-in-out infinite;
}

#support .s-label {
  color: rgba(0, 212, 247, .96);
  text-shadow: 0 0 16px rgba(0, 212, 247, .18);
}

#support .s-title {
  color: rgba(255, 255, 255, .96);
}

#support .s-title .accent {
  color: rgba(0, 212, 247, .96);
}

#support .scard h4 {
  color: rgba(255, 255, 255, .92);
}

#support .scard p {
  color: rgba(255, 255, 255, .76);
}

#support .sup-visual::before {
  opacity: .86;
}

#support .sup-visual img {
  filter: drop-shadow(0 0 50px rgba(0, 212, 247, .28)) drop-shadow(0 36px 72px rgba(0, 0, 0, .66));
}

#final-cta {
  padding: 22px 6% 22px;
  background: var(--dark2);
}

#final-cta .final-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 170px) minmax(0, 1fr) minmax(240px, 360px);
  justify-content: stretch;
  align-items: center;
  column-gap: clamp(28px, 4vw, 64px);
  min-height: 164px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 247, .24);
  background:
    linear-gradient(130deg, rgba(0, 174, 255, .10), rgba(4, 16, 30, .68) 36%, rgba(4, 15, 28, .86) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 56px rgba(0, 0, 0, .34);
  padding: 0 clamp(22px, 3vw, 42px);
  overflow: hidden;
  isolation: isolate;
}

#final-cta .final-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 7% 50%, rgba(0, 212, 247, .14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
}

#final-cta .final-cta-media,
#final-cta .final-cta-copy,
#final-cta .final-cta-actions {
  position: relative;
  z-index: 1;
  min-width: 0;
}

#final-cta .final-cta-media {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  align-self: stretch;
  min-width: 0;
}

#final-cta .final-cta-media img {
  object-fit: contain;
  object-position: left bottom;
  display: block;
  filter: drop-shadow(0 0 30px rgba(0, 212, 247, .20)) drop-shadow(0 24px 36px rgba(0, 0, 0, .42));
}

#final-cta .final-cta-copy h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.55rem, 2.15vw, 2.2rem);
  line-height: 1.18;
  color: rgba(255, 255, 255, .96);
  letter-spacing: -.02em;
  margin-bottom: 12px;
  text-wrap: normal;
  max-width: none;
}

#final-cta .final-cta-copy p {
  margin: 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.02rem, 1vw, 1.08rem);
  line-height: 1.7;
}

#final-cta .final-cta-copy p span {
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
}

#final-cta .final-cta-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
}

#final-cta .final-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  min-width: 0;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 247, .48);
  background: linear-gradient(135deg, rgba(0, 198, 255, .94), rgba(0, 131, 255, .90));
  color: #f7fcff;
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 108, 184, .34), inset 0 1px 0 rgba(255, 255, 255, .26);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}

#final-cta .final-cta-button:hover {
  transform: translateY(-2px);
  border-color: rgba(69, 236, 255, .84);
  box-shadow: 0 18px 38px rgba(0, 122, 205, .36), 0 0 22px rgba(0, 212, 247, .24);
  filter: brightness(1.03);
}

#final-cta .final-cta-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 247, .34), 0 18px 38px rgba(0, 122, 205, .36);
}

@media (max-width: 1180px) {
  #final-cta {
    padding: 18px 5% 18px;
  }

  #final-cta .final-cta-card {
    grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
    max-width: 980px;
    margin: 0 auto;
    padding: 22px clamp(20px, 3vw, 34px);
    column-gap: clamp(24px, 4vw, 42px);
    row-gap: 14px;
  }

  #final-cta .final-cta-media {
    grid-row: 1 / span 2;
    justify-content: center;
  }

  #final-cta .final-cta-copy {
    align-self: end;
  }

  #final-cta .final-cta-copy h2 {
    max-width: 620px;
    text-wrap: balance;
  }

  #final-cta .final-cta-copy p {
    max-width: 58ch;
  }

  #final-cta .final-cta-actions {
    justify-self: start;
    justify-content: flex-start;
    width: 100%;
    margin-top: 4px;
  }

  #final-cta .final-cta-button {
    width: 100%;
    max-width: 360px;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  #final-cta .final-cta-card {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    width: 100%;
    max-width: 390px;
    padding: 24px 18px 22px;
    min-height: auto;
    row-gap: 14px;
  }

  #final-cta .final-cta-media {
    grid-row: auto;
    justify-content: center;
    align-self: auto;
    margin-bottom: 2px;
  }

  #final-cta .final-cta-media img {
    width: min(70%, 188px);
    height: 150px;
    object-fit: contain;
    object-position: center bottom;
  }

  #final-cta .final-cta-copy h2 {
    max-width: 300px;
    margin: 0 auto 12px;
    font-size: clamp(1.45rem, 7vw, 1.82rem);
    line-height: 1.14;
    text-wrap: balance;
  }

  #final-cta .final-cta-copy p {
    max-width: 31ch;
    margin: 0 auto;
    font-size: .98rem;
    line-height: 1.62;
  }

  #final-cta .final-cta-actions {
    justify-content: center;
    margin-top: 4px;
  }

  #final-cta .final-cta-button {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    min-height: 56px;
    border-radius: 999px;
    font-size: .82rem;
    padding: 0 22px;
  }
}

@keyframes floatBot {

  0%,
  100% {
    transform: translateY(0px)
  }

  50% {
    transform: translateY(-14px)
  }
}

/* ─── INDUSTRIES ─── */
#industries {
  background: var(--dark);
  padding-top: 30px;
  padding-bottom: 60px
}

.ind-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px
}

.itag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 22px;
  font-size: .87rem;
  color: var(--gray2);
  transition: all .22s;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 8px;
}

.itag:hover {
  background: rgba(0, 212, 247, .1);
  border-color: var(--border2);
  color: var(--white)
}

.itag-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cyan);
  background: rgba(0, 212, 247, .08);
  border: 1px solid rgba(0, 212, 247, .18);
}

.itag-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── STATS STRIP ─── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 28px;
}

.stats-wrap {
  padding: 36px 6% 0;
  background: var(--dark2);
}

.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--panel);
  transition: background .2s;
}

.stat-item:last-child {
  border-right: none
}

.stat-item:hover {
  background: rgba(0, 212, 247, .05)
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  display: block
}

.stat-lbl {
  color: var(--gray);
  font-size: .8rem;
  margin-top: 5px;
  line-height: 1.4
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 32px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.foot-logo {
  display: flex;
  align-items: center;
}

.foot-logo-img {
  display: block;
  width: 270px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  opacity: .92;
  filter:
    drop-shadow(0 0 14px rgba(0, 207, 255, .10));
}

.foot-copy {
  color: var(--gray);
  font-size: .78rem
}

/* ─── MODAL ─── */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-bg.open {
  display: flex
}

.modal-box {
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border2);
  position: relative;
}

.modal-box video {
  width: 100%;
  display: block
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, .3)
}

/* ─── RESPONSIVE ─── */
@media(max-width:960px) {
  #hero {
    grid-template-columns: 1fr;
    padding-top: 86px;
    padding-bottom: 60px
  }

  .hero-form {
    display: none
  }

  .vid-layout {
    grid-template-columns: 1fr
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 30px
  }

  .steps::before {
    display: none
  }

  .sup-layout {
    grid-template-columns: 1fr
  }

  .sup-visual {
    display: flex;
    margin-top: 10px
  }

  .nav-links {
    display: none
  }

  .burger {
    display: flex
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr
  }

  .stat-item:nth-child(2) {
    border-right: none
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--border)
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none
  }

}

@media(max-width:600px) {
  section {
    padding: 64px 5%
  }

  #hero {
    padding-left: 5%;
    padding-right: 5%
  }

  .hero-btns {
    flex-direction: column
  }

  .btn-p,
  .btn-o {
    width: 100%;
    justify-content: center
  }

  .steps {
    grid-template-columns: 1fr
  }

  .sup-grid {
    grid-template-columns: 1fr
  }

  #support .sup-visual {
    margin-top: 14px;
    padding: 10px 0 4px;
    overflow: visible;
    background: transparent;
  }

  #support .sup-visual::before {
    width: 340px;
    height: 340px;
    bottom: 0;
    opacity: .58;
    background:
      radial-gradient(circle,
        rgba(0, 212, 247, .14),
        rgba(0, 212, 247, .06) 36%,
        transparent 68%);
  }

  #support .sup-visual img {
    width: min(100%, 360px);
    max-width: 360px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    mix-blend-mode: normal;

  }

  #problems .prob-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
  }

  #problems .prob-grid .pcard:nth-child(5) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    min-height: 132px;
    padding: 22px 22px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 18px;
    row-gap: 6px;
    text-align: left;
  }

  #problems .prob-grid .pcard:nth-child(5) .picon {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  #problems .prob-grid .pcard:nth-child(5) h4 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    line-height: 1.15;
    text-align: left;
    min-width: 0;
  }

  #problems .prob-grid .pcard:nth-child(5) p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    max-width: none;
    margin: 0;
    line-height: 1.52;
    text-align: left;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  #features .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
  }

  #features .fcard {
    min-height: 318px;
    border-radius: 18px;
  }

  #features .fmedia {
    padding: 18px 14px 112px;
    align-items: flex-start;
    background:
      radial-gradient(circle at 50% 22%, rgba(0, 212, 247, .16), transparent 38%),
      linear-gradient(180deg, rgba(8, 18, 32, .42), rgba(6, 15, 28, .94));
  }

  #features .fmedia::after {
    background:
      linear-gradient(180deg,
        rgba(3, 12, 25, 0) 0%,
        rgba(3, 12, 25, .08) 42%,
        rgba(3, 12, 25, .64) 72%,
        rgba(3, 12, 25, .96) 100%);
  }

  #features .fmedia img {
    width: min(86%, 170px);
    height: min(58%, 165px);
    object-fit: contain;
    object-position: center top;
    display: block;
    position: relative;
    z-index: 2;
    mix-blend-mode: screen;
    background: transparent;
  }

  #features .fnum {
    top: 10px;
    right: 14px;
    font-size: 2.15rem;
  }

  #features .fcontent {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }

  #features .fcard h4 {
    font-size: .9rem;
    line-height: 1.14;
    margin-bottom: 8px;
  }

  #features .fcard p {
    font-size: .79rem;
    line-height: 1.55;
  }

  #features .fcard .ftag {
    margin-top: 12px;
    font-size: .68rem;
    padding: 4px 10px;
  }

  #features .feat-grid .fcard:nth-child(5) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    min-height: 270px;
  }

  #features .feat-grid .fcard:nth-child(5) .fmedia img {
    width: min(54%, 170px);
    height: min(54%, 150px);
    object-position: center top;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(8px);
  }

  #features .feat-grid .fcard:nth-child(5) .fcontent {
    left: 50%;
    right: auto;
    bottom: 38px;
    width: min(calc(100% - 32px), 260px);
    max-width: 260px;
    transform: translateX(-50%);
    text-align: center;
  }

  #features .feat-grid .fcard:nth-child(5) .fmedia {
    justify-content: center;
    align-items: flex-start;
    padding-top: 26px;
  }

  #features .feat-grid .fcard:nth-child(5) .ftag {
    margin-left: auto;
    margin-right: auto;
  }

  #features .feat-grid .fcard:nth-child(5) h4,
  #features .feat-grid .fcard:nth-child(5) p {
    text-align: center;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr
  }

  footer {
    flex-direction: column;
    text-align: center
  }

  .foot-logo {
    justify-content: center;
  }

  .foot-logo-img {
    width: 125px;
    max-height: 48px;
  }
}

@media(max-width:400px) {

  #problems .prob-grid {
    grid-template-columns: 1fr;
  }

  #problems .prob-grid .pcard:nth-child(5) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 16px;
  }

  #problems .prob-grid .pcard:nth-child(5) .picon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #problems .prob-grid .pcard:nth-child(5) h4,
  #problems .prob-grid .pcard:nth-child(5) p {
    grid-column: 2;
    word-break: normal;
    overflow-wrap: normal;
  }

  #features .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ═════════════════════════════════════════════════════════════
   PREMIUM HERO REFRESH — MiROBOT Cadebot L100
   Cambios visuales quirúrgicos: nav + hero + formulario + CTA video.
   IDs, secciones y JavaScript original se conservan.
═════════════════════════════════════════════════════════════ */
:root {
  --miro-cyan: #00cfff;
  --miro-blue: #0298ff;
  --miro-glass: rgba(7, 15, 26, .42);
  --miro-glass-strong: rgba(7, 15, 26, .58);
  --miro-line: rgba(92, 213, 255, .34);
  --miro-soft: rgba(255, 255, 255, .72);
  --miro-muted: rgba(224, 238, 247, .72);
}

body {
  background: #02070d;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body>nav#nav {
  height: 86px;
  padding: 0 clamp(28px, 4vw, 72px);
  background:
    linear-gradient(180deg, rgba(2, 10, 20, .94), rgba(3, 12, 25, .88));
  border-bottom: 1px solid rgba(0, 207, 255, .12);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
  overflow: visible;
}

body>nav#nav.scrolled {
  background:
    linear-gradient(180deg, rgba(2, 10, 20, .98), rgba(3, 12, 25, .94));
  border-bottom-color: rgba(0, 207, 255, .18);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .32);
}

body>nav#nav::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 207, 255, .08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
  opacity: .9;
}

.logo {
  width: 360px;
  min-width: 360px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  flex-shrink: 0;
}

body>nav#nav .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4vw, 70px);
}

body>nav#nav .nav-links a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: rgba(255, 255, 255, .82);
  font-size: 1.04rem;
  font-weight: 400;
  letter-spacing: .01em;
}

body>nav#nav .nav-links .nav-proposal-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 207, 255, .40);
  background: linear-gradient(135deg, rgba(10, 172, 255, .92), rgba(0, 132, 255, .88));
  color: #f5fcff;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 12px 30px rgba(0, 110, 195, .30), inset 0 1px 0 rgba(255, 255, 255, .22);
  text-shadow: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}

body>nav#nav .nav-links .nav-proposal-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 230, 255, .64);
  box-shadow: 0 14px 32px rgba(0, 128, 220, .34), 0 0 20px rgba(0, 212, 247, .22);
  filter: brightness(1.03);
}

body>nav#nav .nav-links .nav-proposal-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 247, .30), 0 14px 32px rgba(0, 128, 220, .34);
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 22px rgba(0, 207, 255, .36);
}

.nav-links a.is-active {
  color: #fff;
  text-shadow: 0 0 18px rgba(0, 207, 255, .42);
  box-shadow: inset 0 -2px 0 rgba(0, 207, 255, .95);
}

.mob-menu a.is-active {
  color: #fff;
  background: rgba(0, 207, 255, .14);
}

#hero {
  min-height: 100vh;
  padding-top: 96px;
  padding-bottom: 24px;
  padding-left: clamp(28px, 4vw, 72px);
  padding-right: clamp(28px, 4vw, 72px);
  grid-template-columns: minmax(520px, 0.95fr) minmax(360px, 430px);
  gap: 28px;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  background-position: center center;
  transform: scale(1.015);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;

  z-index: 1;
  pointer-events: none;
}

.hero-bg::after {
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgb(0 0 0 / 0%) 0%,
      rgb(0 0 0 / 0%) 47%,
      rgb(0 7 14 / 0%) 100%),
    linear-gradient(90deg,
      rgb(0 0 0) 0%,
      rgb(0 13 25) 36%,
      rgb(0 13 25 / 0%) 57%,
      rgba(0, 13, 25, 0) 100%);
}

.hero-left {
  z-index: 5;
  padding: 24px 0 0;
  max-width: 760px;
}

.hero-badge {
  display: none;
}

.hero-h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 3.2vw, 3.85rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .96);
  text-wrap: balance;
  text-shadow: 0 22px 52px rgba(0, 0, 0, .50), 0 0 16px rgba(255, 255, 255, .10);
}

.hero-h1 .accent {
  color: #22bbff;
  text-shadow: 0 0 18px rgba(0, 165, 255, .28);
}

.hero-h1::after {
  content: '';
  display: block;
  width: 92px;
  height: 3px;
  margin-top: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, #13d8ff 0%, #1388ff 54%, transparent 100%);
  box-shadow: 0 0 26px rgba(0, 207, 255, .36);
}

.hero-sub {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(239, 247, 252, .86);
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  line-height: 1.55;
  letter-spacing: .01em;
}

.hero-sub .accent {
  color: #1bc9ff;
}

.hero-mobile-quote-cta {
  display: none;
}

.hero-pills,
.hero-btns {
  display: none;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 705px;
  margin: 14px 0 18px;
  border-left: 1px solid rgba(255, 255, 255, .20);
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.hero-benefit {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 14px;
  text-align: center;
  color: #f4f8fb;
  border-right: 1px solid rgba(255, 255, 255, .22);
}

.hero-benefit:last-child {
  border-right: 0;
}

.hero-benefit-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #08c9ff;
  background: linear-gradient(145deg, rgba(0, 207, 255, .12), rgba(255, 255, 255, .025));
  border: 1px solid rgba(104, 224, 255, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 13px 34px rgba(0, 0, 0, .22), 0 0 34px rgba(0, 207, 255, .10);
}

.hero-benefit svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-benefit span {
  font-size: .86rem;
  line-height: 1.18;
  color: rgba(255, 255, 255, .88);
}

.hero-video-cta {
  width: min(100%, 720px);
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  border-radius: 18px;
  cursor: pointer;
  color: #fff;
  text-align: left;
  border: 1px solid rgba(0, 207, 255, .63);
  background: linear-gradient(96deg, rgba(8, 52, 84, .56), rgba(9, 32, 49, .44));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 22px 64px rgba(0, 0, 0, .34), 0 0 42px rgba(0, 207, 255, .13);
  backdrop-filter: blur(17px) saturate(145%);
  -webkit-backdrop-filter: blur(17px) saturate(145%);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
  margin: 50px 0 0;
}

.hero-video-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 221, 255, .9);
  background: linear-gradient(96deg, rgba(9, 63, 100, .70), rgba(13, 45, 67, .58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 24px 76px rgba(0, 0, 0, .42), 0 0 54px rgba(0, 207, 255, .24);
}

.hero-video-play {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(0, 207, 255, .20), rgba(0, 112, 255, .08));
  border: 1px solid rgba(0, 207, 255, .70);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 32px rgba(0, 207, 255, .22);
}

.hero-video-play::before {
  content: '';
  margin-left: 3px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, .34));
}

.hero-video-title {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1rem, 1.08vw, 1.2rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: .01em;
}

.hero-video-sub {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(.84rem, .9vw, .98rem);
}

.hero-form {
  z-index: 6;
  width: 100%;
  margin-left: auto;
  padding: 32px;
  align-self: center;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(10, 18, 27, 0), rgba(10, 18, 27, 0.082));
  border: 1px solid rgba(136, 224, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 26px 74px rgba(0, 0, 0, .38), 0 0 58px rgba(0, 207, 255, .08);
  backdrop-filter: blur(22px) saturate(142%);
  -webkit-backdrop-filter: blur(22px) saturate(142%);
}

#solicitar-propuesta {
  scroll-margin-top: 110px;
}

.hero-form::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), transparent 32%, rgba(0, 207, 255, .09));
  opacity: .65;
}

.hero-form h3 {
  position: relative;
  font-size: clamp(1.52rem, 1.65vw, 2rem);
  line-height: 1.25;
  letter-spacing: .01em;
  margin-bottom: 12px;
  color: #fff;
}

.hero-form h3 .accent {
  display: block;
  color: #16bfff;
}

.hero-form p {
  position: relative;
  color: rgba(255, 255, 255, .78);
  font-size: .98rem;
  line-height: 1.45;
  max-width: 360px;
  margin-bottom: 20px;
}

.hero-form .field {
  position: relative;
  margin-bottom: 14px;
}

.hero-form .field .input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  color: rgba(255, 255, 255, .82);
  pointer-events: none;
  z-index: 2;
}

.hero-form .field .input-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-form .field input {
  min-height: 62px;
  padding: 0 20px 0 66px;
  border-radius: 13px;
  color: #fff;
  font-size: 1.04rem;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-form .field input::placeholder {
  color: rgba(255, 255, 255, .78);
}

.hero-form .field input:focus {
  border-color: rgba(0, 207, 255, .78);
  background: rgba(0, 207, 255, .07);
  box-shadow: 0 0 0 4px rgba(0, 207, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.hero-form .btn-sub {
  position: relative;
  min-height: 68px;
  margin-top: 6px;
  border-radius: 13px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .12em;
  background: linear-gradient(135deg, #16bdff 0%, #0794ff 100%);
  box-shadow: 0 18px 38px rgba(0, 151, 255, .26), inset 0 1px 0 rgba(255, 255, 255, .26);
}

.hero-form .btn-sub::after {
  content: '→';
  font-size: 1.82rem;
  margin-left: 18px;
  vertical-align: -2px;
}

.hero-form .btn-sub:hover {
  background: linear-gradient(135deg, #2bdcff 0%, #0e9eff 100%);
}

.hero-form .form-note {
  display: none;
}

@media(min-width:961px) {
  #support .sup-visual {
    min-height: 520px;
    padding: 0;
    overflow: visible;
  }

  #support .sup-visual::before {
    width: 620px;
    height: 620px;
    bottom: 50%;
    transform: translate(-50%, 50%);
    background: radial-gradient(circle, rgba(0, 207, 255, .19), rgba(0, 207, 255, .07) 34%, transparent 68%);
  }

  #support .sup-visual img {
    max-width: 520px;
    width: min(100%, 520px);
    filter: drop-shadow(0 0 50px rgba(0, 212, 247, .22)) drop-shadow(0 34px 72px rgba(0, 0, 0, .58));
    animation: floatBot 5s ease-in-out infinite;
  }
}

@media(max-width:1180px) {
  #hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 54px;
    overflow: hidden;
  }

  .hero-left {
    max-width: 820px;
    padding-bottom: 26px;
  }

  .hero-form {
    width: min(100%, 722px);
    margin: 0;
  }

  .hero-h1 {
    font-size: clamp(2.85rem, 8vw, 5rem);
  }

  .hero-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media(max-width:960px) {
  body>nav#nav {
    height: 72px;
  }

  .logo {
    width: 280px;
    min-width: 280px;
    height: 72px;
  }

  .logo-img {
    width: 235px;
    max-height: 66px;
  }

  .mob-menu {
    top: 72px;
  }

  #hero {
    padding-top: 72px;
  }

  .hero-form {
    display: block;
  }

  #solicitar-propuesta {
    scroll-margin-top: 88px;
  }
}

@media(max-width:780px) {
  #hero {
    min-height: auto;
    align-items: start;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 52px;
  }

  .hero-bg {
    background-image: url('https://www.importacionesamexico.com.mx/images/cadebot/heromovil.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 74% center;
    transform: scale(1.06);
  }

  .hero-bg::before {
    background:
      linear-gradient(90deg,
        rgba(2, 12, 24, .92) 0%,
        rgba(2, 12, 24, .82) 28%,
        rgba(2, 12, 24, .42) 45%,
        rgba(2, 12, 24, .12) 58%,
        rgba(2, 12, 24, 0) 72%);
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg,
        rgba(3, 12, 25, .08) 0%,
        rgba(3, 12, 25, .04) 50%,
        rgba(3, 12, 25, .18) 100%);
  }

  .hero-left {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: none;
    padding-top: 44px;
    padding-bottom: 10px;
  }

  .hero-h1 {
    max-width: min(74vw, 315px);
    font-size: clamp(2rem, 8.2vw, 2.9rem);
    line-height: 1.09;
    letter-spacing: -.035em;
    text-wrap: balance;
    margin-bottom: 18px;
  }

  .hero-sub {
    max-width: min(68vw, 300px);
    font-size: 1rem;
    line-height: 1.48;
    color: rgba(255, 255, 255, .90);
    margin-bottom: 20px;
  }

  .hero-mobile-quote-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(82vw, 320px);
    min-height: 56px;
    margin: 22px 0 8px;
    padding-inline: 18px;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    background: linear-gradient(135deg, #16bdff 0%, #0794ff 100%);
    border: 1px solid rgba(78, 226, 255, .55);
    box-shadow:
      0 16px 36px rgba(0, 151, 255, .28),
      inset 0 1px 0 rgba(255, 255, 255, .26);
  }

  .hero-mobile-quote-cta:hover,
  .hero-mobile-quote-cta:focus-visible {
    background: linear-gradient(135deg, #2bdcff 0%, #0e9eff 100%);
    box-shadow:
      0 18px 42px rgba(0, 151, 255, .34),
      0 0 24px rgba(0, 212, 247, .22);
    outline: none;
  }

  .hero-benefits {
    display: none !important;
  }

  .hero-video-cta {
    display: none !important;
  }

  .hero-form {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 34px 0 0;
    align-self: stretch;
    padding: 30px 22px;
    border-radius: 20px;
  }

  #solicitar-propuesta {
    scroll-margin-top: 92px;
  }

  .hero-form h3 {
    font-size: 1.5rem;
  }

  .hero-form p {
    font-size: .94rem;
  }

  .hero-form .field input {
    min-height: 58px;
    font-size: .96rem;
    padding-left: 55px;
  }

  .hero-form .field .input-icon {
    left: 17px;
    width: 21px;
    height: 21px;
  }

  .hero-form .btn-sub {
    min-height: 62px;
    font-size: .9rem;
    letter-spacing: .08em;
  }
}

@media(max-width:520px) {
  #final-cta {
    padding: 16px 5% 16px;
  }

  #final-cta .final-cta-card {
    max-width: 330px;
    padding: 22px 16px 20px;
    row-gap: 12px;
  }

  #final-cta .final-cta-media img {
    width: min(72%, 168px);
    height: 138px;
  }

  #final-cta .final-cta-copy h2 {
    max-width: 285px;
    font-size: clamp(1.36rem, 7.2vw, 1.64rem);
    line-height: 1.15;
  }

  #final-cta .final-cta-copy p {
    max-width: 29ch;
    font-size: .94rem;
    line-height: 1.58;
  }

  #final-cta .final-cta-button {
    width: min(100%, 286px);
    min-height: 54px;
  }

  body>nav#nav {
    padding: 0 5%;
  }

  .logo {
    width: 220px;
    min-width: 220px;
    height: 72px;
  }

  .logo-img {
    width: 190px;
    max-height: 58px;
  }

  .foot-logo-img {
    width: 210px;
    max-height: 64px;
  }
}


/* ═════════════════════════════════════════════════════════════
   MOBILE NAV PATCH — hamburguesa real + menú aislado
   Corrige conflicto del bloque premium que forzaba .nav-links
   y evita que el menú móvil herede estilos del nav principal.
═════════════════════════════════════════════════════════════ */
nav.mob-menu {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  overflow: hidden;
}

@media (min-width: 961px) {
  body>nav#nav .nav-links {
    display: flex !important;
  }

  body>nav#nav .burger {
    display: none !important;
  }

  nav.mob-menu {
    display: none !important;
  }
}

@media (max-width: 960px) {
  body>nav#nav {
    height: 72px;
    padding: 0 5%;
  }

  body>nav#nav .nav-links {
    display: none !important;
  }

  body>nav#nav .burger {
    display: inline-flex !important;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    border: 1px solid rgba(93, 222, 255, .34);
    background:
      linear-gradient(145deg, rgba(0, 207, 255, .12), rgba(255, 255, 255, .04));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .14),
      0 14px 34px rgba(0, 0, 0, .30),
      0 0 34px rgba(0, 207, 255, .11);
    -webkit-tap-highlight-color: transparent;
  }

  body>nav#nav .burger span {
    width: 22px;
    height: 2px;
    background: #f7fbff;
    box-shadow: 0 0 14px rgba(0, 207, 255, .24);
  }

  nav.mob-menu {
    display: flex !important;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 190;
    flex-direction: column;
    gap: 8px;
    padding: 10px 5% 16px !important;
    border-bottom: 1px solid rgba(0, 207, 255, .20);
    background:
      radial-gradient(circle at 18% 0%, rgba(0, 207, 255, .12), transparent 34%),
      linear-gradient(180deg, rgba(3, 12, 25, .98), rgba(2, 9, 18, .96));
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    box-shadow: 0 24px 54px rgba(0, 0, 0, .42);
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      max-height .32s ease,
      opacity .24s ease,
      transform .24s ease;
  }

  nav.mob-menu.open {
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav.mob-menu a {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 15px;
    background: rgba(255, 255, 255, .045);
    color: rgba(241, 248, 255, .84);
    font-size: .96rem;
  }

  nav.mob-menu a:hover,
  nav.mob-menu a.is-active {
    color: #fff;
    border-color: rgba(0, 207, 255, .35);
    background: rgba(0, 207, 255, .12);
  }

  nav.mob-menu a.nav-proposal-cta {
    margin-top: 4px;
    justify-content: center;
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: #f4fbff;
    border: 1px solid rgba(0, 207, 255, .44);
    background: linear-gradient(135deg, rgba(0, 180, 255, .28), rgba(0, 92, 168, .42));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 26px rgba(0, 0, 0, .24);
  }

  nav.mob-menu a.nav-proposal-cta:hover,
  nav.mob-menu a.nav-proposal-cta:focus-visible {
    border-color: rgba(41, 223, 255, .72);
    background: linear-gradient(135deg, rgba(0, 200, 255, .38), rgba(0, 106, 186, .50));
  }
}

@media (max-width: 380px) {
  .hero-h1 {
    max-width: 76vw;
    font-size: clamp(1.86rem, 8.4vw, 2.55rem);
  }

  .hero-sub {
    max-width: 72vw;
    font-size: .96rem;
  }

  .hero-mobile-quote-cta {
    width: min(86vw, 310px);
    font-size: .82rem;
    letter-spacing: .055em;
  }

  .logo {
    width: 190px;
    min-width: 190px;
  }

  .logo-img {
    width: 168px;
  }
}


/* ═════════════════════════════════════════════════════════════
   MOBILE OVERFLOW PATCH — elimina scroll horizontal en móvil
   Mantiene el diseño y solo limita elementos que podían salirse
   del viewport por anchos fijos, glows grandes o grids rígidos.
═════════════════════════════════════════════════════════════ */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

img,
video,
svg {
  max-width: 100%;
}

@media (max-width: 960px) {

  html,
  body {
    overflow-x: hidden;
  }

  body>nav#nav,
  nav.mob-menu,
  section,
  footer,
  #hero,
  #video-section,
  #features,
  #problems,
  #how,
  #support,
  #industries,
  .stats-wrap {
    width: 100%;
    max-width: 100%;
  }

  #hero,
  .vid-layout,
  .sup-layout,
  .steps,
  .feat-grid,
  .prob-grid,
  .sup-grid,
  .stats-strip {
    min-width: 0;
  }

  #hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-left,
  .hero-form,
  .vid-layout>*,
  .sup-layout>*,
  .steps>*,
  .feat-grid>*,
  .prob-grid>*,
  .sup-grid>*,
  .stats-strip>* {
    min-width: 0;
  }

  .hero-form,
  .vid-wrapper,
  .modal-box,
  .stats-strip,
  .foot-logo,
  .foot-copy {
    max-width: 100%;
  }

  .btn-sub,
  .hero-h1,
  .hero-sub,
  .s-title,
  .s-sub,
  .pcard,
  .fcard,
  .scard,
  .stat-item,
  .foot-copy {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .sup-visual {
    overflow: hidden;
  }

  .sup-visual::before {
    width: min(500px, 118vw);
    height: min(500px, 118vw);
  }

  .modal-bg {
    overflow-x: hidden;
  }
}

@media (max-width: 600px) {

  .prob-grid,
  .feat-grid,
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sup-grid,
  .steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 400px) {

  #problems .prob-grid {
    grid-template-columns: 1fr !important;
  }

  #problems .prob-grid .pcard:nth-child(5) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 16px;
  }

  #problems .prob-grid .pcard:nth-child(5) .picon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #problems .prob-grid .pcard:nth-child(5) h4,
  #problems .prob-grid .pcard:nth-child(5) p {
    grid-column: 2;
    word-break: normal;
    overflow-wrap: normal;
  }

  #features .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 360px) {
  body>nav#nav {
    gap: 10px;
  }

  .logo {
    width: min(178px, calc(100vw - 104px));
    min-width: 0;
  }

  .logo-img {
    width: 100%;
    max-width: 168px;
  }
}

.hero-form .field-error {
  margin-top: 6px;
  color: #ff9f9f;
  font-size: .76rem;
  line-height: 1.25;
  min-height: 1em;
  opacity: .95;
}

.hero-form .form-error-msg {
  color: #ffb3b3;
  font-size: .8rem;
  line-height: 1.35;
  margin: 2px 0 10px;
  min-height: 1.1em;
}

.hero-form .field input.is-invalid,
.hero-form .custom-select-trigger.is-invalid {
  border-color: rgba(255, 112, 112, .9) !important;
  box-shadow: 0 0 0 4px rgba(255, 91, 91, .1), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.hero-form .custom-select-field {
  position: relative;
  z-index: 20;
}

.hero-form .custom-select-trigger {
  width: 100%;
  min-height: 62px;
  border-radius: 13px;
  padding: 0 50px 0 66px;
  color: #fff;
  font-size: 1.04rem;
  text-align: left;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.hero-form .custom-select-trigger:focus {
  outline: none;
  border-color: rgba(0, 207, 255, .78);
  background: rgba(0, 207, 255, .07);
  box-shadow: 0 0 0 4px rgba(0, 207, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.hero-form .custom-select-trigger .placeholder {
  color: rgba(255, 255, 255, .78);
}

.hero-form .custom-select-chevron {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, .78);
  border-bottom: 2px solid rgba(255, 255, 255, .78);
  transform: translateY(-60%) rotate(45deg);
  transition: transform .2s ease;
  pointer-events: none;
}

.hero-form .custom-select-field.open .custom-select-chevron {
  transform: translateY(-40%) rotate(-135deg);
}

.hero-form .custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 230px;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  border-radius: 13px;
  padding: 8px;
  background: rgba(6, 17, 34, .94);
  border: 1px solid rgba(0, 207, 255, .24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 26px rgba(0, 207, 255, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 30;
}

.hero-form .custom-select-field.open .custom-select-menu {
  display: block;
}

.hero-form .custom-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(241, 248, 255, .9);
  text-align: left;
  font-size: .9rem;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.hero-form .custom-select-option:hover,
.hero-form .custom-select-option[aria-selected="true"] {
  background: rgba(0, 207, 255, .16);
  color: #fff;
}

@media (max-width: 780px) {
  .hero-form .custom-select-trigger {
    min-height: 58px;
    font-size: .96rem;
    padding-left: 55px;
  }

  .hero-form .custom-select-chevron {
    right: 17px;
  }
}


/* ═════════════════════════════════════════════════════════════
   FORM ALIGNMENT RESCUE — corrige desalineación del formulario
   Mantiene el select custom y la validación, pero evita que los
   mensajes de error vacíos reserven altura o muevan los iconos.
═════════════════════════════════════════════════════════════ */
.hero-form .field {
  position: relative;
  margin-bottom: 14px !important;
}

.hero-form .field-error {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.hero-form .form-error-msg {
  display: none;
  min-height: 0 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #ffb3b3;
  font-size: .8rem;
  line-height: 1.35;
}

.hero-form .form-error-msg:not(:empty) {
  display: block;
}

.hero-form .field>.input-icon {
  top: 31px !important;
  transform: translateY(-50%) !important;
}

.hero-form .field input {
  height: 62px !important;
  min-height: 62px !important;
}

.hero-form .custom-select-trigger {
  height: 62px !important;
  min-height: 62px !important;
  display: flex;
  align-items: center;
  line-height: 1;
}

.hero-form .custom-select-menu {
  top: calc(-5px + -227px) !important;

}

.hero-form .custom-select-field {
  margin-bottom: 14px !important;
}

.hero-form .btn-sub {
  margin-top: 12px !important;
}

@media (max-width: 780px) {
  .hero-form .field>.input-icon {
    top: 29px !important;
  }

  .hero-form .field input,
  .hero-form .custom-select-trigger {
    height: 58px !important;
    min-height: 58px !important;
  }

  .hero-form .custom-select-menu {
    top: calc(58px + 8px) !important;
  }
}

/* ═════════════════════════════════════════════════════════════
   AUTOFILL + VALIDATION VISUAL PATCH
   Evita que Chrome pinte los campos en azul/blanco al autocompletar
   y evita saltos visuales al validar campos requeridos.
═════════════════════════════════════════════════════════════ */
.hero-form .field input:-webkit-autofill,
.hero-form .field input:-webkit-autofill:hover,
.hero-form .field input:-webkit-autofill:focus,
.hero-form .field input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff !important;
  border-color: rgba(255, 255, 255, .22) !important;
  -webkit-box-shadow:
    0 0 0 1000px rgba(255, 255, 255, .055) inset,
    inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  box-shadow:
    0 0 0 1000px rgba(255, 255, 255, .055) inset,
    inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  transition:
    background-color 9999s ease-out,
    color 9999s ease-out;
}

.hero-form .field input.is-invalid,
.hero-form .custom-select-trigger.is-invalid {
  background: rgba(255, 255, 255, .055) !important;
  color: #fff !important;
  border-color: rgba(255, 112, 112, .86) !important;
  box-shadow:
    0 0 0 3px rgba(255, 91, 91, .10),
    inset 0 1px 0 rgba(255, 255, 255, .10) !important;
}

.hero-form .field input.is-invalid:-webkit-autofill,
.hero-form .field input.is-invalid:-webkit-autofill:hover,
.hero-form .field input.is-invalid:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff !important;
  border-color: rgba(255, 112, 112, .86) !important;
  -webkit-box-shadow:
    0 0 0 1000px rgba(255, 255, 255, .055) inset,
    0 0 0 3px rgba(255, 91, 91, .10),
    inset 0 1px 0 rgba(255, 255, 255, .10) !important;
  box-shadow:
    0 0 0 1000px rgba(255, 255, 255, .055) inset,
    0 0 0 3px rgba(255, 91, 91, .10),
    inset 0 1px 0 rgba(255, 255, 255, .10) !important;
}

.hero-form .form-error-msg {
  pointer-events: none;
}

.hero-form .form-error-msg:not(:empty) {
  display: block;
  margin: 2px 0 14px !important;
}

.hero-form .field input,
.hero-form .custom-select-trigger,
.hero-form .btn-sub {
  -webkit-tap-highlight-color: transparent;
}




/* ═════════════════════════════════════════════════════════════
   MOBILE SELECT DROPDOWN RESCUE
   En móvil el selector de Estado abre hacia arriba para no tapar
   el botón ni salirse visualmente del formulario.
═════════════════════════════════════════════════════════════ */
@media (max-width: 780px) {
  .hero-form {
    overflow: visible !important;
  }

  .hero-form .custom-select-field {
    z-index: 30 !important;
  }

  .hero-form .custom-select-field.open {
    z-index: 180 !important;
  }

  .hero-form .custom-select-field.open .custom-select-menu {
    top: auto !important;
    bottom: calc(58px + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: min(218px, 38vh) !important;
    padding: 7px !important;
    border-radius: 16px !important;
    background:
      linear-gradient(180deg, rgba(5, 20, 34, .98), rgba(3, 12, 25, .98));
    border: 1px solid rgba(0, 207, 255, .30) !important;
    box-shadow:
      0 -18px 42px rgba(0, 0, 0, .46),
      0 0 28px rgba(0, 207, 255, .10),
      inset 0 1px 0 rgba(255, 255, 255, .08) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 220 !important;
  }

  .hero-form .custom-select-option {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 9px 11px !important;
    font-size: .91rem !important;
    line-height: 1.15 !important;
  }

  .hero-form .custom-select-option[aria-selected="true"] {
    background: rgba(0, 207, 255, .18) !important;
  }

  .hero-form .form-error-msg:not(:empty) {
    margin: 6px 0 12px !important;
  }
}

@media (max-width: 380px) {
  .hero-form .custom-select-field.open .custom-select-menu {
    max-height: min(196px, 36vh) !important;
  }
}



/* ═════════════════════════════════════════════════════════════
   SUBMIT LOADING STATE PATCH
   Al enviar, el botón cambia inmediatamente a cargando y queda
   deshabilitado para evitar doble envío.
═════════════════════════════════════════════════════════════ */
.hero-form .btn-sub {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
}

.hero-form .btn-sub .btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 700;
}

.hero-form .btn-sub .btn-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 24px;
}

.hero-form .btn-sub .submit-loader-dot {
  width: 12px;
  height: 12px;
  border: 3px solid rgba(255, 255, 255, .96);
  border-radius: 999px;
  display: block;
  animation: submitLoaderPulse .82s ease-in-out alternate infinite;
}

.hero-form .btn-sub .submit-loader-dot:nth-child(2) {
  animation-delay: .18s;
}

.hero-form .btn-sub .submit-loader-dot:nth-child(3) {
  animation-delay: .36s;
}

.hero-form .btn-sub.is-loading,
.hero-form .btn-sub:disabled {
  cursor: wait;
  pointer-events: none;
  opacity: .96;
}

.hero-form .btn-sub.is-loading .btn-label {
  display: none;
}

.hero-form .btn-sub.is-loading .btn-loading {
  display: inline-flex;
}

.hero-form .btn-sub.is-loading::after,
.hero-form .btn-sub.is-success::after {
  display: none;
}

.hero-form .btn-sub.is-success {
  background: #00cc88 !important;
  box-shadow: 0 18px 38px rgba(0, 204, 136, .24), inset 0 1px 0 rgba(255, 255, 255, .24) !important;
}

@keyframes submitLoaderPulse {
  to {
    transform: scale(1.75);
    opacity: .46;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-form .btn-sub .submit-loader-dot {
    animation: none;
  }
}


/* ═════════════════════════════════════════════════════════════
   SUCCESS BUTTON PATCH — evita que el texto de éxito se corte
   Mantiene el botón compacto, centrado y responsive.
═════════════════════════════════════════════════════════════ */
.hero-form .btn-sub.is-success {
  cursor: default !important;
  pointer-events: none;
}

.hero-form .btn-sub.is-success .btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(.82rem, 2.45vw, .98rem);
  line-height: 1;
  letter-spacing: .075em;
  text-align: center;
}

@media (max-width: 420px) {
  .hero-form .btn-sub.is-success .btn-label {
    font-size: .82rem;
    letter-spacing: .055em;
  }
}


/* ═════════════════════════════════════════════════════════════
   SUBMIT DISABLED LOCK PATCH — evita doble envío real
═════════════════════════════════════════════════════════════ */
.hero-form .btn-sub[disabled],
.hero-form .btn-sub[aria-disabled="true"] {
  pointer-events: none !important;
  touch-action: none !important;
  user-select: none !important;
}

.hero-form .btn-sub.is-loading[disabled] {
  cursor: wait !important;
  filter: saturate(.98) brightness(.98);
}

.hero-form .btn-sub.is-success[disabled] {
  cursor: default !important;
}

#mobile-quote-section {
  display: none;
}

@media (max-width: 780px) {
  #mobile-quote-section {
    display: block;
    padding: 34px 5% 64px;
    background:
      radial-gradient(circle at 50% 0%, rgba(0, 212, 247, .08), transparent 38%),
      linear-gradient(180deg, #020a14 0%, #061122 100%);
  }

  #mobile-quote-section .mobile-quote-shell {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }

  #mobile-quote-section .hero-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  #hero {
    min-height: auto;
    padding-bottom: 34px;
  }

  .hero-left {
    padding-bottom: 0;
  }

  #solicitar-propuesta {
    scroll-margin-top: 88px;
  }
}

/* Temporary stabilization during integration:
   keep reveal markup but avoid hidden content if the original
   animation bootstrap does not complete. */
.reveal,
.reveal.in {
  opacity: 1 !important;
  transform: none !important;
}
