/* ============================================================
   NETLANTIC S.A.S. — DESIGN SYSTEM
   Creative North Star: The Precision Architect
   Editorial Tech aesthetic · Material Design 3 tokens
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---- Design Tokens ---- */
:root {
  /* Primary */
  --primary:                   #001e40;
  --primary-container:         #003366;
  --on-primary:                #ffffff;
  --on-primary-container:      #799dd6;
  --primary-fixed:             #d5e3ff;
  --primary-fixed-dim:         #a7c8ff;
  --on-primary-fixed:          #001b3c;
  --on-primary-fixed-variant:  #1f477b;
  --inverse-primary:           #a7c8ff;

  /* Secondary */
  --secondary:                 #585f69;
  --secondary-container:       #d9e0eb;
  --on-secondary:              #ffffff;
  --on-secondary-container:    #5c636d;
  --secondary-fixed:           #dce3ee;
  --secondary-fixed-dim:       #c0c7d2;

  /* Tertiary */
  --tertiary:                  #001f3c;
  --tertiary-container:        #00345f;
  --on-tertiary:               #ffffff;
  --on-tertiary-container:     #679ee1;

  /* Surface hierarchy */
  --surface:                   #f7f9fb;
  --surface-bright:            #f7f9fb;
  --surface-container-lowest:  #ffffff;
  --surface-container-low:     #f2f4f6;
  --surface-container:         #eceef0;
  --surface-container-high:    #e6e8ea;
  --surface-container-highest: #e0e3e5;
  --surface-variant:           #e0e3e5;
  --surface-dim:               #d8dadc;
  --surface-tint:              #3a5f94;

  /* On-surface */
  --on-surface:                #191c1e;
  --on-surface-variant:        #43474f;
  --on-background:             #191c1e;
  --background:                #f7f9fb;

  /* Outline */
  --outline:                   #737780;
  --outline-variant:           #c3c6d1;

  /* Error */
  --error:                     #ba1a1a;
  --error-container:           #ffdad6;

  /* Inverse */
  --inverse-surface:           #2d3133;
  --inverse-on-surface:        #eff1f3;

  /* Radius — "machined" sharp look */
  --r-sm:  0.125rem;
  --r-md:  0.25rem;
  --r-lg:  0.5rem;
  --r-xl:  0.75rem;

  /* Shadow */
  --shadow-ambient: 0px 12px 32px rgba(25, 28, 30, 0.06);
  --shadow-float:   0px 20px 48px rgba(25, 28, 30, 0.10);
}

/* ---- Base ---- */
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--surface);
  color: var(--on-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
}

img { display: block; max-width: 100%; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 1.5rem;
  line-height: 1;
}

/* ---- Layout ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.bg-surface { background-color: var(--surface); }

/* Section header: column on small, row on md+ */
@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  background: #25d366;
  color: white;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45),
              0 2px 8px  rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.2);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.35); opacity: 0; }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6),
              0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
  width: 1.875rem;
  height: 1.875rem;
  position: relative;
  z-index: 1;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 0.875rem);
  background: #1a1a2e;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--r-lg);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0.5rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a2e;
}

.whatsapp-tooltip-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #25d366;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.whatsapp-tooltip-number {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Estado inicial: mismo fondo oscuro que el carrusel */
  background: var(--primary);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

/* Estado scrolled: blanco con transparencia y blur */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(25, 28, 30, 0.10);
}

/* Variante para páginas sin hero oscuro (contacto) */
.navbar--light {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(25, 28, 30, 0.10);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
}

.navbar-brand {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 3.25rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}

.navbar.scrolled .navbar-logo,
.navbar--light .navbar-logo {
  filter: none;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

/* Links: blancos en modo oscuro */
.nav-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.nav-link:hover { color: #ffffff; }

.nav-link.active {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.65);
}

/* Links: oscuros en modo scrolled / light */
.navbar.scrolled .nav-link,
.navbar--light .nav-link {
  color: var(--secondary);
}

.navbar.scrolled .nav-link:hover,
.navbar--light .nav-link:hover {
  color: var(--primary);
}

.navbar.scrolled .nav-link.active,
.navbar--light .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.625rem 1.5rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  border-radius: var(--r-lg);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.btn-primary:hover  { opacity: 0.85; }
.btn-primary:active { transform: scale(0.95); }

/* ---- Hamburger (mobile) ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.90);
  transition: transform 0.3s, opacity 0.3s, background 0.35s;
  transform-origin: center;
}

.navbar.scrolled .hamburger span,
.navbar--light .hamburger span {
  background: var(--primary);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: linear-gradient(45deg, #001e40 0%, #003366 100%);
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-text { display: flex; flex-direction: column; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.875rem;
  border-radius: var(--r-xl);
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--on-primary-container);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: #cbd5e1;
  max-width: 34rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: var(--r-lg);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-hero-primary:hover { background: var(--surface-variant); }

.btn-hero-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--r-lg);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-hero-secondary:hover { background: rgba(255, 255, 255, 0.1); }

/* ---- Hero visual / logo card ---- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 1;
}

.hero-card-bg {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
}

.hero-card-bg--1 {
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(6deg);
}

.hero-card-bg--2 {
  background: rgba(0, 51, 102, 0.2);
  transform: rotate(-3deg);
}

.hero-card {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.section-desc {
  color: var(--secondary);
  max-width: 22rem;
  line-height: 1.6;
}

/* ============================================================
   BENTO GRID — CAPACIDADES
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento-card {
  padding: 2rem;
  border-radius: var(--r-xl);
  transition: all 0.5s ease;
}

/* Main card (Sistemas SAS) — 2×2 */
.bento-main {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--surface-container-low);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-main:hover,
.bento-main.hover {
  background: var(--primary);
}

.bento-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-lg);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.5s, color 0.5s;
}

