/* StartCloud landing — page-level styles.
   Tokens live in ../../colors_and_type.css. */

body { margin: 0; background: #fff; color: var(--fg-default); }
* { box-sizing: border-box; }

/* Anclas nativas del menú con el mismo desplazamiento suave que los botones data-scroll */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.sc-page { overflow-x: hidden; padding-top: 114px; }

/* ---------- Fixed header wrapper ---------- */
.sc-header-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.sc-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* ---------- Header ---------- */
.sc-headband {
  background: var(--grad-headband);
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  width: 100%;
}
.sc-headband__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Alineado a la derecha */
  gap: 36px;
  width: 100%;
}
.sc-headband .item { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Header Navigation ---------- */
.sc-nav {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 4px 18px rgba(0, 0, 0, 0.03);
  height: var(--nav-height);
  width: 100%;
  transition: all var(--dur-base) var(--ease-out);
}
/* Blur en ::before: un backdrop-filter sobre .sc-nav lo volvería
   containing block del drawer móvil (position: fixed) y lo rompería. */
.sc-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sc-nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  height: 100%;
}
.sc-nav__logo {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
}
.sc-nav__logo img { height: 76px; width: auto; display: block; }

.sc-nav__links {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
}
.sc-nav__links a {
  color: inherit; position: relative; padding: 6px 2px; cursor: pointer;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
}
.sc-nav__links a::after {
  content: '';
  position: absolute; left: 50%; transform: translateX(-50%) scaleX(0);
  bottom: -6px; height: 3px; width: 100%;
  border-radius: 99px; background: var(--brand-blue-400);
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
  opacity: 0;
}
.sc-nav__links a:hover { color: var(--brand-blue); }
.sc-nav__links a:hover::after { transform: translateX(-50%) scaleX(1); opacity: 1; }

.sc-nav__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 110;
}

.sc-nav__cta {
  background: var(--brand-blue);
  color: #fff; font-weight: 700; font-size: 14px;
  border: 0; border-radius: 10px;
  padding: 10px 22px; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(77, 135, 209, 0.16);
}
.sc-nav__cta:hover {
  background: var(--brand-blue-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(77, 135, 209, 0.24);
}
.sc-nav__cta:active {
  transform: translateY(0);
}

.sc-nav__cta--desktop {
  display: inline-flex;
}

.sc-nav__cta--mobile {
  display: none;
}

/* Mobile Toggle Hamburger Button */
.sc-nav__toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  height: 18px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.sc-nav__toggle .line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--brand-navy);
  border-radius: 99px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

/* Toggle active animations */
.sc-nav__toggle.is-active .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.sc-nav__toggle.is-active .line:nth-child(2) {
  opacity: 0;
}
.sc-nav__toggle.is-active .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Lock background scroll when mobile menu is open */
body:has(.nav-open) {
  overflow: hidden;
}

/* ---------- Responsive Breakpoints for Navigation ---------- */
@media (max-width: 1024px) {
  .sc-headband__inner {
    padding: 8px 40px;
    gap: 20px;
  }
  .sc-nav__inner {
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
  }
  .sc-nav__toggle {
    display: flex;
  }
  /* Con drawer activo el CTA vive dentro del menú; el del header duplicaría */
  .sc-nav__cta--desktop {
    display: none;
  }
  .sc-nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--border-default);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 80px 40px;
    z-index: 100;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out);
  }
  .sc-nav__links.is-active {
    transform: translateX(0);
  }
  /* En viewports bajos (landscape) el centrado dejaría links fuera de alcance */
  @media (max-height: 520px) {
    .sc-nav__links {
      justify-content: flex-start;
      padding-top: 96px;
      overflow-y: auto;
    }
  }
  .sc-nav__links a {
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .sc-nav__links a::after {
    display: none;
  }
  .sc-nav__links a:hover {
    padding-left: 8px;
    color: var(--brand-blue);
  }
  .sc-nav__cta--mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 576px) {
  .sc-headband__inner {
    padding: 6px 16px;
    font-size: 11px;
    justify-content: center;
    gap: 4px 18px;
    flex-wrap: wrap;
  }
  .sc-nav__inner {
    padding: 0 20px;
  }
  .sc-nav__links {
    width: 100%;
    padding: 100px 30px;
  }
}

