:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: #111827;
  --bg-card-2: rgba(15, 23, 42, 0.8);
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --brand-300: #6b82e6;
  --brand-400: #4a65e0;
  --brand-500: #23388e;
  --brand-600: #1d2e75;
  --brand-900: #0f183d;
  --success: #25d366;
  --radius: 28px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}


body.loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(74, 101, 224, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(5, 10, 28, 0.99));
  isolation: isolate;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(35, 56, 142, 0.35), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(107, 130, 230, 0.16), transparent 18%),
    radial-gradient(circle at 20% 80%, rgba(74, 101, 224, 0.14), transparent 22%);
  filter: blur(18px);
}
.loader-content {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100% - 40px));
  padding: 34px 28px 30px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.8));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  text-align: center;
}
.loader-logo-wrap {
  position: relative;
  width: 176px;
  height: 176px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(107, 130, 230, 0.14);
}
.loader-ring-one {
  animation: spin 9s linear infinite;
}
.loader-ring-two {
  inset: 16px;
  border-color: rgba(74, 101, 224, 0.22);
  border-style: dashed;
  animation: spinReverse 6.5s linear infinite;
}
.loader-logo-core {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(255,255,255,0.12), rgba(15,24,61,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 0 12px rgba(74, 101, 224, 0.06), 0 22px 45px rgba(0, 0, 0, 0.3);
  animation: pulseSoft 2.4s ease-in-out infinite;
}
.loader-logo {
  width: 74%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(35, 56, 142, 0.35));
}
.loader-title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0.22em;
}
.loader-subtitle {
  margin: 10px 0 22px;
  color: #cbd5e1;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.loader-progress {
  position: relative;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.loader-progress-bar {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-400), #89a0ff);
  box-shadow: 0 0 18px rgba(74, 101, 224, 0.45);
  animation: loadingBar 1.55s ease-in-out infinite;
}

@keyframes loadingBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes pulseSoft {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 12px rgba(74, 101, 224, 0.06), 0 22px 45px rgba(0, 0, 0, 0.3); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 16px rgba(74, 101, 224, 0.08), 0 26px 52px rgba(0, 0, 0, 0.34); }
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-500);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.muted {
  color: var(--muted);
}
.section {
  padding: 88px 0;
}
.section-tight {
  padding: 48px 0;
}
.card {
  background: var(--bg-card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  transition: 0.3s ease;
  background-color: #000;
  padding: 18px 0;
}
.site-header.scrolled {
  backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.brand strong {
  display: block;
  font-size: 1.3rem;
  letter-spacing: 0.22em;
  font-weight: 800;
}
.brand small {
  display: block;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand-400);
}
.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 0 24px rgba(35, 56, 142, 0.5);
}
.brand-icon.small {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  transform: translateY(-8px);
}
.nav-link {
  position: relative;
  padding: 6px 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}
.nav-link:hover,
.nav-link.active {
  color: var(--brand-400);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-400);
  box-shadow: 0 0 12px rgba(35, 56, 142, 0.8);
}
.portal-btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}
.portal-btn:hover {
  border-color: rgba(74, 101, 224, 0.45);
  box-shadow: 0 0 24px rgba(35, 56, 142, 0.2);
}
.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.mobile-nav {
  display: none;
  background: #0f172a;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px 18px;
}
.mobile-nav.open {
  display: grid;
}
.mobile-nav .nav-link {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-shell {
  min-height: 100vh;
  padding-top: 88px;
}

:root {
  --header-offset: 88px;
}
.page {
  animation: pageIn 0.4s ease;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top,
    #0f172a 0%,
    #020617 55%,
    #000 100%
  );
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    #000 70%,
    transparent 100%
  );
}
.hero-glow,
.hero-glow-2,
.footer-glow,
.soft-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow {
  width: 380px;
  height: 380px;
  top: 18%;
  left: 10%;
  background: rgba(29, 46, 117, 0.28);
  animation: pulse 4s ease-in-out infinite;
}
.hero-glow-2 {
  width: 520px;
  height: 520px;
  right: 5%;
  bottom: 10%;
  background: rgba(29, 46, 117, 0.18);
}
.footer-glow {
  width: 800px;
  height: 360px;
  left: 50%;
  bottom: -120px;
  transform: translateX(-50%);
  background: rgba(15, 24, 61, 0.42);
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(74, 101, 224, 0.22);
  color: var(--brand-400);
  background: rgba(35, 56, 142, 0.1);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-400);
  animation: pulse 2s ease-in-out infinite;
}
.hero-copy h1,
.page-header h1 {
  margin: 18px 0 20px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}
.page-header h1 {
  font-size: clamp(2.6rem, 4.4vw, 4.3rem);
}
.hero-copy p,
.page-header p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 650px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 600;
  transition: 0.25s ease;
}
.btn-primary {
  background: var(--brand-500);
  color: #e2e8f0;
  box-shadow: 0 0 30px rgba(35, 56, 142, 0.15);
}
.btn-primary:hover {
  background: var(--brand-400);
  transform: translateY(-1px);
  box-shadow: 0 0 34px rgba(35, 56, 142, 0.35);
}
.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.orbit-wrap {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(74, 101, 224, 0.22);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.orbit.one {
  inset: 80px;
}
.orbit.two {
  inset: 110px;
  animation-direction: reverse;
  animation-duration: 15s;
}
.orbit.three {
  inset: 145px;
  border-color: rgba(255, 255, 255, 0.08);
  animation-duration: 30s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.core-glow {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  filter: blur(10px);
  opacity: 0.9;
}
.core-glow::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  mix-blend-mode: overlay;
}
.node {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(74, 101, 224, 0.3);
  box-shadow: 0 0 18px rgba(35, 56, 142, 0.2);
  color: var(--brand-400);
  animation: bob 4s ease-in-out infinite;
}
.node:nth-child(5) {
  top: 76px;
  left: 100px;
}
.node:nth-child(6) {
  top: 150px;
  right: 60px;
  animation-duration: 5s;
}
.node:nth-child(7) {
  bottom: 100px;
  left: 52px;
  animation-duration: 6s;
}
.node:nth-child(8) {
  bottom: 150px;
  right: 90px;
  animation-duration: 4.8s;
}
.node:nth-child(9) {
  top: 50%;
  left: 12px;
  animation-duration: 5.4s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-18px);
    opacity: 1;
  }
}

.stats-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 6, 23, 0.6);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  padding: 18px 10px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.stat:first-child {
  border-left: 0;
}
.stat i {
  color: var(--brand-500);
  font-size: 1.4rem;
}
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 12px 0 8px;
}
.stat span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.section-head.compact {
  max-width: 860px;
  margin-bottom: 34px;
}
.section-head.compact h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}
.section-head.compact .pill-count {
  margin-top: 16px;
}