.bento-main:hover .bento-icon,
.bento-main.hover .bento-icon {
  background: white;
}

.bento-icon .material-symbols-outlined {
  color: white;
  font-size: 1.5rem;
}

.bento-main:hover .bento-icon .material-symbols-outlined,
.bento-main.hover .bento-icon .material-symbols-outlined {
  color: var(--primary);
}

.bento-main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: color 0.5s;
}

.bento-main-desc {
  color: var(--secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  transition: color 0.5s;
}

.bento-main:hover .bento-main-title,
.bento-main.hover .bento-main-title {
  color: white;
}

.bento-main:hover .bento-main-desc,
.bento-main.hover .bento-main-desc {
  color: #94a3b8;
}

.bento-main-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-top: 2rem;
  opacity: 0.8;
  background: var(--surface-container);
  transition: opacity 0.5s;
}

.bento-main:hover .bento-main-img,
.bento-main.hover .bento-main-img {
  opacity: 1;
}

/* Consulting card — 2 cols, 1 row */
.bento-consulting {
  grid-column: span 2;
  background: white;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-ambient);
  transition: box-shadow 0.3s;
}

.bento-consulting:hover {
  box-shadow: var(--shadow-float);
}

.bento-consulting-body {
  flex: 1;
}

.bento-consulting-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.bento-consulting-desc {
  font-size: 0.8125rem;
  color: var(--secondary);
  line-height: 1.55;
}

.bento-consulting-icon {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  background: var(--surface-container);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-consulting-icon .material-symbols-outlined {
  font-size: 2rem;
  color: var(--primary);
}

/* Project Management card */
.bento-pm {
  background: var(--surface-container-highest);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-pm-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.bento-pm-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
}

.bento-pm-desc {
  font-size: 0.75rem;
  color: var(--secondary);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Dev card */
.bento-dev {
  background: var(--primary);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.bento-dev-content { position: relative; z-index: 1; }

.bento-dev-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bento-dev-desc {
  font-size: 0.75rem;
  color: #94a3b8;
}

.bento-dev-bg-icon {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  opacity: 0.1;
  font-size: 7.5rem !important;
  color: white;
}

/* ============================================================
   CERTIFICATIONS BANNER
   ============================================================ */
.certs-section {
  padding: 3rem 0;
  background: var(--surface-container-low);
}

.certs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.7s, filter 0.7s;
}

.certs-inner:hover {
  opacity: 1;
  filter: grayscale(0);
}

.cert-badge {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--primary);
  letter-spacing: 0.1em;
}

/* ============================================================
   QUOTE / STATS
   ============================================================ */
.quote-section { overflow: hidden; }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.quote-img-wrapper { position: relative; }

.quote-img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  filter: grayscale(1);
  transition: filter 1s;
  background: var(--surface-container);
  min-height: 18rem;
  object-fit: cover;
}

.quote-img:hover { filter: grayscale(0); }

.quote-stat-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: var(--r-xl);
}

.quote-stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.quote-stat-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.7;
  font-weight: 700;
  margin-top: 0.25rem;
}

.quote-accent-line {
  width: 3rem;
  height: 0.25rem;
  background: var(--primary);
  margin-bottom: 1.5rem;
}

.quote-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quote-author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-author-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9375rem;
}

.quote-author-role {
  font-size: 0.875rem;
  color: var(--secondary);
}

.quote-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-container-highest);
}

.quote-metric h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.quote-metric p {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-top: 0.2rem;
}

/* ============================================================
   SERVICES HERO
   ============================================================ */
.services-hero {
  min-height: 40rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
}

.services-hero-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
}

.services-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.services-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
  border-radius: var(--r-sm);
}

.services-hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 2rem;
}

.services-hero-title span {
  color: var(--primary-fixed-dim);
}

.services-hero-subtitle {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 40rem;
  line-height: 1.65;
}

/* ============================================================
   SERVICES EDITORIAL GRID
   ============================================================ */
.services-editorial {
  padding: 6rem 0;
  background: var(--surface);
}

.editorial-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.svc-card {
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.svc-card--consulting {
  grid-column: span 7;
  background: var(--surface-container-low);
}

.svc-card--dev {
  grid-column: span 5;
  background: var(--primary);
  color: white;
}

.svc-card--pm {
  grid-column: span 5;
  background: var(--surface-container-highest);
}

.svc-card--callout {
  grid-column: span 7;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.svc-icon {
  font-size: 2.5rem !important;
  margin-bottom: 2rem;
  display: block;
}

.svc-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.svc-desc {
  line-height: 1.65;
  margin-bottom: 2rem;
  color: var(--secondary);
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.svc-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--on-surface);
  font-size: 0.9375rem;
}

.svc-list li::before {
  content: '';
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--primary);
  flex-shrink: 0;
}

.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: gap 0.3s;
}

.svc-card--consulting:hover .svc-cta { gap: 1rem; }

.svc-img-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.08;
  transform: translateX(3rem);
  filter: grayscale(1);
  transition: opacity 0.7s, filter 0.7s;
  pointer-events: none;
}

.svc-img-bg img {
  height: 100%;
  object-fit: cover;
}

.svc-card--consulting:hover .svc-img-bg {
  opacity: 0.18;
  filter: grayscale(0);
}

/* Dev card specifics */
.svc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.svc-stat-value {
  font-family: 'Manrope', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: white;
}

.svc-stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #4b5563;
  margin-top: 0.25rem;
}

