/* El Content — prototipo de la web corporativa
   Colores tomados del arte del cliente (logo y banners). */
:root {
  --noche: #040036;
  --noche-2: #0e0a55;
  --papel: #f4f3fa;
  --blanco: #ffffff;
  --tinta: #040036;
  --tinta-suave: #4d4a73;
  --niebla: #bdbadb;
  --ambar: #f7a31c;
  --coral: #e95c38;
  --laguna: #1d8c93;
  --linea-oscura: rgba(4, 0, 54, 0.14);
  --linea-clara: rgba(255, 255, 255, 0.16);
  --marca: linear-gradient(90deg, var(--ambar), var(--coral));

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* escala 1.333 */
  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.333rem;
  --t-xl: clamp(1.6rem, 1.1rem + 1.6vw, 2.369rem);
  --t-2xl: clamp(2.1rem, 1.3rem + 2.8vw, 3.157rem);
  --t-3xl: clamp(2.6rem, 1.2rem + 5vw, 5.61rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-m);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--ambar); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ambar); color: var(--noche); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Contenido propio de cada tamaño (el teléfono sigue su propio diseño). */
@media (min-width: 721px) { .only-mobile { display: none !important; } }
@media (max-width: 720px) { .only-desktop { display: none !important; } }
.grad { background: var(--marca); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-suave); margin: 0; }

