:root {
  --bg: #050b12;
  --bg-soft: #0a1320;
  --bg-card: rgba(10, 20, 32, 0.76);
  --bg-card-strong: #0c1726;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(141, 191, 255, 0.18);
  --text: #edf5ff;
  --muted: #a8b9cd;
  --primary: #1eb5ff;
  --primary-2: #70dbff;
  --primary-3: #1388d6;
  --dark: #07101b;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(30, 181, 255, 0.18), transparent 24%),
    radial-gradient(circle at 80% 15%, rgba(112, 219, 255, 0.1), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(30, 181, 255, 0.09), transparent 34%),
    linear-gradient(180deg, #04090f 0%, #08111c 32%, #050b12 100%);
  line-height: 1.6;
}

img { max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

button { font: inherit; }

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(30, 181, 255, 0.03) 100%);
}

.container {
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(4, 10, 17, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong {
  display: block;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 181, 255, 0.16), rgba(112, 219, 255, 0.1));
  border: 1px solid rgba(112, 219, 255, 0.2);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 18px rgba(30, 181, 255, 0.12);
}

.brand-logo span {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 22px rgba(30, 181, 255, 0.45);
}

.logo-img {
  height: 75px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo {
  height: 75px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a,
.mobile-panel a,
.footer-links a {
  color: var(--muted);
  transition: 0.25s ease;
}

.nav a:hover,
.mobile-panel a:hover,
.footer-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #05111d;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 15px 32px rgba(30, 181, 255, 0.24);
}

.btn-outline {
  border: 1px solid rgba(112, 219, 255, 0.32);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.full { width: 100%; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 0 18px 18px;
}

.mobile-panel.open { display: flex; }

.mobile-cta { margin-top: 4px; }

section { padding: 58px 0; }

.eyebrow,
.section-kicker,
.mini-kicker,
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.78rem;
  color: var(--primary-2);
}

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

.hero {
  position: relative;
  padding: 108px 0 78px;
  background: url("asset/img/fondo1.png") center center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2, 7, 14, 0.78), rgba(2, 7, 14, 0.45)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.68));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 35%, rgba(30, 181, 255, 0.12), transparent 36%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.95fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 100%;
}

.hero-copy p {
  color: rgba(237, 245, 255, 0.82);
  font-size: 1.02rem;
  max-width: 56ch;
}

.hero-slides {
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 34px;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 3;
}

.stat-card,
.strip-card,
.info-card,
.coverage-card,
.why-card,
.solution-card,
.testimonial-card,
.contact-panel,
.float-card,
.primary-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat-card {
  padding: 20px;
  min-height: 136px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card strong::after {
  content: '+';
  color: var(--primary-2);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
  z-index: 2;
  min-height: 700px;
}

.panel-shell {
  position: relative;
  min-height: 700px;
  border-radius: 34px;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.06);
}

.shell-top {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  justify-content: center;
  z-index: 8;
  pointer-events: none;
}

.shell-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.38);
}

/* corregido solo para el hero */
.hero-panel .primary-card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 34px;
}

.hero-panel .primary-card::before {
  display: none;
}

.image-slider-card {
  background: rgba(7, 16, 27, 0.55);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}

.panel-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.panel-image-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  overflow: hidden;
}

.panel-image-slide.active {
  opacity: 1;
  z-index: 2;
}

.panel-image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.panel-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4, 10, 17, 0.18), rgba(4, 10, 17, 0.42)),
    linear-gradient(to top, rgba(4, 10, 17, 0.68), rgba(4, 10, 17, 0.18));
  z-index: 1;
}

.panel-image-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 34px;
}

.panel-image-caption .panel-badge {
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 20, 34, 0.36);
  border: 1px solid rgba(112, 219, 255, 0.18);
  backdrop-filter: blur(10px);
}

.panel-image-caption h3 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.02;
  color: #ffffff;
  text-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.float-card {
  position: absolute;
  width: 255px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  z-index: 9;
}

.float-card i {
  font-size: 1.25rem;
  margin-top: 2px;
}

.float-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.top-float {
  top: 22px;
  right: 18px;
}

.bottom-float {
  left: 18px;
  bottom: 18px;
}