.svc-dev-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.5;
  margin-bottom: 2.5rem;
  background: var(--tertiary-container);
}

.btn-svc {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  background: white;
  color: var(--primary);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: var(--r-md);
}

.btn-svc:hover { background: var(--surface-container); }

/* PM card specifics */
.pm-info-blocks { display: flex; flex-direction: column; gap: 1.25rem; }

.pm-info-block {
  background: var(--surface);
  padding: 1rem;
  border-left: 4px solid var(--primary);
}

.pm-info-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.pm-info-value {
  font-weight: 600;
  color: var(--on-surface);
  font-size: 0.9375rem;
}

/* Callout card */
.callout-bg-text {
  position: absolute;
  font-family: 'Manrope', sans-serif;
  font-size: 14rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.03;
  transform: rotate(-12deg) translateY(4rem);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.callout-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 28rem;
  position: relative;
  z-index: 1;
}

.callout-desc {
  color: var(--secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 36rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.callout-lines {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.callout-line {
  width: 3rem;
  height: 0.25rem;
  border-radius: var(--r-sm);
}

/* ============================================================
   DNA PILLARS
   ============================================================ */
.dna-section {
  padding: 6rem 0;
  background: var(--surface-container-low);
}

.dna-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 4rem;
}

.dna-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--on-surface);
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.dna-desc {
  color: var(--secondary);
  max-width: 26rem;
  line-height: 1.6;
}

.dna-big {
  font-family: 'Manrope', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}

.dna-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(195, 198, 209, 0.2);
}

.dna-pillar {
  background: var(--surface-container-low);
  padding: 3rem 2rem;
  transition: background 0.5s;
}

.dna-pillar:hover { background: white; }

.dna-pillar-icon {
  font-size: 1.875rem !important;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  display: block;
  transition: color 0.4s;
}

.dna-pillar:hover .dna-pillar-icon { color: var(--primary); }

.dna-pillar-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--on-surface);
}

.dna-pillar-desc {
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 6rem 1.5rem;
}

.cta-box {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--primary);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: row;
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}

.cta-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content {
  flex: 2;
  padding: 4rem 4rem 4rem 5rem;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.cta-desc {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 2.5rem;
  line-height: 1.65;
  text-align: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-cta-primary {
  background: white;
  color: var(--primary);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--r-lg);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cta-primary:hover { background: var(--surface-variant); }

.btn-cta-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-lg);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cta-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.cta-support {
  flex: 1;
  background: var(--primary-container);
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 2rem;
  text-align: center;
}

/* Brand panel (replaces support) */
.cta-brand-panel {
  position: relative;
  overflow: hidden;
  gap: 0.5rem;
}

.cta-brand-glow {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,200,255,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-brand-logo {
  width: 7rem;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
  padding: 0.5rem 0.75rem;
  background: white;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.cta-brand-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-brand-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-fixed-dim);
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 6rem 0;
  background: var(--surface);
}

.contact-hero {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 5rem;
}

.contact-hero-text { flex: 7; }

.contact-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.contact-title span {
  color: var(--secondary);
  font-style: italic;
  font-weight: 300;
}

.contact-subtitle {
  font-size: 1.0625rem;
  color: var(--secondary);
  max-width: 32rem;
  font-weight: 500;
  line-height: 1.65;
}

.contact-hero-img { flex: 5; }

.contact-hero-img-wrapper {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface-container-low);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}

.contact-hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero-img-overlay { display: none; }

.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
}

/* Form card */
.contact-form-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 3rem;
  box-shadow: var(--shadow-ambient);
}

.form-label-sm {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.form-label-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  margin-left: 0.25rem;
}

.form-control {
  width: 100%;
  background: var(--surface-container-highest);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: var(--r-lg);
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-surface);
  outline: none;
  transition: border-bottom-color 0.2s;
  appearance: none;
}

.form-control:focus { border-bottom-color: var(--primary); }

.form-control::placeholder { color: rgba(115, 119, 128, 0.45); }

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23585f69'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 7rem;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(to right, var(--primary), var(--primary-container));
  color: white;
  padding: 1rem;
  border: none;
  border-radius: var(--r-lg);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: box-shadow 0.2s, transform 0.15s;
}

.btn-submit:hover {
  box-shadow: 0 8px 24px rgba(0, 30, 64, 0.3);
}

.btn-submit:active { transform: scale(0.98); }

/* Info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-location-card {
  background: var(--primary);
  color: white;
  padding: 2rem;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.info-location-sublabel {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--on-primary-container);
  margin-bottom: 1.25rem;
}

.info-location-city {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-location-address {
  color: var(--primary-fixed-dim);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.info-location-map-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  cursor: pointer;
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.info-location-map-link:hover { color: var(--secondary-fixed); }

.info-location-bg-icon {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  opacity: 0.08;
  font-size: 10rem !important;
  color: white;
}

.info-contact-card {
  background: var(--surface-container-low);
  padding: 0.5rem 2rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(195, 198, 209, 0.2);
}

.info-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(195, 198, 209, 0.15);
}

.info-contact-item:last-child { border-bottom: none; }

.info-contact-icon-wrap {
  background: white;
  padding: 0.625rem;
  border-radius: var(--r-md);
  box-shadow: 0 2px 8px rgba(25, 28, 30, 0.08);
  flex-shrink: 0;
  display: flex;
}

.info-contact-icon-wrap .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.25rem;
}

.info-contact-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}

.info-contact-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9375rem;
}

.info-map-card {
  height: 16rem;
  background: var(--secondary-container);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}

.info-map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.5;
}

.info-map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.info-map-pin {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-map-pin-inner {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: var(--r-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-map-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.info-map-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.6); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--r-lg);
  padding: 0.5rem 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 0;
  transition: opacity 0.2s;
}

.footer-logo-link:hover {
  opacity: 0.9;
}

.footer-logo {
  height: 3rem;
  width: auto;
  display: block;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-mail {
  text-decoration: none;
  transition: color 0.2s;
}

.footer-mail:hover {
  color: #3b82f6;
}

.footer-address-icon {
  font-size: 1.25rem;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.65;
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  letter-spacing: 0.025em;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

/* Newsletter */
.footer-newsletter {
  position: relative;
}