.feature-grid,
.services-grid,
.values-grid,
.benefits-grid,
.jobs-list,
.contact-grid,
.mission-grid {
  display: grid;
  gap: 26px;
}
.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}
.feature-card,
.service-card,
.value-card,
.benefit-card,
.job-card,
.contact-card,
.newsletter-form,
.contact-form,
.mission-card {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.82);
  border-radius: var(--radius);
}
.feature-card,
.service-card,
.value-card,
.benefit-card,
.contact-card,
.mission-card {
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.feature-card::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  opacity: 0;
  transition: 0.35s ease;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
}
.feature-card:hover::before,
.service-card:hover::before {
  opacity: 1;
}
.feature-card:hover,
.service-card:hover,
.job-card:hover,
.value-card:hover {
  border-color: rgba(74, 101, 224, 0.35);
}
.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 12px 30px rgba(35, 56, 142, 0.22);
  margin-bottom: 24px;
}
.icon-outline {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  margin-bottom: 24px;
}
.icon-outline > span {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  background: #0f172a;
  display: grid;
  place-items: center;
}
.feature-card h3,
.service-card h3,
.job-card h3,
.value-card h4,
.benefit-card h4,
.mission-card h3,
.contact-card h3 {
  margin: 0 0 14px;
}
.feature-card p,
.service-card p,
.value-card p,
.benefit-card p,
.contact-card p,
.mission-card p {
  color: var(--muted);
  line-height: 1.8;
}
.inline-link {
  color: var(--brand-400);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.inline-link:hover {
  color: var(--brand-300);
}

.mission-card {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.mission-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.mission-card:hover {
  transform: translateY(-10px);
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.34);
  background: rgba(15, 23, 42, 0.92);
}
.mission-card:hover::before {
  opacity: 1;
}
.mission-card:hover .soft-glow {
  transform: scale(1.08);
  opacity: 0.92;
}
.mission-icon {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}
.mission-icon i {
  font-size: 1.32rem;
  transition: transform 0.35s ease;
}
.mission-icon--mision {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(14, 165, 233, 0.92));
}
.mission-icon--vision {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.98), rgba(59, 130, 246, 0.92));
}
.mission-card:hover .mission-icon {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 18px 32px rgba(35, 56, 142, 0.28);
  filter: brightness(1.08);
}
.mission-card:hover .mission-icon i {
  transform: scale(1.08) rotate(-4deg);
}
.mission-card h3,
.mission-card p {
  position: relative;
  z-index: 1;
}

.feature-grid-showcase {
  align-items: stretch;
}
.feature-card-showcase {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.9));
  backdrop-filter: blur(12px);
}
.feature-card-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.18) 46%, rgba(15, 23, 42, 0.82) 100%);
}
.feature-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature-card-showcase:hover .feature-card-media img {
  transform: scale(1.06);
}
.feature-card-body {
  position: relative;
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.feature-card-body .icon-box {
  margin-top: -58px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}
.feature-card-body p {
  margin-bottom: 0;
}
.feature-card-body .inline-link {
  margin-top: auto;
  padding-top: 18px;
}
.feature-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 15, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(10px);
}

.page-pad {
  padding: 50px 0 120px;
}
.page-header {
  max-width: 920px;
  margin: 0 auto 74px;
  text-align: center;
}
.page-header > * {
  margin-left: auto;
  margin-right: auto;
}
.page-header p {
  max-width: 760px;
}
.mission-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 90px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
  margin-bottom: 90px;
}

.values-grid .value-card {
  grid-column: span 2;
}

/* Centrar los 2 de abajo */
.values-grid .value-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.values-grid .value-card:nth-child(5) {
  grid-column: 4 / span 2;
}
.clients-wrap {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.clients-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.client-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.45;
  filter: none;
  transition: 0.25s ease;
}
.client-pill:hover {
  opacity: 1;
  filter: grayscale(0);
}
.client-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #1f2937, #0f172a);
  font-weight: 800;
  background-clip: padding-box;
}
.client-logo span {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.services-grid {
  grid-template-columns: repeat(2, 1fr);
}
.service-card ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.service-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #dbe4ef;
  font-size: 0.96rem;
}
.service-card li i {
  color: var(--brand-500);
  margin-top: 3px;
}

.careers-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 24px;
  text-align: center;
  border-radius: 32px;
  background: linear-gradient(135deg, #0f172a, #020617);
  border: 1px solid var(--line-strong);
  margin-bottom: 72px;
}
.careers-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://picsum.photos/seed/tech/1920/1080?blur=10")
    center/cover;
  opacity: 0.1;
  mix-blend-mode: overlay;
}
.careers-hero .soft-glow {
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 780px;
  height: 240px;
  background: rgba(35, 56, 142, 0.35);
}
.careers-hero > * {
  position: relative;
  z-index: 1;
}
.benefits-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 70px;
}
.benefit-card {
  padding: 26px;
}
.jobs-list {
  gap: 16px;
}
.job-card {
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: 0.25s ease;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.job-side {
  display: flex;
  align-items: center;
  gap: 18px;
}
.job-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.job-card:hover .job-icon {
  background: rgba(35, 56, 142, 0.12);
  color: var(--brand-400);
}
.pill-count {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(35, 56, 142, 0.1);
  color: var(--brand-400);
  border: 1px solid rgba(74, 101, 224, 0.18);
}

.contact-grid {
  grid-template-columns: 1.1fr 1.4fr;
  align-items: start;
}
.contact-stack {
  display: grid;
  gap: 26px;
}
.contact-card strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand-400);
  background: rgba(35, 56, 142, 0.12);
  flex-shrink: 0;
}
.contact-item-icon.indigo {
  color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
}
.contact-form {
  padding: 36px;
}
.contact-form p {
  color: var(--muted);
  margin-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.95rem;
  color: #cbd5e1;
}
.field input,
.field select,
.field textarea,
.newsletter-form input {
  width: 100%;
  background: #020617;
  color: white;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder,
.newsletter-form input::placeholder {
  color: #64748b;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.newsletter-form input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 1px var(--brand-500);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 18px;
}
.form-note a {
  color: var(--brand-400);
}
.map-band {
  position: relative;
  width: 100%;
  margin-top: 44px;
  padding: 0 0 0;
}
.map-band-inner {
  width: 100%;
}
.map-band-header {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 18px;
}
.map-band-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.map-band-header p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}
.map-card {
  overflow: hidden;
  border-radius: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-left: 0;
  border-right: 0;
  height: clamp(420px, 62vw, 620px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #050814;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 60px rgba(0,0,0,0.35);
}
.map-card.map-card-full {
  margin-top: 0;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(1) invert(92%) hue-rotate(180deg) saturate(0.55) contrast(1.08) brightness(0.72);
}

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 82px 0 26px;
  overflow: hidden;
  background-color: #000;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  margin-bottom: 52px;
}
.footer-brand {
  margin-bottom: 20px;
  transform: translateY(-15px);
}
.footer-copy {
  max-width: 360px;
  line-height: 1.8;
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}
.socials a:hover {
  background: rgba(35, 56, 142, 0.15);
  color: var(--brand-400);
  border-color: rgba(74, 101, 224, 0.25);
}
.site-footer h4 {
  margin: 0 0 20px;
  font-size: 1rem;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  color: var(--muted);
}
.footer-list a:hover,
.footer-button:hover,
.footer-bottom a:hover {
  color: var(--brand-400);
}
.footer-button {
  padding: 0;
  color: var(--muted);
}
.newsletter-form {
  margin-top: 16px;
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
}
.newsletter-form button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-500);
}
.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #64748b;
  font-size: 0.82rem;
}
.footer-bottom div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.wa-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.wa-panel {
  width: min(340px, calc(100vw - 30px));
  display: none;
  overflow: hidden;
  border-radius: 22px;
  background: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.wa-panel.open {
  display: block;
  animation: pageIn 0.25s ease;
}
.wa-head {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #075e54;
  color: white;
}
.wa-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-title strong {
  display: block;
}
.wa-title small {
  color: rgba(255, 255, 255, 0.8);
}
.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}
.wa-body {
  height: 250px;
  padding: 18px;
  background: #e5ddd5
    url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png")
    center/cover;
}
.wa-message {
  max-width: 85%;
  background: white;
  color: #0f172a;
  padding: 12px 14px;
  border-radius: 12px 12px 12px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}