.strip-grid,
.section-grid,
.coverage-grid,
.banner-grid,
.contact-final-grid,
.footer-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.contact-strip { padding-top: 26px; }

.strip-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.strip-row,
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.strip-row i,
.contact-line i { color: var(--primary-2); }

.contact-line a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-line a:hover { color: var(--primary-2); }

.section-copy p,
.section-head p,
.coverage-card p,
.why-card p,
.solution-card p,
.testimonial-card p,
.contact-panel,
.footer p {
  color: var(--muted);
}

.section-head { margin-bottom: 34px; }

.section-head.center {
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 38px;
}

.section-head h2,
.section-copy h2,
.coverage-card h2,
.strip-grid h2,
.banner-grid h2,
.contact-final-grid h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.company-visual {
  display: grid;
  gap: 16px;
}

.info-card { padding: 24px; }

.info-card.large {
  min-height: 250px;
  background: linear-gradient(180deg, rgba(30, 181, 255, 0.12), rgba(10, 20, 32, 0.82));
}

.info-card h3,
.info-card h4,
.why-card h3,
.solution-card h3,
.testimonial-card strong {
  margin: 14px 0 10px;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.info-card i,
.icon-box,
.solution-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(30,181,255,0.16), rgba(112,219,255,0.08));
  border: 1px solid rgba(112, 219, 255, 0.14);
  font-size: 1.25rem;
}

.partners-band { padding-top: 8px; }

.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.logo-cloud span,
.trust-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-soft);
  color: #dce8f6;
  font-weight: 700;
}

.coverage-grid { align-items: stretch; }

.coverage-card { padding: 28px; }

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.coverage-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}

.coverage-list i { color: var(--primary-2); }

.why-grid,
.solutions-grid,
.testimonial-grid,
.trust-grid {
  display: grid;
  gap: 20px;
}

.why-grid { grid-template-columns: repeat(4, 1fr); }
.solutions-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.trust-grid { grid-template-columns: repeat(4, 1fr); }

.why-card,
.solution-card,
.testimonial-card,
.contact-panel {
  padding: 24px;
}

.solution-card { min-height: 250px; }

.solution-icon { margin-bottom: 16px; }

.icon-box { margin-bottom: 16px; }

.icon-box i { font-size: 1.2rem; }

.project-banner {
  position: relative;
}

.project-banner::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  height: 240px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(30, 181, 255, 0.08), transparent 55%);
}

