
:root {
  --bg: #050508;
  --bg-soft: #0b0b12;
  --bg-card: rgba(255, 255, 255, 0.055);

  --text: #f5f5f7;
  --muted: #b9bac7;
  --muted-2: #777988;

  --line: rgba(255, 255, 255, 0.11);

  --red: #ff2238;
  --blue: #2196ff;
  --cyan: #23f0ff;
  --purple: #8a4dff;

  --radius: 26px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .55);

  --max: 1180px;
}

/* ---------- Reset básico ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(33, 150, 255, .22), transparent 32%),
    radial-gradient(circle at 85% 0%, rgba(255, 34, 56, .20), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(138, 77, 255, .14), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 80%);
}

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

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

p {
  margin-top: 0;
}

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

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(5, 5, 8, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-logo-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #ffffff;
  display: grid;
  place-items: center;
  padding: 6px;
  box-shadow: 0 0 28px rgba(33, 150, 255, .22);
  border: 1px solid rgba(255, 255, 255, .35);
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: .92rem;
}

.nav-links a {
  transition: color .2s ease;
}

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

.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-weight: 700;
  color: white;
}

.nav-cta:hover {
  border-color: rgba(35,240,255,.5);
  box-shadow: 0 0 24px rgba(35,240,255,.14);
}

/* ---------- Tipografía ---------- */

h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  letter-spacing: -.04em;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 6.1rem);
  line-height: .94;
  text-transform: uppercase;
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  line-height: 1;
  text-transform: uppercase;
}

h3 {
  font-size: 1.35rem;
}

.gradient-text {
  background: linear-gradient(90deg, #fff, #dfeaff 38%, #23f0ff 62%, #ff4052);
  -webkit-background-clip: text;
  color: transparent;
}

/* ---------- Botones ---------- */

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: white;
  box-shadow: 0 18px 40px rgba(33, 150, 255, .22);
}

.btn-secondary {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.055);
  color: white;
}

/* ---------- Hero home con imagen de fondo ---------- */

/* ---------- HERO NUEVO MÁS LIMPIO ---------- */

.home-hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(5,5,8,.28), rgba(5,5,8,.88)),
    linear-gradient(90deg, rgba(3,18,36,.70), rgba(34,0,10,.52)),
    var(--hero-img),
    url("/assets/img/hero-home.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(33,150,255,.20), transparent 38%),
    radial-gradient(circle at 80% 40%, rgba(255,34,56,.16), transparent 34%);
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .34;
  pointer-events: none;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  text-align: center;
}

.hero-eyebrow {
  margin-inline: auto;
  margin-bottom: 24px;
}

.hero-title-custom {
  margin: 0 auto;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: none;
}

.hero-line {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
}

.hero-line-top {
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  color: #ffffff;
}

.hero-line-accent {
  font-size: clamp(2.2rem, 6.2vw, 5.8rem);
  background: linear-gradient(90deg, #dff4ff 0%, #35e6ff 38%, #59d8ff 55%, #ff4b63 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-line-bottom {
  font-size: clamp(1.9rem, 4.2vw, 4rem);
  color: #ffffff;
}

.hero-subtext {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.center-actions {
  justify-content: center;
}

.floating-card {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(0,0,0,.64);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}

.floating-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.floating-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Cards de servicios VR / AR / Motion ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 310px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -78px;
  top: -78px;
  background: radial-gradient(circle, rgba(35,240,255,.22), transparent 70%);
  pointer-events: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35,240,255,.38);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 1.45rem;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 1.42rem;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  margin-top: 24px;
  color: white;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
}

/* ---------- Sección especialización ---------- */

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.rich-text {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.rich-text p {
  margin-bottom: 18px;
}

.dark-panel {
  position: relative;
}

.dark-panel::before {
  content: "";
  position: absolute;
  inset: 40px 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,34,56,.12), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(33,150,255,.14), transparent 34%),
    rgba(255,255,255,.018);
  z-index: -1;
}

.list {
  display: grid;
  gap: 14px;
}

.list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.052);
  border: 1px solid rgba(255,255,255,.09);
}

.check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #001018;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex-shrink: 0;
}

.list-item strong {
  font-family: 'Montserrat', sans-serif;
  display: block;
  margin-bottom: 4px;
}

.list-item span {
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Tecnología + arte + producción visual ---------- */

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tech-tags span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  font-weight: 700;
  font-size: .92rem;
}

.visual-panel {
  min-height: 360px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,.75)),
    var(--panel-img),
    url("/assets/img/hero-home.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ---------- Proceso ---------- */

.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.052);
  border: 1px solid rgba(255,255,255,.09);
  position: relative;
}

.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: rgba(35,240,255,.9);
  margin-bottom: 36px;
  font-size: 1.15rem;
}

.process-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: .95rem;
}

/* ---------- CTA ---------- */

.cta {
  padding: 80px 0;
}