/* ---------- Hero ---------- */
.sc-hero {
  position: relative;
  background: linear-gradient(135deg, #15325b 0%, #1F4A85 40%, #3A6FB8 75%, #4D87D1 100%);
  color: #fff;
  padding: 120px 0 160px;
  overflow: hidden;
}
/* Laptops anchos pero bajos (1366x768, 1440x900): el breakpoint de 1024px no cubre este caso y el hero se corta */
@media (min-width: 1025px) and (max-height: 800px) {
  .sc-hero { padding: 72px 0 90px; }
  .sc-hero__stats { margin-top: 36px; margin-bottom: 28px; }
}
/* Ventanas aún más bajas (zoom de SO, barra de marcadores, ventana no maximizada) */
@media (min-width: 1025px) and (max-height: 620px) {
  .sc-hero { padding: 48px 0 64px; }
  .sc-hero__stats { margin-top: 24px; margin-bottom: 56px; }
}
.sc-hero__bg {
  position: absolute; inset: 0;
  /* 53% = centro real de la nube en la foto; con `center` queda descentrada al recortar en vertical */
  background-position: 53% center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.85;
  pointer-events: none;
  transition: background-image 0.5s ease-in-out, opacity 0.3s ease;
}
.sc-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 30, 55, 0.25) 0%, rgba(15, 30, 55, 0.05) 55%, rgba(15, 30, 55, 0.0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Hero Background Selector Controls ---------- */
.sc-hero__nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 0;
  opacity: 0;
}
.sc-hero__nav-arrow:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20) !important;
  opacity: 1.0 !important;
}
.sc-hero__nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.sc-hero__nav-arrow--left {
  left: 32px;
}
.sc-hero__nav-arrow--right {
  right: 32px;
}

/* Floating background info chip */
.sc-hero__bg-indicator {
  position: absolute;
  top: 32px;
  right: 32px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 15;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}
.sc-hero__bg-indicator:hover {
  opacity: 1.0 !important;
}

/* Hovering on the Hero container reveals the controls with a subtle transparency */
.sc-hero:hover .sc-hero__nav-arrow {
  opacity: 0.40;
}
.sc-hero:hover .sc-hero__bg-indicator {
  opacity: 0.50;
}

/* Hovering directly on the navigation buttons reveals the title and the button fully */
.sc-hero__nav-arrow:hover ~ .sc-hero__bg-indicator {
  opacity: 1.0 !important;
}

.sc-hero__bg-indicator .dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffffff;
  animation: sc-pulse 2s infinite;
}

.sc-hero__mobile-bg-controls {
  display: none;
}

@keyframes sc-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 991px) {
  .sc-hero__nav-arrow {
    width: 46px;
    height: 46px;
  }
  .sc-hero__nav-arrow--left { left: 16px; }
  .sc-hero__nav-arrow--right { right: 16px; }
  .sc-hero__bg-indicator {
    top: 16px;
    right: 16px;
  }
}

@media (max-width: 576px) {
  .sc-hero__nav-arrow {
    display: none;
  }
  .sc-hero__bg-indicator {
    display: none;
  }
  .sc-hero__mobile-bg-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    max-width: 320px;
  }
  .sc-hero__mobile-bg-controls .mobile-arrow-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 12px;
  }
  .sc-hero__mobile-bg-controls .mobile-bg-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    font-weight: 600;
    flex-grow: 1;
    text-align: center;
  }
}
.sc-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; z-index: 5; }
.sc-hero__eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #BFD4F2; margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.sc-hero__eyebrow::before { content:''; display:inline-block; width:32px; height:1px; background: rgba(255,255,255,0.45);}
.sc-hero h1 {
  font-family: var(--font-sans); font-weight: 800; font-size: 60px;
  line-height: 1.05; letter-spacing: -0.015em; margin: 0;
  text-wrap: pretty;
}
.sc-hero h1 em {
  font-style: normal;
  color: #7EB4FC; /* Celeste claro vibrante y premium, optimizado para máxima legibilidad en fondo oscuro */
}
.sc-hero p.sc-lead-light { font-size: 18px; line-height: 1.65; max-width: 540px; margin: 24px 0 36px; color: #ffffff; }
.sc-hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.sc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700; font-size: 16px;
  padding: 16px 28px;
  border-radius: 12px;
  transition: all var(--dur-fast) var(--ease-out);
}
.sc-btn--primary { background: var(--white); color: var(--brand-navy); }
.sc-btn--primary:hover { background: var(--brand-blue-100); }
.sc-btn--ghost {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
}
.sc-btn--ghost:hover { background: rgba(255,255,255,0.18); }
.sc-btn--solid { background: var(--brand-blue); color: #fff; }
.sc-btn--solid:hover { background: var(--brand-blue-600); }

/* hero visual */
.sc-hero__visual { position: relative; height: 500px; }
.sc-hero__visual .circle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0) 70%, rgba(146, 185, 230, 0.04) 86%, rgba(255, 255, 255, 0.08) 94%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  will-change: transform, opacity, box-shadow;
  backface-visibility: hidden;
  animation: sc-ripple 3.6s ease-in-out infinite;
}
.sc-hero__visual .c1 {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  opacity: 0.65;
  animation-delay: 1.0s;
}
.sc-hero__visual .c2 {
  inset: 36px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  opacity: 0.52;
  animation-delay: 0.5s;
}
.sc-hero__visual .c3 {
  inset: 80px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  opacity: 0.38;
  animation-delay: 0s;
}
.sc-hero__visual .glow {
  position: absolute; inset: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 135, 209, 0.70) 0%, rgba(77, 135, 209, 0.35) 45%, rgba(26, 86, 219, 0) 70%);
  animation: sc-glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