.banner-grid {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.stars {
  color: #79dcff;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}

.contact-final-grid { align-items: start; }

.contact-panel {
  display: grid;
  gap: 16px;
}

.footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-wrap { align-items: center; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (max-width: 1120px) {
  .hero-grid,
  .strip-grid,
  .section-grid,
  .coverage-grid,
  .banner-grid,
  .contact-final-grid,
  .footer-wrap,
  .why-grid,
  .solutions-grid,
  .testimonial-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 92px 0 70px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.4rem);
    max-width: 100%;
  }

  .hero-slides {
    min-height: 620px;
  }

  .hero-panel,
  .panel-shell {
    min-height: 620px;
  }

  .hero-panel .primary-card {
    inset: 0;
    border-radius: 30px;
  }

  .float-card {
    width: 235px;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .menu-toggle { display: inline-block; }

  .hero {
    padding: 44px 0 56px;
    min-height: auto;
  }

  .hero-grid,
  .strip-grid,
  .section-grid,
  .coverage-grid,
  .banner-grid,
  .contact-final-grid,
  .footer-wrap,
  .stats-grid,
  .why-grid,
  .solutions-grid,
  .testimonial-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 8vw, 4rem);
  }

  .hero-slides {
    min-height: 420px;
  }

  .hero-panel,
  .panel-shell {
    min-height: auto;
  }

  .hero-panel .primary-card {
    position: relative;
    inset: auto;
    min-height: 520px;
    border-radius: 30px;
  }

  .float-card {
    width: calc(100% - 30px);
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    margin: 14px 15px 0;
  }

  .coverage-list,
  .mini-cards {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .panel-image-caption {
    padding: 24px;
  }

  .panel-image-caption h3 {
    max-width: 100%;
    font-size: clamp(1.7rem, 7vw, 2.5rem);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .logo-img {
    height: 62px;
  }

  .footer-logo {
    height: 62px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .hero-slides {
    min-height: 500px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-card strong {
    font-size: 1.8rem;
  }

  .stat-card,
  .strip-card,
  .info-card,
  .coverage-card,
  .why-card,
  .solution-card,
  .testimonial-card,
  .contact-panel,
  .banner-grid {
    padding: 22px;
  }

  .hero-panel .primary-card {
    min-height: 440px;
  }
}

/* =========================================================
   RESPONSIVE DEFINITIVO — INTEGRATEC
   ========================================================= */

body { min-width: 320px; }

section { scroll-margin-top: 94px; }

img {
  display: block;
  height: auto;
}

.btn,
.menu-toggle,
.nav a,
.mobile-panel a {
  -webkit-tap-highlight-color: transparent;
}

.contact-line {
  min-width: 0;
}

.contact-line a,
.contact-line span {
  overflow-wrap: anywhere;
}

@media (min-width: 981px) and (max-width: 1180px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .nav { gap: 14px; }

  .nav a {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 4.6vw, 3.45rem);
  }

  .hero-panel,
  .panel-shell {
    min-height: 620px;
  }

  .services-cards-grid,
  .goods-cards-grid,
  .why-grid,
  .solutions-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  section {
    padding: 68px 0;
    scroll-margin-top: 76px;
  }

  .nav-wrap { min-height: 74px; }

  .desktop-nav,
  .desktop-only {
    display: none !important;
  }

  .menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 2;
  }

  .mobile-panel {
    display: flex;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    border-top: 1px solid transparent;
    background: rgba(2, 9, 15, 0.94);
    backdrop-filter: blur(20px);
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease, visibility 0.35s ease, border-color 0.35s ease;
  }

  .mobile-panel.open {
    max-height: 560px;
    padding: 18px 20px 24px;
    opacity: 1;
    visibility: visible;
    border-top-color: rgba(104, 225, 255, 0.12);
  }

  .mobile-panel a:not(.btn) {
    padding: 5px 2px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    width: 100%;
    max-width: 760px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 7.2vw, 4.3rem);
    line-height: 1.02;
  }

  .hero-slides { min-height: 420px; }

  .hero-panel {
    width: min(100%, 760px);
    min-height: auto;
    margin: 0 auto;
  }

  .panel-shell {
    min-height: auto;
    height: auto;
  }

  .hero-panel .primary-card {
    position: relative;
    inset: auto;
    height: 520px;
    min-height: 0;
  }

  .strip-grid,
  .section-grid,
  .coverage-grid,
  .banner-grid,
  .contact-final-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .services-cards-grid,
  .goods-cards-grid,
  .why-grid,
  .solutions-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .goods-image-card { min-height: 360px; }

  .about-card { padding: 30px; }

  .about-image {
    min-height: 340px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  section {
    padding: 54px 0;
    scroll-margin-top: 70px;
  }

  .nav-wrap { min-height: 68px; }

  .logo-img { height: 54px; }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding: 44px 0 58px;
    background-position: 56% center;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    line-height: 1.45;
  }

  .hero-copy h1 {
    margin-top: 16px;
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero-slides { min-height: 430px; }

  .hero-actions {
    margin: 24px 0 28px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .tech-signals {
    gap: 10px 16px;
    font-size: 0.66rem;
    line-height: 1.5;
  }

  .hero-panel .primary-card {
    height: 390px;
  }

  .panel-image-caption::before,
  .panel-image-caption::after {
    width: 52px;
    height: 52px;
  }

  .strip-grid h2,
  .section-head h2,
  .section-copy h2,
  .coverage-card h2,
  .banner-grid h2,
  .contact-final-grid h2,
  .services-head h2,
  .goods-head h2 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    line-height: 1.1;
    text-wrap: balance;
  }

  .services-showcase,
  .goods-showcase {
    padding: 58px 0;
  }

  .services-head,
  .goods-head {
    margin-bottom: 30px;
  }

  .services-top-btn,
  .goods-top-btn {
    width: auto;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .services-cards-grid,
  .goods-cards-grid,
  .why-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .trust-grid span {
    min-width: 0;
    padding: 12px 10px;
    font-size: 0.82rem;
    text-align: center;
  }

  .service-image-card { min-height: 260px; }
  .goods-image-card { min-height: 330px; }
  .solution-card { min-height: auto; }

  .about-card,
  .coverage-card,
  .why-card,
  .solution-card,
  .contact-panel,
  .banner-grid {
    padding: 24px 22px;
  }

  .about-image { min-height: 280px; }

  .coverage-list {
    grid-template-columns: 1fr;
  }

  .banner-grid .btn {
    width: 100%;
  }

  .footer {
    padding-top: 20px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10.8vw, 2.7rem);
  }

  .hero-slides { min-height: 450px; }

  .hero-panel .primary-card { height: 340px; }

  .panel-image-caption {
    padding: 18px;
  }

  .panel-image-caption .panel-badge {
    max-width: calc(100% - 24px);
    font-size: 0.58rem;
    letter-spacing: 0.11em;
    text-align: left;
  }

  .tech-signals {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-grid { grid-template-columns: 1fr; }

  .contact-panel .btn { padding-inline: 14px; }
}

@media (hover: none) {
  .btn:hover,
  .why-card:hover,
  .solution-card:hover,
  .service-image-card:hover,
  .goods-image-card:hover,
  .coverage-list article:hover {
    transform: none;
  }
}

.about-card {
  padding: 34px 36px;
  display: grid;
  gap: 24px;
  align-content: center;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.about-link {
  width: fit-content;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.about-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* efecto elegante */
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 10, 17, 0.55),
    transparent
  );
}

/* botón */
.about-link {
  width: fit-content;
}

@media (max-width: 860px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 220px;
  }
}

.centered-btn {
  position: absolute;
  bottom: 20px; /* 🔥 ajusta altura */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

@media (max-width: 860px) {

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

  .hero-panel {
    margin-top: 30px;
  }

  .panel-shell {
    min-height: auto;
    height: auto;
  }

  .hero-panel .primary-card {
    position: relative;
    inset: auto;
    height: 320px;
    border-radius: 24px;
  }

  .panel-image-slider {
    height: 100%;
  }

  .panel-image-slide img {
    object-fit: cover;
  }

}

.panel-image-slide {
  display: block;
}

.panel-image-slide:not(.active) {
  opacity: 0;
  pointer-events: none;
}

.panel-image-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.about-image img {
  width: min(100%, 460px);
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

.centered-btn {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
@media (max-width: 860px) {

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 320px;
  }

  .centered-btn {
    bottom: 14px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }

}

@media (max-width: 560px) {
  .about-card {
    padding: 24px 22px;
  }

  .about-text p {
    font-size: 0.98rem;
    line-height: 1.75;
    text-align: left;
  }

  .about-image {
    min-height: 280px;
  }

  .about-image img {
    max-height: 300px;
  }
}

.services-showcase {
  padding: 90px 0 80px;
}

.services-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 42px;
}

.services-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 16px 34px;
  border-radius: 16px;
  background: linear-gradient(135deg, #178fd1, #35c2ff);
  color: #03111d;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(30, 181, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(30, 181, 255, 0.24);
}

.services-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.06;
}

.services-head p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.02rem;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-image-card {
  position: relative;
  min-height: 270px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  transform: scale(1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-image-card:hover {
  transform: scale(1.045);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.service-image-card:hover img {
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3, 10, 18, 0.76), rgba(3, 10, 18, 0.18)),
    linear-gradient(to right, rgba(7, 32, 52, 0.18), rgba(30, 181, 255, 0.08));
  z-index: 1;
}

.service-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 26px 18px;
  text-align: center;
}

.service-card-content h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

@media (max-width: 1120px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .services-showcase {
    padding: 70px 0 64px;
  }

  .services-top-btn {
    width: 100%;
    max-width: 320px;
    padding: 15px 22px;
    border-radius: 14px;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-image-card {
    min-height: 240px;
    border-radius: 26px;
  }

  .service-card-content h3 {
    font-size: 2rem;
  }
}


.goods-showcase {
  padding: 90px 0 84px;
}

.goods-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 42px;
}

.goods-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 16px 34px;
  border-radius: 16px;
  background: linear-gradient(135deg, #178fd1, #35c2ff);
  color: #03111d;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(30, 181, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.goods-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(30, 181, 255, 0.24);
}

.goods-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.06;
}

