/* ==========================================================================
   Go Mall 2026 — Design system + Home
   Tokens → base → componentes → secciones. Pensado para pasar a theme WP.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color — marca */
  --gm-orange: #EA5B25;        /* primario Go Mall (web oficial) */
  --gm-orange-deep: #C8461A;   /* hover / estados */
  --gm-orange-soft: #FCE6DC;   /* fondos suaves */
  --gm-ink: #121214;           /* negro "cinta" de los banners de marca */
  --gm-graphite: #4B4F58;      /* texto principal web oficial */
  --gm-muted: #6E727B;
  --gm-paper: #FBF7F3;         /* crema cálido */
  --gm-white: #FFFFFF;
  --gm-line: #E7E1DB;
  --gm-line-dark: #2A2A2E;

  /* Tipografía */
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .9375rem;   /* 15 */
  --fs-md: 1.125rem;   /* 18 */
  --fs-lg: 1.5rem;     /* 24 */
  --fs-xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);         /* 32→48 */
  --fs-2xl: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);    /* 40→72 */
  --fs-3xl: clamp(2.75rem, 1.4rem + 5.6vw, 6rem);     /* 44→96 */

  /* Espacio y forma */
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --container: 1240px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--gm-graphite);
  background: var(--gm-paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--gm-ink);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0;
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gm-ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gm-orange); }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gm-ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

/* ---------- 3. Componentes ---------- */

/* Cinta: el recurso de los banners de marca (texto sobre bloque negro) */
.tape {
  display: inline;
  background: var(--gm-ink);
  color: var(--gm-white);
  padding: .02em .22em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.tape--orange { background: var(--gm-orange); color: var(--gm-ink); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 3px; background: currentColor; }

.btn {
  --btn-bg: var(--gm-ink); --btn-fg: var(--gm-white); --btn-bd: var(--gm-ink);
  display: inline-flex; align-items: center; gap: .75rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .02em; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bd); border-radius: var(--radius);
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--orange { --btn-bg: var(--gm-orange); --btn-fg: var(--gm-ink); --btn-bd: var(--gm-orange); }
.btn--orange:hover { --btn-bg: var(--gm-orange-deep); --btn-bd: var(--gm-orange-deep); --btn-fg: var(--gm-white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--gm-ink); --btn-bd: var(--gm-ink); }
.btn--ghost:hover { --btn-bg: var(--gm-ink); --btn-fg: var(--gm-white); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--gm-white); --btn-bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { --btn-bg: var(--gm-white); --btn-fg: var(--gm-ink); --btn-bd: var(--gm-white); }

.arrow { width: 1em; height: 1em; flex: none; }

.section-head { display: grid; gap: 1.25rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section-head h2 { font-size: var(--fs-2xl); font-weight: 800; }
.section-head p { font-size: var(--fs-md); max-width: 38rem; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 243, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--gm-line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header__logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  color: var(--gm-ink); text-decoration: none; position: relative; padding-block: .5rem;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gm-orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    background: none; border: 2px solid var(--gm-ink); border-radius: var(--radius);
    font: 700 var(--fs-sm) var(--font-display); color: var(--gm-ink); padding: .55rem .9rem; cursor: pointer;
  }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.5rem;
    background: var(--gm-paper); padding: 1.5rem var(--gutter) 2rem; border-bottom: 1px solid var(--gm-line);
    transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: .25rem; }
  .nav__list a { display: block; font-size: var(--fs-lg); padding-block: .6rem; }
  .nav .btn { justify-content: center; }
}

/* ---------- 5. Hero ---------- */
.hero { background: var(--gm-orange); color: var(--gm-ink); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: end; min-height: min(86dvh, 760px);
}
.hero__copy { padding-block: clamp(3.5rem, 6vw, 6rem); display: grid; gap: 1.75rem; align-content: center; height: 100%; }
.hero__title {
  font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.4rem); font-weight: 800; line-height: 1.02; color: var(--gm-ink);
  text-transform: uppercase; letter-spacing: -.035em;
}
.hero__title .tape { line-height: 1.22; }
.hero__lead { font-size: var(--fs-md); max-width: 34rem; color: var(--gm-ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.hero__media { position: relative; align-self: stretch; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: contrast(1.05); }
.hero__badge {
  position: absolute; left: -1.5rem; bottom: 2.5rem;
  background: var(--gm-ink); color: var(--gm-white);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--fs-sm); letter-spacing: .04em; line-height: 1.25;
  padding: 1rem 1.25rem; max-width: 15rem;
}
.hero__badge span { color: var(--gm-orange); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding-bottom: 0; }
  .hero__media { margin-inline: calc(-1 * var(--gutter)); height: 320px; }
  .hero__badge { left: var(--gutter); bottom: 1.5rem; }
}