.cta-box {
  padding: clamp(30px, 6vw, 72px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,34,56,.22), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(33,150,255,.24), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-box h2 {
  max-width: 900px;
  margin: 0 auto;
}

.cta-box p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 1.08rem;
}

.cta-box .hero-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 42px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  color: var(--muted-2);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand-wrap p {
  margin: 14px 0 0;
  max-width: 420px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

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

/* ---------- WhatsApp flotante ---------- */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: white;
  font-size: 1.55rem;
  box-shadow: 0 16px 40px rgba(37,211,102,.3);
  border: 1px solid rgba(255,255,255,.22);
}

/* ---------- Páginas internas: VR / AR / Motion ---------- */

.page-hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 140px 0 80px;
}

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

.page-hero h1 {
  max-width: 1040px;
}

.page-hero p {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.72;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .process {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

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

  .hero {
    padding-top: 118px;
  }

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

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 26px, var(--max));
  }

  .brand {
    font-size: .9rem;
  }

  .brand-logo-box {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

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

  h1 {
    font-size: clamp(2.35rem, 14vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.35rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
    border-radius: 26px;
  }

  .floating-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
    border-radius: 20px;
  }

  .cards,
  .process {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .card {
    min-height: auto;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================================================
   OVERRIDE HERO HOME - PARALel
   Pegar al final de style.css
   ========================================================= */

/* Hero como portada con imagen completa */
.home-hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(5,5,8,.42), rgba(5,5,8,.88)),
    linear-gradient(90deg, rgba(3,18,36,.70), rgba(34,0,10,.58)),
    var(--hero-img),
    url("/assets/img/hero-home.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Oscurece y da look premium al fondo */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(33,150,255,.22), transparent 36%),
    radial-gradient(circle at 80% 40%, rgba(255,34,56,.18), transparent 34%),
    linear-gradient(to bottom, rgba(0,0,0,.12), rgba(0,0,0,.74));
  pointer-events: none;
  z-index: 0;
}

/* Grilla sutil */
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .28;
  pointer-events: none;
  z-index: 1;
}

/* Contenido centrado */
.home-hero-content {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
  text-align: center;
}

/* Pastilla superior */
.hero-eyebrow,
.home-hero .eyebrow {
  margin-inline: auto;
  margin-bottom: 26px;
}

/* Título custom por líneas */
.hero-title-custom {
  margin: 0 auto;
  max-width: 1050px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: .94;
  letter-spacing: -.055em;
  text-transform: none;
}

/* Cada línea del hero */
.hero-line {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-align: center;
}

/* REALIDAD */
.hero-line-top {
  font-size: clamp(3.2rem, 7vw, 7rem);
  color: #ffffff;
  text-transform: uppercase;
}

/* Virtual / Aumentada */
.hero-line-accent {
  font-size: clamp(2.65rem, 6.4vw, 6.4rem);
  line-height: .95;
  background: linear-gradient(
    90deg,
    #f4fbff 0%,
    #35e6ff 32%,
    #59d8ff 52%,
    #ff4b63 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Motion Tracking para Eventos */
.hero-line-bottom {
  font-size: clamp(1.85rem, 4.1vw, 4.1rem);
  color: #ffffff;
  letter-spacing: -.045em;
}

/* Subtexto */
.hero-subtext,
.home-hero-content > p {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.68;
}

/* Botones centrados */
.center-actions,
.home-hero .hero-actions {
  justify-content: center;
}

/* Corrige el h1 global dentro del hero */
.home-hero h1 {
  max-width: none;
  font-size: unset;
  line-height: unset;
  text-transform: none;
}

/* Más aire entre hero y la siguiente sección */
.home-hero + .section {
  padding-top: 96px;
}

/* Responsive tablet */
@media (max-width: 980px) {
  .home-hero {
    min-height: 92vh;
    padding: 118px 0 78px;
    background-position: center;
  }

  .hero-title-custom {
    max-width: 840px;
    gap: 6px;
  }

  .hero-line-top {
    font-size: clamp(2.8rem, 9vw, 5.2rem);
  }

  .hero-line-accent {
    font-size: clamp(2.25rem, 8.4vw, 4.7rem);
  }

  .hero-line-bottom {
    font-size: clamp(1.6rem, 5.4vw, 3rem);
  }
}

/* Responsive móvil */
@media (max-width: 640px) {
  .home-hero {
    min-height: 88vh;
    padding: 110px 0 66px;
    background-position: center;
  }

  .home-hero-content {
    width: min(100% - 26px, 1080px);
  }

  .hero-eyebrow,
  .home-hero .eyebrow {
    margin-bottom: 20px;
    font-size: .78rem;
  }

  .hero-title-custom {
    gap: 8px;
    letter-spacing: -.045em;
  }

  .hero-line-top {
    font-size: clamp(2.45rem, 14vw, 4.1rem);
  }

  .hero-line-accent {
    font-size: clamp(2rem, 11vw, 3.35rem);
  }

  .hero-line-bottom {
    font-size: clamp(1.4rem, 7vw, 2.25rem);
    line-height: 1.05;
  }

  .hero-subtext,
  .home-hero-content > p {
    margin-top: 24px;
    font-size: .98rem;
    line-height: 1.6;
  }

  .home-hero .hero-actions {
    margin-top: 28px;
  }
}

/* Más aire general entre secciones */
.section {
  padding: 120px 0;
  position: relative;
}

/* La primera sección después del hero necesita respirar más */
.home-hero + .section {
  padding-top: 130px;
}

/* Evita que las secciones se peguen visualmente */
.section + .section {
  margin-top: 20px;
}

/* Cabeceras de sección más ordenadas */
.section-head {
  max-width: 820px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  max-width: 760px;
}

/* Tarjetas con más separación interna */
.cards {
  gap: 26px;
}

.card {
  padding: 34px;
}

/* Especialización: que no choque el título con las tarjetas */
.dark-panel {
  padding: 130px 0;
  overflow: hidden;
}

.dark-panel .split {
  align-items: center;
  gap: 70px;
}

.dark-panel .section-head {
  margin-bottom: 0;
}

.dark-panel .section-head h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  line-height: 1.02;
}

.dark-panel .section-head p {
  margin-top: 28px;
  font-size: 1.08rem;
}

/* Lista de beneficios más elegante */
.list {
  gap: 20px;
}

.list-item {
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}

/* Sección de tecnología visual con más aire */
#tecnologia .split {
  gap: 70px;
  align-items: center;
}

/* Proceso con aire arriba */
#proceso {
  padding-top: 130px;
}