.sc-hero__visual .cloud {
  position: absolute; inset: 90px; border-radius: 50%;
  background: url('../img/cloud_only.png') center/55% no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.sc-badge-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
  flex-shrink: 0;
}
.sc-hero__float-wrapper {
  position: absolute;
  z-index: 10;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.sc-hero__float-wrapper--1 {
  top: 32px; left: 16px;
  animation: sc-entrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) both 0.3s;
}
.sc-hero__float-wrapper--2 {
  top: 144px; right: 8px;
  animation: sc-entrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) both 0.45s;
}
.sc-hero__float-wrapper--3 {
  bottom: 80px; left: 32px;
  animation: sc-entrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) both 0.6s;
}
.sc-hero__float-wrapper--4 {
  bottom: 24px; right: 24px;
  animation: sc-entrance 0.5s cubic-bezier(0.22, 1, 0.36, 1) both 0.75s;
}

.sc-hero__float-wrapper--1 .sc-hero__float {
  animation: sc-float 3.6s ease-in-out infinite 0.8s;
}
.sc-hero__float-wrapper--2 .sc-hero__float {
  animation: sc-float 3.6s ease-in-out infinite 0.95s;
}
.sc-hero__float-wrapper--3 .sc-hero__float {
  animation: sc-float 3.6s ease-in-out infinite 1.1s;
}
.sc-hero__float-wrapper--4 .sc-hero__float {
  animation: sc-float 3.6s ease-in-out infinite 1.25s;
}

.sc-hero__float {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 0 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: #2C3340;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  height: 60px;
  box-sizing: border-box;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@keyframes sc-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes sc-entrance {
  0% {
    transform: scale3d(0.85, 0.85, 1);
    opacity: 0;
  }
  100% {
    transform: scale3d(1, 1, 1);
    opacity: 1;
  }
}

@keyframes sc-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.70; filter: blur(0); }
  50% { transform: scale(1.18); opacity: 1.0; filter: blur(3px); }
}

@keyframes sc-ripple {
  0%, 100% {
    transform: scale3d(1, 1, 1);
    box-shadow: 0 0 0 rgba(77, 135, 209, 0);
  }
  50% {
    transform: scale3d(1.03, 1.03, 1);
    box-shadow: 0 0 12px rgba(77, 135, 209, 0.15), inset 0 0 6px rgba(77, 135, 209, 0.08);
  }
}

.sc-hero__stats {
  position: relative;
  margin-top: 90px;
  display: grid; grid-template-columns: repeat(4,1fr);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 22px 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
  align-items: center;
  z-index: 5;
}
.sc-hero__stats .stat { text-align: center; }
.sc-hero__stats .stat + .stat,
.sc-hero__stats .stat + .sc-hero__stats-partner-slot { border-left: 1px solid rgba(255,255,255,0.12); }
.sc-hero__stats .v { font-size: 36px; font-weight: 800; }
.sc-hero__stats .l { font-size: 13px; font-weight: 500; opacity: 0.95; margin-top: 4px; }
.sc-hero__stats-partner-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
}
.sc-hero__stats-partner-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ---------- Section scaffolding ---------- */
/* -2px: la sección se mete un pelo bajo el header al anclar, para que el
   redondeo subpíxel (escalado de Windows 125/150%) no deje una costura visible */
.sc-section { padding: 100px 0; position: relative; scroll-margin-top: calc(var(--header-h, 120px) - 2px); }
.sc-section--muted { background: var(--bg-muted); }
.sc-section--dark { background: var(--brand-navy); color: #fff; }
.sc-section--white { background: #fff; }
.sc-section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sc-section__head .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-blue);
}
.sc-section--dark .sc-section__head .eyebrow { color: var(--brand-blue-300); }
.sc-section__head h2 {
  margin: 14px 0 12px;
  font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em;
  text-wrap: balance;
}
.sc-section--dark .sc-section__head h2 { color: #fff; }
.sc-section__head p { font-size: 18px; line-height: 1.6; color: var(--fg-muted); margin: 0; }
.sc-section--dark .sc-section__head p { color: rgba(255,255,255,0.7); }

/* ---------- Ondulación wave ---------- */
.sc-wave {
  display: block; width: 100%; height: 80px;
  background-image: url('../img/ondulacion.svg');
  background-size: cover; background-repeat: no-repeat;
}
.sc-wave--flip { transform: scaleY(-1); }
.sc-wave--down-into-light {
  background-color: var(--brand-navy);
  position: relative; margin-top: -1px;
}
.sc-wave--up-into-light {
  background-color: var(--bg-muted);
  position: relative;
}

/* ---------- Services ---------- */
.sc-services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sc-service-card {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.sc-service-card:hover {
  box-shadow: 0 8px 24px rgba(77,135,209,0.12);
  border-color: var(--brand-blue-300);
  transform: translateY(-2px);
}
.sc-service-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-blue-100), #fff);
  color: var(--brand-blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  border: 1px solid var(--brand-blue-100);
}
.sc-service-card__chip {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-blue);
  background: var(--brand-blue-100);
  padding: 4px 10px; border-radius: 999px;
}
.sc-service-card h3 { margin: 4px 0 0; font-size: 20px; font-weight: 700; color: var(--fg-default); }
.sc-service-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg-muted); flex: 1; }
.sc-arrow-link {
  font-size: 14px; font-weight: 700; color: var(--brand-blue);
  cursor: pointer;
}
.sc-arrow-link:hover { color: var(--brand-blue-600); }