.goods-head p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
}

.goods-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.goods-image-card {
  position: relative;
  min-height: 420px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  transform: scale(1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.goods-image-card:hover {
  transform: scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

.goods-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.goods-image-card:hover img {
  transform: scale(1.05);
}

.goods-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3, 10, 18, 0.88), rgba(3, 10, 18, 0.18)),
    linear-gradient(to right, rgba(8, 33, 56, 0.20), rgba(30, 181, 255, 0.08));
  z-index: 1;
}

.goods-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}

.goods-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-2);
  background: rgba(6, 20, 34, 0.36);
  border: 1px solid rgba(112, 219, 255, 0.18);
  backdrop-filter: blur(10px);
}

.goods-card-content h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  line-height: 1.02;
}

.goods-card-content p {
  margin: 0;
  color: rgba(237, 245, 255, 0.82);
  line-height: 1.7;
  font-size: 0.98rem;
}

@media (max-width: 1120px) {
  .goods-cards-grid {
    grid-template-columns: 1fr;
  }

  .goods-image-card {
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  .goods-showcase {
    padding: 70px 0 64px;
  }

  .goods-top-btn {
    width: 100%;
    max-width: 320px;
    padding: 15px 22px;
    border-radius: 14px;
  }

  .goods-image-card {
    min-height: 300px;
    border-radius: 26px;
  }

  .goods-card-content {
    padding: 22px 18px;
  }

  .goods-card-content h3 {
    font-size: 1.9rem;
  }

  .goods-card-content p {
    font-size: 0.94rem;
  }
}

/* =========================================================
   SISTEMA VISUAL INTEGRATEC — FUTURE CORPORATE
   ========================================================= */

:root {
  --bg: #03080e;
  --bg-soft: #07121c;
  --bg-card: rgba(7, 19, 30, 0.72);
  --bg-card-strong: #091824;
  --line: rgba(132, 220, 255, 0.12);
  --line-soft: rgba(62, 201, 255, 0.24);
  --text: #f2f8fc;
  --muted: #9db0c0;
  --primary: #12b8ff;
  --primary-2: #68e1ff;
  --primary-3: #087fc2;
  --signal: #5fffd7;
  --shadow: 0 28px 75px rgba(0, 0, 0, 0.42);
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(18, 184, 255, 0.14), transparent 25rem),
    radial-gradient(circle at 88% 25%, rgba(95, 255, 215, 0.06), transparent 24rem),
    linear-gradient(180deg, #02070c 0%, #06111b 44%, #03080e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(104, 225, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 225, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

h1, h2, h3,
.brand,
.btn,
.section-kicker,
.eyebrow,
.panel-badge {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.header {
  background: rgba(2, 8, 14, 0.78);
  border-bottom-color: rgba(104, 225, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104, 225, 255, 0.7), transparent);
  opacity: 0.45;
}

.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 1px;
  background: var(--primary-2);
  box-shadow: 0 0 12px var(--primary);
  transition: right 0.25s ease;
}

.nav a:hover::after { right: 0; }

.btn {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  letter-spacing: 0.01em;
}

.btn::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 24%;
  height: 340%;
  transform: rotate(20deg);
  background: rgba(255, 255, 255, 0.32);
  transition: left 0.55s ease;
}