.wa-message span {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: right;
  margin-top: 8px;
}
.wa-input-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #f0f0f0;
}
.wa-input-wrap input {
  flex: 1;
  background: white;
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  outline: none;
}
.wa-input-wrap button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #00a884;
  color: white;
}
.wa-float {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: white;
  background: var(--success);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
.wa-float:hover {
  background: #128c7e;
}
.wa-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid var(--bg);
}
.wa-badge::before { 
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 1.6s infinite;
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  75%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }
  .hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .page-header,
  .section-head {
    text-align: center;
  }
  .hero-copy p,
  .page-header p,
  .section-head p,
  .about-description {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-row {
    justify-content: center;
  }
  .orbit-wrap {
    display: none;
  }
  .feature-grid,
.services-grid,
.benefits-grid,
.mission-grid {
  grid-template-columns: 1fr 1fr;
}

.values-grid {
  grid-template-columns: repeat(6, 1fr);
}

.values-grid .value-card {
  grid-column: span 2;
}

.values-grid .value-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.values-grid .value-card:nth-child(5) {
  grid-column: 4 / span 2;
}
}

@media (max-width: 820px) {
  .container {
    width: min(1120px, calc(100% - 20px));
  }
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: grid;
  }
  .section,
  .page-pad,
  .site-footer {
    overflow: hidden;
  }
  .stats-grid,
.feature-grid,
.services-grid,
.benefits-grid,
.mission-grid,
.form-grid {
  grid-template-columns: 1fr;
}

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

.values-grid .value-card,
.values-grid .value-card:nth-child(4),
.values-grid .value-card:nth-child(5) {
  grid-column: auto;
}
  .feature-card,
  .service-card,
  .value-card,
  .benefit-card,
  .contact-card,
  .mission-card,
  .contact-form,
  .job-card {
    padding: 24px;
  }
  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-side,
  .job-meta {
    width: 100%;
  }
  .job-meta {
    gap: 12px;
  }
  .job-meta span {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-header {
    padding: 16px 0;
  }
  .page-pad {
    padding: 64px 0 92px;
  }
  .hero {
    padding-top: 132px;
    padding-bottom: 80px;
  }
  .hero-copy h1,
  .page-header h1 {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }
  .hero-copy p,
  .page-header p,
  .section-head p {
    font-size: 1rem;
    line-height: 1.75;
  }
  .cta-row {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary,
  .btn-ghost {
    width: 100%;
  }
  .wa-widget {
    right: 14px;
    bottom: 14px;
  }
  .client-pill {
    gap: 10px;
  }
  .client-pill strong {
    font-size: 1rem !important;
  }
  .client-logo {
    width: 72px;
    height: 72px;
  }
}

.client-logo {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  padding: 4px; /* menos espacio interno */
  overflow: hidden;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-description {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 1.05rem;
    letter-spacing: 0.16em;
  }
  .brand small {
    font-size: 0.56rem;
    letter-spacing: 0.16em;
  }
  .nav-wrap {
    gap: 12px;
  }
  .hero-copy h1,
  .page-header h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .section-head h2,
  .section-head.compact h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }
  .pill,
  .pill-count {
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
  .contact-form,
  .map-card {
    border-radius: 22px;
  }
}


.brand-logo {
  height: 90px; 
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  transform: translateY(-15px);
}




/* Multi-page navigation helpers */
button.brand, .footer-button, .inline-link { background:none; border:0; padding:0; color:inherit; font:inherit; cursor:pointer; }
a.brand, .footer-button-link { text-decoration:none; color:inherit; }


/* =========================
   FOOTER FINAL CORREGIDO
   ========================= */
.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 82px 0 26px;
  overflow: hidden;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 48px;
  margin-bottom: 52px;
  align-items: start;
}

.footer-grid > div {
  min-width: 0;
}

.footer-brand {
  margin-bottom: 6px;
  transform: none;
}

.brand-logo {
  height: 90px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  transform: none;
}

.footer-copy {
  max-width: 360px;
  line-height: 1.8;
  margin-top: -2px;
  color: var(--muted);
  display: block;
}

.footer-copy p {
  margin: 0;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: 0.25s ease;
}

.socials a:hover {
  background: rgba(35, 56, 142, 0.15);
  color: var(--brand-400);
  border-color: rgba(74, 101, 224, 0.25);
}

.site-footer h4 {
  margin: 0 0 20px;
  font-size: 1rem;
  color: var(--text);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.footer-list a,
.footer-button,
.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-list a:hover,
.footer-button:hover,
.footer-bottom a:hover {
  color: var(--brand-400);
}

.footer-button {
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-list li {
  line-height: 1.7;
  color: var(--muted);
  word-break: normal;
  overflow-wrap: break-word;
}

.footer-contact-title {
  margin-top: 14px;
  margin-bottom: 2px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text) !important;
  letter-spacing: 0.01em;
}

.footer-contact-title:first-child {
  margin-top: 0;
}

.footer-contact-list a {
  color: #dbe4ef;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact-list a:hover {
  color: var(--brand-400);
}

.footer-contact-name {
  color: var(--text);
  font-weight: 600;
}

.footer-links-col {
  padding-top: 0;
}

.newsletter-form {
  margin-top: 16px;
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
}

.newsletter-form button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-500);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #64748b;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    margin-bottom: 2px;
  }

  .footer-copy {
    max-width: 100%;
    margin-top: 0;
  }

  .footer-contact-list li {
    line-height: 1.8;
  }

  .footer-contact-title {
    margin-top: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 78px;
  }

  .site-footer h4 {
    margin-bottom: 16px;
  }

  .socials {
    margin-top: 14px;
  }
}