/* ---------- Why Us — gradient benefit cards ---------- */
.sc-why__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.sc-benefit {
  border-radius: 16px 0 16px 30px;
  padding: 24px 22px 22px;
  color: #fff;
  position: relative;
  min-height: 240px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 10px 28px rgba(44,51,64,0.14);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}
.sc-benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(44,51,64,0.22);
}
.sc-benefit::after {
  /* subtle cloud watermark */
  content: '';
  position: absolute; right: -30px; bottom: -30px;
  width: 160px; height: 160px;
  background: url('../img/cloud_only.png') center/contain no-repeat;
  opacity: 0.05;
  filter: brightness(0) invert(1); /* Hacemos la nube blanca para que resalte en todas las tarjetas */
  transition: all var(--dur-base) var(--ease-out);
}
.sc-benefit:hover::after {
  opacity: 0.12;
  transform: scale(1.08) translate(-2px, -2px);
}
.sc-benefit--1 { background: linear-gradient(160deg, #4D87D1 0%, #2E5FA0 100%); }
.sc-benefit--2 { background: linear-gradient(160deg, #5C95D8 0%, #3A6FB8 100%); }
.sc-benefit--3 { background: linear-gradient(160deg, #6FA3DB 0%, #4D87D1 100%); }
.sc-benefit--4 { background: linear-gradient(160deg, #7FB1E8 0%, #5896D8 100%); }
.sc-benefit--5 { background: linear-gradient(160deg, #88B7EC 0%, #639CE2 100%); }
.sc-benefit__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  position: relative; z-index: 1;
}
.sc-benefit h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; position: relative; z-index: 1; }
.sc-benefit p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.85); position: relative; z-index: 1; padding-right: 18px; }

/* ---------- Industries ---------- */
.sc-industries__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.sc-industry-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  border: 1px solid var(--border-default);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.sc-industry-card:hover { border-color: var(--brand-blue-200); }
.sc-industry-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-blue-100);
  color: var(--brand-blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.sc-industry-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.sc-industry-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-muted); }

.sc-client-logos {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 32px;
  align-items: center; opacity: 0.85;
}
.sc-client-logos__cell { height: 48px; display: flex; align-items: center; justify-content: center; }
.sc-client-logos__placeholder {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px dashed rgba(255,255,255,0.25);
  padding: 12px 18px; border-radius: 6px;
  width: 100%; text-align: center;
}

/* ---------- Clients (own section, dark) ---------- */
.sc-clients {
  position: relative;
  background-color: var(--brand-navy) !important;
  background-image: radial-gradient(circle at 50% 50%, rgba(77, 135, 209, 0.06) 0%, transparent 70%),
                    url('../img/dots_bg.png');
  background-size: cover, auto;
  background-position: center;
  background-repeat: no-repeat, repeat;
  padding: 56px 0;
  overflow: hidden;
}
.sc-clients .sc-container {
  position: relative;
  z-index: 1;
}
.sc-clients .sc-section__head { max-width: 900px; margin-bottom: 32px; }
.sc-clients__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 56px;
  padding: 12px 0 0;
  width: 100%;
}
.sc-clients__cell {
  height: 66px;
  min-width: 185px;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 10px 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--dur-base) var(--ease-out);
}
.sc-clients__cell--bvl {
  padding: 8px 24px;
}
.sc-clients__cell:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.20);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(77, 135, 209, 0.12);
}
.sc-clients__cell img {
  height: 100%; width: auto;
  max-width: 145px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.sc-clients__meta {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 40px;
  padding: 32px 0 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  text-align: center;
}
.sc-clients__metric {
  font-size: 44px; font-weight: 800; line-height: 1;
  background: linear-gradient(180deg, #BFD9F5 0%, #4D87D1 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.sc-clients__metric-label {
  font-size: 13px; color: rgba(255,255,255,0.72);
  letter-spacing: 0.04em; margin-top: 8px;
}

/* ---------- Contact form (official) ---------- */
.sc-contact {
  padding: 56px 0 80px;
  background: #FFFFFF !important;
  position: relative;
  overflow: hidden;
}
.sc-contact__inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
}
.sc-contact__copy .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-blue);
}
.sc-contact__copy h2 {
  font-size: 48px; font-weight: 800; line-height: 1.05; letter-spacing: -0.015em;
  margin: 14px 0 16px; color: var(--brand-navy);
  text-wrap: balance;
}
.sc-contact__copy p {
  font-size: 17px; line-height: 1.65; color: var(--fg-muted); margin: 0 0 28px;
}
.sc-contact__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.sc-contact__list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 16px; color: var(--fg-default);
  line-height: 1.4;
}
.sc-contact__list li span {
  padding-top: 1px;
}