.btn:hover::after { left: 120%; }

.btn-primary {
  box-shadow: 0 12px 32px rgba(18, 184, 255, 0.2), inset 0 1px rgba(255, 255, 255, 0.5);
}

.btn-outline,
.btn-ghost {
  border-color: rgba(104, 225, 255, 0.24);
  background: rgba(7, 22, 34, 0.58);
}

.hero {
  isolation: isolate;
  background-position: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: 72px;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(1, 6, 11, 0.94) 0%, rgba(2, 9, 15, 0.76) 48%, rgba(2, 8, 14, 0.34) 100%),
    linear-gradient(180deg, rgba(2, 8, 14, 0.18), #03080e 100%);
}

.hero::after {
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(104, 225, 255, 0.06) 50%, transparent 50.1%),
    radial-gradient(circle at 78% 35%, rgba(18, 184, 255, 0.18), transparent 30%);
}

.eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(104, 225, 255, 0.25);
  border-radius: 6px;
  background: rgba(4, 18, 28, 0.72);
  box-shadow: inset 3px 0 var(--primary);
}

.hero-copy h1 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(2.7rem, 4vw, 3.65rem);
  line-height: 1.03;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  background: linear-gradient(110deg, #ffffff 30%, #bdeeff 75%, #68e1ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 16px 50px rgba(18, 184, 255, 0.08);
}