.company-video-section {
  padding-top: 20px;
}
.company-video-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.15fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(74, 101, 224, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}
.company-video-wrap::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(74, 101, 224, 0.12);
  filter: blur(40px);
  pointer-events: none;
}
.company-video-copy,
.company-video-media {
  position: relative;
  z-index: 1;
}
.company-video-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
}
.company-video-copy p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
  font-size: 1rem;
}
.company-video-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.company-video-point {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
}
.company-video-point i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 12px 24px rgba(35, 56, 142, 0.22);
}
.company-video-frame {
  position: relative;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}
.company-video-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.company-video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 20px;
  background: #000;
}

@media (max-width: 980px) {
  .company-video-wrap {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .company-video-wrap {
    gap: 24px;
    padding: 22px;
    border-radius: 24px;
  }

  .company-video-copy h2 {
    margin-top: 14px;
  }

  .company-video-point {
    align-items: flex-start;
  }
}


.video-section {
  padding: 80px 0;
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.9) contrast(1.05);
  transition: transform 0.6s ease;
}

/* efecto hover elegante */
.video-wrapper:hover video {
  transform: scale(1.03);
}

/* overlay ligero para look premium */
.video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.5)
  );
}

/* ===== Hero reemplazado desde ssitel_html_css_js_sin_logo ===== */
.ssitel-hero-replacement {
  position: relative;
  min-height: 100svh;
  margin-top: calc(var(--header-offset) * -1);
  padding-top: var(--header-offset);

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  background: #020617;
}

.ssitel-hero-replacement .network-canvas,
.ssitel-hero-replacement .hero-overlay {
  position: absolute;
  inset: 0;
  
}

.ssitel-hero-replacement .network-canvas {
  opacity: 0.36;
  pointer-events: none;
  filter: saturate(1.05) blur(0.2px);
}

.ssitel-hero-replacement .hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  min-height: calc(100svh - var(--header-offset));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(20px, 4vh, 40px) 0 clamp(20px, 3vh, 32px);
}

.ssitel-hero-replacement .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 720px;
  padding-top: 0;
}

.ssitel-hero-replacement .hero-title {
  margin: 0 0 20px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.055em;
  max-width: 10.5ch;
  text-wrap: balance;
}

.ssitel-hero-replacement .underline-wrap {
  position: relative;
  display: inline-block;
  margin-top: 8px;
}

.ssitel-hero-replacement .title-underline {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: clamp(6px, 1vw, 12px);
  border-radius: 999px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  animation: heroUnderlineGrow 1s ease-in-out 1s forwards;
}

.ssitel-hero-replacement .hero-text {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.ssitel-hero-replacement .feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.ssitel-hero-replacement .feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
}

.ssitel-hero-replacement .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.ssitel-hero-replacement .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 30px;
  min-height: 56px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ssitel-hero-replacement .btn:hover {
  transform: translateY(-4px);
}

.ssitel-hero-replacement .hero-btn-primary {
  color: #020617;
  background: #fff;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.06);
}

.ssitel-hero-replacement .hero-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 49, 122, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.ssitel-hero-replacement .hero-btn-primary:hover::after {
  transform: translateY(0);
}

.ssitel-hero-replacement .hero-btn-primary > * {
  position: relative;
  z-index: 1;
}

.ssitel-hero-replacement .arrow {
  transition: transform 0.3s ease;
}

.ssitel-hero-replacement .hero-btn-primary:hover .arrow {
  transform: translateX(4px);
}

.ssitel-hero-replacement .hero-btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.ssitel-hero-replacement .hero-btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.ssitel-hero-replacement .hero-visual-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(52vh, 520px);
  padding-top: 0;
}

.ssitel-hero-replacement .hero-visual {
  width: min(100%, clamp(300px, 34vw, 500px));
  aspect-ratio: 1;
  transition: transform 0.2s linear;
}

.ssitel-hero-replacement .fiber-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ssitel-hero-replacement .signal-wave {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  opacity: 0.1;
}

.ssitel-hero-replacement .wave-1 { animation: heroWaveFloat1 6s ease-in-out infinite; }
.ssitel-hero-replacement .wave-2 { animation: heroWaveFloat2 7s ease-in-out infinite; }
.ssitel-hero-replacement .wave-3 { animation: heroWaveFloat3 8s ease-in-out infinite; }

.ssitel-hero-replacement .core-dashed {
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 2;
  stroke-dasharray: 8 12;
}

.ssitel-hero-replacement .core-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  filter: url(#glow-strong);
  animation: heroPulseRing 3s ease-in-out infinite;
}

.ssitel-hero-replacement .core-center,
.ssitel-hero-replacement .packet {
  fill: #fff;
  filter: url(#glow-strong);
}

.ssitel-hero-replacement .stream-base {
  stroke: #fff;
  stroke-width: 1;
  opacity: 0.2;
}

.ssitel-hero-replacement .stream-active {
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  filter: url(#glow-subtle);
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  opacity: 0;
  animation: heroStreamPulse 2.5s ease-in-out infinite;
}

.ssitel-hero-replacement .s1 { animation-delay: 0s; }
.ssitel-hero-replacement .s2 { animation-delay: 0.3s; }
.ssitel-hero-replacement .s3 { animation-delay: 0.6s; }
.ssitel-hero-replacement .s4 { animation-delay: 0.9s; }
.ssitel-hero-replacement .s5 { animation-delay: 1.2s; }
.ssitel-hero-replacement .s6 { animation-delay: 1.5s; }
.ssitel-hero-replacement .s7 { animation-delay: 1.8s; }
.ssitel-hero-replacement .s8 { animation-delay: 2.1s; }
.ssitel-hero-replacement .s9 { animation-delay: 2.4s; }
.ssitel-hero-replacement .s10 { animation-delay: 2.7s; }
.ssitel-hero-replacement .s11 { animation-delay: 3s; }
.ssitel-hero-replacement .s12 { animation-delay: 3.3s; }

.ssitel-hero-replacement .orbit {
  transform-origin: 250px 250px;
}

.ssitel-hero-replacement .orbit-1 { animation: heroSpin 5s linear infinite; }
.ssitel-hero-replacement .orbit-2 { animation: heroSpin 8s linear infinite 1s; }
.ssitel-hero-replacement .orbit-3 { animation: heroSpin 11s linear infinite 2s; }
.ssitel-hero-replacement .orbit-4 { animation: heroSpin 14s linear infinite 3s; }

.ssitel-hero-replacement .reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: heroRevealUp 0.8s ease-out forwards;
}

.ssitel-hero-replacement .delay-1 { animation-delay: 0s; }
.ssitel-hero-replacement .delay-2 { animation-delay: 0.2s; }
.ssitel-hero-replacement .delay-3 { animation-delay: 0.4s; }
.ssitel-hero-replacement .delay-4 { animation-delay: 0.5s; }
.ssitel-hero-replacement .delay-5 { animation-delay: 0.6s; }

@keyframes heroRevealUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroUnderlineGrow {
  to { transform: scaleX(1); }
}

@keyframes heroSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroPulseRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes heroStreamPulse {
  0% { stroke-dashoffset: 160; opacity: 0; }
  40% { opacity: 1; }
  60% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -160; opacity: 0; }
}

