/* =========================================================================
   Smart Services Mobile — hoja de estilos
   Reconstrucción 1:1 del sitio publicado en Framer (www.ssmbo.com).
   Los valores numéricos provienen de los estilos computados del original.
   ========================================================================= */

/* ---------- Tipografías (auto-hospedadas) ---------- */
@font-face { font-family: "Clash Grotesk"; src: url("/assets/fonts/ClashGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("/assets/fonts/ClashGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/SpaceGrotesk-Variable.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/SpaceGrotesk-Variable.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/SpaceGrotesk-Variable.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/SpaceGrotesk-Variable.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Alexandria"; src: url("/assets/fonts/Alexandria-Variable.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Fallbacks con métricas ajustadas: evitan el salto de layout mientras cargan
   las fuentes reales (mismos valores que usaba Framer). */
@font-face { font-family: "Clash Grotesk Placeholder"; src: local("Arial"); ascent-override: 92.12%; descent-override: 25.88%; line-gap-override: 9.32%; size-adjust: 96.61%; }
@font-face { font-family: "Space Grotesk Placeholder"; src: local("Arial"); ascent-override: 88.75%; descent-override: 26.34%; line-gap-override: 0.00%; size-adjust: 110.87%; }
@font-face { font-family: "Inter Placeholder"; src: local("Arial"); ascent-override: 89.79%; descent-override: 22.36%; line-gap-override: 0.00%; size-adjust: 107.89%; }
@font-face { font-family: "Alexandria Placeholder"; src: local("Arial"); ascent-override: 85.29%; descent-override: 22.12%; line-gap-override: 0.00%; size-adjust: 113.50%; }
@font-face { font-family: "Satoshi Placeholder"; src: local("Arial"); ascent-override: 102.23%; descent-override: 24.29%; line-gap-override: 10.12%; size-adjust: 98.80%; }

/* ---------- Tokens ---------- */
:root {
  --lime: #eaff62;          /* acento principal */
  --lime-strong: #e9ff59;   /* tarjetas "block" y link activo del nav */
  --lime-soft: #def25d;     /* círculo del badge "¿Cómo trabajamos?" */
  --ink: #0f1728;           /* titulares Space Grotesk */
  --ink-soft: #1e1a1c;      /* texto del botón outlined */
  --grey: #828282;          /* segunda mitad del titular del ecosistema */
  --grey-200: #dbdbdb;      /* textos secundarios sobre negro */
  --line: #e3e3e3;          /* separadores del FAQ */
  --line-soft: #d9d9d9;     /* separadores de "¿Cómo trabajamos?" */
  --off: #f9f9fa;           /* fondo gris muy claro */
  --placeholder: #413f3e;   /* texto de ayuda de los campos */

  --font-display: "Clash Grotesk", "Clash Grotesk Placeholder", sans-serif;
  --font-heading: "Space Grotesk", "Space Grotesk Placeholder", sans-serif;
  --font-body: "Inter", "Inter Placeholder", sans-serif;
  --font-brand: "Alexandria", "Alexandria Placeholder", sans-serif;
  --font-form: "Satoshi", "Satoshi Placeholder", sans-serif;

  --content: 1320px;
  --nav-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

/* ---------- Layout base ---------- */
.container {
  position: relative;
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
}
/* Framer arrastra un padding-left de 30px dentro del contenedor en varias
   secciones; se conserva para que el eje horizontal coincida al píxel. */
.container--inset { padding-left: 30px; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav-host {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 4;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.nav-host.is-hidden { transform: translate(-50%, -100px); }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--nav-h);
  padding: 0 32px;
  background: rgba(0, 0, 0, .32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__brand { display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand__mark { display: block; width: 40px; height: 40px; }
.brand__mark img { width: 40px; height: 40px; object-fit: cover; }
.brand__name {
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  color: #fff;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.nav__link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -.15px;
  color: #fff;
}
.nav__link a { color: #fff; transition: color .2s ease; }
.nav__link a[aria-current="page"] { color: var(--lime-strong); }
.nav__link a:hover { color: var(--lime-strong); }

.nav__cta { display: block; }

.nav__burger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 7px;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.nav-panel[hidden] { display: none; }
.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-panel a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 44px;
  color: #fff;
}
.nav-panel__cta {
  margin-top: 8px;
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 58px;
  background: var(--lime);
  color: #000 !important;
  font-family: var(--font-display) !important;
  font-size: 16px !important;
  line-height: 27.2px !important;
  letter-spacing: .32px;
}

/* =========================================================================
   BOTONES
   ========================================================================= */
.btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 58px;
  overflow: hidden;
  isolation: isolate;
}
.btn__content {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
}
.btn__text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 27.2px;
  letter-spacing: .32px;
  white-space: pre;
}
.btn__icon { display: flex; justify-content: center; align-items: center; width: 16px; height: 19px; }
.btn__icon svg { width: 100%; height: 100%; }
/* El "hover fill" de Framer: una cápsula que sube desde abajo al pasar el ratón. */
.btn__fill {
  position: absolute;
  z-index: 0;
  left: -97px;
  right: -37px;
  top: calc(100% + 8px);
  height: 160px;
  border-radius: 500px;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  transform: translateY(0);
  pointer-events: none;
}
/* -93px es el desplazamiento del original: deja el relleno cubriendo el botón.
   Valores mayores lo hacen pasar de largo y el botón vuelve a su color. */
.btn:hover .btn__fill { transform: translateY(-93px); }

.btn--white { background: #fff; color: #000; }
.btn--white .btn__fill { background: var(--lime); }
.btn--lime { background: var(--lime); color: #000; }
.btn--lime .btn__content { padding: 12px 20px; }
.btn--lime .btn__fill { background: #fff; }
.btn--outlined { background: transparent; color: var(--ink-soft); }
.btn--outlined::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid #000;
  border-radius: 58px;
  pointer-events: none;
  z-index: 6;
}
.btn--outlined .btn__fill { background: #5a6b71; }

/* Enlace "Cotizar" con flecha que se desliza */
.link-arrow {
  display: inline-flex;
  height: 44px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 19.2px;
  color: #000;
  white-space: pre;
}
.link-arrow__icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  overflow: hidden;
  flex: none;
}
.link-arrow__svg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.link-arrow__svg:last-child { transform: translateY(20px); }
.link-arrow__svg svg { width: 20px; height: 20px; }
.link-arrow:hover .link-arrow__svg:first-child { transform: translateY(-20px); }
.link-arrow:hover .link-arrow__svg:last-child { transform: translateY(0); }

/* =========================================================================
   FORMAS (wireframes SVG)
   ========================================================================= */
.shape {
  position: absolute;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}
.shape--hero {
  right: 0; bottom: 0; width: 320px; height: 490px; z-index: 1;
  background-image: url("/assets/img/shape-1.svg");
  background-size: 320px 490px;
}
.shape--ecosystem {
  right: 0; bottom: 0; width: 320px; height: 479px; z-index: 0; opacity: .5;
  background-image: url("/assets/img/shape-2.svg");
  background-size: 320px 479px;
}
.shape--footer-globe {
  right: 0; top: -4.8125px; width: 320px; height: 490px; z-index: 1; opacity: .4;
  background-image: url("/assets/img/shape-3.svg");
  background-size: 320px 490px;
}
.shape--footer-torus {
  right: 0; top: 121.203px; width: 285px; height: 427px; z-index: 1;
  background-image: url("/assets/img/shape-4.svg");
  background-size: 286px 428px;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 170px 30px 140px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg picture, .hero__bg img { display: block; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; }
.hero__container { z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; }
.hero__content { display: flex; flex-direction: column; gap: 64px; width: 100%; }
.hero__text-and-button { display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.hero__text { display: flex; flex-direction: column; gap: 24px; width: 74%; }
.hero h1 {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 500;
  line-height: 68.2px;
  color: #fff;
}
.hero__text p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 30.6px;
  color: #fff;
}

/* =========================================================================
   ECOSISTEMA
   ========================================================================= */
.ecosystem {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 0;
  background: var(--lime);
  overflow: hidden;
}
.ecosystem__container { display: flex; flex-direction: column; align-items: center; gap: 80px; z-index: 1; }
.ecosystem__row { display: flex; flex-direction: column; gap: 84px; width: 100%; }
.ecosystem__text { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.eyebrow {
  width: 100%;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 32.2px;
  letter-spacing: -1.16667px;
  color: rgba(0, 0, 0, .5);
}
.ecosystem__title {
  width: 100%;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 57.6px;
  color: #000;
}
.ecosystem__title span { color: var(--grey); }

.cards { display: flex; align-items: flex-start; gap: 24px; position: relative; z-index: 1; }
.card {
  width: calc((100% - 48px) / 3);
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 70px 40px 40px;
  border-radius: 8px;
}
.card__icon {
  position: relative;
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 500px;
  background: #000;
  overflow: hidden;
}
.card__icon svg { position: absolute; inset: 24px; width: 28px; height: 28px; color: #fff; }
.card__body { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.card__body .link-arrow { align-self: flex-start; }
.card__body h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 33.6px;
  letter-spacing: -.5px;
  color: #000;
}
.card__body p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 30.6px;
  color: #000;
}

/* =========================================================================
   ¿CÓMO TRABAJAMOS?
   ========================================================================= */
.how {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 0;
  background: var(--off);
  overflow: hidden;
}
.how__container { display: flex; flex-direction: column; align-items: center; gap: 80px; padding: 0 30px; }
.how__row { display: flex; flex-direction: column; gap: 48px; width: 100%; }
.how__top { display: flex; align-items: center; gap: 10px; width: 100%; }
.how__badge {
  position: relative;
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 500px;
  background: var(--lime-soft);
  overflow: hidden;
}
.how__badge svg { position: absolute; inset: 24px; width: 28px; height: 28px; color: #000; }
.how__top p {
  width: 306px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 33.6px;
  color: #000;
}
.how__bottom { display: flex; gap: 100px; }
.how__left { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; flex: 1 1 0; }
.how__left h2 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 57.6px;
  color: #000;
}
.how__right { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; flex: 1 1 0; }
.how__block { display: flex; flex-direction: column; justify-content: center; gap: 16px; width: 100%; box-shadow: 0 1px 0 0 var(--line-soft); }
.how__block-inner { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-bottom: 48px; }
.how__block + .how__block .how__block-inner { padding-top: 48px; }
.how__block { --how-icon: 58px; --how-gap: 0px; }
.how__item { display: flex; gap: var(--how-gap); }
/* El contenedor del icono es más estrecho que el propio icono en los breakpoints
   menores: el original lo recorta por la derecha y aquí se replica. */
.how__icon { width: var(--how-icon); height: 43px; flex: none; overflow: hidden; }
/* max-width:none evita que el reset encoja el icono dentro de la caja recortada */
.how__icon img { width: 43px; max-width: none; height: 43px; object-fit: cover; }
.how__icon svg { width: 43px; height: 43px; }
.how__item-text { display: flex; flex-direction: column; justify-content: center; gap: 24px; flex: 1 1 0; }
.how__item-text h3 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 500;
  line-height: 43.7px;
  letter-spacing: -1.58333px;
  color: var(--ink);
}
.how__block p {
  margin-left: calc(var(--how-icon) + var(--how-gap));
  width: 63%;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 30.6px;
  color: #000;
}

/* =========================================================================
   CIFRAS
   ========================================================================= */
.facts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 100px 30px;
  background: #000;
  overflow: hidden;
}
.facts__container { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; }
.facts__content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.facts__content > h2 {
  max-width: 462px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 57.6px;
  color: #fff;
}
.facts__numbers { display: flex; justify-content: space-between; align-items: center; width: 48%; }
.fact { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 22%; }
.fact h3 {
  width: 100%;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
  color: #fff;
  text-align: center;
}
.fact p {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 23.8px;
  color: var(--grey-200);
  text-align: center;
}
.fact--wide { width: 25%; gap: 10px; justify-content: center; }
.fact .fact__lead {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  font-weight: 500;
  line-height: 34px !important;
  letter-spacing: .32px;
  color: #fff !important;
}

/* =========================================================================
   APLICAMOS TECNOLOGÍA
   ========================================================================= */
.tech {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 0;
  background: #fff;
  overflow: hidden;
  z-index: 1;
}
.tech__container { display: flex; justify-content: center; align-items: center; gap: 80px; }
.tech__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  flex: 1 1 0;
  max-width: 560px;
}
.tech__blocks { flex: 1 1 0; }
.tech__left h2 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 57.6px;
  color: #000;
}
.tech__blocks { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; flex: 1 1 0; }
.tech-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 48px 16px 96px 24px;
  border-radius: 16px;
  background: var(--lime-strong);
  overflow: hidden;
}
/* Cada bloque trae su propia métrica de cabecera en el diseño original. */
.tech-block--c { gap: 24px; align-items: stretch; }
.tech-block__head { display: flex; align-items: center; width: 100%; }
.tech-block--a .tech-block__head { gap: 20px; }
.tech-block--b .tech-block__head { gap: 10px; }
.tech-block--c .tech-block__head { gap: 15px; }
.tech-block__title { display: flex; }
.tech-block__title h3 { flex: 1 1 auto; }
.tech-block--b .tech-block__title, .tech-block--c .tech-block__title { flex: 1 1 0; }
.tech-block__head h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  color: var(--ink);
}
.tech-block__icons { display: flex; align-items: center; gap: 10px; }
.tech-block--a .tech-block__icons { flex: 1 1 0; }
.tech-block__icon { display: block; color: #000; }
.tech-block__icon--apple { width: 44px; height: 44px; }
.tech-block__icon--apple svg { width: 44px; height: 44px; }
.tech-block__icon--android { width: 40px; height: 40px; }
.tech-block__icon--android svg { width: 40px; height: 40px; }
.tech-block__icon--img { width: 48px; height: 48px; }
.tech-block__icon--img img { width: 48px; height: 48px; object-fit: cover; }
.tech-block > p {
  width: 100%;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  color: var(--ink);
}
.tech-block--c > p { max-width: 600px; }

/* =========================================================================
   CTA
   ========================================================================= */
.cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 110px 30px 100px;
  background: #fff;
  overflow: hidden;
  text-align: center;
}
.cta__container { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; }
.cta__row { display: flex; flex-direction: column; align-items: center; gap: 60px; }
.cta__text { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; width: 977px; max-width: 100%; }
.cta__text > * { width: 100%; }
.cta h2 {
  max-width: 752px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 57.6px;
  color: #000;
}
.cta__text p {
  max-width: 977px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 30.6px;
  color: #000;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  overflow: hidden;
}
.faq__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 1536px;
  padding: 160px 32px;
  background: var(--off);
}
.faq__container > h2 {
  width: 100%;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 57.6px;
  color: #000;
  text-align: center;
}
.faq__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 1216px;
}
.faq__tabs { display: flex; justify-content: center; align-items: center; gap: 10px; }
.faq__tab {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border-radius: 36px;
  background: #fff;
}
.faq__tab p {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  color: #000;
  white-space: pre;
}
.faq__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  padding-left: 21px;
}
.faq__item { width: 100%; }
.faq__q {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
}
.faq__q-text {
  flex: 1 1 auto;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  line-height: 28.8px;
  color: #000;
}
.faq__icon { width: 24px; height: 24px; flex: none; color: #5c6470; }
.faq__icon svg { width: 24px; height: 24px; }
.faq__icon-v { transition: transform .25s ease; transform-origin: 12px 12px; }
.faq__q[aria-expanded="true"] .faq__icon-v { transform: rotate(90deg); }
.faq__a { overflow: hidden; }
.faq__a p {
  padding-top: 16px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 30.6px;
  color: #000;
}
.faq__divider { width: 100%; height: 1px; background: var(--line); flex: none; }

/* =========================================================================
   CONTACTO
   ========================================================================= */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 0;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 100px;
}
.contact__container { display: flex; justify-content: space-between; align-items: flex-start; background: #fff; }
.contact__intro { display: flex; flex-direction: column; justify-content: center; gap: 24px; flex: 1 1 0; max-width: 450px; }
.contact__intro h2, .contact__form > h2 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 57.6px;
  color: #000;
}
.contact__intro p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 30.6px;
  color: #000;
}
.contact__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 35px;
  width: 554px;
  flex: none;
  border-radius: 16px;
  background: #fff;
}
.contact__form > h2 { width: 100%; }
.cform { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; width: 100%; }
.cform__field, .cform__actions, .cform__status { grid-column: span 2; }
.cform__field { display: flex; flex-direction: column; }
.cform input[type="text"], .cform input[type="email"], .cform textarea {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 8px;
  outline: none;
  background: #fff;
  /* El original superpone dos veces el borde interior al 10%: el resultado
     visible es ~19% y por eso se ve más marcado que una sola sombra. */
  box-shadow: rgba(0, 0, 0, .1) 0 0 0 1px inset, rgba(0, 0, 0, .03) 0 2px 3px 0, rgba(0, 0, 0, .1) 0 0 0 1px inset;
  font-family: var(--font-form);
  font-size: 16px;
  font-weight: 400;
  line-height: 27.2px;
  color: #000;
  -webkit-appearance: none;
  appearance: none;
}
.cform textarea { resize: vertical; }
.cform input::placeholder, .cform textarea::placeholder { color: var(--placeholder); opacity: 1; }
.cform__actions { display: flex; }
.cform input[type="submit"] {
  align-self: flex-start;
  padding: 12px 24px;
  border: 0;
  border-radius: 4px;
  background: #000;
  color: #fff;
  box-shadow: #fff 0 2px 0 0, rgba(200, 200, 200, .5) 0 0 0 1px inset;
  font-family: var(--font-form);
  font-size: 16px;
  font-weight: 700;
  line-height: 27.2px;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.cform__status { min-height: 0; font-family: var(--font-body); font-size: 15px; line-height: 24px; }
.cform__status:empty { display: none; }
.cform__status.is-ok { color: #1a7f37; }
.cform__status.is-error { color: #b42318; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer__top {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 30px 140px;
  background: #000;
  overflow: hidden;
}
.footer__container { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; z-index: 2; }
.footer__row { display: flex; flex-direction: column; justify-content: center; gap: 48px; width: 100%; }
.footer__text { display: flex; flex-direction: column; gap: 24px; width: 74%; }
.footer__eyebrow {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 28.8px;
  color: var(--lime);
}
.footer__title {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 500;
  line-height: 68.2px;
  color: #fff;
}
.footer__info { display: flex; align-items: flex-start; justify-content: center; gap: 150px; }
.footer__list { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; flex: 1 1 0; }
.footer__list h3 {
  width: 100%;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 28.8px;
  color: #fff;
}
.footer__list p {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 23.8px;
  color: #fff;
}
.footer__list a { color: #fff; }
.footer__list a:hover { text-decoration: underline; }

.footer__bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 0;
  background: #000;
  overflow: hidden;
}
.footer__bottom-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1480px;
  padding: 0 30px;
  z-index: 3;
}
.footer__bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 124px;
  flex: 1 1 auto;
  padding: 0 105px;
  border-radius: 20px;
  overflow: hidden;
}
.footer__brand-wrap { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 102px; width: 100%; }
.footer__brand { display: flex; justify-content: center; align-items: center; gap: 16px; }
.footer__brand-mark { display: block; width: 50px; height: 50px; }
.footer__brand-mark img { width: 50px; height: 50px; object-fit: cover; }
.footer__brand-name {
  font-family: var(--font-brand);
  font-size: 26px;
  font-weight: 400;
  line-height: 31.2px;
  color: #fff;
  white-space: pre;
}
.pill-hiring {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background: rgba(178, 177, 189, .1);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.pill-hiring .btn__content { padding: 5px 15px; }
.pill-hiring .btn__text { font-size: 14px; line-height: 23.8px; letter-spacing: .28px; }
.pill-hiring .btn__fill { background: #ff969c; top: calc(100% + 34px); height: 134px; right: -66px; }

.footer__line { width: 100%; }
.footer__line svg { width: 100%; height: 5px; }
.footer__copy {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 27.2px;
  color: #fff;
}

/* =========================================================================
   ANIMACIONES DE ENTRADA (equivalentes a los "appear effects" de Framer)
   ========================================================================= */
[data-appear] { will-change: transform, opacity; }
.js [data-appear] { opacity: .001; transform: perspective(1200px) translateY(50px); }
.js [data-appear].is-in {
  opacity: 1;
  transform: perspective(1200px) translateY(0);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-appear] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   BREAKPOINTS
   Se replican los cuatro puntos de corte del original:
   ≥1440 · 992–1439 · 810–991 · ≤809
   Los valores salen de medir el sitio publicado a 1440, 1200, 900 y 390 px.
   ========================================================================= */

/* ---------------------------------------------------- ≤1439 (portátil) --- */
@media (max-width: 1439.98px) {
  .hero h1, .footer__title { font-size: 56px; line-height: 61.6px; }
  .hero__text, .footer__text { width: 100%; }

  .ecosystem__title, .how__left h2, .facts__content > h2, .tech__left h2,
  .cta h2, .faq__container > h2, .contact__intro h2, .contact__form > h2 {
    font-size: 40px; line-height: 48px;
  }

  /* Ecosistema y "¿Cómo trabajamos?" comparten contenedor */
  .ecosystem, .how { padding: 100px 0; }
  .ecosystem__container, .how__container { max-width: 1000px; padding: 0 30px; gap: 65px; }
  .ecosystem__row, .how__row { gap: 60px; align-items: center; }

  .card { padding: 40px 70px 40px 40px; }
  .card .link-arrow { height: 44px; }
  .card:first-child { padding: 35px; }
  .card:first-child .link-arrow { height: 29px; }

  .how__block { --how-icon: 42px; --how-gap: 32px; }
  .how__block p { width: calc(100% - var(--how-icon) - var(--how-gap)); }

  .facts { padding: 110px 30px; }
  .facts__container { max-width: 1000px; }
  .facts__content { flex-direction: column; justify-content: center; align-items: flex-start; gap: 45px; }
  .facts__content > h2 { max-width: none; width: 100%; }
  .facts__numbers { width: 84%; }
  .fact .fact__lead { font-size: 22px !important; line-height: 37.4px !important; }

  /* A partir de aquí las dos columnas reparten el ancho a partes iguales
     dentro de un contenedor con 32px de margen lateral. */
  .tech__container { max-width: none; padding: 0 32px; gap: 80px; }
  .tech__left { max-width: none; }
  .tech-block__head { flex-direction: column; align-items: center; gap: 15px !important; }
  .tech-block__title { width: 100%; }
  .tech-block__icons { justify-content: flex-start; width: 100%; }
  .tech-block--a .tech-block__icons { flex: none; }
  .tech-block__icon--apple, .tech-block__icon--apple svg { width: 40px; height: 40px; }
  .tech-block__icon--android, .tech-block__icon--android svg { width: 36px; height: 36px; }
  .tech-block--b .tech-block__icon--img, .tech-block--b .tech-block__icon--img img { width: 44px; height: 44px; }
  .tech-block--c > p { max-width: none; }
  /* En estos bloques el interlineado del titular baja a 30px en el original */
  .tech-block--a .tech-block__head h3,
  .tech-block--c .tech-block__head h3 { line-height: 30px; }

  .cta { padding: 80px 30px 100px; }
  .cta__row { gap: 48px; }
  .cta__text { width: 920px; max-width: 100%; }
  .cta h2 { max-width: 681px; }

  .faq__inner { max-width: 1136px; }

  .contact { padding: 120px 30px; }
  .contact__container { max-width: 1000px; }
  .contact__form { width: 430px; gap: 30px; }

  .footer__top { padding: 60px 30px 140px; }
  .footer__info { gap: 75px; }
  /* Opacidades de las formas por breakpoint (medidas en el original) */
  .shape--hero { opacity: .48; }
  .shape--footer-globe { top: -11.4219px; z-index: 0; opacity: .256; }
}

/* Titulares de "¿Cómo trabajamos?": solo en este tramo suben a 42px */
@media (min-width: 992px) and (max-width: 1439.98px) {
  .how__item-text h3 { font-size: 42px; line-height: 48.3px; }
  .how__item-text { width: 308px; max-width: 100%; flex: none; }
}

/* ----------------------------------------------------- ≤991 (tableta) --- */
@media (max-width: 991.98px) {
  .hero h1, .footer__title { font-size: 47px; line-height: 51.7px; }
  .hero { padding: 170px 0 140px; }
  .hero__container { padding: 0 30px; }

  .ecosystem__title, .how__left h2, .facts__content > h2, .tech__left h2,
  .cta h2, .faq__container > h2, .contact__intro h2, .contact__form > h2 {
    font-size: 38px; line-height: 45.6px;
  }
  .how__item-text h3 { font-size: 38px; line-height: 43.7px; }

  .ecosystem, .how { padding: 80px 0; }
  .ecosystem__container, .how__container { max-width: none; gap: 40px; }
  .ecosystem__row, .how__row { gap: 40px; }

  .card, .card:first-child { padding: 35px; }
  .card .link-arrow, .card:first-child .link-arrow { height: 29px; }

  .how__block { --how-icon: 37px; }

  .facts { padding: 80px 30px; }
  .facts__container { max-width: 768px; }
  .facts__content { align-items: center; }
  .facts__numbers { width: 95%; }

  .tech { padding: 120px 0; }
  .tech-block--b .tech-block__icon--img, .tech-block--b .tech-block__icon--img img { width: 44px; height: 44px; }

  .cta { padding: 80px 30px; }
  .cta__row { gap: 40px; }
  .cta__text { width: 768px; }
  .cta h2 { max-width: 599px; }

  .faq__inner { max-width: 836px; }

  /* El contacto pasa a una sola columna */
  .contact__container { flex-direction: column; align-items: flex-start; gap: 72px; max-width: 768px; }
  .contact__form { width: 100%; }

  .footer__top { padding: 60px 0 140px; }
  .footer__container { padding: 0 30px; }
  .footer__info { flex-wrap: wrap; gap: 50px; justify-content: flex-start; }
  .footer__list { flex: 0 0 386px; }
  .footer__bottom { padding: 80px 0 120px; }
  .footer__bottom-content { padding: 80px 40px 100px; gap: 80px; }
  .footer__brand-wrap { gap: 60px; }
  .shape--footer-globe { top: 265.281px; width: 205px; height: 314px; background-size: 240px 368px; opacity: .4; }
  .shape--footer-torus { top: 265.203px; right: -50px; width: 285px; height: 427px; background-size: 256px 383px; }
}

/* En 810–991 cada bloque de tecnología usa una cabecera distinta */
@media (min-width: 810px) and (max-width: 991.98px) {
  .tech-block--b .tech-block__head { gap: 10px !important; align-items: flex-start; }
  .tech-block--c .tech-block__head { flex-direction: row; align-items: center; }
  .tech-block--c .tech-block__title { flex: none; width: 275px; max-width: 100%; }
  .tech-block--c .tech-block__icons { width: auto; flex: none; }
}

/* -------------------------------------------------------- ≤809 (móvil) --- */
@media (max-width: 809.98px) {
  .hero h1, .footer__title { font-size: 42px; line-height: 46.2px; }

  .ecosystem__title, .how__left h2, .facts__content > h2, .tech__left h2,
  .cta h2, .faq__container > h2, .contact__intro h2, .contact__form > h2 {
    font-size: 32px; line-height: 38.4px;
  }
  .how__item-text h3 { font-size: 32px; line-height: 36.8px; }

  /* Barra compacta con menú desplegable */
  .nav { height: 64px; padding: 0 16px; justify-content: space-between; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav-host.is-hidden { transform: translate(-50%, -90px); }

  .hero { padding: 170px 30px 140px; }
  .hero__container { padding-left: 30px; padding-right: 0; }

  .ecosystem, .how { padding: 60px 0; }
  .ecosystem__container, .how__container { max-width: 524px; gap: 30px; }
  .ecosystem__row, .how__row { gap: 40px; }

  .cards { flex-direction: column; gap: 24px; }
  .card { width: 100%; }
  .card, .card:first-child { padding: 35px; }
  .card .link-arrow, .card:first-child .link-arrow { height: 29px; }
  .card + .card { padding: 40px 70px 40px 40px; }
  .card + .card .link-arrow { height: 44px; }

  .how__block { --how-icon: 33px; }
  .how__bottom { flex-direction: column; gap: 104px; }
  .how__left { justify-content: center; gap: 48px; align-self: auto; }

  .facts { padding: 40px 20px; }
  .facts__container { max-width: 390px; }
  .facts__content { align-items: center; gap: 30px; }
  .facts__content > h2 { text-align: center; }
  .facts__numbers { flex-direction: column; justify-content: center; align-items: center; gap: 30px; width: 100%; }
  .fact, .fact--wide { width: 210px; }
  .fact h3 { font-size: 36px; line-height: 43.2px; }

  .tech { padding: 0 32px; }
  /* aquí el margen lateral lo pone la sección, no el contenedor */
  .tech__container { flex-direction: column; align-items: center; gap: 80px; max-width: none; padding: 0; }
  .tech__left, .tech__blocks { max-width: none; flex: none; width: 100%; }
  /* El original deja este bloque con alto 0 y overflow oculto, así que en el
     teléfono se pierden el titular "Aplicamos tecnología..." y el botón
     "Cotizar mi proyecto". Aquí se muestran a propósito. */
  .tech__left { align-self: auto; gap: 24px; }
  .tech-block--b .tech-block__icon--img, .tech-block--b .tech-block__icon--img img { width: 48px; height: 48px; }
  .tech-block__head h3 { line-height: 30px; }

  .cta { padding: 120px 20px 40px; }
  .cta__container { max-width: 390px; }
  .cta__row { gap: 48px; }
  .cta__text { width: 350px; }
  .cta h2 { max-width: 350px; }

  .faq__container { padding: 120px 24px; }
  .faq__list { padding-left: 0; }
  .faq__tabs, .faq__tab { width: 100%; }

  .contact { padding: 32px 20px 60px; }
  .contact__container { gap: 72px; max-width: 100%; }
  .contact__intro { max-width: 100%; }
  .contact__form { gap: 25px; }

  .footer__top { padding: 60px 30px 140px; }
  .footer__container { padding-left: 30px; padding-right: 0; }
  .footer__info { flex-direction: column; justify-content: center; gap: 20px; }
  .footer__list { flex: none; }
  .footer__bottom { padding: 0; }
  .footer__bottom-container { padding: 0 15px; }
  .footer__bottom-content { padding: 60px 40px; gap: 40px; }
  .footer__brand-wrap { gap: 40px; }
  .footer__brand { flex-direction: column; gap: 16px; }
  .shape--hero { opacity: .3; }
  .shape--footer-globe { top: 364.375px; right: -42px; width: 264px; height: 404px; background-size: 234px 358px; opacity: .4; }
  .shape--footer-torus { top: 266.609px; right: -70px; width: 170px; height: 427px; background-size: 178px 266px; }
}


/* =========================================================================
   PÁGINA 404
   Vive aquí y no en un <style> dentro de 404.html porque la CSP del servidor
   usa style-src 'self', que bloquea las hojas en línea.
   ========================================================================= */
  .nf {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding: 60px 30px;
    background: #000;
  }
  .nf__inner { width: 100%; max-width: var(--content); margin: 0 auto; padding-left: 30px; }
  .nf__brand { display: flex; align-items: center; gap: 8px; margin-bottom: 48px; }
  .nf__brand img { width: 40px; height: 40px; }
  .nf__brand span {
    font-family: var(--font-brand);
    font-size: 16px;
    line-height: 19.2px;
    color: #fff;
  }
  .nf__code {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 28.8px;
    color: var(--lime);
    margin-bottom: 24px;
  }
  .nf h1 {
    font-family: var(--font-display);
    font-size: 62px;
    font-weight: 500;
    line-height: 68.2px;
    color: #fff;
    margin-bottom: 24px;
  }
  .nf p {
    max-width: 560px;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 30.6px;
    color: #fff;
    margin-bottom: 48px;
  }
  @media (max-width: 809.98px) {
    .nf h1 { font-size: 42px; line-height: 46.2px; }
    .nf__inner { padding-left: 0; }
  }