.footer-newsletter-input {
  width: 100%;
  background: var(--primary-container);
  border: none;
  border-radius: var(--r-lg);
  padding: 0.75rem 3rem 0.75rem 1rem;
  font-size: 0.875rem;
  color: white;
  outline: none;
}

.footer-newsletter-input::placeholder {
  color: rgba(167, 200, 255, 0.45);
}

.footer-newsletter-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.footer-newsletter-btn:hover {
  color: var(--on-primary-container);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #6b7280;
  letter-spacing: 0.025em;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.footer-social a svg {
  width: 0.9375rem;
  height: 0.9375rem;
  flex-shrink: 0;
}

.footer-social a:hover {
  color: white;
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   BTN-PRIMARY COMO ENLACE <a>
   ============================================================ */
a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ============================================================
   BTN LINK (texto con flecha, usado en bento)
   ============================================================ */
.btn-link-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.125rem;
  transition: gap 0.3s;
}

.btn-link-primary:hover { gap: 1rem; }

/* ============================================================
   ABOUT HERO (Nosotros)
   ============================================================ */
.about-hero {
  min-height: 40rem;
  background: linear-gradient(135deg, #001e40 0%, #003366 60%, #001f3c 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  z-index: 0;
}

.about-hero-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  mix-blend-mode: luminosity;
}

.about-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* ============================================================
   STATS ROW (Nosotros)
   ============================================================ */
.about-stats-section {
  padding: 4rem 0;
  background: var(--primary);
}

.about-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.375rem;
  flex: 1;
  min-width: 10rem;
}

.about-stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--on-primary-container);
}

.about-stat-divider {
  width: 1px;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ============================================================
   VALUES SECTION (Nosotros)
   ============================================================ */
.values-section {
  background: var(--surface);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-ambient);
  transition: box-shadow 0.3s, transform 0.3s;
}

.value-card:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-4px);
}

.value-card--featured {
  background: var(--primary);
}

.value-card--featured .value-title,
.value-card--featured .value-desc {
  color: white;
}

.value-card--featured .value-icon-wrap {
  background: var(--primary-container);
}

.value-card--featured .value-icon-wrap .material-symbols-outlined {
  color: var(--primary-fixed-dim);
}

.value-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-lg);
  background: var(--surface-container-low);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.value-icon-wrap .material-symbols-outlined {
  font-size: 1.75rem !important;
  color: var(--primary);
}

.value-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.value-desc {
  font-size: 0.9375rem;
  color: var(--secondary);
  line-height: 1.65;
}

/* ============================================================
   CERTS EXPANDED (Nosotros)
   ============================================================ */
.certs-section--expanded {
  padding: 5rem 0;
  background: var(--surface-container-low);
}

.certs-inner--static {
  opacity: 1;
  filter: none;
  justify-content: center;
  gap: 3rem;
}

/* ============================================================
   CONTACT PAGE MAIN
   ============================================================ */
.contact-page-main {
  padding-top: 0;
}

/* ============================================================
   CONTACT WA SHORTCUT
   ============================================================ */
.required-star {
  color: #e53935;
  margin-left: 0.2rem;
}

.form-control--error {
  border-bottom-color: #e53935 !important;
  background: rgba(229, 57, 53, 0.06) !important;
}

.form-validation-msg {
  display: none;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(229, 57, 53, 0.07);
  border: 1px solid rgba(229, 57, 53, 0.25);
  border-radius: var(--r-lg);
  padding: 0.75rem 1rem;
  color: #c62828;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.form-validation-msg.visible { display: flex; }

.contact-wa-shortcut {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-container-high);
}

.contact-wa-shortcut p {
  font-size: 0.9rem;
  color: var(--secondary);
}

.contact-wa-shortcut a {
  color: #25d366;
  font-weight: 700;
  text-decoration: none;
}