@keyframes heroWaveFloat1 {
  0%, 100% { d: path('M -100 250 Q 150 100 250 250 T 600 250'); }
  50% { d: path('M -100 250 Q 150 400 250 250 T 600 250'); }
}

@keyframes heroWaveFloat2 {
  0%, 100% { d: path('M -100 270 Q 150 140 250 250 T 600 270'); }
  50% { d: path('M -100 270 Q 150 360 250 250 T 600 270'); }
}

@keyframes heroWaveFloat3 {
  0%, 100% { d: path('M -100 290 Q 150 180 250 250 T 600 290'); }
  50% { d: path('M -100 290 Q 150 320 250 250 T 600 290'); }
}

@media (max-width: 1100px) {
  .ssitel-hero-replacement .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(1100px, calc(100% - 28px));
    min-height: calc(100svh - var(--header-offset));
    padding: 20px 0 24px;
    align-items: center;
  }

  .ssitel-hero-replacement .hero-content {
    max-width: 100%;
    justify-content: center;
  }

  .ssitel-hero-replacement .hero-visual-wrapper {
    min-height: min(28vh, 240px);
  }

  .ssitel-hero-replacement .hero-visual {
    width: min(100%, 340px);
  }
}

@media (max-width: 767px) {
  .ssitel-hero-replacement {
    min-height: 100svh;
  }

  .ssitel-hero-replacement .hero-inner {
    min-height: calc(100svh - var(--header-offset));
    align-items: center;
    padding: 18px 0 22px;
  }

  .ssitel-hero-replacement .hero-title br {
    display: none;
  }

  .ssitel-hero-replacement .feature-pills {
    gap: 10px;
  }

  .ssitel-hero-replacement .feature-pill {
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .ssitel-hero-replacement .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .ssitel-hero-replacement .btn {
    width: 100%;
    padding: 15px 22px;
  }

  .ssitel-hero-replacement .hero-visual-wrapper {
    min-height: min(22vh, 180px);
  }

  .ssitel-hero-replacement .hero-visual {
    width: min(100%, 260px);
  }
}


/* ===== Responsabilidad Social ===== */
.social-responsibility-section {
  position: relative;
  margin: 0 0 90px;
}

.rs-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4vw, 52px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 30%),
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(10, 16, 31, 0.98));
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.32);
}

.rs-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.36), transparent 85%);
  pointer-events: none;
}

.rs-glow {
  pointer-events: none;
}

.rs-glow-one {
  width: 280px;
  height: 280px;
  right: -60px;
  top: -70px;
  background: rgba(74, 101, 224, 0.16);
}

.rs-glow-two {
  width: 260px;
  height: 260px;
  left: -60px;
  bottom: -80px;
  background: rgba(16, 185, 129, 0.14);
}

.rs-head {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.rs-pill {
  margin-bottom: 18px;
  color: #dbeafe;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255,255,255,0.06);
}

.rs-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 30px;
  align-items: start;
}

.rs-copy,
.rs-visuals,
.rs-visual-grid {
  display: grid;
  gap: 22px;
}

.rs-story-card,
.rs-media-card,
.rs-closure {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.84));
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.22);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.rs-story-card:hover,
.rs-media-card:hover,
.rs-closure:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(74, 101, 224, 0.32);
  box-shadow: 0 24px 58px rgba(35, 56, 142, 0.18), 0 0 0 1px rgba(59, 130, 246, 0.08) inset;
}

.rs-story-card,
.rs-closure {
  padding: 30px;
}

.rs-story-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.rs-story-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  font-size: 1.32rem;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 12px 28px rgba(35, 56, 142, 0.24);
  animation: rsPulse 3.8s ease-in-out infinite;
}

.rs-story-icon-alt {
  background: linear-gradient(135deg, #0ea5e9, #10b981);
}

.rs-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #93c5fd;
}

.rs-story-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.rs-story-card p,
.rs-closure p,
.rs-media-icons p {
  margin: 0;
  color: var(--muted);
  line-height: 1.84;
}

.rs-counter {
  color: #fff;
}

.rs-media-logo {
  min-height: 240px;
}

.rs-media-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 15, 31, 0.78);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8fafc;
}

.rs-image-placeholder {
  position: relative;
  min-height: 220px;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.12), transparent 46%),
    linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.98));
}

.rs-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px dashed rgba(255,255,255,0.16);
}

.rs-image-logo {
  min-height: 260px;
}

.rs-image-caps {
  min-height: 250px;
}

.rs-image-oaxaca {
  min-height: 250px;
}

.rs-image-logo::after,
.rs-image-caps::after,
.rs-image-oaxaca::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.75;
}

.rs-image-logo::after {
  background: rgba(59, 130, 246, 0.18);
}

.rs-image-caps::after {
  background: rgba(16, 185, 129, 0.18);
}

.rs-image-oaxaca::after {
  background: rgba(249, 115, 22, 0.16);
}

.rs-placeholder-mark {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  max-width: 280px;
}

.rs-placeholder-mark i {
  font-size: 2rem;
  color: #fff;
}

.rs-placeholder-mark span {
  color: #e2e8f0;
  line-height: 1.7;
}

.rs-visual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rs-media-icons {
  grid-column: 1 / -1;
  padding: 24px 24px 26px;
}

.rs-support-icons {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.rs-support-icons span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.28rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  animation: rsPulse 4.4s ease-in-out infinite;
}

.rs-support-icons span:nth-child(2) {
  animation-delay: .35s;
}

.rs-support-icons span:nth-child(3) {
  animation-delay: .7s;
}

.rs-support-icons span:hover {
  transform: translateY(-4px) rotate(6deg) scale(1.06);
  border-color: rgba(16, 185, 129, 0.36);
  box-shadow: 0 12px 26px rgba(16, 185, 129, 0.12);
}

.rs-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.975);
  transition:
    opacity 0.85s cubic-bezier(.2,.8,.2,1),
    transform 0.85s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  transition-delay: var(--rs-delay, 0ms);
  will-change: transform, opacity;
}

.rs-reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes rsPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}