.sc-contact__form {
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--border-default);
  border-radius: 24px;
  padding: 36px;
  background: #F8F9FA; /* Suavizado aún más a un gris muy sutil y elegante */
  box-shadow: 0 15px 45px rgba(10,22,40,0.05);
}
.sc-contact__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  border: 1px solid var(--border-default);
  border-radius: 24px;
  padding: 48px 36px;
  background: #F8F9FA;
  box-shadow: 0 15px 45px rgba(10,22,40,0.05);
  min-height: 462px;
  width: 100%;
}
.sc-contact__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-blue-100);
  color: var(--brand-blue);
  font-size: 24px; font-weight: 700;
}
.sc-contact__success h3 {
  font-size: 24px; font-weight: 800;
  color: var(--brand-navy);
  margin: 0;
}
.sc-contact__success p {
  font-size: 16px; line-height: 1.6;
  color: var(--fg-muted);
  max-width: 320px;
  margin: 0;
}
.sc-contact__form-title {
  font-size: 22px; font-weight: 700;
  color: #111827; /* Cambiado a negro/carbono premium */
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.ff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ff-field {
  position: relative;
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 12px;
  padding: 18px 14px 8px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  cursor: text;
  display: block;
}
.ff-field:hover { border-color: var(--brand-blue-200); }
.ff-field--focus { border-color: #7EB4FC; box-shadow: 0 0 0 4px rgba(126,180,252,0.18); }
.ff-field--filled { border-color: var(--brand-navy); }
.ff-label {
  position: absolute;
  top: 7px; left: 14px;
  font-size: 11px; font-weight: 600;
  color: var(--brand-navy-500);
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.ff-field--focus .ff-label { color: #7EB4FC; }
.ff-field--filled .ff-label { color: var(--brand-blue); }
.ff-label em { color: #D74848; font-style: normal; }
.ff-input, .ff-textarea {
  width: 100%; border: 0; outline: 0; background: transparent;
  font-family: var(--font-sans); font-size: 14px;
  color: var(--fg-default); padding: 0;
}
.ff-textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
.ff-field--textarea { padding-bottom: 12px; }

.ff-cta-row {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 16px; margin-top: 6px;
}
.ff-tos { font-size: 12px; color: var(--fg-subtle); }
.ff-tos a { color: var(--brand-blue); cursor: pointer; text-decoration: underline; }
.ff-submit {
  background: var(--brand-blue);
  color: #fff; border: 0;
  font-family: var(--font-sans);
  font-weight: 700; font-size: 14px;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.ff-submit:hover { background: var(--brand-blue-600); }

/* ---------- AWS Partner — full cert grid ---------- */
.sc-aws .sc-section__head { max-width: 720px; }
.sc-aws .sc-section__head h2 { font-size: 34px; }

.sc-aws__partner {
  display: flex; gap: 20px; align-items: center; justify-content: center;
  margin: 0 auto 56px;
  padding: 18px 28px;
  border: 1px solid var(--border-default);
  border-radius: 16px;
  width: fit-content;
  background: linear-gradient(180deg, #EFF4FB 0%, #FFFFFF 100%);
  transition: all var(--dur-fast) var(--ease-out);
}
.sc-aws__partner:hover {
  border-color: var(--brand-blue-200);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10,22,40,0.06);
}
.sc-aws__partner img { width: 85px; height: auto; }
.sc-aws__partner-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-blue);
}
.sc-aws__partner-tier {
  font-size: 17px; font-weight: 700; color: var(--brand-navy);
  margin-top: 2px;
}

.sc-aws__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  align-items: stretch;
  max-width: 1080px; margin: 0 auto;
}
.sc-aws__cert {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--border-default);
  border-radius: 18px;
  background: #fff;
  transition: all var(--dur-fast) var(--ease-out);
}
.sc-aws__cert:hover {
  border-color: var(--brand-blue-200);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10,22,40,0.06);
}
.sc-aws__cert-badge-wrapper {
  width: 100px;
  height: 100px;
  background: #EFF4FB;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sc-aws__cert-badge-wrapper img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.sc-aws__cert-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.sc-aws__cert-meta .tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.sc-aws__cert-meta .name {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.25;
  margin: 0;
}
.sc-aws__cert-meta .code {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 1px;
}

/* ---------- Cintillo CTA ---------- */
.sc-cintillo {
  position: relative;
  background: url('../img/CINTILLO.svg') center/cover no-repeat;
  color: #fff;
  padding: 56px 0;
}
.sc-cintillo__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.sc-cintillo__copy { flex: 1; }
.sc-cintillo__copy h3 { margin: 0 0 8px; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; }
.sc-cintillo__copy p { margin: 0; font-size: 16px; color: rgba(255,255,255,0.85); }

/* ---------- Cintillo Island (Floating Card) ---------- */
.sc-cintillo-island {
  position: relative;
  padding: 48px 0 80px 0;
}
.sc-cintillo-island__form {
  min-width: 420px;
}
@media (max-width: 991px) {
  /* En row el form 100% estrangula el copy: apilar y centrar desde tablet */
  .sc-cintillo-island__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .sc-cintillo-island__form {
    min-width: 0;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}
.sc-cintillo-island__inner {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--grad-headband);
  background-image:
    url('../img/cloud_only.png'),
    linear-gradient(90.06deg, #2C3340 63.03%, #4D87D1 105.03%);
  background-repeat: no-repeat, no-repeat;
  background-size: 220px auto, cover;
  background-position: right -20px bottom -30px, center;
  color: #fff;
  border-radius: 24px;
  padding: 48px 56px;
  display: flex; align-items: center; gap: 32px;
  box-shadow: 0 16px 48px rgba(10,22,40,0.18);
}
.sc-cintillo-island__copy { flex: 1; }
.sc-cintillo-island__copy h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
}

/* ---------- Newsletter ---------- */
.sc-newsletter-island {
  isolation: isolate;
  background: linear-gradient(90deg, #528cd6 0%, #8abcfe 100%) !important;
  background-image: linear-gradient(90deg, #528cd6 0%, #8abcfe 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
}
.sc-newsletter-island::before {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -60px;
  width: 290px;
  height: 290px;
  background-color: #ffffff !important;
  -webkit-mask-image: url('../img/cloud_only.png') !important;
  mask-image: url('../img/cloud_only.png') !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  opacity: 0.22 !important;
  pointer-events: none;
  z-index: 1;
}
.sc-newsletter-island .sc-cintillo-island__copy {
  position: relative;
  z-index: 2;
}
.sc-newsletter-island .sc-newsletter__form-pill {
  position: relative;
  z-index: 2;
}
.sc-newsletter__form-pill {
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}
.sc-newsletter__input-pill {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px 20px;
  font-size: 15px;
  color: #2C3340;
  outline: none;
  font-weight: 500;
}
.sc-newsletter__input-pill::placeholder {
  color: #9CA3AF;
}
.sc-newsletter__btn-pill {
  background: #2C3340;
  color: #ffffff;
  border: 0;
  border-radius: 10px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.sc-newsletter__btn-pill:hover {
  background: #7EB4FC;
  color: #ffffff;
}
.sc-newsletter__success {
  font-size: 16px; font-weight: 600;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 12px;
  padding: 16px 20px;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.sc-newsletter__success.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.sc-footer {
  background: var(--brand-navy-600);
  color: #fff;
  padding: 56px 0 0 0;
  font-size: 14px; line-height: 1.6;
}
.sc-footer__row {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 0.9fr;
  gap: 0;
}
.sc-footer__col {
  display: flex;
  flex-direction: column;
}
.sc-footer__col--identity {
  padding-right: 48px;
}
.sc-footer__col--contact {
  position: relative;
  padding: 0 48px;
}
.sc-footer__col--contact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.sc-footer__col--links {
  position: relative;
  padding-left: 48px;
}
.sc-footer__col--links::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.sc-footer__logo {
  height: 56px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 30px;
  display: block;
}
.sc-footer__desc {
  color: rgba(255, 255, 255, 0.70);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  max-width: 320px;
}
.sc-footer__title {
  color: var(--brand-blue-400);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.sc-footer__contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.88);
}
.sc-footer__contact-info p i {
  color: var(--brand-blue-400);
  font-size: 15px;
  width: 20px;
}
.sc-footer__contact-info p span {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-right: 4px;
}
.sc-footer__contact-info p a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.25s ease;
}
.sc-footer__contact-info p a:hover {
  color: #fff;
}
.sc-footer__social-partner {
  display: flex;
  gap: 52px;
  align-items: center;
  margin-top: 0;
}
.sc-footer__social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.sc-footer__social-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}
.sc-footer__aws-badge {
  height: 32px;
  width: auto;
  opacity: 0.9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sc-footer__aws-badge:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.sc-footer__col--links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sc-footer__col--links li {
  margin: 0;
}
.sc-footer__col--links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}
.sc-footer__col--links a:hover {
  color: var(--brand-blue-400);
  transform: translateX(4px);
}
.sc-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  margin-top: 36px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.40);
  text-align: left;
  width: 100%;
}