/* CTA separado del contenido anterior */
.cta {
  padding: 120px 0 100px;
}

/* =========================================================
   MOBILE: menos texto gigante, más orden y respiración
   ========================================================= */

@media (max-width: 980px) {
  .section {
    padding: 96px 0;
  }

  .home-hero + .section {
    padding-top: 110px;
  }

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

  .dark-panel {
    padding: 105px 0;
  }

  .dark-panel .split,
  #tecnologia .split {
    gap: 46px;
  }

  .dark-panel .section-head {
    margin-bottom: 0;
  }

  .dark-panel .section-head h2 {
    max-width: 760px;
    font-size: clamp(2.2rem, 7vw, 4rem);
  }

  .cards {
    gap: 22px;
  }
}

@media (max-width: 640px) {
  /* Más respiración vertical */
  .section {
    padding: 82px 0;
  }

  .home-hero + .section {
    padding-top: 92px;
  }

  .section + .section {
    margin-top: 0;
  }

  /* Títulos de sección más controlados */
  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.04;
    letter-spacing: -.045em;
  }

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

  .section-head p {
    font-size: .98rem;
    line-height: 1.62;
  }

  .section-kicker {
    font-size: .76rem;
    line-height: 1.3;
  }

  /* Cards de servicios: menos pesadas en mobile */
  .cards {
    gap: 18px;
  }

  .card {
    padding: 24px;
    border-radius: 22px;
  }

  .card h3 {
    font-size: 1.28rem;
  }

  .card p {
    font-size: .96rem;
    line-height: 1.58;
  }

  /* Especialización en mobile: título menos enorme */
  .dark-panel {
    padding: 84px 0;
  }

  .dark-panel .split {
    gap: 34px;
  }

  .dark-panel .section-head h2 {
    font-size: clamp(2rem, 10.5vw, 3.1rem);
    line-height: 1.06;
    max-width: 100%;
  }

  .dark-panel .section-head p {
    margin-top: 20px;
    font-size: .98rem;
    line-height: 1.6;
  }

  .list {
    gap: 16px;
  }

  .list-item {
    padding: 20px;
    border-radius: 20px;
    grid-template-columns: 28px 1fr;
    gap: 14px;
  }

  .check {
    width: 28px;
    height: 28px;
  }

  .list-item strong {
    font-size: 1rem;
    line-height: 1.3;
  }

  .list-item span {
    font-size: .94rem;
    line-height: 1.55;
  }

  /* Tecnología + tags */
  #tecnologia .split {
    gap: 34px;
  }

  .visual-panel {
    min-height: 260px;
    border-radius: 24px;
  }

  .tech-tags {
    gap: 10px;
  }

  .tech-tags span {
    padding: 10px 13px;
    font-size: .84rem;
  }

  /* Proceso menos apretado */
  #proceso {
    padding-top: 84px;
  }

  .process-card {
    padding: 22px;
  }

  .process-card::before {
    margin-bottom: 24px;
  }

  /* CTA mobile */
  .cta {
    padding: 84px 0 76px;
  }

  .cta-box {
    border-radius: 28px;
    padding: 34px 22px;
  }

  .cta-box p {
    font-size: .98rem;
    line-height: 1.6;
  }
}

/* Extra para pantallas ultra pequeñas */
@media (max-width: 380px) {
  .dark-panel .section-head h2 {
    font-size: clamp(1.8rem, 9.6vw, 2.7rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9.4vw, 2.8rem);
  }

  .card,
  .list-item {
    padding: 18px;
  }
}