@media (max-width: 1080px) {
  .rs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .social-responsibility-section {
    margin-bottom: 70px;
  }

  .rs-shell {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .rs-story-card,
  .rs-closure {
    padding: 24px;
  }

  .rs-story-top {
    gap: 14px;
  }

  .rs-story-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 18px;
  }

  .rs-visual-grid {
    grid-template-columns: 1fr;
  }

  .rs-media-card,
  .rs-media-icons {
    border-radius: 24px;
  }

  .rs-image-placeholder,
  .rs-image-logo,
  .rs-image-caps,
  .rs-image-oaxaca {
    min-height: 210px;
  }
}

.rs-image-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px; /* ajusta según tu diseño */
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

/* Hover premium */
.rs-media-card:hover .rs-image-real {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* ================================
   Servicios premium | SSITEL
   Reemplazo completo de la sección/página de servicios
   ================================ */
.sp-services-section {
  position: relative;
  isolation: isolate;
  min-height: auto;
  padding-top: 112px;
  padding-bottom: 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(56, 189, 248, 0.12), transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(59, 130, 246, 0.11), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(14, 165, 233, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.98) 0%, rgba(4, 11, 29, 0.98) 100%);
}

.sp-services-backdrop,
.sp-services-backdrop span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sp-blur {
  filter: blur(90px);
  opacity: 0.9;
}

.sp-blur-one {
  inset: -8% auto auto -10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
}

.sp-blur-two {
  inset: auto -8% 6% auto;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
}

.sp-grid-noise {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 84%);
  opacity: 0.18;
}

.sp-services-header {
  position: relative;
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
  transform: translateY(-10px);
}

.sp-subtitle-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(8, 15, 31, 0.62);
  color: #c8f1ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(2, 6, 23, 0.26);
}

.sp-subtitle-chip i {
  color: #67e8f9;
}

.sp-services-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.sp-services-copy {
  max-width: 760px;
  margin: 0 auto;
  color: #9fb0c8;
  font-size: 1.02rem;
  line-height: 1.82;
}

.sp-services-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 22px;
}

.sp-card {
  --card-rotate-x: 0deg;
  --card-rotate-y: 0deg;
  position: relative;
  min-height: 100%;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.78));
  box-shadow: 0 24px 54px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transform: perspective(1200px) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y)) translateY(28px) scale(0.98);
  opacity: 0;
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 600ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 600ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    background 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--stagger, 0ms);
  will-change: transform, opacity;
}

.sp-card.is-visible {
  opacity: 1;
  transform: perspective(1200px) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y)) translateY(0) scale(1);
}

.sp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), transparent 30%, transparent 65%, rgba(59, 130, 246, 0.12));
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-card:hover {
  border-color: rgba(103, 232, 249, 0.32);
  box-shadow: 0 34px 80px rgba(8, 47, 73, 0.34), 0 0 0 1px rgba(34, 211, 238, 0.05);
  transform: perspective(1200px) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y)) translateY(-10px) scale(1.01);
}

.sp-card:hover::before,
.sp-card:hover .sp-card-glow {
  opacity: 1;
}

.sp-card-highlight {
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.88), rgba(6, 12, 24, 0.92));
}

.sp-card-glow {
  position: absolute;
  inset: auto -15% -42% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(56, 189, 248, 0.08) 38%, transparent 72%);
  opacity: 0;
  filter: blur(10px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
}

.sp-icon-wrap {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 24px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(10, 17, 31, 0.92));
  color: #e2f8ff;
  font-size: 1.75rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 38px rgba(3, 7, 18, 0.3);
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-icon-wrap::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.07), rgba(255, 255, 255, 0.01));
  opacity: 0;
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-card:hover .sp-icon-wrap {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.35);
  transform: translateY(-4px) scale(1.06) rotate(-5deg);
  box-shadow: 0 24px 46px rgba(8, 47, 73, 0.34), 0 0 20px rgba(34, 211, 238, 0.12);
}

.sp-card:hover .sp-icon-wrap::after {
  opacity: 1;
}

.sp-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sp-card-copy h3 {
  position: relative;
  margin: 0;
  padding-bottom: 18px;
  color: #f8fbff;
  font-size: 1.16rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.sp-card-copy h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.7));
  transform-origin: left center;
  transform: scaleX(0.45);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), width 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-card:hover .sp-card-copy h3::after {
  width: 128px;
  transform: scaleX(1);
}

.sp-card-copy p {
  margin: 16px 0 0;
  color: #9fb0c8;
  line-height: 1.82;
  font-size: 0.98rem;
}

.sp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #7dd3fc;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    gap 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-card-link i {
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-card:hover .sp-card-link {
  color: #e0f7ff;
  transform: translateX(4px);
  gap: 14px;
}

.sp-card:hover .sp-card-link i {
  transform: translateX(3px);
}

.sp-services-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.sp-main-cta,
.sp-secondary-cta {
  min-width: 220px;
}

.sp-secondary-cta {
  color: #dceefd;
}

@media (min-width: 640px) {
  .sp-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sp-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .sp-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .sp-services-section {
    padding-top: 104px;
    padding-bottom: 96px;
  }

  .sp-services-header {
    margin: 0 auto 34px;
    transform: none;
  }

  .sp-card-inner {
    padding: 25px;
  }
}

@media (max-width: 767px) {
  .sp-services-section {
    padding-top: 96px;
    padding-bottom: 84px;
  }

  .sp-services-header {
    margin-bottom: 28px;
    transform: none;
  }

  .sp-subtitle-chip {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .sp-card-inner {
    padding: 24px 22px;
  }

  .sp-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    font-size: 1.55rem;
  }

  .sp-services-cta {
    flex-direction: column;
  }

  .sp-main-cta,
  .sp-secondary-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-card,
  .sp-card::before,
  .sp-card-glow,
  .sp-icon-wrap,
  .sp-card-copy h3::after,
  .sp-card-link,
  .sp-card-link i {
    transition: none !important;
    animation: none !important;
  }

  .sp-card {
    opacity: 1;
    transform: none !important;
  }
}

/* =========================
   Ventajas Corporativas
   ========================= */
.sp-advantages-section {
  position: relative;
  padding: 18px 0 120px;
  overflow: hidden;
}

.sp-advantages-backdrop,
.sp-advantages-backdrop span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sp-adv-blur {
  filter: blur(110px);
  opacity: 0.55;
}

.sp-adv-blur-one {
  width: 340px;
  height: 340px;
  left: -80px;
  top: 16%;
  background: rgba(34, 211, 238, 0.14);
}

.sp-adv-blur-two {
  width: 360px;
  height: 360px;
  right: -100px;
  bottom: 8%;
  background: rgba(59, 130, 246, 0.14);
}