/* ---------- Tipografía base de secciones ---------- */
.title {
  font-size: var(--t-2xl);
  font-weight: 850;
  font-stretch: 115%;
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lead { font-size: var(--t-l); line-height: 1.5; max-width: 38ch; color: var(--tinta-suave); margin: 0; }
.kicker { font-size: var(--t-s); font-weight: 600; color: var(--coral); margin: 0 0 12px; }
.kicker--light { color: var(--ambar); }

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--paper { background: var(--papel); }
.section--white { background: var(--blanco); }
.section--night { background: var(--noche); color: var(--blanco); }
.section--night .lead { color: var(--niebla); }

.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.head--row { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: var(--t-m); text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
}
.btn--brand { background: var(--marca); color: var(--noche); }
.btn--brand:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(233, 92, 56, 0.7); }
.btn--ghost { color: var(--blanco); box-shadow: inset 0 0 0 1.5px var(--linea-clara); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blanco); }
.btn--whatsapp { background: var(--noche); color: var(--blanco); }
.btn--whatsapp::before {
  content: ""; width: 20px; height: 20px; background: #25d366;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6-.3.4c.1.2.6 1 1.3 1.6.9.8 1.6 1 1.8 1.1.2.1.4.1.5-.1l.7-.9c.2-.2.3-.2.5-.1l1.9.9c.3.1.4.2.5.3.1.1.1.6-.2 1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6-.3.4c.1.2.6 1 1.3 1.6.9.8 1.6 1 1.8 1.1.2.1.4.1.5-.1l.7-.9c.2-.2.3-.2.5-.1l1.9.9c.3.1.4.2.5.3.1.1.1.6-.2 1.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn--whatsapp:hover { background: var(--noche-2); }

/* ---------- Navegación (referencia: se recoge en cápsula al bajar) ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; max-width: 100%;
  margin-top: 0; padding: 22px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  border-radius: 0;
  transition: max-width 0.65s var(--ease), margin-top 0.65s var(--ease), padding 0.65s var(--ease), border-radius 0.65s var(--ease), background-color 0.4s, box-shadow 0.4s;
}
.nav.is-compact .nav__bar {
  max-width: min(1040px, calc(100% - 32px));
  margin-top: 14px; padding: 10px 10px 10px 24px;
  border-radius: 999px;
  background-color: rgba(4, 0, 54, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 40px -24px rgba(4, 0, 54, 0.8), inset 0 0 0 1px var(--linea-clara);
}
.nav__logo img { height: 34px; width: auto; transition: height 0.65s var(--ease); }
.nav.is-compact .nav__logo img { height: 26px; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a, .nav__toggle {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--blanco); text-decoration: none; font-size: var(--t-s); font-weight: 500;
  background: none; border: 0; cursor: pointer;
}
.nav__list a:hover, .nav__toggle:hover { background: rgba(255, 255, 255, 0.1); }
.nav__toggle::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-3px) rotate(45deg); }
.nav__list a.nav__cta { background: var(--marca); color: var(--noche); font-weight: 700; padding-inline: 20px; }
.nav__group { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; padding: 8px;
  background: var(--noche); border-radius: 18px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px var(--linea-clara);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: 0.2s var(--ease);
}
.nav__group.is-open .nav__sub, .nav__group:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav__group:hover .nav__sub { opacity: 1; visibility: visible; transform: none; } }
.nav__sub a { border-radius: 12px; }

.nav__burger, .nav__cta--bar { display: none; }

@media (max-width: 980px) {
  /* Barra fija y sólida: logo, Contacto y menú. */
  .nav__bar, .nav.is-compact .nav__bar {
    max-width: 100%; margin-top: 0; border-radius: 0; gap: 12px;
    padding: 10px var(--gutter); background-color: var(--noche);
    -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .nav__logo { margin-right: auto; }
  .nav__cta--bar {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
    background: var(--marca); color: var(--noche); font-weight: 700; font-size: var(--t-s); text-decoration: none;
    position: relative; z-index: 2;
  }
  .nav.is-open .nav__cta--bar { visibility: hidden; }
  .nav__burger {
    display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px;
    border: 0; background: none; cursor: pointer; position: relative; z-index: 2;
  }
  .nav__burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--blanco); transition: transform 0.3s var(--ease), opacity 0.2s; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 0; background: var(--noche); padding: 110px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; overflow-y: auto;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a, .nav__toggle { font-size: 1.6rem; font-weight: 800; font-stretch: 112%; padding: 12px 0; border-radius: 0; text-align: left; width: 100%; }
  .nav__list a:hover, .nav__toggle:hover { background: none; color: var(--ambar); }
  .nav__toggle::after { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
  .nav__sub a { font-size: 1.15rem; font-weight: 500; font-stretch: 100%; padding: 8px 0; color: var(--niebla); }
  .nav__list a.nav__cta { margin-top: 20px; text-align: center; padding: 16px; border-radius: 999px; font-size: 1.15rem; }
  .nav__logo { position: relative; z-index: 2; }
  .nav__logo img, .nav.is-compact .nav__logo img { height: 24px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--noche); color: var(--blanco); overflow: hidden; overflow: clip; display: flex; }
.hero__slides, .hero__bg { position: absolute; inset: 0; margin: 0; }
.hero__slides::after { content: ""; position: absolute; inset: 0 0 auto; height: 180px; background: linear-gradient(to bottom, rgba(4, 0, 54, 0.7), transparent); z-index: 1; }
.hero__bg { opacity: 0; transition: opacity 1.2s ease; }
.hero__bg.is-active { opacity: 1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__bg.is-active img { animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: center; padding-block: 140px 48px; gap: 48px; }
.hero__copy { display: grid; }
.hero__msg { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-self: end; max-width: min(56rem, 100%); }
.hero__line {
  display: block; font-size: clamp(1.7rem, 1rem + 2.6vw, 3.2rem); font-weight: 800; font-stretch: 112%; line-height: 1.02;
  opacity: 0; transform: translateY(0.6em); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.hero__line--big {
  font-size: var(--t-3xl); font-weight: 900; font-stretch: 118%; line-height: 0.95; letter-spacing: -0.02em; padding-block: 0.08em 0.1em;
  background: var(--marca); -webkit-background-clip: text; background-clip: text; color: transparent;
  width: fit-content;
}
.hero__line--small { font-size: clamp(1.15rem, 0.9rem + 1vw, 1.6rem); font-weight: 500; font-stretch: 100%; line-height: 1.35; margin-top: 10px; }
.hero__msg.is-active .hero__line { opacity: 1; transform: none; }
.hero__msg.is-active .hero__line:nth-child(2) { transition-delay: 0.08s; }
.hero__msg.is-active .hero__line:nth-child(3) { transition-delay: 0.16s; }

.hero__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__dots { display: flex; gap: 8px; order: -1; margin-left: -2px; }
.hero__dots button { width: 64px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hero__dots i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); overflow: hidden; position: relative; }
.hero__dots i::after { content: ""; position: absolute; inset: 0; background: var(--marca); transform: scaleX(0); transform-origin: left; }
.hero__dots [aria-selected="true"] i::after { animation: fill var(--hero-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dots [aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.btn__arrow { display: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Teléfono: portada compacta con texto arriba, botones apilados y arco de marca. */
@media (max-width: 720px) {
  .hero { min-height: 0; }
  /* La foto ocupa solo la parte baja, así se ve completa y no ampliada. */
  .hero__bg { inset: auto 0 0 0; height: 440px; }
  .hero__bg img {
    object-position: 86% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28%); mask-image: linear-gradient(to bottom, transparent 0, #000 28%);
  }
  .hero__bg.is-active img { animation: none; }
  .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 0, 54, 0.92) 0%, rgba(4, 0, 54, 0.6) 45%, rgba(4, 0, 54, 0) 78%); }
  .hero__slides::after {
    inset: auto; left: -791px; bottom: -730px; width: 982px; height: 982px;
    border-radius: 50%; border: 22px solid var(--coral); background: none;
  }
  .hero__inner { justify-content: flex-start; padding-block: 100px 52px; gap: 0; }
  .hero__eyebrow { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); margin: 0 0 14px; }
  .hero__eyebrow i { font-style: normal; margin-inline: 0.7em; color: rgba(255, 255, 255, 0.5); }
  .hero__msg { align-self: start; }
  .hero__line, .hero__line--big { font-size: clamp(1.8rem, 8.4vw, 2.25rem); font-weight: 900; font-stretch: 112%; line-height: 1.12; letter-spacing: -0.01em; padding-block: 0; }
  .hero__line--small { font-size: 1rem; font-weight: 500; font-stretch: 100%; line-height: 1.4; margin-top: 8px; }
  .hero__sub { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.82); max-width: 15.5em; margin: 16px 0 26px; }
  .hero__foot { gap: 0; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__actions .btn { width: 11.5rem; min-height: 46px; padding: 0 18px; font-size: var(--t-s); }
  .hero__actions .btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
  .btn__arrow { display: block; }
  .hero__dots { order: 3; margin-top: 44px; gap: 0; }
  .hero__dots button { width: 29px; height: 32px; justify-items: start; }
  .hero__dots i { width: 20px; }
}

/* ---------- Servicios: banners como el PDF del cliente ---------- */
.section--sheet { background: var(--blanco); }
@media (min-width: 721px) {
  .section--sheet .head { display: block; text-align: center; margin-bottom: clamp(48px, 7vw, 96px); }
  .section--sheet .title { color: var(--coral); text-transform: uppercase; font-size: clamp(2.2rem, 1.2rem + 3vw, 3.6rem); font-weight: 900; font-stretch: 112%; letter-spacing: 0; }
}
.svc { display: grid; gap: clamp(24px, 3vw, 40px); }
.svc-banner {
  position: relative; overflow: hidden; background: var(--noche);
  border: clamp(12px, 1.6vw, 22px) solid var(--noche); color: var(--blanco);
}
.svc-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4, 0, 54, 0.72) 0%, rgba(4, 0, 54, 0.58) 55%, rgba(4, 0, 54, 0.5) 100%); }
.svc-banner__h { position: relative; z-index: 2; margin: 0; font-weight: 400; }
.svc-banner__head {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%;
  min-height: clamp(200px, 23vw, 290px); padding: clamp(28px, 4vw, 48px) clamp(84px, 9vw, 120px) clamp(28px, 4vw, 48px) clamp(24px, 5.5vw, 64px);
  background: none; border: 0; color: inherit; text-align: left; cursor: pointer; position: relative;
}
.svc-banner__title { font-size: clamp(1.5rem, 0.9rem + 1.5vw, 2.35rem); font-weight: 750; line-height: 1.1; }
.svc-banner__title::after { content: ""; display: block; width: clamp(110px, 12vw, 160px); height: 3px; margin-top: 10px; background: var(--coral); }
.svc-banner__desc { margin-top: clamp(16px, 2vw, 26px); font-size: clamp(1.05rem, 0.85rem + 0.55vw, 1.4rem); line-height: 1.35; max-width: 64ch; }
.svc-banner__plus {
  position: absolute; right: clamp(24px, 3vw, 44px); top: 50%; translate: 0 -50%;
  width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); transition: background 0.3s, box-shadow 0.3s;
}
.svc-banner__plus::before, .svc-banner__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--blanco); translate: -50% -50%; }
.svc-banner__plus::after { rotate: 90deg; transition: rotate 0.35s var(--ease); }
.svc-banner__head:hover .svc-banner__plus { background: var(--coral); box-shadow: none; }
.svc-banner__head[aria-expanded="true"] .svc-banner__plus { background: var(--coral); box-shadow: none; }
.svc-banner__head[aria-expanded="true"] .svc-banner__plus::after { rotate: 0deg; }
.svc-banner__head:focus-visible { outline-offset: -6px; }
.svc-banner__panel { position: relative; z-index: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.svc-banner__panel.is-open { grid-template-rows: 1fr; }
.svc-banner__panel > div { overflow: hidden; padding-inline: clamp(24px, 5.5vw, 64px); }
.svc-banner__panel.is-open > div { padding-bottom: clamp(28px, 4vw, 44px); }
.svc-banner__list { columns: 3 220px; column-gap: 32px; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.svc-banner__list li { break-inside: avoid; padding: 8px 0 8px 22px; position: relative; line-height: 1.4; }
.svc-banner__list li::before { content: ""; position: absolute; left: 0; top: 1em; width: 10px; height: 3px; background: var(--coral); border-radius: 2px; }
.svc-banner__quote { margin-top: 22px; }
.svc__cta { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 56px); }
.btn--coral { background: var(--coral); color: var(--blanco); }
.btn--coral:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(233, 92, 56, 0.7); }

