/* =============================================================
   Angelina S. — Coming Soon
   Paleta, tipografía y layout base
   ============================================================= */

:root {
  --ink: #101010;          /* negro tipografía / botones */
  --ink-soft: #4a4a4a;     /* texto secundario */
  --line: #dcdcdc;         /* bordes finos */
  --paper: #ffffff;        /* fondo del sitio */
  --yellow: #ffc83d;       /* amarillo marca */
  --yellow-deep: #f7b500;
  --yellow-soft: #fff0c2;
  --teal: #2ec4b6;         /* acento de las gráficas */

  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 6px 20px rgba(16, 16, 16, .07);
  --shadow-md: 0 14px 40px rgba(16, 16, 16, .10);
  --shadow-lg: 0 30px 70px rgba(16, 16, 16, .13);

  --pad-x: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =============================================================
   Lienzo full-bleed (sin marco negro)
   ============================================================= */
.sheet {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3.2vw, 40px) var(--pad-x) clamp(24px, 3vw, 40px);
  overflow: hidden;
  background: var(--paper);
}

/* Degradado cálido que baña la mitad superior derecha */
.glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(255, 200, 61, .95) 0%, rgba(255, 214, 105, .55) 30%, rgba(255, 240, 194, .18) 55%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(80% 70% at 100% 40%, rgba(255, 196, 44, .40) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

/* Círculo amarillo sólido detrás del mockup */
.blob {
  position: absolute;
  z-index: -1;
  top: 24%;
  right: 15%;
  width: min(27vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--yellow) 0%, var(--yellow-deep) 78%);
  filter: blur(.4px);
  opacity: .95;
  pointer-events: none;
}

/* =============================================================
   HEADER
   ============================================================= */
.header {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 22px; height: 30px; fill: var(--ink); }
.brand__text {
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin: 0 auto;
  font-size: .875rem;
  font-weight: 500;
}
.nav a { position: relative; padding: 4px 0; color: var(--ink); opacity: .85; transition: opacity .2s; }
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--ink);
  transition: width .25s ease;
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }
.nav__cta-mobile { display: none; }

.header__right { display: flex; align-items: center; gap: 18px; }

.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-pill svg { width: 14px; height: 14px; }
.btn-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.burger {
  display: grid; gap: 6px;
  width: 28px; padding: 6px 0;
  background: none; border: 0;
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(14px, 3.2vh, 64px) 0;
}

.hero__copy { max-width: 600px; min-width: 0; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: .95rem;
  font-weight: 600;
}
.eyebrow__dash { width: 22px; height: 2px; background: var(--ink); }