.sp-advantages-header {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.sp-advantages-title {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.sp-advantages-copy {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(226, 232, 240, 0.8);
  font-size: 1.02rem;
  line-height: 1.8;
}

.sp-advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.sp-adv-card {
  position: relative;
  display: grid;
  grid-template-rows: 280px 1fr;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.96));
  box-shadow: 0 22px 54px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(18px);
  transform: translate3d(0, 36px, 0);
  opacity: 0;
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease;
}

.sp-adv-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: var(--adv-stagger, 0ms);
}

.sp-adv-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.9), rgba(96, 165, 250, 0));
  transform: scaleX(0.22);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-adv-card:hover {
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 30px 80px rgba(8, 145, 178, 0.18);
  transform: translate3d(0, -10px, 0) scale(1.01);
}

.sp-adv-card:hover::after {
  transform: scaleX(1);
}

.sp-adv-media-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-adv-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.75s ease;
}

.sp-adv-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.3) 55%, rgba(2, 6, 23, 0.82) 100%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(59, 130, 246, 0.04));
}

.sp-adv-card:hover .sp-adv-media {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.sp-adv-media-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 15, 31, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(10px);
}

.sp-adv-content {
  position: relative;
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
}

.sp-adv-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-top: -62px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 47, 73, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #67e8f9;
  font-size: 1.5rem;
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.36);
  backdrop-filter: blur(16px);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.45s ease, border-color 0.45s ease;
}

.sp-adv-card:hover .sp-adv-icon {
  color: #a5f3fc;
  border-color: rgba(103, 232, 249, 0.26);
  transform: translateY(-4px) scale(1.05) rotate(-4deg);
}

.sp-adv-content h3 {
  margin: 0 0 18px;
  font-size: 1.42rem;
  line-height: 1.2;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.sp-adv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.sp-adv-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.7;
}

.sp-adv-list li i {
  margin-top: 4px;
  color: #22d3ee;
  font-size: 1rem;
  transition: transform 0.45s ease, color 0.45s ease;
}

.sp-adv-card:hover .sp-adv-list li i {
  transform: scale(1.08);
  color: #67e8f9;
}

.sp-adv-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #67e8f9;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sp-adv-link i {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-adv-card:hover .sp-adv-link i {
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  .sp-advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sp-advantages-section {
    padding: 8px 0 96px;
  }

  .sp-advantages-header {
    margin-bottom: 34px;
  }

  .sp-adv-card {
    grid-template-rows: 220px 1fr;
    border-radius: 24px;
  }

  .sp-adv-content {
    padding: 24px 20px 26px;
  }

  .sp-adv-content h3 {
    font-size: 1.18rem;
  }

  .sp-adv-media-badge {
    left: 14px;
    top: 14px;
    font-size: 0.76rem;
    padding: 9px 12px;
  }
}


/* =========================
   FONDO GLOBAL ESTILO SERVICIOS
   ========================= */
body {
  position: relative;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98) 0%, rgba(4, 11, 29, 0.98) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    radial-gradient(circle at 14% 16%, rgba(56, 189, 248, 0.12), transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(59, 130, 246, 0.11), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(14, 165, 233, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.98) 0%, rgba(4, 11, 29, 0.98) 100%);
}

body::after {
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 84%);
  opacity: 0.18;
}



/* No tocar el hero del inicio */
body[data-page="inicio"] .hero.ssitel-hero-replacement {
  position: relative;
  z-index: 2;
}

body[data-page="inicio"] .page > .section,
body[data-page="nosotros"] .page-shell,
body[data-page="contacto"] .page-shell,
body[data-page="servicios"] .page-shell {
  background: transparent;
}

/* =========================
   SELLO D-U-N-S EN FOOTER
   ========================= */
.site-footer {
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(3, 8, 20, 0.92), rgba(2, 6, 23, 0.98));
  backdrop-filter: blur(10px);
}

.footer-duns-wrap {
  margin-top: 18px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(8, 15, 31, 0.9));
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.footer-duns-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(8, 47, 73, 0.34);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-duns-label i {
  color: #38bdf8;
}

.footer-duns-card {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-duns-card script {
  max-width: 100%;
}

@media (max-width: 900px) {
  .footer-duns-wrap {
    margin-top: 14px;
  }
}


/* CONTACTO CLEAN */
.contact-page-clean {
  padding-top: clamp(32px, 5vw, 64px);
}

.contact-clean-container {
  max-width: 1040px;
}

.contact-clean-header {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.contact-clean-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.contact-clean-section {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.contact-clean-form-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(180deg, rgba(9, 17, 40, 0.92), rgba(7, 13, 32, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.34);
}

.contact-clean-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 28%),
              radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.12), transparent 28%);
}

.contact-clean-info-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-clean-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(12px);
}

.contact-clean-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #dbeafe;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.7));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.contact-clean-info-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #f8fafc;
}

.contact-clean-info-item p,
.contact-clean-info-item span,
.contact-clean-info-item a {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
  text-decoration: none;
}

.contact-clean-info-item a:hover {
  color: #ffffff;
}

.contact-clean-form {
  position: relative;
  z-index: 1;
}

.contact-clean-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-clean-form .field label {
  display: block;
  margin-bottom: 10px;
  color: #e2e8f0;
  font-weight: 600;
}

.contact-clean-form .field input,
.contact-clean-form .field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.62);
  color: #f8fafc;
  padding: 16px 18px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.contact-clean-form .field input::placeholder,
.contact-clean-form .field textarea::placeholder {
  color: #94a3b8;
}

.contact-clean-form .field input:focus,
.contact-clean-form .field textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  background: rgba(2, 6, 23, 0.82);
}

.contact-clean-form .field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-clean-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 14px;
  color: #cbd5e1;
}

.contact-clean-check input {
  margin-top: 4px;
}

.contact-clean-privacy {
  margin: 0 0 20px;
  color: #94a3b8;
  line-height: 1.7;
}

.contact-clean-submit {
  width: 100%;
  border-radius: 18px;
  padding: 18px 24px;
}

.map-band-header-centered {
  max-width: none;
  width: 100%;
  text-align: center;
  padding: 0 20px 18px;
}

.map-band-header-centered p {
  display: none;
}

.map-card-edge {
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
}

@media (max-width: 960px) {
  .contact-clean-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-clean-form-row {
    grid-template-columns: 1fr;
  }

  .contact-clean-form-card {
    border-radius: 22px;
    padding: 22px 18px;
  }

  .contact-clean-info-item {
    border-radius: 18px;
  }
}


/* =========================
   AJUSTE HERO NOSOTROS
   ========================= */
body[data-page="nosotros"] .page-shell {
  min-height: auto;
  padding-top: 88px;
}

body[data-page="nosotros"] .page-pad {
  padding: 18px 0 120px;
}

body[data-page="nosotros"] .page-header {
  max-width: 920px;
  margin: 0 auto 58px;
  text-align: center;
  transform: translateY(-18px);
}

