/* DataGuards HERO mobile — reference: mobile_reference_clean_hero.png.
   Loaded after the historical mobile sheet. Important declarations override
   its existing important rules only; every selector is scoped to the HERO.
   Original artwork and all desktop assets remain unchanged. */
@media (max-width: 800px) {
  body:has(#inicio.hero-r1) .site-header {
    background: transparent;
  }

  body:has(#inicio.hero-r1) .header-inner,
  body:has(#inicio.hero-r1) .site-header.is-open .header-inner {
    width: calc(100% - 36px);
    max-width: 688px;
    height: 88px;
    gap: 12px;
  }

  body:has(#inicio.hero-r1) .brand {
    flex: 0 0 106px;
    max-width: 106px;
    min-height: 60px;
  }

  body:has(#inicio.hero-r1) .brand img {
    width: 106px;
    max-height: 66px;
  }

  body:has(#inicio.hero-r1) .header-contact {
    color: #e8f2fa;
    font-size: 13px;
    font-weight: 600;
    gap: 9px;
  }

  body:has(#inicio.hero-r1) .menu-toggle span { width: 23px; }
  body:has(#inicio.hero-r1) .site-header.is-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body:has(#inicio.hero-r1) .site-header.is-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  body:has(#inicio.hero-r1) .site-header.is-open { background: #07111c; }
  body:has(#inicio.hero-r1) .site-header.is-open .mobile-nav {
    width: calc(100% - 36px);
    max-width: 688px;
    margin-inline: auto;
    flex-direction: column;
  }
  body:has(#inicio.hero-r1) .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
  }
  body:has(#inicio.hero-r1) .header-inner :is(a, button):focus-visible {
    outline: 2px solid #8edbff;
    outline-offset: 3px;
    border-radius: 4px;
  }

  #inicio.hero-r1 {
    min-height: 0 !important;
    padding: 114px 0 38px !important;
    background:
      radial-gradient(ellipse 80% 42% at 57% 0%, #0d3154a6, transparent 80%),
      radial-gradient(ellipse 65% 35% at 50% 47%, #07335970, transparent 85%),
      #020a12;
  }
  #inicio.hero-r1::after { box-shadow: inset 0 -24px 40px -24px #0008; }

  #inicio .r1-stage {
    width: calc(100% - 36px);
    max-width: 688px;
    margin: 0 auto !important;
    gap: 0 20px !important;
  }

  #inicio .r1-top-note {
    max-width: none;
    font-size: clamp(26px, 8.15vw, 61px) !important;
    font-weight: 780 !important;
    letter-spacing: -.052em !important;
    line-height: 1.04;
    color: #eaf7ff !important;
    background: linear-gradient(180deg, #ffffff 18%, #eaf7ff 36%, #9bd6fb 82%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  #inicio .r1-top-note::before {
    width: 32px;
    height: 2px;
    margin-bottom: 12px !important;
    background: linear-gradient(90deg, #309be9, #55dbf6);
  }

  #inicio .r1-art {
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 1.62 !important;
    margin: 6px 0 8px !important;
    overflow: hidden !important;
    isolation: isolate;
    background: radial-gradient(ellipse 40% 12% at 50% 80%, #0088e228, transparent);
  }
  #inicio .r1-art::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 4% 8% 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, transparent 48%, #2083bd20 48.3%, transparent 48.8%, transparent 66%, #2083bd14 66.3%, transparent 66.8%);
  }
  #inicio .r1-art::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 57% -12% -30%;
    background:
      repeating-linear-gradient(90deg, transparent 0 35px, #178ac020 35px 36px),
      repeating-linear-gradient(0deg, transparent 0 27px, #178ac020 27px 28px);
    transform: perspective(150px) rotateX(53deg);
    mask-image: radial-gradient(ellipse, #000, transparent 68%);
  }
  #inicio .r1-art img {
    position: absolute !important;
    left: -15% !important;
    top: -7% !important;
    width: 130% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
  }

  #inicio .r1-capabilities { gap: 10px; }
  #inicio .r1-capability-link {
    flex-direction: row;
    align-items: center;
    min-height: 60px !important;
    padding: 10px !important;
    gap: 9px;
    border: 1px solid #2482af;
    border-radius: 10px;
    background: linear-gradient(125deg, #0c253a9c, #06111dad 75%);
    box-shadow: inset 0 1px 0 #92dcff0d;
    outline-offset: 3px;
  }
  #inicio .r1-icon { width: 25px; opacity: 1; }
  #inicio .r1-capability-name {
    font-size: 13px;
    font-weight: 650 !important;
    letter-spacing: -.018em !important;
    line-height: 1.35;
    flex: 1;
  }
  #inicio .r1-capability-link::after {
    content: '';
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-top: 1.5px solid #54cfff;
    border-right: 1.5px solid #54cfff;
    transform: rotate(45deg);
    margin-right: 2px;
  }
  #inicio .r1-capability-link:is(:hover, :focus-visible) {
    border-color: #8edbff;
    background: #0b2539;
  }

  #inicio .r1-conversation { margin-top: 22px; text-align: center; }
  #inicio .r1-conversation p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: .26em !important;
    white-space: nowrap;
  }
  #inicio .r1-conversation p::before,
  #inicio .r1-conversation p::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2495c7);
  }
  #inicio .r1-conversation p::after { transform: rotate(180deg); }
  #inicio .r1-cta {
    height: 54px !important;
    gap: 20px;
    border-color: #24b7f1;
    background: linear-gradient(180deg, #092842, #041320);
    box-shadow: inset 0 1px 5px #3dc9ff30, 0 6px 22px #0087dc24;
    font-size: 14px;
    letter-spacing: .18em;
  }
  #inicio .r1-cta::after { box-shadow: 0 3px 12px 1px #078aff40; }

  #inicio .r1-bottom-note,
  #inicio .r1-bottom-right {
    grid-row: auto;
    margin-top: 28px !important;
    font-size: 9px;
    font-weight: 550 !important;
    letter-spacing: .12em;
    line-height: 1.75;
    color: #abc4d9 !important;
  }
  #inicio .r1-bottom-note { grid-column: 1; text-align: left; }
  #inicio .r1-bottom-right { grid-column: 2; justify-self: end; text-align: right; }
  #inicio :is(.r1-bottom-note, .r1-bottom-right)::before { margin-bottom: 10px; }
  #inicio .r1-bottom-right::before { margin-left: auto; }
}