/* ==========================================================================
   GLOBAL RESPONSIVE DESIGN (SENIOR DEVELOPER SYSTEM)
   ========================================================================== */

/* ---------- Large/Medium Tablets & Small Laptops (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
  /* Container and General Spacing */
  .sc-container {
    padding: 0 32px;
  }
  .sc-section {
    padding: 80px 0;
  }

  /* Header adjustments */
  .sc-headband__inner {
    padding: 8px 32px;
    gap: 20px;
  }
  .sc-nav__inner {
    padding: 0 32px;
  }

  /* Hero Section Responsiveness */
  .sc-hero {
    padding: 100px 0 120px;
  }
  .sc-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .sc-hero__eyebrow {
    justify-content: center;
  }
  .sc-hero__eyebrow::before {
    display: none;
  }
  .sc-hero h1 {
    font-size: 60px;
  }
  .sc-hero p.sc-lead-light {
    margin: 20px auto 32px;
  }
  .sc-hero__buttons {
    justify-content: center;
  }
  .sc-hero__visual {
    display: none;
  }

  .sc-hero__stats {
    margin-top: 60px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
    padding: 24px;
  }
  /* Apilado 2x2: sin separadores internos, solo el borde de la tarjeta */
  .sc-hero__stats .stat,
  .sc-hero__stats-partner-slot {
    border: none !important;
    padding-left: 0;
  }

  /* Services Grid Adaptability */
  .sc-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Why Us (Benefits Grid) */
  .sc-why__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .sc-benefit {
    min-height: 220px;
  }

  /* AWS Certifications */
  .sc-aws__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Contact Form */
  .sc-contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .sc-contact__list {
    align-items: center;
  }
  .sc-contact__form {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  /* Newsletter */
  .sc-newsletter__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .sc-newsletter__copy p {
    margin: 0 auto;
  }
  .sc-newsletter__form-pill {
    max-width: 500px;
    margin: 20px auto 0;
    width: 100%;
  }

  /* Footer: identidad centrada en su propia fila; columnas simétricas sin separadores */
  .sc-footer__row {
    grid-template-columns: 1fr 1fr;
    gap: 48px 32px;
  }
  .sc-footer__col--identity {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    padding-right: 0;
  }
  .sc-footer__col--identity .sc-footer__logo {
    align-self: center;
  }
  .sc-footer__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .sc-footer__social-partner {
    justify-content: center;
  }
  .sc-footer__col--contact,
  .sc-footer__col--links {
    padding: 0;
    align-items: center;
    text-align: center;
  }
  .sc-footer__col--contact::before,
  .sc-footer__col--links::before {
    display: none;
  }
  .sc-footer__legal {
    text-align: center;
  }
}