body[data-page="nosotros"] .page-header .pill {
  margin-bottom: 14px;
}

body[data-page="nosotros"] .page-header h1 {
  margin: 10px 0 16px;
  line-height: 0.96;
}

body[data-page="nosotros"] .page-header p {
  max-width: 760px;
  margin-top: 0;
}

body[data-page="nosotros"] .mission-grid {
  margin-bottom: 84px;
}

@media (max-width: 820px) {
  body[data-page="nosotros"] .page-pad {
    padding: 8px 0 92px;
  }

  body[data-page="nosotros"] .page-header {
    margin: 0 auto 42px;
    transform: translateY(-8px);
  }

  body[data-page="nosotros"] .page-header h1 {
    margin: 8px 0 14px;
    line-height: 1;
  }
}

/* =========================
   CONTACT PAGE CLEAN FINAL
   ========================= */

.contact-page-clean {
  padding-top: 34px;
  padding-bottom: 0px;
}

.contact-clean-container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.contact-clean-header {
  margin: 0 auto 34px;
  text-align: center;
}

.contact-clean-header h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-clean-section {
  position: relative;
}

.contact-clean-form-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 30px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(74, 101, 224, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  align-items: start;
}

.contact-clean-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.contact-clean-info-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  min-height: 100%;
  overflow: hidden;
}

.contact-clean-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 14px 28px rgba(35, 56, 142, 0.24);
}

.contact-clean-info-body {
  min-width: 0;
}

.contact-clean-info-item h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--text);
}

.contact-clean-info-item p {
  margin: 0 0 6px;
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 0.92rem;
  word-break: break-word;
}

.contact-clean-info-item span {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-clean-info-item a {
  color: #dbe4ef;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-clean-info-item a:hover {
  color: var(--brand-400);
}

.contact-clean-form {
  display: grid;
  gap: 18px;
  padding: 2px 0 0;
}

.contact-clean-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-clean-form .field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-clean-form .field.full {
  grid-column: 1 / -1;
}

.contact-clean-form .field label {
  font-size: 0.94rem;
  color: #dbe4ef;
  font-weight: 500;
}

.contact-clean-form input,
.contact-clean-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #020617;
  color: #fff;
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-clean-form input::placeholder,
.contact-clean-form textarea::placeholder {
  color: #64748b;
}

.contact-clean-form input:focus,
.contact-clean-form textarea:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 1px var(--brand-400), 0 0 18px rgba(74, 101, 224, 0.18);
  transform: translateY(-1px);
}

.contact-clean-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-clean-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.93rem;
  line-height: 1.6;
  margin-top: 2px;
}

.contact-clean-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-400);
  flex-shrink: 0;
}

.contact-clean-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.contact-clean-submit {
  width: 100%;
  margin-top: 4px;
}

.map-band-header-centered {
  text-align: center;
}

.map-band-header-centered h2 {
  margin-bottom: 0;
}

.map-card-edge {
  margin-top: 18px;
}

.footer-duns-wrap {
  margin-top: 18px;
}

.footer-duns-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #dbe4ef;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-duns-card {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 54px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  max-width: 100%;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1180px) {
  .contact-clean-form-card {
    grid-template-columns: 1fr;
  }

  .contact-clean-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-clean-info-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .contact-page-clean {
    padding-top: 22px;
    padding-bottom: 0px;
  }

  .contact-clean-container {
    width: min(1180px, calc(100% - 20px));
  }

  .contact-clean-form-card {
    padding: 22px;
    border-radius: 24px;
    gap: 20px;
  }

  .contact-clean-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-clean-form-row {
    grid-template-columns: 1fr;
  }

  .contact-clean-info-item {
    padding: 18px;
    border-radius: 18px;
  }

  .contact-clean-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

@media (max-width: 560px) {
  .contact-clean-header {
    margin-bottom: 24px;
  }

  .contact-clean-header h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .contact-clean-form-card {
    padding: 18px;
  }

  .contact-clean-info-item {
    gap: 14px;
  }

  .contact-clean-form input,
  .contact-clean-form textarea {
    border-radius: 14px;
  }

  .footer-duns-card {
    width: 100%;
  }
}



/* ===== Ajuste unificado para encabezados de Nosotros y Contacto ===== */
.sp-page-section {
  position: relative;
  overflow: hidden;
}

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

#nosotros-hero,
#contacto-hero {
  padding-top: clamp(52px, 7vw, 86px);
}

#nosotros-hero .sp-services-header,
#contacto-hero .sp-services-header {
  max-width: 980px;
  margin: 0 auto clamp(44px, 6vw, 64px);
  transform: none;
}

#nosotros-hero .sp-services-title,
#contacto-hero .sp-services-title {
  font-size: clamp(3rem, 5.6vw, 5rem);
  margin-bottom: 18px;
}

#nosotros-hero .sp-services-copy,
#contacto-hero .sp-services-copy {
  max-width: 820px;
}

#contacto-hero .sp-subtitle-chip {
  margin-bottom: 18px;
}

#contacto-hero .contact-clean-section {
  margin-bottom: clamp(34px, 4vw, 54px);
}

#contacto-hero .contact-clean-form-card {
  border-radius: 30px;
  box-shadow: 0 32px 90px rgba(2, 6, 23, 0.36);
}

@media (max-width: 900px) {
  #nosotros-hero,
  #contacto-hero {
    padding-top: 34px;
  }

  #nosotros-hero .sp-services-header,
  #contacto-hero .sp-services-header {
    margin-bottom: 36px;
  }
}

@media (max-width: 640px) {
  #nosotros-hero .sp-services-title,
  #contacto-hero .sp-services-title {
    line-height: 0.98;
  }

  #contacto-hero .sp-subtitle-chip {
    padding-inline: 14px;
  }
}


/* ====================== CUSTOM CURSOR TELECOM ====================== */
body {
  cursor: none; /* ocultamos el cursor por defecto */
}

.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  width: 32px;
  height: 32px;
  display: none;
  mix-blend-mode: screen;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-cursor .ring {
  position: absolute;
  inset: 0;
  border: 2px solid #4a65e0;
  border-radius: 50%;
  animation: ringPulse 2.8s ease-in-out infinite;
  box-shadow: 
    0 0 12px #4a65e0,
    0 0 24px rgba(74, 101, 224, 0.6);
}

.custom-cursor .core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 
    0 0 12px #4a65e0,
    0 0 22px #6b82e6;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50%      { transform: scale(1.15); opacity: 1; }
}

/* Efecto al pasar sobre elementos interactivos */
a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor,
.custom-cursor-hover .custom-cursor {
  transform: scale(1.7);
}

/* Solo se muestra en dispositivos con ratón (no afecta móviles) */
@media (pointer: fine) {
  .custom-cursor {
    display: block;
  }
}