/* La lista de la hoja inferior del teléfono. */
.svc__list { columns: 2 220px; column-gap: 32px; }
.svc__list li { break-inside: avoid; padding: 7px 0 7px 22px; position: relative; font-size: var(--t-m); line-height: 1.4; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 10px; height: 3px; background: var(--marca); border-radius: 2px; }

/* Teléfono: hoja blanca sobre la portada, con tarjetas de servicios en 2 columnas. */
.svc-cards { display: none; }
@media (max-width: 720px) {
  .section--sheet { position: relative; z-index: 2; margin-top: -26px; border-radius: 26px 26px 0 0; background: #fbfbfd; padding-block: 36px 64px; }
  .section--sheet .head { gap: 10px; margin-bottom: 26px; }
  .section--sheet .title { font-size: clamp(1.7rem, 7.6vw, 2rem); font-stretch: 112%; line-height: 1.05; }
  .section--sheet .lead { font-size: 15px; line-height: 1.45; max-width: 21em; }
  .svc { display: none; }
  .svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
.svc-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; height: 100%;
  padding: 18px 16px; border-radius: 22px; border: 1px solid #ebeaf3; background: var(--blanco);
  box-shadow: 0 1px 2px rgba(4, 0, 54, 0.04); color: var(--tinta); text-align: left; text-decoration: none; cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.svc-card:active { transform: scale(0.98); }
.svc-card__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; color: var(--blanco); }
.svc-card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-card__icon--orange { background: linear-gradient(135deg, #f7a31c, #e95c38); }
.svc-card__icon--purple { background: linear-gradient(135deg, #8b5cf6, #5b2fd6); }
.svc-card__icon--pink { background: linear-gradient(135deg, #f472b6, #d6336c); }
.svc-card__icon--blue { background: linear-gradient(135deg, #6b7cf0, #3d46c9); }
.svc-card__icon--teal { background: linear-gradient(135deg, #2bb7bd, #12807f); }
.svc-card__icon--amber { background: linear-gradient(135deg, #fbbf24, #f08c12); }
.svc-card__icon--coral { background: linear-gradient(135deg, #fb7f64, #e0453a); }
.svc-card__name { font-size: 17px; font-weight: 800; font-stretch: 104%; line-height: 1.2; }
.svc-card__line { font-size: 14px; line-height: 1.4; color: var(--tinta-suave); }
.svc-card--cta { background: var(--noche); border-color: var(--noche); color: var(--blanco); }
.svc-card--cta .svc-card__line { color: var(--niebla); }

/* Hoja inferior con el detalle de un servicio (teléfono). */
.sheet {
  inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 86vh; overflow-y: auto;
  padding: 12px var(--gutter) 28px; border: 0; border-radius: 26px 26px 0 0; background: var(--blanco); color: var(--tinta);
}
.sheet[open] { animation: sheet-up 0.35s var(--ease); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.sheet::backdrop { background: rgba(4, 0, 54, 0.55); }
.sheet__grip { width: 40px; height: 4px; border-radius: 4px; background: #d9d8e6; margin: 0 auto 12px; }
.sheet__close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f0f7; color: var(--noche); font-size: 24px; line-height: 1; cursor: pointer; }
.sheet__title { font-size: 1.5rem; font-weight: 850; font-stretch: 112%; line-height: 1.1; margin: 10px 52px 10px 0; }
.sheet__desc { color: var(--tinta-suave); margin: 0 0 12px; }
.sheet__quote { width: 100%; margin-top: 18px; }

/* ---------- Modelo de trabajo ---------- */
.model { display: grid; gap: 48px; }
@media (min-width: 960px) { .model { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; } }
.model__intro .lead { margin-top: 20px; }
.switch { display: inline-flex; flex-wrap: wrap; margin-top: 36px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--linea-clara); }
.switch button { border: 0; background: none; color: var(--niebla); padding: 12px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background 0.3s, color 0.3s; }
.switch button[aria-checked="true"] { background: var(--marca); color: var(--noche); }
@media (max-width: 640px) {
  .switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .switch button { padding: 12px 10px; font-size: var(--t-s); line-height: 1.25; }
}
.model__desc { margin-top: 28px; font-size: var(--t-l); line-height: 1.5; max-width: 34ch; min-height: 4.5em; }
.model__h { font-size: var(--t-s); font-weight: 600; color: var(--ambar); margin-bottom: 16px; }
.model__list { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--noche-2); box-shadow: inset 0 0 0 1px var(--linea-clara); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 24px; }
.checks li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--linea-clara); }
.checks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 9px; border-left: 2px solid var(--laguna); border-bottom: 2px solid var(--laguna); transform: rotate(-45deg); }
.model__h--plus { margin: 32px 0 4px; }
.checks--plus li::before { border-color: var(--ambar); }
.checks--plus li { animation: rise 0.45s var(--ease) both; }
.checks--plus li:nth-child(2) { animation-delay: 0.03s; } .checks--plus li:nth-child(3) { animation-delay: 0.06s; }
.checks--plus li:nth-child(4) { animation-delay: 0.09s; } .checks--plus li:nth-child(5) { animation-delay: 0.12s; }
.checks--plus li:nth-child(6) { animation-delay: 0.15s; } .checks--plus li:nth-child(7) { animation-delay: 0.18s; }
.checks--plus li:nth-child(8) { animation-delay: 0.21s; } .checks--plus li:nth-child(9) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.model__note { margin: 24px 0 0; color: var(--niebla); }

/* ---------- Declaración ---------- */
.statement { background: var(--blanco); overflow: hidden; }
.statement__inner { display: grid; align-items: center; gap: 24px; padding-block: clamp(56px, 8vw, 110px); }
.statement__text { font-size: var(--t-xl); font-weight: 800; font-stretch: 108%; line-height: 1.15; letter-spacing: -0.01em; max-width: 26ch; margin: 0; text-wrap: balance; }
.statement__art { width: 100%; max-width: 560px; justify-self: center; }
@media (min-width: 900px) {
  .statement__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .statement__art { order: -1; }
}

/* ---------- Nosotros ---------- */
.about { display: grid; gap: 48px; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; } }
.about__copy .title { margin-bottom: 28px; max-width: 16ch; }
.about__copy p { max-width: 52ch; color: var(--tinta-suave); }
.about__copy .about__punch { color: var(--tinta); font-weight: 700; font-size: var(--t-l); line-height: 1.4; margin-top: 28px; max-width: 34ch; }
.about__photos { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: clamp(420px, 46vw, 620px); }
.about__ph { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 20px; }
.about__ph--tall { grid-row: span 2; }

.mv { display: grid; gap: 20px; margin-top: clamp(56px, 8vw, 96px); }
@media (min-width: 760px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__item { border-top: 1.5px solid var(--tinta); padding-top: 20px; }
.mv__h { font-size: var(--t-xl); font-weight: 850; font-stretch: 115%; margin-bottom: 12px; }
.mv__item p { color: var(--tinta-suave); max-width: 46ch; }

.founder { background: var(--noche); color: var(--blanco); }
.founder__inner { display: grid; gap: 36px; padding-block: clamp(64px, 9vw, 120px); align-items: center; }
@media (min-width: 900px) { .founder__inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 72px; } }
.founder__img { width: 100%; border-radius: 28px; aspect-ratio: 1 / 1; object-fit: cover; }
.founder__name { font-size: var(--t-2xl); font-weight: 900; font-stretch: 118%; line-height: 1; }
.founder__role { color: var(--ambar); font-weight: 600; margin: 12px 0 28px; }
.founder__copy p:not(.founder__role) { color: var(--niebla); max-width: 52ch; }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
@media (min-width: 900px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; background: var(--noche); }
.team__name { font-size: var(--t-l); font-weight: 850; font-stretch: 112%; margin: 14px 0 4px; }
.team__skills { font-size: var(--t-s); line-height: 1.45; color: var(--tinta-suave); margin: 0; }

/* ---------- Portafolio ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .chips { justify-content: flex-end; } }
.chips button { border: 0; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--niebla); font-weight: 600; font-size: var(--t-s); cursor: pointer; }
.chips button:hover { color: var(--blanco); }
.chips button[aria-pressed="true"] { background: var(--blanco); color: var(--noche); }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; grid-auto-flow: dense; }
@media (min-width: 900px) { .works { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; } }
.work { position: relative; border-radius: 18px; overflow: hidden; background: var(--noche-2); aspect-ratio: 1 / 1; }
@media (min-width: 900px) {
  .work { aspect-ratio: auto; }
  .work--wide { grid-column: span 2; }
  .work--tall { grid-row: span 2; }
}
.work button { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.work button:focus-visible { outline: 3px solid var(--ambar); outline-offset: -3px; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work__cap {
  position: absolute; inset: auto 0 0; padding: 40px 18px 16px; color: var(--blanco);
  background: linear-gradient(to top, rgba(4, 0, 54, 0.92), transparent);
  display: grid; gap: 2px;
}
.work__cap strong { font-size: var(--t-m); font-weight: 750; line-height: 1.25; }
.work__cap span { font-size: var(--t-xs); color: var(--niebla); }
.work__play { position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; border-radius: 999px; background: var(--marca); }
.work__play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--noche); border-block: 9px solid transparent; }
@media (max-width: 899px) {
  .works { row-gap: 20px; }
  .work { aspect-ratio: auto; background: none; overflow: visible; }
  .work button { height: auto; }
  .work img { height: auto; aspect-ratio: 1 / 1; border-radius: 16px; }
  .work__cap { position: static; background: none; padding: 10px 2px 0; }
  .work__cap strong { font-size: var(--t-s); }
}
@media (hover: hover) and (min-width: 900px) {
  .work__cap { opacity: 0; transform: translateY(10px); transition: 0.35s var(--ease); }
  .work button:hover .work__cap, .work button:focus-visible .work__cap { opacity: 1; transform: none; }
  .work button:hover img { transform: scale(1.04); }
}
.work[hidden] { display: none; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 92vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 0, 54, 0.9); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 16px; }
.lightbox__cap { color: var(--blanco); text-align: center; margin: 14px 0 0; }
.lightbox__close { position: absolute; right: -8px; top: -52px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--blanco); color: var(--noche); font-size: 26px; line-height: 1; cursor: pointer; }

/* ---------- Clientes ---------- */
.marquee { overflow: hidden; padding-block: 8px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); width: max-content; animation: slide 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.logo { height: clamp(44px, 5vw, 64px); width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.3s, opacity 0.3s; }
.logo:hover { filter: none; opacity: 1; }
.gov__h { font-size: var(--t-s); font-weight: 600; color: var(--tinta-suave); margin: clamp(48px, 6vw, 72px) 0 20px; padding-top: 24px; border-top: 1px solid var(--linea-oscura); }
.gov { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 64px); }

/* ---------- App ---------- */
.app { background: radial-gradient(120% 90% at 85% 50%, #16106e 0%, var(--noche) 60%); color: var(--blanco); overflow: hidden; }
.app__inner { display: grid; gap: 24px; align-items: center; padding-block: clamp(72px, 10vw, 130px); }
@media (min-width: 900px) { .app__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.app__title { font-size: var(--t-3xl); font-weight: 900; font-stretch: 118%; line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 24px; max-width: 12ch; }
.app__copy > p { color: var(--niebla); max-width: 44ch; }
.app__art, .statement__art { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.app__art { width: 100%; max-width: 620px; justify-self: center; }
.app__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; } }
.contact__intro .lead { margin: 20px 0 32px; }
.contact__list { margin-top: 32px; display: grid; gap: 8px; }
.contact__list a { text-decoration: none; font-weight: 600; border-bottom: 1.5px solid var(--linea-oscura); }
.contact__list a:hover { border-color: var(--coral); }

.form { background: var(--noche); color: var(--blanco); border-radius: 28px; padding: clamp(22px, 4vw, 44px); }
.form__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: var(--t-s); font-weight: 600; margin-bottom: 8px; }
.field label span { color: var(--ambar); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 0;
  background: var(--noche-2); color: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea-clara);
}
.field textarea { resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--blanco) 50%), linear-gradient(135deg, var(--blanco) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field ::placeholder { color: rgba(255, 255, 255, 0.45); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ambar); outline-offset: 0; }
.field.is-invalid input, .field.is-invalid select { box-shadow: inset 0 0 0 1.5px var(--coral); }
.field__err { display: block; color: #ff9d85; font-size: var(--t-xs); margin-top: 6px; }

.assist { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.assist__btn { border: 0; cursor: pointer; padding: 9px 16px 9px 36px; border-radius: 999px; background: rgba(247, 163, 28, 0.14); color: var(--ambar); font-weight: 700; font-size: var(--t-s); position: relative; }
.assist__btn::before { content: ""; position: absolute; left: 14px; top: 50%; width: 13px; height: 13px; translate: 0 -50%; background: var(--ambar); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.assist__btn:hover { background: rgba(247, 163, 28, 0.24); }
.assist__hint { margin: 0; font-size: var(--t-xs); color: var(--niebla); }
.assist__out:not(:empty) { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(29, 140, 147, 0.18); box-shadow: inset 0 0 0 1px rgba(29, 140, 147, 0.5); font-size: var(--t-s); }
.assist__out p { margin: 0 0 8px; }
.assist__out .assist__use { border: 0; background: var(--blanco); color: var(--noche); font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: var(--t-s); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-s); color: var(--niebla); line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ambar); flex: none; }
.consent.is-invalid span { color: #ff9d85; }
.form__send { margin-top: 26px; width: 100%; }
@media (min-width: 640px) { .form__send { width: auto; } }
.form__msg { margin: 16px 0 0; min-height: 1.6em; font-size: var(--t-s); }
.form__msg.is-ok { color: var(--ambar); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--noche); color: var(--blanco); padding-block: 64px 28px; }
.footer__inner { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer__inner { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer__logo { height: 30px; width: auto; margin-bottom: 16px; }
.footer p { color: var(--niebla); margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ambar); }
.footer__h { font-size: var(--t-s); font-weight: 700; margin-bottom: 12px; color: var(--blanco); }
.footer .footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linea-clara); font-size: var(--t-xs); }


/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 32px; padding-inline: var(--gutter); }
  .marquee { -webkit-mask: none; mask: none; }
  .marquee__track [aria-hidden="true"] { display: none; }
}