@media (min-width: 600px) and (max-width: 800px) {
  body:has(#inicio.hero-r1) .header-inner,
  body:has(#inicio.hero-r1) .site-header.is-open .header-inner { height: 108px; }
  body:has(#inicio.hero-r1) .brand { flex-basis: 132px; max-width: 132px; }
  body:has(#inicio.hero-r1) .brand img { width: 132px; max-height: 80px; }
  body:has(#inicio.hero-r1) .header-contact { font-size: 15px; }
  #inicio.hero-r1 { padding-top: 142px !important; padding-bottom: 48px !important; }
  #inicio .r1-art { aspect-ratio: 1.85 !important; }
  #inicio .r1-capabilities { gap: 14px; }
  #inicio .r1-capability-link { min-height: 70px !important; padding: 14px 18px !important; gap: 16px; }
  #inicio .r1-icon { width: 30px; }
  #inicio .r1-capability-name { font-size: 15px; }
  #inicio .r1-conversation { margin-top: 28px; }
  #inicio .r1-conversation p { font-size: 10px !important; }
  #inicio .r1-cta { height: 62px !important; font-size: 16px; }
  #inicio .r1-bottom-note, #inicio .r1-bottom-right { font-size: 10px; margin-top: 32px !important; }
}

@media (max-width: 389px) {
  #inicio .r1-capability-link { gap: 7px; }
  #inicio .r1-icon { width: 23px; }
  #inicio .r1-capability-name { font-size: 12px; }
}

@media (max-width: 359px) {
  #inicio .r1-capability-link { padding: 9px 7px !important; gap: 5px; }
  #inicio .r1-icon { width: 18px; }
  #inicio .r1-bottom-note, #inicio .r1-bottom-right { letter-spacing: .06em; }
}