/* ---------- 6. Cifras ---------- */
.stats { background: var(--gm-ink); color: var(--gm-white); }
.stats__list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.stats__item { padding: 2.5rem 1.5rem 2.5rem 0; border-right: 1px solid var(--gm-line-dark); }
.stats__item + .stats__item { padding-left: 1.75rem; }
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl);
  line-height: 1; letter-spacing: -.04em; color: var(--gm-orange); display: block;
}
.stats__label { display: block; margin-top: .6rem; font-size: var(--fs-sm); color: #C9C9CF; max-width: 14rem; }
@media (max-width: 800px) {
  .stats__list { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 1.75rem 1rem 1.75rem 0 !important; border-right: 0; border-bottom: 1px solid var(--gm-line-dark); }
  .stats__item:nth-child(even) { padding-left: 1rem !important; border-left: 1px solid var(--gm-line-dark); }
}

/* ---------- 7. Entendemos ---------- */
.understand { padding-block: var(--space-section); }
.understand__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.understand h2 { font-size: var(--fs-2xl); font-weight: 800; }
.understand__text { display: grid; gap: 2rem; padding-top: .5rem; }
.formats { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.formats li {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  border: 2px solid var(--gm-ink); color: var(--gm-ink); padding: .45rem .9rem; border-radius: 999px;
}
@media (max-width: 800px) { .understand__grid { grid-template-columns: 1fr; } }

/* ---------- 8. Objetivos ---------- */
.goals { padding-bottom: var(--space-section); }
.goals__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--gm-ink); }
.goals__item { padding: 1.75rem 1.5rem 0 0; display: grid; gap: .75rem; }
.goals__item + .goals__item { padding-left: 1.5rem; border-left: 1px solid var(--gm-line); }
.goals__num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm); color: var(--gm-orange); }
.goals__item h3 { font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
@media (max-width: 800px) {
  .goals__list { grid-template-columns: 1fr 1fr; }
  .goals__item { padding: 1.5rem 1rem 1.5rem 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--gm-line); }
  .goals__item:nth-child(even) { padding-left: 1rem !important; }
}