.contact-wa-shortcut a:hover {
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Section spacing */
  .section { padding: 5rem 0; }

  /* Bento */
  .bento-grid           { grid-template-columns: repeat(2, 1fr); }
  .bento-main           { grid-column: span 2; grid-row: span 1; }
  .bento-consulting     { grid-column: span 2; }

  /* Services editorial */
  .editorial-grid       { grid-template-columns: 1fr 1fr; }
  .svc-card--consulting { grid-column: span 2; }
  .svc-card--dev        { grid-column: span 1; }
  .svc-card--pm         { grid-column: span 1; }
  .svc-card--callout    { grid-column: span 2; }

  /* DNA */
  .dna-pillars          { grid-template-columns: repeat(2, 1fr); }

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

  /* Contact */
  .contact-grid         { grid-template-columns: 1fr; }
  .contact-hero         { gap: 2rem; }
  .contact-hero-img     { max-width: 22rem; }

  /* About / Nosotros */
  .about-text-grid      { gap: 2.5rem; }

  /* Carousel */
  .hc-visual-col        { min-width: 11rem; }
  .hc-icon-card         { width: 8.5rem; height: 8.5rem; }
  .hc-svc-icon          { font-size: 3.5rem !important; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Container */
  .container { padding: 0 1rem; }

  /* Section spacing */
  .section         { padding: 4rem 0; }
  .mv-section      { padding: 4rem 0; }
  .about-text-section { padding-top: 4rem; padding-bottom: 4rem; }

  /* ── Navigation ── */
  .navbar-logo  { height: 2.75rem; }
  .navbar-brand { height: auto; }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 24px rgba(25, 28, 30, 0.12);
  }
  .navbar-links.open { display: flex; }

  /* Links en el menú móvil siempre oscuros (fondo blanco) */
  .navbar-links .nav-link,
  .navbar.scrolled .navbar-links .nav-link,
  .navbar--light .navbar-links .nav-link {
    color: var(--secondary);
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--outline-variant);
    width: 100%;
    font-size: 1rem;
  }
  .navbar-links .nav-link.active,
  .navbar.scrolled .navbar-links .nav-link.active,
  .navbar--light .navbar-links .nav-link.active {
    border-bottom: 1px solid var(--outline-variant);
    color: var(--primary);
    border-bottom-color: var(--outline-variant);
  }

  .hamburger { display: flex; }
  .btn-primary { display: none; }

  /* ── Section header ── */
  .section-header { flex-direction: column; gap: 0.75rem; }
  .section-desc   { max-width: 100%; }

  /* ── Hero (old) ── */
  .hero-content  { grid-template-columns: 1fr; padding: 3rem 1rem; }
  .hero-visual   { display: none; }

  /* ── Carousel ── */
  .hc            { height: min(80vh, 640px); min-height: 520px; }
  .hc-slide-content {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: 5rem;
  }
  .hc-visual-col { display: none; }
  .hc-title      { font-size: clamp(1.875rem, 7vw, 2.75rem); }
  .hc-desc       { font-size: 0.9375rem; }
  .hc-arrow      { top: auto; bottom: 1.625rem; transform: none; width: 2.25rem; height: 2.25rem; }
  .hc-arrow:hover { transform: scale(1.05); }
  .hc-arrow--prev { left: 0.75rem; }
  .hc-arrow--next { right: 0.75rem; }
  .hc-slide-backdrop .material-symbols-outlined { font-size: 16rem; }

  /* ── Nosotros text ── */
  .about-text-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .vs-card          { padding: 2rem; }
  .about-lead       { font-size: 1rem; }

  /* ── Misión & Visión ── */
  .mv-grid          { grid-template-columns: 1fr; }
  .mv-card          { padding: 2rem; }

  /* ── Bento grid ── */
  .bento-grid       { grid-template-columns: 1fr; }
  .bento-main       { grid-column: span 1; grid-row: span 1; }
  .bento-consulting { grid-column: span 1; flex-direction: column; }
  .bento-main-img   { height: 9rem; }

  /* ── Services hero ── */
  .services-hero        { padding: 4rem 0 4rem; min-height: auto; }
  .services-hero-title  { font-size: clamp(2.25rem, 8vw, 3.5rem); }

  /* ── Services editorial ── */
  .editorial-grid       { grid-template-columns: 1fr; }
  .svc-card--consulting,
  .svc-card--dev,
  .svc-card--pm,
  .svc-card--callout    { grid-column: span 1; }
  .svc-card--consulting { flex-direction: column; }
  .svc-img-bg           { height: 10rem; width: 100%; }
  .svc-card             { min-height: auto; padding: 2rem; }

  /* ── DNA section ── */
  .dna-section  { padding: 3rem 0; }
  .dna-header   { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .dna-big      { display: none; }
  .dna-pillars  { grid-template-columns: 1fr; gap: 1rem; }

  /* ── Quote section (Nosotros) ── */
  .quote-grid     { grid-template-columns: 1fr; }
  .quote-stat-card { position: static; margin-top: 1rem; display: inline-block; }

  /* ── About stats ── */
  .about-stats-row { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
  .about-stat-item { min-width: 42%; }
  .about-stat-divider { display: none; }

  /* ── Values ── */
  .values-grid  { grid-template-columns: 1fr; }

  /* ── Certs ── */
  .certs-inner  { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* ── CTA ── */
  .cta-box      { flex-direction: column; padding: 2.5rem 1.5rem; gap: 2rem; }
  .cta-title    { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* ── Contact ── */
  .contact-page-main    { padding-top: 0; }
  .contact-hero         { flex-direction: column; gap: 2rem; }
  .contact-hero-text    { text-align: center; }
  .contact-subtitle     { max-width: 100%; }
  .contact-hero-img     { width: 100%; max-width: 100%; }
  .contact-hero-img-wrapper { max-height: 18rem; }
  .contact-grid         { grid-template-columns: 1fr; }
  .contact-form-card    { padding: 2rem; }
  .form-row             { grid-template-columns: 1fr; gap: 1rem; }
  .contact-title        { font-size: clamp(2rem, 7vw, 2.75rem); }

  /* ── About hero ── */
  .about-hero           { padding: 4rem 0 4rem; min-height: auto; }
  .services-hero-subtitle { font-size: 0.9375rem; }

  /* ── Footer ── */
  .footer-inner  { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
}

/* ============================================================
   RESPONSIVE — Tablet portrait / phablet (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  .contact-form-card    { padding: 1.75rem; }
  .contact-hero-img-wrapper { max-height: 16rem; }
  .contact-grid         { gap: 1.5rem; }
  .contact-info         { gap: 1.25rem; }
}

/* ============================================================
   RESPONSIVE — Small mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  /* Container */
  .container { padding: 0 0.875rem; }

  /* Section spacing */
  .section    { padding: 3rem 0; }
  .mv-section { padding: 3rem 0; }

  /* Nav */
  .navbar-inner { padding: 0.875rem 0.875rem; }

  /* Typography scale-down */
  .hc-title    { font-size: clamp(1.625rem, 7.5vw, 2.25rem); }
  .cta-title   { font-size: 1.375rem; }
  .about-hero  { padding: 3rem 0 3rem; }

  /* Carousel arrows */
  .hc-arrow    { width: 2.25rem; height: 2.25rem; }
  .hc-dots     { bottom: 1.5rem; }

  /* Bento */
  .bento-card  { padding: 1.5rem; }

  /* Services */
  .svc-card    { padding: 1.5rem; }
  .svc-stats   { flex-wrap: wrap; gap: 1rem; }

  /* Values */
  .value-card  { padding: 1.75rem; }

  /* Certs */
  .cert-badge  { font-size: 0.875rem; padding: 0.5rem 1.25rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-social { justify-content: center; }

  /* Contact */
  .info-location-card,
  .info-contact-card,
  .info-map-card       { padding: 1.5rem; }
  .contact-form-card   { padding: 1.5rem; }
  .contact-hero-img-wrapper { max-height: 13rem; }
  .form-group          { margin-bottom: 1.25rem; }
  .info-map-card       { height: 13rem; }

  /* About stats */
  .about-stat-item { min-width: 100%; }
  .about-stat-divider { width: 5rem; height: 1px; display: block; }
}

/* ============================================================
   RESPONSIVE — Correcciones adicionales (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ── CTA: reducir padding interno para que no desborde ── */
  .cta-content { padding: 2rem 1.5rem; }
  .cta-section { padding: 3rem 1rem; }
  .cta-actions { justify-content: center; }

  /* ── Contact: reducir márgenes excesivos ── */
  .contact-section { padding: 4rem 0; }
  .contact-hero    { margin-bottom: 2.5rem; }

  /* ── Inputs: font-size ≥ 1rem evita el zoom automático en iOS ── */
  .form-control             { font-size: 1rem; }
  .footer-newsletter-input  { font-size: 1rem; }

  /* ── WhatsApp: ocultar tooltip para evitar desbordamiento ── */
  .whatsapp-tooltip { display: none !important; }
  .whatsapp-float   { width: 3rem; height: 3rem; bottom: 1.25rem; right: 1.25rem; }

  /* ── Flex children con texto largo: evitar overflow ── */
  .footer-tagline,
  .info-contact-value,
  .info-location-address { word-break: break-word; }

  /* ── Quote section: evitar que el stat card desborde ── */
  .quote-img-wrapper { overflow: visible; }

  /* ── Nosotros hero ── */
  .about-hero { padding: 3.5rem 0 3.5rem; }

  /* ── Grid children: evitar overflow con texto ── */
  .svc-card, .bento-card, .mv-card,
  .value-card, .dna-pillar { min-width: 0; }
}

/* ============================================================
   RESPONSIVE — Correcciones adicionales (≤480px)
   ============================================================ */
@media (max-width: 480px) {

  /* ── CTA: botones apilados en móvil pequeño ── */
  .cta-actions        { flex-direction: column; align-items: stretch; }
  .btn-cta-primary,
  .btn-cta-secondary  { width: 100%; justify-content: center; text-align: center; }

  /* ── Contact: espaciado más compacto ── */
  .contact-section    { padding: 2.5rem 0; }
  .contact-hero       { margin-bottom: 1.5rem; }
  .form-label-title   { font-size: 1.375rem; }
  .contact-subtitle   { font-size: 0.9375rem; }

  /* ── DNA: padding compacto ── */
  .dna-section        { padding: 2.5rem 0; }
  .dna-header         { margin-bottom: 2rem; }

  /* ── About stats: padding compacto ── */
  .about-stats-section { padding: 2.5rem 0; }

  /* ── CTA section: espaciado mínimo ── */
  .cta-section        { padding: 2.5rem 0.75rem; }
  .cta-content        { padding: 1.75rem 1.25rem; }

  /* ── Bento: altura de imagen reducida ── */
  .bento-main-img     { height: 7rem; }

  /* ── Carousel: mínimo alto en pantallas muy pequeñas ── */
  .hc { min-height: 440px; }

  /* ── Footer: espaciado interno ── */
  .footer { padding: 3rem 0 0; }

  /* ── Navbar: logo más pequeño ── */
  .navbar-logo  { height: 2.25rem; }
  .navbar-brand { height: auto; }
}

/* ============================================================
   NOSOTROS — text section
   ============================================================ */
.about-text-section { padding-top: 5rem; padding-bottom: 5rem; }

.about-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text-grid .vs-card {
  align-self: center;
  margin-top: 2rem;
}

.about-text-main .section-title { margin-bottom: 1.75rem; }

.about-lead {
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.about-para {
  font-size: 1rem;
  color: var(--on-surface-variant);
  line-height: 1.85;
  margin-bottom: 1.125rem;
  text-align: justify;
}

/* Vital Sanctuary card */
/* ── Vital Sanctuary card ── */
.vs-card {
  background: linear-gradient(150deg, #0d1f3c 0%, #091429 60%, #060e1e 100%);
  border-radius: 28px;
  padding: 2.75rem 2.25rem 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 139, 253, 0.2);
  box-shadow: 0 0 0 1px rgba(56,139,253,0.06), 0 30px 80px rgba(0,0,0,0.4), 0 0 60px rgba(22,93,210,0.12);
  align-self: center;
}

.vs-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.vs-orb--1 {
  top: -5rem; right: -5rem;
  width: 17rem; height: 17rem;
  background: radial-gradient(circle, rgba(30,100,220,0.18) 0%, transparent 70%);
}
.vs-orb--2 {
  bottom: -4rem; left: -4rem;
  width: 14rem; height: 14rem;
  background: radial-gradient(circle, rgba(16,70,180,0.12) 0%, transparent 70%);
}

.vs-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.375rem;
  position: relative;
  z-index: 1;
}
.vs-logo-container {
  position: relative;
  display: inline-block;
}
.vs-logo-glow {
  position: absolute;
  inset: -0.75rem;
  background: radial-gradient(circle, rgba(30,100,255,0.25) 0%, transparent 70%);
  border-radius: 28px;
  filter: blur(10px);
  pointer-events: none;
}
.vs-logo-img {
  position: relative;
  width: 8rem;
  height: 8rem;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(100,160,255,0.3);
  box-shadow: 0 8px 32px rgba(10,50,150,0.45);
}

.vs-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}
.vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 80, 180, 0.22);
  border: 1px solid rgba(80, 140, 255, 0.38);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
}
.vs-badge-dot {
  width: 6px; height: 6px;
  background: #4d9fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #4d9fff;
  animation: vsPulse 2s infinite;
  flex-shrink: 0;
}
@keyframes vsPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}
.vs-badge-text {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #7eb8ff;
  text-transform: uppercase;
}