.tech-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #b7c7d3;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tech-signals span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tech-signals i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  animation: signalPulse 2.2s ease-in-out infinite;
}

.panel-shell {
  border-radius: 18px 42px 18px 42px;
  border-color: rgba(104, 225, 255, 0.28);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55), 0 0 45px rgba(18, 184, 255, 0.08);
}

.panel-shell::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 6;
  pointer-events: none;
  border: 1px solid rgba(104, 225, 255, 0.16);
  border-radius: 12px 32px 12px 32px;
}

.panel-shell::after {
  content: "";
  position: absolute;
  z-index: 7;
  left: 15px;
  right: 15px;
  top: 15%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(104, 225, 255, 0.9), transparent);
  box-shadow: 0 0 16px rgba(18, 184, 255, 0.7);
  animation: scanPanel 6s ease-in-out infinite;
}

.hero-panel .primary-card { border-radius: inherit; }

.panel-image-caption .panel-badge,
.goods-tag {
  border-radius: 5px;
  background: rgba(2, 16, 26, 0.74);
  box-shadow: inset 3px 0 var(--primary);
}

.stat-card,
.strip-card,
.info-card,
.coverage-card,
.why-card,
.solution-card,
.testimonial-card,
.contact-panel,
.banner-grid {
  position: relative;
  border-color: rgba(104, 225, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(104, 225, 255, 0.045), transparent 34%),
    rgba(5, 17, 27, 0.76);
}

.why-card::before,
.solution-card::before,
.testimonial-card::before,
.contact-panel::before,
.coverage-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  box-shadow: 0 0 12px rgba(18, 184, 255, 0.5);
}

.why-card,
.solution-card,
.coverage-list article,
.service-image-card,
.goods-image-card {
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.why-card:hover,
.solution-card:hover,
.coverage-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(104, 225, 255, 0.4);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.38), 0 0 28px rgba(18, 184, 255, 0.07);
}

.icon-box,
.solution-icon,
.info-card i {
  border-radius: 10px 20px 10px 20px;
  color: var(--primary-2);
  box-shadow: inset 0 0 24px rgba(18, 184, 255, 0.07);
}

.section-kicker {
  position: relative;
  padding-left: 27px;
}

.section-kicker::before {
  content: "//";
  position: absolute;
  left: 0;
  color: var(--signal);
}

.service-image-card,
.goods-image-card {
  border-radius: 14px 30px 14px 30px;
  border-color: rgba(104, 225, 255, 0.17);
}

.service-image-card:hover,
.goods-image-card:hover {
  border-color: rgba(104, 225, 255, 0.48);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.46), 0 0 30px rgba(18, 184, 255, 0.08);
}

.services-top-btn,
.goods-top-btn {
  border-radius: 8px;
  padding: 12px 22px;
  color: #06121a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.logo-cloud span,
.trust-grid span {
  border-radius: 8px;
  background: rgba(6, 20, 31, 0.7);
  font-family: 'Space Grotesk', sans-serif;
}

.footer {
  position: relative;
  background: rgba(2, 7, 12, 0.65);
}

@keyframes scanPanel {
  0%, 100% { top: 12%; opacity: 0; }
  12% { opacity: 0.8; }
  82% { opacity: 0.5; }
  90% { top: 88%; opacity: 0; }
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 860px) {
  body::before { background-size: 48px 48px; }
  .panel-shell { border-radius: 14px 28px 14px 28px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 8vw, 4rem);
  }
}

@media (min-width: 861px) and (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.95fr);
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 4.5vw, 3.35rem);
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Arquitectura principal del sitio */
main {
  display: flex;
  flex-direction: column;
}