/* ---------- Mobile Devices (max-width: 768px) ---------- */
@media (max-width: 768px) {
  /* Container spacing for mobile */
  .sc-container {
    padding: 0 20px;
  }
  .sc-section {
    padding: 60px 0;
  }
  .sc-section__head h2 {
    font-size: 30px;
  }
  .sc-section__head p {
    font-size: 16px;
  }

  /* Hero Section Mobile: contenido alineado a la izquierda como en desktop */
  .sc-hero {
    padding: 60px 0 80px;
  }
  .sc-hero__bg {
    background-size: cover;
    background-position: 53% 35%;
  }
  /* En vez de oscurecer la foto (apaga el color), la legibilidad del párrafo se resuelve local
     con sombra marcada (el botón ya usa el estilo "esmerilado" base de .sc-btn--ghost). */
  .sc-hero p.sc-lead-light {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 12px rgba(0, 0, 0, 0.5);
  }
  .sc-hero__inner {
    text-align: left;
  }
  .sc-hero h1 {
    font-size: 54px;
  }
  .sc-hero p.sc-lead-light {
    font-size: 15px;
    margin: 16px 0 24px;
  }
  .sc-hero__buttons {
    justify-content: flex-start;
  }
  /* Sin el gráfico central, los badges flotantes pierden su ancla visual */
  .sc-hero__visual {
    display: none;
  }
  .sc-hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  /* Services Mobile (1 column) */
  .sc-services__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Why Us (Benefits Grid Mobile) */
  .sc-why__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sc-benefit {
    min-height: auto;
  }

  /* Cintillo CTA stacking */
  .sc-cintillo {
    padding: 44px 0;
  }
  .sc-cintillo__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .sc-cintillo__copy h3 {
    font-size: 22px;
  }
  .sc-cintillo__copy p {
    font-size: 14px;
  }
  .sc-cintillo .sc-btn {
    align-self: center;
    padding: 14px 32px;
  }

  /* Cintillo Island stacking */
  .sc-contact {
    padding-bottom: 32px;
  }
  .sc-cintillo-island {
    padding-top: 32px;
    padding-bottom: 60px;
  }
  .sc-cintillo-island__inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }
  .sc-cintillo-island__copy h3 {
    font-size: 22px;
  }
  .sc-cintillo-island .sc-btn {
    align-self: center;
    padding: 14px 32px;
  }

  /* Contact Form Fields Mobile */
  .sc-contact__form {
    padding: 28px 18px;
  }
  .ff-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ff-cta-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .ff-submit {
    width: 100%;
    justify-content: center;
  }

  /* AWS Certifications Grid Mobile */
  .sc-aws__grid {
    grid-template-columns: 1fr;
  }
  .sc-aws__partner {
    flex-direction: column;
    text-align: center;
  }

  /* Newsletter Stacking */
  .sc-newsletter__form-pill {
    flex-direction: column;
    border-radius: 12px;
    padding: 8px;
    gap: 8px;
  }
  .sc-newsletter__input-pill {
    width: 100%;
    text-align: center;
    padding: 8px 12px;
  }
  .sc-newsletter__btn-pill {
    width: 100%;
    justify-content: center;
  }

  /* Footer Columns Mobile */
  .sc-footer__row {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .sc-footer__col {
    align-items: center;
    border-left: none !important;
    padding-left: 0 !important;
  }
  .sc-footer__col::before {
    display: none !important;
  }
  .sc-footer__logo {
    align-self: center;
    margin: 0 auto 20px;
  }
  .sc-footer__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .sc-footer__social-partner {
    justify-content: center;
    margin: 16px auto 0 auto;
  }
  .sc-footer__col--links a:hover {
    transform: none;
  }
  .sc-footer__legal {
    text-align: center;
    /* Deja libre la esquina del botón flotante de WhatsApp */
    padding-bottom: 84px;
  }
}