.vs-content { position: relative; z-index: 1; }

.vs-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}
.vs-eyeline {
  width: 1.875rem; height: 2px;
  background: linear-gradient(90deg, #4d9fff, transparent);
  border-radius: 2px;
}
.vs-eyelabel {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: #4d9fff;
  text-transform: uppercase;
}

.vs-title {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.125rem;
}
.vs-title em {
  color: #4d9fff;
  font-style: normal;
}

.vs-divider {
  width: 100%; height: 1px;
  margin-bottom: 1.125rem;
  background: linear-gradient(90deg, rgba(77,159,255,0.45), rgba(77,159,255,0.08), transparent);
}

.vs-desc {
  font-size: 0.9375rem;
  color: rgba(200, 220, 255, 0.72);
  line-height: 1.78;
  text-align: justify;
}
.vs-desc strong {
  color: rgba(220, 235, 255, 0.92);
  font-weight: 500;
}

.vs-bottom-bar {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(77, 159, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vs-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1a5fd4, #0d3d9e);
  border: 1px solid rgba(100, 160, 255, 0.35);
  border-radius: 12px;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(20, 80, 200, 0.35);
  transition: box-shadow 0.2s, transform 0.15s;
}
.vs-cta:hover {
  box-shadow: 0 6px 28px rgba(20, 80, 200, 0.55);
  transform: translateY(-1px);
}
.vs-cta-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}
.vs-cta-arrow {
  font-size: 0.875rem;
  color: rgba(180, 215, 255, 0.9);
}
.vs-tag {
  font-size: 0.6875rem;
  color: rgba(120, 170, 255, 0.6);
  font-weight: 500;
}

/* ============================================================
   MISIÓN & VISIÓN
   ============================================================ */
.mv-section {
  background: var(--primary);
  padding: 5rem 0;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}

.mv-icon-wrap {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mv-icon-wrap .material-symbols-outlined {
  font-size: 1.5rem;
  color: var(--primary-fixed-dim);
}

.mv-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.mv-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  text-align: justify;
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hc {
  position: relative;
  width: 100%;
  height: min(88vh, 720px);
  min-height: 580px;
  overflow: hidden;
  background: var(--primary);
}

/* Sliding track */
.hc-track {
  display: flex;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Individual slide */
.hc-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Web dev — classic navy */
.hc-slide--1 { background: linear-gradient(150deg, #00101f 0%, #001e40 45%, #002a5c 100%); }
/* Software dev — deep blue */
.hc-slide--2 { background: linear-gradient(150deg, #00091a 0%, #001a3d 45%, #002466 100%); }
/* AI / Modernización — indigo-navy */
.hc-slide--3 { background: linear-gradient(150deg, #08001e 0%, #160050 45%, #001e40 100%); }
/* Analytics — teal-navy */
.hc-slide--4 { background: linear-gradient(150deg, #00131c 0%, #012e40 45%, #001e38 100%); }
/* Soporte IT — steel-navy */
.hc-slide--5 { background: linear-gradient(150deg, #001220 0%, #00243a 45%, #002855 100%); }
/* Gobierno — midnight navy */
.hc-slide--6 { background: linear-gradient(150deg, #000d1a 0%, #001832 45%, #001e40 100%); }

/* Animated tech background keyframes */
@keyframes hc-grid-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-80px); }
}

@keyframes hc-scan {
  0%   { transform: translateX(-100%) skewX(-12deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(200%) skewX(-12deg); opacity: 0; }
}

@keyframes hc-orb-pulse {
  0%, 100% { opacity: 0.07; transform: scale(1); }
  50%       { opacity: 0.13; transform: scale(1.18); }
}

@keyframes hc-orb2-pulse {
  0%, 100% { opacity: 0.05; transform: scale(1); }
  50%       { opacity: 0.10; transform: scale(1.12); }
}

@keyframes hc-dots-scroll {
  from { background-position: 0 0; }
  to   { background-position: 0 -80px; }
}

/* Giant decorative icon in background */
.hc-slide-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Scrolling dot grid via ::before */
.hc-slide-backdrop::before {
  content: '';
  position: absolute;
  inset: -80px 0 0;
  background-image:
    radial-gradient(circle, rgba(167,200,255,0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: hc-dots-scroll 4s linear infinite;
  opacity: 0.55;
}

/* Sweep scan-line via ::after */
.hc-slide-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 60px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(167,200,255,0.08) 40%,
    rgba(167,200,255,0.14) 50%,
    rgba(167,200,255,0.08) 60%,
    transparent 100%
  );
  animation: hc-scan 6s ease-in-out infinite;
}

.hc-slide-backdrop .material-symbols-outlined {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  font-size: 30rem;
  line-height: 1;
  opacity: 0.04;
  color: white;
  font-variation-settings: 'FILL' 1, 'wght' 200, 'GRAD' 0, 'opsz' 48;
}

/* Glowing orbs overlay on each slide */
.hc-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 55% 45% at 12% 80%, rgba(167,200,255,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 88% 12%, rgba(100,160,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 30% 35% at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
  animation: hc-orb-pulse 8s ease-in-out infinite;
}

.hc-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 40% at 75% 85%, rgba(0,80,180,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 35% 30% at 25% 20%, rgba(167,200,255,0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: hc-orb2-pulse 11s ease-in-out infinite;
  animation-delay: -4s;
}

/* Content grid */
.hc-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
}

/* ── Text column ── */
.hc-text-col {
  display: flex;
  flex-direction: column;
  max-width: 38rem;
}

.hc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  font-family: 'Manrope', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  width: fit-content;
  backdrop-filter: blur(6px);
}

.hc-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  font-weight: 800;
  color: white;
  line-height: 1.07;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hc-title em {
  font-style: normal;
  color: var(--primary-fixed-dim); /* #a7c8ff */
}

.hc-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.78;
  margin-bottom: 2.5rem;
}

.hc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  padding: 0.9rem 2rem;
  border-radius: var(--r-lg);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.hc-cta:hover {
  background: var(--surface-variant);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

/* ── Visual column ── */
.hc-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-width: 14rem;
}

/* Large icon card */
.hc-icon-card {
  width: 11rem;
  height: 11rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
}

.hc-icon-card--img {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0;
}

.hc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.75rem;
}

.hc-svc-icon {
  font-size: 4.5rem !important;
  color: var(--primary-fixed-dim);
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 48 !important;
  line-height: 1 !important;
}

/* Next service preview card */
.hc-next-card {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(8px);
}

.hc-next-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}

.hc-next-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hc-next-row .material-symbols-outlined {
  font-size: 1.5rem;
  color: var(--primary-fixed-dim);
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  flex-shrink: 0;
}

.hc-next-row p {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 0.875rem;
  line-height: 1.35;
}

/* ── Arrow buttons ── */
.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.25s;
  backdrop-filter: blur(8px);
}

.hc-arrow:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-50%) scale(1.1);
}

.hc-arrow--prev { left: 1.25rem; }
.hc-arrow--next { right: 1.25rem; }

.hc-arrow .material-symbols-outlined { font-size: 1.375rem; }

/* ── Dot indicators ── */
.hc-dots {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hc-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.35s cubic-bezier(0.4,0,0.2,1);
}

.hc-dot.active {
  background: white;
  width: 1.75rem;
}

/* ── Progress bar ── */
.hc-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}

.hc-progress-bar {
  height: 100%;
  background: var(--primary-fixed-dim);
  width: 0%;
}

/* ============================================================
   RESPONSIVE FINAL — anula estilos definidos después de los
   media queries anteriores (cascade fix)
   ============================================================ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .hc-visual-col  { min-width: 11rem; }
  .hc-icon-card   { width: 8.5rem; height: 8.5rem; }
  .hc-svc-icon    { font-size: 3.5rem !important; }
  .about-text-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .mv-grid         { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Carrusel — layout de una columna */
  .hc-slide-content {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }
  .hc-visual-col { display: none !important; }
  .hc-text-col   { max-width: 100%; }
  .hc-title      { font-size: clamp(1.875rem, 7vw, 2.75rem); }
  .hc-desc       { font-size: 0.9375rem; }
  .hc-arrow      { top: auto; bottom: 1.625rem; transform: none; width: 2.25rem; height: 2.25rem; }
  .hc-arrow:hover { transform: scale(1.05); }
  .hc-arrow--prev { left: 0.75rem; }
  .hc-arrow--next { right: 0.75rem; }
  .hc-slide-backdrop .material-symbols-outlined { font-size: 12rem; }

  /* Nosotros — sección de texto */
  .about-text-section { padding-top: 4rem; padding-bottom: 4rem; }
  .about-text-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .vs-card            { padding: 2rem; }
  .about-lead         { font-size: 1rem; }

  /* Misión & Visión */
  .mv-section { padding: 4rem 0; }
  .mv-grid    { grid-template-columns: 1fr; }
  .mv-card    { padding: 2rem; }

  /* Heroes — sin compensación de navbar fija */
  .services-hero { padding: 4rem 0; }
  .about-hero    { padding: 4rem 0; }
}

/* ── Móvil pequeño (≤480px) ── */
@media (max-width: 480px) {
  /* Carrusel */
  .hc-title  { font-size: clamp(1.625rem, 7.5vw, 2.25rem); }
  .hc-arrow  { width: 2.25rem; height: 2.25rem; }
  .hc-dots   { bottom: 1.5rem; }
  .hc-slide-backdrop .material-symbols-outlined { font-size: 8rem; }
  .hc-badge  { font-size: 0.625rem; }

  /* Nosotros — texto */
  .about-text-section { padding-top: 3rem; padding-bottom: 3rem; }
  .vs-card            { padding: 1.5rem; }

  /* Misión & Visión */
  .mv-section { padding: 3rem 0; }
  .mv-card    { padding: 1.75rem; }
}

/* ── Carrusel: ocultar flechas en móvil (navegar con swipe) ── */
@media (max-width: 768px) {
  .hc-arrow { display: none !important; }
}