.hero { order: 10; }
.contact-strip { order: 20; }
.services-showcase { order: 30; }
.solutions { order: 31; }
.goods-showcase { order: 40; }
.partners-band { order: 50; }
.trust-band { order: 60; }
.coverage { order: 70; }
.why-us { order: 71; }
.project-banner { order: 72; }
.contact-final { order: 80; }

/* Se activará cuando existan testimonios reales y autorizados. */
.testimonials { display: none; }

@media (max-width: 1050px) and (min-width: 861px) {
  .nav { gap: 12px; }
  .nav a { font-size: 0.75rem; }
  .nav-actions .btn-outline { display: none; }
}

/* Panel tecnológico del hero */
.panel-shell {
  border: 1px solid rgba(104, 225, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(104, 225, 255, 0.055), transparent 28%),
    rgba(2, 12, 20, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    inset 0 0 42px rgba(18, 184, 255, 0.035),
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 38px rgba(18, 184, 255, 0.07);
  backdrop-filter: blur(4px) saturate(115%);
}

.panel-shell::before {
  inset: 12px;
  border-color: rgba(104, 225, 255, 0.22);
  box-shadow:
    inset 14px 0 20px -20px rgba(104, 225, 255, 0.8),
    inset -14px 0 20px -20px rgba(104, 225, 255, 0.8);
}

.image-slider-card {
  background: rgba(3, 15, 24, 0.12);
  border-color: transparent;
  backdrop-filter: blur(2px);
}

.shell-top {
  top: 14px;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(104, 225, 255, 0.14);
  border-radius: 999px;
  background: rgba(2, 13, 21, 0.36);
  backdrop-filter: blur(12px);
}

.shell-top span {
  width: 7px;
  height: 7px;
  background: rgba(177, 238, 255, 0.5);
  box-shadow: 0 0 9px rgba(104, 225, 255, 0.35);
}

.panel-image-caption::before,
.panel-image-caption::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  pointer-events: none;
  opacity: 0.72;
}

.panel-image-caption::before {
  top: 30px;
  left: 30px;
  border-top: 1px solid rgba(104, 225, 255, 0.75);
  border-left: 1px solid rgba(104, 225, 255, 0.75);
  filter: drop-shadow(0 0 6px rgba(18, 184, 255, 0.4));
}

.panel-image-caption::after {
  right: 30px;
  bottom: 30px;
  border-right: 1px solid rgba(104, 225, 255, 0.75);
  border-bottom: 1px solid rgba(104, 225, 255, 0.75);
  filter: drop-shadow(0 0 6px rgba(18, 184, 255, 0.4));
}

.panel-image-caption .panel-badge {
  position: relative;
  margin: 0;
  padding: 11px 18px 11px 34px;
  border: 1px solid rgba(104, 225, 255, 0.42);
  border-radius: 3px;
  color: #c5f4ff;
  background:
    linear-gradient(90deg, rgba(18, 184, 255, 0.12), transparent 55%),
    rgba(2, 14, 23, 0.62);
  box-shadow:
    inset 3px 0 0 var(--primary),
    inset 0 0 20px rgba(18, 184, 255, 0.045),
    0 10px 30px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(18, 184, 255, 0.09);
  backdrop-filter: blur(14px) saturate(135%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 0 12px rgba(104, 225, 255, 0.35);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  animation: hudBadgeGlow 3.2s ease-in-out infinite;
}

.panel-image-caption .panel-badge::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  animation: signalPulse 1.8s ease-in-out infinite;
}

@keyframes hudBadgeGlow {
  0%, 100% {
    border-color: rgba(104, 225, 255, 0.3);
    box-shadow: inset 3px 0 0 var(--primary), 0 10px 30px rgba(0, 0, 0, 0.28), 0 0 12px rgba(18, 184, 255, 0.06);
  }
  50% {
    border-color: rgba(104, 225, 255, 0.58);
    box-shadow: inset 3px 0 0 var(--primary-2), 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 22px rgba(18, 184, 255, 0.14);
  }
}

@media (max-width: 560px) {
  .panel-image-caption::before {
    top: 22px;
    left: 22px;
  }

  .panel-image-caption::after {
    right: 22px;
    bottom: 22px;
  }

  .panel-image-caption .panel-badge {
    padding: 10px 14px 10px 30px;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }
}