/* ── Opción J — AWS Well-Architected Framework ──────────────── */
.sc-framework-j {
  background: var(--gray-50);
  padding: 100px 0;
}

.sc-framework-j__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}

/* Left column */
.sc-framework-j__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sc-framework-j__aws {
  height: 44px;
  width: auto;
  margin-bottom: 28px;
}

.sc-framework-j__label {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.sc-framework-j__left h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
}

.sc-framework-j__left h2 em {
  font-style: normal;
  color: var(--brand-blue);
}

.sc-framework-j__left p {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--fg-muted);
  margin: 0 0 36px;
  max-width: 40ch;
  text-wrap: pretty;
}

.sc-framework-j__cta {
  background: var(--brand-blue);
  color: var(--white);
  border: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.sc-framework-j__cta:hover {
  background: var(--brand-blue-600);
  transform: translateY(-2px);
}

/* Right grid — chips */
.sc-framework-j__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sc-framework-j__chip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.sc-framework-j__chip:hover {
  box-shadow: 0 8px 24px rgba(77,135,209,0.12);
  border-color: var(--brand-blue-300);
  transform: translateY(-2px);
}

.sc-framework-j__chip-icon {
  width: 40px;
  height: 40px;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-framework-j__chip-icon i {
  font-size: 30px;
  line-height: 1;
}

.sc-framework-j__chip-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  margin-bottom: -4px;
}

.sc-framework-j__chip h4 {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.35;
  text-wrap: balance;
}

.sc-framework-j__chip p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .sc-framework-j__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  /* En una sola columna el bloque introductorio funciona centrado */
  .sc-framework-j__left {
    align-items: center;
    text-align: center;
  }
  .sc-framework-j__left h2 { font-size: 28px; }
  .sc-framework-j__left p  { max-width: 100%; }
}

@media (max-width: 560px) {
  .sc-framework-j__grid { grid-template-columns: repeat(2, 1fr); }
  .sc-framework-j { padding: 64px 0; }
}

/* ============================= WhatsApp flotante ============================= */
.sc-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90; /* sobre el contenido, debajo del header/menú (100-110) */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366; /* verde de marca WhatsApp */
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sc-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}
.sc-whatsapp:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.4);
  outline-offset: 3px;
}
.sc-whatsapp svg { display: block; }

@media (max-width: 560px) {
  .sc-whatsapp { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .sc-whatsapp svg { width: 26px; height: 26px; }
}

/* ============================= Estados de error / envío (formularios) ============================= */
.ff-field--error { border-color: #D74848; box-shadow: 0 0 0 4px rgba(215, 72, 72, 0.14); }
.ff-field--error .ff-label { color: #D74848; }
.sc-form-error { color: #D74848; font-size: 13px; font-weight: 500; margin: -2px 0 2px; }
.ff-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.sc-newsletter__input-pill.is-error { outline: 2px solid #ffd5d5; outline-offset: 1px; }
.sc-newsletter__btn-pill:disabled { opacity: 0.7; cursor: not-allowed; }

/* reCAPTCHA: visible por encima del contenido y del botón de WhatsApp. */
.grecaptcha-badge {
  z-index: 999999 !important;
  bottom: 110px !important;
  zoom: 0.85; /* zoom (no transform) para no romper su animación */
}

/* ============================= Reveal on scroll (fade + sube) ============================= */
.reveal {
  /* Sin transition acá a propósito: el estado oculto se aplica instantáneo,
     así agregar esta clase no dispara un fundido de salida involuntario. */
  opacity: 0;
  transform: translateY(24px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Botón de WhatsApp: aparece con un pequeño "pop" al cargar la página.
   Usa `animation` (no `transition`) para no pisar la transición de hover que ya tiene. */
@keyframes sc-pop-in {
  from { opacity: 0; transform: scale(0.5) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.sc-whatsapp { opacity: 0; }
.sc-whatsapp.is-visible {
  opacity: 1;
  animation: sc-pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .sc-whatsapp { opacity: 1; animation: none; }
}

/* Extra small mobile screens support */
@media (max-width: 480px) {
  .sc-hero h1 {
    font-size: 42px;
  }
}

/* Ritmo vertical del cierre en desktop: las uniones con cambio de color
   respiran igual (136px); la que no lo tiene se acorta, porque sin frontera
   el espacio se lee como vacío. Móvil ya estaba resuelto más arriba. */
@media (min-width: 1025px) {
  .sc-cintillo + #contacto {
    padding-top: 104px;
  }
  .sc-contact {
    padding-bottom: 56px;
  }
}

/* Mismo ajuste en tablet: la regla genérica .sc-section{padding:80px 0}
   del breakpoint de 1024px infla este cierre a 128px. Se acorta a 104px,
   igual que en desktop, para el mismo tramo blanco→blanco sin frontera. */
@media (min-width: 769px) and (max-width: 1024px) {
  .sc-contact {
    padding-bottom: 56px;
  }
}