.hero__title {
  margin: 0 0 34px;
  font-size: clamp(2.3rem, 4.85vw, 3.95rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

/* --- Formulario --- */
.notify {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 420px);
  padding: 6px 6px 6px 8px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(6px);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.notify:focus-within { box-shadow: 0 0 0 4px rgba(255, 200, 61, .45); }
.notify.is-error { border-color: #e5484d; }

.notify__input {
  flex: 1; min-width: 0;
  padding: 12px 10px 12px 14px;
  border: 0; background: none; outline: none;
  font-size: .95rem; color: var(--ink);
}
.notify__input::placeholder { color: #8d8d8d; }

.notify__btn {
  position: relative;
  display: inline-grid; place-items: center;
  min-width: 132px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: .9rem; font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.notify__btn:hover { transform: translateY(-1px); background: #000; }
.notify__btn:disabled { opacity: .75; cursor: progress; transform: none; }

.notify__spinner {
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: spin .7s linear infinite;
}
.is-loading .notify__label { opacity: 0; }
.is-loading .notify__spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.notify__msg {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: .82rem;
  font-weight: 500;
  color: #157f4c;
}
.notify__msg.is-error { color: #d33b3f; }

.notify__note {
  margin: 10px 0 0;
  font-size: .8rem;
  color: var(--ink-soft);
}

/* =============================================================
   MOCKUP (columna derecha)
   ============================================================= */
.hero__visual {
  position: relative;
  min-width: 0;              /* evita que el aspect-ratio infle la columna */
  aspect-ratio: 1 / .92;
  min-height: 420px;
}

.card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}

/* --- Tarjeta principal (tipo teléfono) --- */
.card--main {
  top: 1%;
  left: 16%;
  width: 48%;
  min-width: 210px;
  padding: 12px 12px 14px;
  border-radius: 22px;
}

.statusbar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .5rem; font-weight: 600;
  color: var(--ink);
  padding: 0 4px 8px;
}
.statusbar__title { font-size: .58rem; font-weight: 600; }
.statusbar__icons svg { width: 26px; height: 10px; fill: var(--ink); }

.profile { display: flex; align-items: center; gap: 8px; padding: 6px 2px 10px; }
.avatar {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: .5rem; font-weight: 700; color: #fff;
  letter-spacing: .02em;
}
.avatar--a { background: linear-gradient(140deg, #ffc83d, #e08a00); color: #2a1c00; }
.avatar--b { background: linear-gradient(140deg, #ffb37a, #d9613c); }

.profile__meta { display: grid; line-height: 1.25; }
.profile__meta b { font-size: .62rem; }
.profile__meta i { font-size: .5rem; font-style: normal; color: #9a9a9a; }

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: .5rem; font-weight: 600;
  white-space: nowrap;
}
.chip svg { width: 8px; height: 8px; }
.chip--yellow { margin-left: auto; background: var(--yellow); color: var(--ink); }
.chip--dark { background: var(--ink); color: #fff; }
.chip--cta { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 12px rgba(247, 181, 0, .45); }
.chip--wide { width: 100%; justify-content: center; padding: 7px 10px; }

/* Editor de código dentro de la tarjeta */
.editor {
  border-radius: 12px;
  overflow: hidden;
  background: #12151c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.editor__tabs {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 8px;
  background: #1b1f29;
}
.editor__tabs em {
  margin-left: 6px;
  font-style: normal; font-size: .46rem; color: #8b93a5;
}
.dot { width: 5px; height: 5px; border-radius: 50%; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }

.editor__code {
  margin: 0;
  padding: 8px 10px 10px;
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .47rem;
  line-height: 1.7;
  color: #cdd3df;
  white-space: pre;
  overflow: hidden;
}
.c-key  { color: #ff7b9c; }
.c-fn   { color: #7fd1ff; }
.c-tag  { color: #7ee787; }
.c-attr { color: #ffc83d; }
.c-str  { color: #ffab70; }

.card__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 8px;
  padding: 10px 2px 0;
}
.card__foot-txt { display: grid; line-height: 1.3; }
.card__foot-txt b { font-size: .62rem; }
.card__foot-txt i { font-size: .5rem; font-style: normal; color: #9a9a9a; }

.card__price {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
}
.card__price b { font-size: .72rem; font-weight: 700; }

/* --- Tarjeta deploy --- */
.card--deploy {
  top: 14%;
  right: 3%;
  width: 28%;
  min-width: 130px;
  padding: 10px;
  text-align: center;
}
.card--deploy small {
  display: block;
  margin-top: 7px;
  font-size: .48rem; font-weight: 600;
  color: var(--ink);
}
.deploy__map {
  position: relative;
  height: 74px;
  margin-bottom: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #dff3e4, #bfe6cd 55%, #a9dcc0);
}
.deploy__grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px) 0 0 / 22px 22px;
  opacity: .8;
}
.pin {
  position: absolute; top: 50%; left: 50%;
  translate: -50% -60%;
  display: grid; place-items: center;
  width: 30px; height: 30px;
}
.pin svg { width: 30px; height: 30px; fill: var(--yellow-deep); filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }

/* --- Tarjeta métricas --- */
.card--chart {
  top: 44%;
  right: 6%;
  width: 26%;
  min-width: 120px;
  padding: 12px 10px;
}
.bars {
  display: flex; align-items: flex-end; gap: 5px;
  height: 62px;
  padding-left: 8px;
  border-left: 1.5px solid #ececec;
  border-bottom: 1.5px solid #ececec;
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: var(--teal);
  transform-origin: bottom;
  animation: grow .9s cubic-bezier(.2, .8, .2, 1) backwards;
}
.bars i:nth-child(even) { background: var(--yellow); }
.bars i:nth-child(1) { animation-delay: .45s; }
.bars i:nth-child(2) { animation-delay: .52s; }
.bars i:nth-child(3) { animation-delay: .59s; }
.bars i:nth-child(4) { animation-delay: .66s; }
.bars i:nth-child(5) { animation-delay: .73s; }
.bars i:nth-child(6) { animation-delay: .80s; }
.bars i:nth-child(7) { animation-delay: .87s; }
.bars i:nth-child(8) { animation-delay: .94s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* --- Tarjeta testimonio --- */
.card--review {
  bottom: 10%;
  left: 0%;
  width: 44%;
  min-width: 190px;
  display: flex; gap: 8px;
  padding: 10px 12px;
}
.review__body { flex: 1; min-width: 0; }
.review__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.review__top b { font-size: .62rem; }
.review__top time { font-size: .46rem; color: #a3a3a3; }
.review__body p { margin: 3px 0 6px; font-size: .52rem; color: #6d6d6d; }
.review__react { display: flex; align-items: center; gap: 4px; font-size: .5rem; }
.review__react small { color: #a3a3a3; }

/* --- Botón compartir --- */
.share {
  position: absolute;
  right: 20%;
  bottom: 30%;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow-md);
}
.share svg { width: 13px; height: 13px; fill: #fff; }

/* Flotación suave */
.float { animation: bob var(--dur, 6s) ease-in-out var(--delay, 0s) infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.social svg { width: 15px; height: 15px; fill: currentColor; }
.social a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.legal { display: flex; gap: clamp(16px, 3vw, 34px); font-size: .85rem; font-weight: 500; }
.legal a { padding-bottom: 2px; border-bottom: 1.5px solid transparent; }
.legal a:hover { border-color: var(--ink); }
.legal a.is-active { border-color: var(--ink); }

/* =============================================================
   Animación de entrada
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .7s cubic-bezier(.2, .75, .25, 1) forwards;
  animation-delay: calc(var(--d, 0) * 110ms);
}
.reveal[data-delay="0"] { --d: 0; }
.reveal[data-delay="1"] { --d: 1; }
.reveal[data-delay="2"] { --d: 2; }
.reveal[data-delay="3"] { --d: 3; }
.reveal[data-delay="4"] { --d: 4; }
.reveal[data-delay="5"] { --d: 5; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__copy { max-width: 560px; }
  .hero__visual { order: 2; width: min(100%, 560px); margin-inline: auto; }
  .blob { top: auto; bottom: 12%; right: 8%; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: calc(100% + 14px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 14px; border-radius: 10px; }
  .nav a::after { display: none; }
  .nav a:hover { background: #f6f6f6; }
  .nav__cta-mobile { display: block; }
  .header { justify-content: space-between; }
  .header .btn-pill { display: none; }
}

@media (min-width: 861px) {
  .burger { display: none; }
}

@media (max-width: 560px) {
  .hero__title { letter-spacing: -.03em; }
  .notify { flex-wrap: nowrap; }
  .notify__btn { min-width: 104px; padding: 13px 16px; font-size: .82rem; }
  .footer { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero__visual { aspect-ratio: auto; height: 380px; min-height: 0; }
  .card--main { left: 14%; width: 54%; }
  .card--review { left: 0; width: 52%; }
}

/* Respeta la preferencia de menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* =============================================================
   BANDAS DE SECCION (cada bloque con su propia atmosfera)
   ============================================================= */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* --- Banda 1: crema calida --- */
.band--svc {
  background: linear-gradient(180deg, #ffffff 0%, #fff9ec 38%, #fffdf7 80%, #ffffff 100%);
}
.band--svc::before {            /* halo amarillo difuso */
  content: "";
  position: absolute;
  top: -16%; right: -10%;
  width: min(48vw, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 61, .50) 0%, rgba(255, 200, 61, 0) 68%);
  z-index: -2;
  pointer-events: none;
}
.band--svc::after {             /* trama de puntos muy tenue */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 16, 16, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 55% at 18% 28%, #000 0%, transparent 70%);
          mask-image: radial-gradient(70% 55% at 18% 28%, #000 0%, transparent 70%);
  opacity: .5;
  z-index: -2;
  pointer-events: none;
}

/* --- Banda 2: lienzo claro y frio, para contrastar sin oscurecer --- */
.band--work {
  margin-top: clamp(12px, 2vw, 26px);
  border-radius: clamp(26px, 3.4vw, 46px) clamp(26px, 3.4vw, 46px) 0 0;
  background:
    linear-gradient(180deg, #f7f5f1 0%, #faf8f5 45%, #ffffff 100%);
  box-shadow: inset 0 1px 0 rgba(16, 16, 16, .05);
}
.band--work::before {           /* dos halos suaves: amarillo y verde agua */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 46% at 88% 6%, rgba(255, 200, 61, .40) 0%, rgba(255, 200, 61, 0) 66%),
    radial-gradient(46% 44% at 4% 84%, rgba(46, 196, 182, .20) 0%, rgba(46, 196, 182, 0) 64%);
  z-index: -1;
  pointer-events: none;
}
.band--work::after {            /* lineas diagonales finisimas */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(16, 16, 16, .05) 0 1px, transparent 1px 12px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 45%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 45%);
  opacity: .5;
  z-index: -1;
  pointer-events: none;
}

/* =============================================================
   ESTRUCTURA DE SECCION
   ============================================================= */
.section {
  position: relative;
  width: 100%;
  max-width: calc(var(--max) + var(--pad-x) * 2);   /* alinea con el hero */
  margin: 0 auto;
  padding: clamp(58px, 8.5vh, 108px) var(--pad-x);
  scroll-margin-top: 24px;
}

.section__head { max-width: 640px; margin-bottom: clamp(34px, 5vh, 58px); }
.section__head--center {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
}
.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.032em;
}
.section__lead {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(.94rem, 1.2vw, 1.02rem);
  line-height: 1.65;
  color: var(--ink-soft);
}
.section__head--center .section__lead { margin-inline: auto; }

/* Eyebrow en formato pildora */
.eyebrow--pill {
  display: inline-flex;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 16px 7px 13px;
  border: 1px solid rgba(16, 16, 16, .10);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(16, 16, 16, .05);
}
.eyebrow--pill i {
  width: 7px; height: 7px;
  align-self: center;
  border-radius: 50%;
  background: var(--yellow-deep);
  box-shadow: 0 0 0 4px rgba(255, 200, 61, .30);
}

/* =============================================================
   SERVICIOS — columna fija + bento
   ============================================================= */
.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.55fr);
  gap: clamp(28px, 4vw, 76px);
  align-items: start;
}

.svc-aside { position: sticky; top: clamp(24px, 5vh, 48px); }
.svc-aside .section__title { font-size: clamp(1.8rem, 2.9vw, 2.5rem); }
.svc-aside .section__lead { max-width: 42ch; }

/* Mini cifras bajo el texto */
.stats {
  display: grid;
  gap: 18px;
  margin: clamp(26px, 4vh, 40px) 0 clamp(22px, 3vh, 32px);
  padding: 0;
  border-top: 1px solid rgba(16, 16, 16, .09);
  padding-top: clamp(22px, 3vh, 30px);
}
.stats div { display: flex; align-items: baseline; gap: 12px; }
.stats dt {
  min-width: 68px;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.stats dd {
  margin: 0;
  font-size: .84rem;
  color: var(--ink-soft);
}

.aside__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 600;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
  transition: gap .2s ease, border-color .2s ease;
}
.aside__link svg { width: 13px; height: 13px; }
.aside__link:hover { gap: 12px; border-color: var(--ink); }

/* --- Bento --- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.1vw, 28px);
  border: 1px solid rgba(16, 16, 16, .07);
  border-radius: 22px;
  background: linear-gradient(170deg, #ffffff 0%, #fffdf6 100%);
  box-shadow: 0 2px 6px rgba(16, 16, 16, .03);
  overflow: hidden;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease, border-color .32s ease;
}
.svc::before {                   /* filo superior al pasar el raton */
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-deep), transparent);
  opacity: 0;
  transition: opacity .32s ease;
}
.svc:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 181, 0, .35);
  box-shadow: 0 22px 46px rgba(16, 16, 16, .12);
}
.svc:hover::before { opacity: 1; }

.svc__num {
  position: absolute;
  top: 20px; right: 22px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(16, 16, 16, .16);
}

.svc__icon {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 50px; height: 50px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(150deg, #232326 0%, #0c0c0d 100%);
  box-shadow: 0 10px 22px rgba(16, 16, 16, .20), inset 0 1px 0 rgba(255, 255, 255, .10);
  transition: background .32s ease, box-shadow .32s ease, transform .32s cubic-bezier(.2, .8, .2, 1);
}
.svc__icon svg { width: 24px; height: 24px; overflow: visible; }
.i-soft { fill: var(--yellow); opacity: .26; }
.i-line {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc:hover .svc__icon {
  transform: translateY(-2px) rotate(-3deg);
  background: linear-gradient(150deg, #ffd970 0%, #f5a800 100%);
  box-shadow: 0 12px 26px rgba(247, 181, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.svc:hover .i-soft { fill: #101010; opacity: .22; }
.svc:hover .i-line { stroke: #101010; }

.svc h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.018em;
}
.svc p {
  margin: 0 0 18px;
  font-size: .875rem;
  line-height: 1.62;
  color: var(--ink-soft);
}
.svc__tags {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin: auto 0 0; padding: 0;
  list-style: none;
}
.svc__tags li {
  padding: 6px 12px;
  border: 1px solid rgba(16, 16, 16, .06);
  border-radius: var(--radius-pill);
  background: rgba(16, 16, 16, .035);
  font-size: .72rem;
  font-weight: 500;
  color: #5c5c5c;
}

/* Tarjeta destacada, ocupa las dos columnas */
.svc--feature {
  grid-column: 1 / -1;
  padding: clamp(26px, 2.6vw, 36px);
  border-color: rgba(247, 181, 0, .45);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(255, 200, 61, .42) 0%, rgba(255, 200, 61, 0) 58%),
    linear-gradient(160deg, #fffcf0 0%, #ffffff 100%);
  box-shadow: 0 16px 40px rgba(247, 181, 0, .16);
}
.svc--feature .svc__icon {
  width: 58px; height: 58px;
  border-radius: 18px;
  background: linear-gradient(150deg, #ffd970 0%, #f5a800 100%);
  box-shadow: 0 12px 24px rgba(247, 181, 0, .40), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.svc--feature .svc__icon svg { width: 27px; height: 27px; }
.svc--feature .i-soft { fill: #101010; opacity: .2; }
.svc--feature .i-line { stroke: #101010; }
.svc--feature h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin-bottom: 10px; }
.svc--feature p { max-width: 54ch; font-size: .92rem; }
.svc--feature .svc__num { color: rgba(16, 16, 16, .3); }

.svc__flag {
  position: absolute;
  top: 0; left: clamp(26px, 2.6vw, 36px);
  padding: 6px 13px 7px;
  border-radius: 0 0 12px 12px;
  background: var(--ink);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.svc--feature { padding-top: calc(clamp(26px, 2.6vw, 36px) + 14px); }

/* Tarjeta ancha en horizontal (cierra el bento) */
.svc--row {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
  padding: clamp(18px, 1.9vw, 24px);
}
.svc--row .svc__icon { margin-bottom: 0; }
.svc--row .svc__txt { flex: 1; min-width: 0; }
.svc--row p { margin-bottom: 0; }
.svc--row .svc__tags { margin: 0; }
.svc--row .svc__num { position: static; align-self: center; opacity: .9; }

/* =============================================================
   PROYECTO DESTACADO
   ============================================================= */
.work {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid rgba(16, 16, 16, .07);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 60px rgba(16, 16, 16, .10);
}

.work__shot {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #efefef;
  aspect-ratio: 1200 / 630;
  box-shadow: 0 14px 30px rgba(16, 16, 16, .16);
}
.work__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.work:hover .work__shot img { transform: scale(1.045); }
.work__badge {
  position: absolute; left: 14px; top: 14px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--ink);
  font-size: .73rem; font-weight: 700;
  box-shadow: 0 8px 20px rgba(16, 16, 16, .22);
}

.work__body { padding: clamp(4px, 1vw, 12px) clamp(6px, 1.4vw, 20px) clamp(10px, 1vw, 14px) 0; }

.work__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.work__brand img {
  width: 52px; height: 52px;
  object-fit: contain;
  padding: 6px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid rgba(16, 16, 16, .07);
  box-shadow: 0 6px 16px rgba(16, 16, 16, .08);
}
.work__brand h3 {
  margin: 0;
  font-size: 1.28rem; font-weight: 700;
  letter-spacing: -.022em;
}
.work__meta {
  margin: 3px 0 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: #b07d00;
}

.work__desc {
  margin: 0 0 20px;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.work__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 24px; padding: 0;
  list-style: none;
}
.work__tags li {
  padding: 7px 13px;
  border: 1px solid rgba(16, 16, 16, .08);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .7);
  font-size: .73rem; font-weight: 500;
  color: #5c5c5c;
}

.work__link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: .88rem; font-weight: 600;
  transition: gap .22s ease, transform .22s ease, box-shadow .22s ease;
}
.work__link svg { width: 13px; height: 13px; }
.work__link:hover {
  gap: 13px;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 16, 16, .25);
}

/* =============================================================
   CONTACTO
   ============================================================= */
.cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 26px;
  margin-top: clamp(22px, 3.4vh, 40px);
  padding: clamp(30px, 3.6vw, 50px);
  border-radius: 28px;
  background:
    radial-gradient(120% 150% at 0% 0%, #ffe89f 0%, rgba(255, 232, 159, 0) 55%),
    linear-gradient(140deg, var(--yellow) 0%, var(--yellow-deep) 100%);
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(247, 181, 0, .30);
  scroll-margin-top: 28px;
}
.cta h3 {
  margin: 0 0 9px;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.028em;
}
.cta p {
  margin: 0;
  max-width: 46ch;
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(16, 16, 16, .72);
}
.cta .btn-pill { background: var(--ink); color: #fff; }
.cta .btn-pill:hover { box-shadow: 0 16px 34px rgba(16, 16, 16, .32); }
.btn-pill--lg { padding: 17px 30px; font-size: .93rem; }

/* =============================================================
   BARRA FINAL
   ============================================================= */
.bottombar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  max-width: calc(var(--max) + var(--pad-x) * 2);
  margin: 0 auto;
  padding: 24px var(--pad-x) 34px;
  border-top: 1px solid rgba(16, 16, 16, .08);
  font-size: .78rem;
  color: #8d8d8d;
}
.bottombar__top {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--ink);
  transition: gap .2s ease;
}
.bottombar__top:hover { gap: 11px; }
.bottombar__top svg { width: 10px; height: 10px; }

/* =============================================================
   APARICION AL HACER SCROLL
   ============================================================= */
.js .up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.2, .75, .25, 1), transform .75s cubic-bezier(.2, .75, .25, 1);
  transition-delay: var(--stagger, 0ms);
}
.js .up.is-in { opacity: 1; transform: none; }

/* =============================================================
   RESPONSIVE DE LAS SECCIONES
   ============================================================= */
@media (max-width: 1024px) {
  .svc-layout { grid-template-columns: 1fr; gap: clamp(26px, 4vh, 44px); }
  .svc-aside { position: static; max-width: 620px; }
  .stats { display: flex; flex-wrap: wrap; gap: 26px; }
  .stats div { flex-direction: column; gap: 2px; }
  .stats dt { min-width: 0; }
}

@media (max-width: 860px) {
  .work { grid-template-columns: 1fr; }
  .work__body { padding: 0 clamp(6px, 2vw, 14px) 12px; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc--row { flex-direction: column; align-items: flex-start; }
  .svc--row .svc__num { position: absolute; top: 20px; right: 22px; }
  .svc--row .svc__icon { margin-bottom: 16px; }
  .svc--row .svc__tags { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .up { opacity: 1; transform: none; transition: none; }
}