/* ---------- 9. Agencia (directorio) ---------- */
.agency { background: var(--gm-white); padding-block: var(--space-section); }
.agency__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.agency__intro { position: sticky; top: 110px; display: grid; gap: 1.5rem; }
.agency__intro h2 { font-size: var(--fs-2xl); font-weight: 800; }
.agency__photo { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--gm-orange); }
.agency__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.directory { border-top: 2px solid var(--gm-ink); }
.directory details { border-bottom: 1px solid var(--gm-line); }
.directory summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: center; gap: 1rem;
  padding: 1.6rem 0;
}
.directory summary::-webkit-details-marker { display: none; }
.directory__num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm); color: var(--gm-orange); }
.directory__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--gm-ink); letter-spacing: -.02em; line-height: 1.15; }
.directory__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2px solid var(--gm-ink);
  display: grid; place-items: center; color: var(--gm-ink);
  transition: transform .3s var(--ease), background-color .25s, color .25s;
}
.directory summary:hover .directory__icon { background: var(--gm-orange); border-color: var(--gm-orange); }
.directory details[open] .directory__icon { transform: rotate(90deg); background: var(--gm-ink); color: var(--gm-white); }
.directory ul { list-style: none; margin: 0; padding: 0 0 1.75rem 4.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.directory li { background: var(--gm-paper); border: 1px solid var(--gm-line); padding: .35rem .8rem; border-radius: 999px; font-size: var(--fs-sm); color: var(--gm-ink); }
.agency__cta { margin-top: 2.5rem; }
@media (max-width: 900px) {
  .agency__layout { grid-template-columns: 1fr; }
  .agency__intro { position: static; }
  .directory summary { grid-template-columns: 2.5rem 1fr auto; }
  .directory ul { padding-left: 0; }
}

/* ---------- 10. Suite tecnológica ---------- */
.suite { background: var(--gm-ink); color: #D4D4D8; padding-block: var(--space-section); }
.suite .section-head h2 { color: var(--gm-white); }
.suite__journey { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: 3rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--fs-sm); letter-spacing: .08em; color: var(--gm-white); }
.suite__journey svg { color: var(--gm-orange); }
.suite__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.product {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 1.5rem;
  background: #1B1B1E; border: 1px solid var(--gm-line-dark); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.product:hover { border-color: var(--gm-orange); transform: translateY(-4px); }
.product__stage { display: flex; justify-content: space-between; align-items: center; }
.product__stage .tape--orange { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; padding: .35rem .6rem; }
.product__index { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); color: #8B8B93; }
.product h3 { color: var(--gm-white); font-size: var(--fs-xl); font-weight: 800; }
.product p { font-size: var(--fs-md); margin-top: .75rem; max-width: 30rem; }
.product__visual { min-height: 220px; display: grid; place-items: center; background: #242428; border-radius: 14px; padding: 1.5rem; }
.product__link { display: inline-flex; align-items: center; gap: .6rem; color: var(--gm-white); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.product__link::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es clicable */
.product__link .arrow { color: var(--gm-orange); transition: transform .25s var(--ease); }
.product:hover .product__link .arrow { transform: translate(3px, -3px); }
.product__note { font-size: var(--fs-xs); color: #8B8B93; }
@media (max-width: 900px) { .suite__grid { grid-template-columns: 1fr; } }

/* Mockups ilustrativos de cada producto */
.mock-post { width: 200px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.35); transform: rotate(-3deg); }
.mock-post__img { height: 130px; background: linear-gradient(160deg, #F29A6C, var(--gm-orange) 55%, #8E2C0C); position: relative; }
.mock-post__img span { position: absolute; left: .75rem; bottom: .6rem; font: 800 1rem/1.1 var(--font-display); color: #fff; }
.mock-post__body { padding: .7rem .75rem .85rem; font-size: .75rem; color: var(--gm-graphite); display: grid; gap: .4rem; }
.mock-post__swatches { display: flex; gap: .3rem; }
.mock-post__swatches i { width: 14px; height: 14px; border-radius: 50%; }
.mock-post__chip { justify-self: start; background: var(--gm-ink); color: #fff; font: 700 .65rem var(--font-display); padding: .25rem .5rem; border-radius: 4px; }

.mock-chat { width: 100%; max-width: 300px; display: grid; gap: .6rem; font-size: .85rem; }
.mock-chat__msg { padding: .6rem .85rem; border-radius: 14px; max-width: 85%; line-height: 1.4; }
.mock-chat__msg--in { background: #34343A; color: #fff; border-bottom-left-radius: 4px; }
.mock-chat__msg--out { background: var(--gm-orange); color: var(--gm-ink); justify-self: end; border-bottom-right-radius: 4px; }
.mock-chat__who { font: 700 .65rem var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #8B8B93; }
.mock-chat__channels { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.mock-chat__channels span { font-size: .7rem; border: 1px solid #3A3A40; color: #C9C9CF; padding: .15rem .5rem; border-radius: 999px; }

.mock-phone { width: 170px; border-radius: 26px; border: 6px solid #0B0B0C; background: #0B0B0C; overflow: hidden; box-shadow: 0 24px 48px rgba(0,0,0,.45); transform: rotate(3deg); }
.mock-phone img { width: 100%; height: 320px; object-fit: cover; object-position: top; border-radius: 20px; }

.mock-survey { background: #fff; color: var(--gm-ink); border-radius: 12px; padding: 1rem 1.1rem; width: 100%; max-width: 280px; display: grid; gap: .75rem; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.mock-survey__q { font: 700 .9rem/1.3 var(--font-display); }
.mock-survey__scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; }
.mock-survey__scale span { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--gm-line); display: grid; place-items: center; font: 700 .85rem var(--font-display); }
.mock-survey__scale span:nth-child(5) { background: #006EB8; color: #fff; border-color: #006EB8; } /* azul Dilo y Gana */
.mock-survey__foot { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--gm-muted); }
.mock-survey__qr { width: 26px; height: 26px; background:
  conic-gradient(from 90deg at 50% 50%, var(--gm-ink) 25%, transparent 0 50%, var(--gm-ink) 0 75%, transparent 0) 0 0/8px 8px; border: 2px solid var(--gm-ink); }

/* ---------- 11. Clientes ---------- */
.clients { padding-block: var(--space-section); }
.clients__grid { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--gm-line); border-left: 1px solid var(--gm-line); list-style: none; margin: 0; padding: 0; }
.clients__grid li { border-right: 1px solid var(--gm-line); border-bottom: 1px solid var(--gm-line); aspect-ratio: 489/301; display: grid; place-items: center; padding: .5rem; background: var(--gm-paper); }
.clients__grid img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.clients__grid li:hover img { filter: none; opacity: 1; }
@media (max-width: 1000px) { .clients__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .clients__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 12. CTA final ---------- */
.cta { background: var(--gm-orange); padding-block: var(--space-section); position: relative; overflow: hidden; }
.cta__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2.5rem; align-items: end; }
.cta h2 { font-size: var(--fs-3xl); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.02; }
.cta h2 .tape { line-height: 1.22; }
.cta p { color: var(--gm-ink); font-size: var(--fs-md); margin-bottom: 1.5rem; }
.cta__arrow { position: absolute; right: -4rem; top: -4rem; width: 26rem; height: 26rem; color: rgba(18,18,20,.08); pointer-events: none; }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--gm-ink); color: #A9A9B1; padding-block: 4.5rem 2rem; font-size: var(--fs-sm); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer__logo { height: 52px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.site-footer h3 { color: var(--gm-white); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gm-orange); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gm-line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 14. Botón de chat (placeholder Go Mall IA) ---------- */
.chat-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--gm-ink); color: var(--gm-white); border: 0; border-radius: 999px;
  padding: .85rem 1.2rem .85rem .9rem; cursor: pointer;
  font: 700 var(--fs-sm) var(--font-display); box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transition: transform .25s var(--ease);
}
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab__dot { width: 2rem; height: 2rem; border-radius: 50%; background: var(--gm-orange); display: grid; place-items: center; color: var(--gm-ink); }

/* ---------- 15. Movimiento ---------- */
.reveal > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-visible > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal > * { opacity: 1; transform: none; }
}

/* ---------- 16. Ajustes móviles ---------- */
.goals__item, .clients__grid li, .stats__item { min-width: 0; }
@media (max-width: 520px) {
  .goals__list { grid-template-columns: 1fr; }
  .goals__item { padding-left: 0 !important; grid-template-columns: 2.5rem 1fr; align-items: baseline; }
  .directory li { max-width: 100%; }
}

/* ==========================================================================
   Páginas internas
   ========================================================================== */

/* ---------- 17. Submenú Tecnología ---------- */
.has-sub { position: relative; }
.subnav {
  list-style: none; margin: 0; padding: .6rem; position: absolute; top: 100%; left: -1rem; min-width: 250px;
  background: var(--gm-white); border: 1px solid var(--gm-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(18,18,20,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: grid !important; gap: .1rem; padding: .6rem .75rem !important; border-radius: 8px; }
.subnav a::after { display: none; }
.subnav a:hover { background: var(--gm-paper); }
.subnav__stage { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-orange); }
@media (max-width: 900px) {
  .nav { max-height: calc(100vh - 76px); overflow-y: auto; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 .5rem 1rem; min-width: 0; }
  .subnav a { font-size: var(--fs-md) !important; padding: .4rem 0 !important; }
}

/* ---------- 18. Hero de página ---------- */
.page-hero { background: var(--gm-orange); color: var(--gm-ink); padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero__grid--single { grid-template-columns: 1fr; max-width: 60rem; }
.page-hero__copy { display: grid; gap: 1.5rem; }
.page-hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.25rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.03; }
.page-hero h1 .tape { line-height: 1.24; }
.page-hero__lead { font-size: var(--fs-md); max-width: 36rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.page-hero__visual { display: grid; place-items: center; }
.page-hero__visual .product__visual { width: 100%; max-width: 420px; min-height: 320px; background: var(--gm-ink); border-radius: var(--radius-lg); }
.breadcrumb { font-size: var(--fs-xs); font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; }
.breadcrumb a { text-decoration: none; opacity: .75; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin-inline: .4rem; }
.page-hero__arrow { position: absolute; right: -5rem; bottom: -6rem; width: 24rem; height: 24rem; color: rgba(18,18,20,.07); pointer-events: none; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

/* ---------- 19. Bloques ---------- */
.block { padding-block: var(--space-section); }
.block--white { background: var(--gm-white); }
.block--dark { background: var(--gm-ink); color: #D4D4D8; }
.block--dark h2, .block--dark h3 { color: var(--gm-white); }
.block--tight { padding-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--top { align-items: start; }
.split h2 { font-size: var(--fs-2xl); font-weight: 800; }
.prose { display: grid; gap: 1.25rem; max-width: 38rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--gm-ink); }
.steps li { padding: 2rem 2rem 0 0; display: grid; gap: .75rem; align-content: start; }
.steps li + li { padding-left: 2rem; border-left: 1px solid var(--gm-line); }
.steps__num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); line-height: 1; color: var(--gm-orange); letter-spacing: -.04em; }
.steps h3 { font-size: var(--fs-lg); font-weight: 800; }
.block--dark .steps { border-top-color: var(--gm-white); }
.block--dark .steps li + li { border-left-color: var(--gm-line-dark); }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 1.75rem 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--gm-line); }
}

/* Lista de capacidades (grilla con filetes, no tarjetas) */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gm-line); border-left: 1px solid var(--gm-line); }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.features li { padding: 2rem; border-right: 1px solid var(--gm-line); border-bottom: 1px solid var(--gm-line); display: grid; gap: .6rem; align-content: start; transition: background-color .25s; }
.features li:hover { background: var(--gm-paper); }
.block--white .features li:hover { background: var(--gm-paper); }
.features h3 { font-size: var(--fs-md); font-weight: 800; letter-spacing: -.01em; display: flex; gap: .6rem; align-items: center; }
.features h3 .arrow { color: var(--gm-orange); }
.features p { font-size: var(--fs-sm); }
.block--dark .features, .block--dark .features li { border-color: var(--gm-line-dark); }
.block--dark .features li:hover { background: #1B1B1E; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features, .features--2 { grid-template-columns: 1fr; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.chips li { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); border: 2px solid var(--gm-ink); color: var(--gm-ink); padding: .5rem 1rem; border-radius: 999px; }
.block--dark .chips li { border-color: var(--gm-orange); color: var(--gm-white); }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; align-items: start; }
.checklist .arrow { color: var(--gm-orange); margin-top: .3rem; }

/* Galería de celulares */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap; }
.phones figure { margin: 0; display: grid; gap: 1rem; justify-items: center; text-align: center; }
.phones .mock-phone { width: clamp(180px, 22vw, 240px); transform: none; }
.phones .mock-phone img { height: auto; aspect-ratio: 920/1562; }
.phones figure:nth-child(2) .mock-phone { transform: translateY(-2rem); }
.phones figcaption { font-family: var(--font-display); font-weight: 800; color: var(--gm-ink); }
.phones figcaption span { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-sm); color: var(--gm-graphite); }
@media (max-width: 700px) { .phones figure:nth-child(2) .mock-phone { transform: none; } }

/* Beneficios por actor */
.actors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.actor { border-top: 4px solid var(--gm-orange); background: var(--gm-white); padding: 2rem; display: grid; gap: .75rem; align-content: start; }
.actor h3 { font-size: var(--fs-lg); font-weight: 800; }
@media (max-width: 900px) { .actors { grid-template-columns: 1fr; } }

.note { font-size: var(--fs-xs); color: var(--gm-muted); margin-top: 1.5rem; }
.block--dark .note { color: #8B8B93; }

/* Hub de tecnología: fila por producto */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); border-top: 1px solid var(--gm-line-dark); }
.product-row:first-child { border-top: 0; padding-top: 0; }
.product-row:nth-child(even) .product-row__visual { order: -1; }
.product-row h2 { font-size: var(--fs-xl); font-weight: 800; margin-top: 1rem; }
.product-row__copy { display: grid; gap: 1.25rem; justify-items: start; }
.product-row .checklist { color: #D4D4D8; }
.product-row__visual .product__visual { min-height: 320px; }
@media (max-width: 900px) { .product-row { grid-template-columns: 1fr; } .product-row:nth-child(even) .product-row__visual { order: 0; } }

/* ---------- 20. Contacto ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__info { display: grid; gap: 1.75rem; }
.contact__info dl { margin: 0; display: grid; gap: 1.25rem; }
.contact__info dt { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gm-orange); }
.contact__info dd { margin: .25rem 0 0; font-size: var(--fs-md); color: var(--gm-ink); }
.contact__info a { text-decoration: none; border-bottom: 2px solid var(--gm-orange); }
.contact-form { background: var(--gm-white); border: 1px solid var(--gm-line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); display: grid; gap: 1.25rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); color: var(--gm-ink); }
.field input, .field textarea {
  font: inherit; font-size: var(--fs-md); color: var(--gm-ink); background: var(--gm-paper);
  border: 2px solid transparent; border-bottom-color: var(--gm-line); border-radius: var(--radius); padding: .8rem .9rem; transition: border-color .2s, background-color .2s;
}
.field input:hover, .field textarea:hover { border-bottom-color: var(--gm-graphite); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gm-ink); background: var(--gm-white); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B42318; }
.field textarea { min-height: 130px; resize: vertical; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.interest { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.interest label { position: relative; cursor: pointer; }
.interest input { position: absolute; opacity: 0; }
.interest span { display: inline-block; padding: .5rem .95rem; border: 2px solid var(--gm-line); border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--gm-ink); transition: all .2s; }
.interest label:hover span { border-color: var(--gm-ink); }
.interest input:checked + span { background: var(--gm-ink); border-color: var(--gm-ink); color: var(--gm-white); }
.interest input:focus-visible + span { outline: 3px solid var(--gm-orange); outline-offset: 2px; }
.contact-form__legal { font-size: var(--fs-xs); color: var(--gm-muted); }
.contact-form__status { background: var(--gm-orange-soft); color: var(--gm-ink); padding: .8rem 1rem; border-radius: var(--radius); font-size: var(--fs-sm); }
.contact-form .btn { justify-self: start; cursor: pointer; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form__row { grid-template-columns: 1fr; } }

.eyebrow-tape { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; padding: .35rem .6rem; }

/* ==========================================================================
   21. Optimización PC + móvil (auditoría de diseño)
   ========================================================================== */

/* Utilidades que reemplazan estilos en línea */
.eyebrow--accent { color: var(--gm-orange); }
.h-section { margin-top: 1.25rem; font-size: var(--fs-2xl); font-weight: 800; }
.h-sub { font-size: var(--fs-xl); font-weight: 800; }
.actor--paper { background: var(--gm-paper); }
.field__hint { font-weight: 400; color: var(--gm-muted); }
.suite__journey--ink { color: var(--gm-ink); margin: 0; }
.sw--1 { background: var(--gm-orange); } .sw--2 { background: var(--gm-ink); } .sw--3 { background: #F2C94C; }

/* Tipografía: sin palabras huérfanas y cifras alineadas */
h1, h2, h3, .hero__badge { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.stats__num, .steps__num, .goals__num, .directory__num, .product__index { font-variant-numeric: tabular-nums; }

/* Textura: grano sutil sobre los bloques naranja (rompe el plano digital) */
.hero, .page-hero, .cta { position: relative; isolation: isolate; }
.hero::before, .page-hero::before, .cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.07 0 0 0 0 0.08 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Botones: respuesta al presionar + sombras teñidas */
.btn:active { transform: translateY(1px) scale(.98); }
.btn { min-height: 48px; }
.btn--orange { box-shadow: 0 10px 24px -12px rgba(200, 70, 26, .7); }
.product:hover { box-shadow: 0 30px 60px -30px rgba(234, 91, 37, .45); }
.mock-post, .mock-survey { box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .55); }

/* Enlaces pendientes (no navegan hasta tener contenido) */
.is-pending { pointer-events: none; opacity: .55; text-decoration: none; cursor: default; }

/* ---------- Componente de imagen (slot con respaldo y aviso de pendiente) ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--gm-line); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--duo { background: var(--gm-orange); }
.photo--duo img { filter: grayscale(1) contrast(1.12) brightness(1.02); mix-blend-mode: multiply; }
.photo__pending { display: none; }
.photo.is-missing { display: grid; place-items: center; min-height: 220px; background: repeating-linear-gradient(-45deg, var(--gm-paper) 0 12px, var(--gm-orange-soft) 12px 24px); border: 2px dashed var(--gm-orange); }
.photo.is-missing img { display: none; }
.photo.is-missing .photo__pending { display: block; font: 700 var(--fs-sm) var(--font-display); color: var(--gm-ink); background: var(--gm-white); padding: .5rem .85rem; border-radius: var(--radius); }
.photo.is-fallback::after { content: "Provisoria"; position: absolute; top: .75rem; right: .75rem; font: 700 .65rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; background: var(--gm-ink); color: var(--gm-white); padding: .3rem .5rem; }

.hero__media .photo { height: 100%; }
.agency__photo.photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.photo--frame { aspect-ratio: 4 / 5; max-height: 460px; width: 100%; border-radius: var(--radius-lg); box-shadow: 18px 18px 0 var(--gm-ink); }

/* Banda de foto que se superpone al hero (profundidad) */
.page-hero:has(+ .photo-band) { padding-bottom: calc(clamp(3.5rem, 2.5rem + 5vw, 7rem) + clamp(3rem, 6vw, 6rem)); }
.photo-band { position: relative; z-index: 1; margin-top: calc(-1 * clamp(3rem, 6vw, 6rem)); }
.photo-band .photo { aspect-ratio: 21 / 9; border-radius: var(--radius-lg); box-shadow: 0 40px 80px -40px rgba(18, 18, 20, .45); }
.photo-band__caption { margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); color: var(--gm-ink); display: flex; gap: .6rem; align-items: center; }
.photo-band__caption::before { content: ""; width: 1.75rem; height: 3px; background: var(--gm-orange); }

/* 404 */
.page-hero--404 { min-height: calc(100dvh - 76px); display: grid; align-items: center; }

/* Formulario: errores en línea */
.field__error { font-size: var(--fs-xs); color: #B42318; min-height: 1em; }
.field input[aria-invalid="true"] { border-color: #B42318; background: #FEF3F2; }

/* Menú abierto: bloquea el scroll de fondo */
body.nav-open { overflow: hidden; }

/* Área táctil cómoda en footer y submenú */
.site-footer li a { display: inline-block; padding-block: .3rem; }

/* ---------- Ajustes por dispositivo ---------- */

/* Dispositivos táctiles: sin hover, los logos se ven a color */
@media (hover: none) {
  .clients__grid img { filter: none; opacity: 1; }
  .product:hover { transform: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Móvil */
@media (max-width: 900px) {
  .hero__media { height: auto; aspect-ratio: 4 / 3; }
  .hero__copy { gap: 1.25rem; }
  .page-hero__visual .product__visual { min-height: 260px; max-width: none; }
  .photo--frame { aspect-ratio: 4 / 3; box-shadow: 10px 10px 0 var(--gm-ink); }
  .photo-band .photo { aspect-ratio: 4 / 3; }
  .agency__photo.photo { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  :root { --fs-md: 1.0625rem; }
  .hero__actions .btn, .page-hero__actions .btn { width: 100%; justify-content: center; }
  .hero__badge { max-width: 13rem; font-size: var(--fs-xs); padding: .8rem 1rem; }

  /* Cifras: las 3 en una fila, compactas */
  .stats__list { grid-template-columns: repeat(3, 1fr); }
  .stats__item, .stats__item:nth-child(even) { padding: 1.5rem .75rem 1.5rem 0 !important; border: 0 !important; border-right: 1px solid var(--gm-line-dark) !important; }
  .stats__item + .stats__item { padding-left: .75rem !important; }
  .stats__item:last-child { border-right: 0 !important; }
  .stats__num { font-size: 2.1rem; }
  .stats__label { font-size: var(--fs-xs); }

  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .directory summary { padding: 1.25rem 0; }
  .features li { padding: 1.5rem; }
  .product { padding: 1.25rem; border-radius: 16px; }
  .phones { gap: 2.5rem; }
  .suite__journey { font-size: var(--fs-xs); }

  /* Chat: solo el ícono, respetando el área segura del teléfono */
  .chat-fab { padding: 0; width: 56px; height: 56px; justify-content: center; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); font-size: 0; gap: 0; }
  .chat-fab__dot { width: 56px; height: 56px; }
  .chat-fab__dot .arrow { width: 1.35rem; height: 1.35rem; }
}

/* Pantallas grandes: más aire */
@media (min-width: 1536px) {
  :root { --container: 1360px; }
}
.interest span { min-height: 44px; display: inline-flex; align-items: center; }
.product__link { min-height: 44px; }
html { scroll-padding-top: 90px; }

/* ---------- 22. Ajustes de revisión ---------- */

/* Cifras: cada columna con el mismo ritmo (número + texto en línea, centrado en su columna) */
.stats__list { grid-template-columns: repeat(3, 1fr); }
.stats__item, .stats__item + .stats__item {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  padding: 2.25rem 1.5rem; border-right: 1px solid var(--gm-line-dark);
}
.stats__item:first-child { border-left: 1px solid var(--gm-line-dark); }
.stats__item:last-child { border-right: 1px solid var(--gm-line-dark); }
.stats__num { flex: none; }
.stats__label { margin-top: 0; max-width: 11rem; line-height: 1.35; }
@media (max-width: 900px) {
  .stats__item, .stats__item + .stats__item { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .5rem; padding: 1.75rem 1rem; }
}
@media (max-width: 640px) {
  .stats__item:first-child { border-left: 0 !important; }
  .stats__item, .stats__item + .stats__item { padding: 1.5rem .75rem !important; }
  .stats__item:first-child { padding-left: 0 !important; }
}

/* Quiénes somos + objetivos: un solo bloque, jerarquía clara */
.understand { padding-bottom: var(--space-section); }
.understand__grid { align-items: end; }
.understand__text { padding-top: 0; }
.goals-panel {
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--gm-white); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  box-shadow: 0 30px 60px -45px rgba(18, 18, 20, .35);
}
.goals-panel__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: 2.5rem; }
.goals-panel__head h3 { font-size: var(--fs-xl); font-weight: 800; }
.goals-panel__head p { max-width: 32rem; }
.goals-panel .goals__list { border-top-color: var(--gm-orange); }
.goals-panel .goals__item h4 { margin: 0; font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: var(--gm-ink); }
@media (max-width: 800px) { .goals-panel__head { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .goals-panel .goals__item h4 { font-size: var(--fs-md); } }

/* ---------- 23. Celulares en la suite (Home) ---------- */
.suite .product__visual { min-height: 360px; position: relative; overflow: hidden; }
.suite .mock-phone { width: 190px; }
.suite .mock-phone img { height: 340px; }
.mock-phone--tilt-l { transform: rotate(-3deg); }
.mock-phone--tilt-r { transform: rotate(3deg); }
.product__caption { position: absolute; left: 1rem; bottom: .75rem; font: 700 .65rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #8B8B93; }

/* Chat simulado dentro del celular */
.mock-phone--chat { transform: rotate(2deg); }
.chat-app { height: 340px; border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; background: #F3EDE7; font-family: var(--font-body); }
.chat-app__bar { display: flex; align-items: center; gap: .55rem; padding: .7rem .75rem; background: var(--gm-ink); color: #fff; }
.chat-app__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--gm-orange); color: var(--gm-ink); display: grid; place-items: center; flex: none; }
.chat-app__avatar .arrow { width: 14px; height: 14px; }
.chat-app__name { font: 700 .78rem/1.1 var(--font-display); display: grid; }
.chat-app__name small { font: 400 .62rem var(--font-body); color: #9FE2B0; }
.chat-app__body { padding: .7rem .6rem; display: flex; flex-direction: column; gap: .45rem; justify-content: flex-end; overflow: hidden; }
.chat-app__msg { max-width: 82%; padding: .45rem .6rem; border-radius: 12px 12px 12px 3px; background: #fff; color: var(--gm-ink); font-size: .7rem; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.chat-app__msg--me { align-self: flex-end; background: var(--gm-orange); color: var(--gm-ink); border-radius: 12px 12px 3px 12px; }
.chat-app__typing { align-self: flex-start; display: inline-flex; gap: 3px; background: #fff; padding: .5rem .6rem; border-radius: 12px; }
.chat-app__typing i { width: 5px; height: 5px; border-radius: 50%; background: #B9B4AF; animation: typing 1.2s infinite; }
.chat-app__typing i:nth-child(2) { animation-delay: .15s; } .chat-app__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.chat-app__input { display: flex; align-items: center; gap: .4rem; padding: .5rem; background: #fff; }
.chat-app__input span { flex: 1; font-size: .65rem; color: #9A958F; background: #F3EDE7; border-radius: 999px; padding: .4rem .6rem; }
.chat-app__input b { width: 24px; height: 24px; border-radius: 50%; background: var(--gm-orange); display: grid; place-items: center; color: var(--gm-ink); }
.chat-app__input .arrow { width: 12px; height: 12px; }
@media (max-width: 640px) {
  .suite .product__visual { min-height: 320px; }
  .suite .mock-phone { width: 170px; }
  .suite .mock-phone img, .chat-app { height: 300px; }
}

/* Celulares de la suite: la captura se muestra completa (sin recorte lateral) */
.suite .mock-phone { width: 200px; }
.suite .mock-phone img { height: auto; aspect-ratio: auto; object-fit: contain; }
.suite .chat-app { height: 330px; }
@media (max-width: 640px) {
  .suite .mock-phone { width: 180px; }
  .suite .mock-phone img { height: auto; }
  .suite .chat-app { height: 300px; }
}

/* ---------- 24. Video demostrativo ---------- */
.page-hero:has(+ .demo) { padding-bottom: calc(clamp(3.5rem, 2.5rem + 5vw, 7rem) + clamp(3rem, 6vw, 6rem)); }
.demo { position: relative; z-index: 1; margin-top: calc(-1 * clamp(3rem, 6vw, 6rem)); padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.demo__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--gm-ink); box-shadow: 0 40px 80px -40px rgba(18, 18, 20, .5); }
.demo__frame video { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--gm-ink); }
.demo__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gm-orange); color: var(--gm-ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(234, 91, 37, .25), 0 20px 40px -10px rgba(200, 70, 26, .6);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.demo__play .arrow { width: 40%; height: 40%; margin-left: 6%; }
.demo__play:hover { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(234, 91, 37, .2), 0 20px 40px -10px rgba(200, 70, 26, .6); }
.demo__frame.is-playing .demo__play { display: none; }
.demo__frame--soon { display: grid; place-content: center; justify-items: center; gap: 1.25rem; text-align: center;
  background: radial-gradient(120% 90% at 80% 10%, #2A2A30 0%, var(--gm-ink) 60%); color: var(--gm-white); }
.demo__soon-icon { width: 84px; height: 84px; border-radius: 50%; border: 2px dashed rgba(234, 91, 37, .7); color: var(--gm-orange); display: grid; place-items: center; }
.demo__soon-icon .arrow { width: 34px; height: 34px; margin-left: 4px; }
.demo__soon-text { font: 800 var(--fs-lg)/1.2 var(--font-display); letter-spacing: -.01em; }
.demo__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-top: 2rem; }
.demo__foot .h-sub { margin-top: .75rem; }
@media (max-width: 640px) { .demo__foot .btn { width: 100%; justify-content: center; } .demo__soon-text { font-size: var(--fs-md); } }

/* Home: enlace secundario "Ver demo" en la tarjeta */
.product__links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.product__demo { position: relative; z-index: 2; min-height: 44px; display: inline-flex; align-items: center; font: 700 var(--fs-sm) var(--font-display); color: var(--gm-orange); text-decoration: none; }
.product__demo:hover { text-decoration: underline; }
.demo__play { left: clamp(1rem, 3vw, 2.25rem); top: auto; bottom: clamp(1rem, 3vw, 2.25rem); translate: none; width: auto; aspect-ratio: auto; border-radius: 999px; padding: .9rem 1.4rem .9rem 1.1rem; gap: .6rem; grid-auto-flow: column; font: 800 var(--fs-sm) var(--font-display); }
.demo__play .arrow { width: 1.25rem; height: 1.25rem; margin: 0; }
.demo__play::after { content: "Ver video"; }

/* ---------- 25. Celulares en heros y en Tecnología ---------- */
.phone-stage .product__visual { position: relative; overflow: hidden; min-height: 460px; background: var(--gm-ink); border-radius: var(--radius-lg); }
.phone-stage .mock-phone { width: 240px; }
.phone-stage .mock-phone img { height: auto; object-fit: contain; }
.phone-stage .chat-app { height: 400px; }
.phone-stage .chat-app__msg { font-size: .8rem; }
.page-hero__visual.phone-stage { width: 100%; }
.page-hero__visual.phone-stage .product__visual { max-width: 460px; margin-inline: auto; width: 100%; }
@media (max-width: 640px) {
  .phone-stage .product__visual { min-height: 380px; }
  .phone-stage .mock-phone { width: 200px; }
  .phone-stage .chat-app { height: 340px; }
}
/* El submenú hereda la visibilidad del menú móvil (antes quedaba visible con el menú cerrado) */
@media (max-width: 900px) { .subnav { visibility: inherit; } }

/* ==========================================================================
   26. WordPress
   ========================================================================== */
.nav__list .current-menu-item > a::after, .nav__list .current-menu-ancestor > a::after, .nav__list .current-page-ancestor > a::after { transform: scaleX(1); }
.nav__list .sub-menu { list-style: none; }
.contact-form__status--error { background: #FEF3F2; color: #B42318; }
.entry-content { max-width: 46rem; }
.entry-content > * + * { margin-top: 1.1rem; }
.entry-content h2 { font-size: var(--fs-xl); font-weight: 800; margin-top: 2.5rem; }
.entry-content h3 { font-size: var(--fs-lg); font-weight: 800; margin-top: 2rem; }
.entry-content a { color: var(--gm-orange-deep); }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }
.entry-content img { border-radius: var(--radius); height: auto; }
.entry { padding-bottom: 2rem; border-bottom: 1px solid var(--gm-line); margin-bottom: 2rem; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
