/* Growon · propuesta de rediseño */

:root {
  --night: #10042e;
  --violet: #1c0a4a;
  --violet-2: #26125e;
  --mint: #66ffcc;
  --mint-ink: #062a1f;
  --lilac: #a99bd9;
  --paper: #f4f1ff;
  --rule: rgba(169, 155, 217, 0.22);

  --wa-bg: #0b141a;
  --wa-bubble: #005c4b;
  --wa-text: #e9edef;
  --wa-meta: #8fd4c4;
  --wa-input: #202c33;

  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --pad: clamp(16px, 4.5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--paper);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.skip { position: absolute; left: 16px; top: -60px; background: var(--mint); color: var(--mint-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; z-index: 10; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--mint { background: var(--mint); color: var(--mint-ink); }
.btn--mint:hover { background: #8dffd9; }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--paper); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(16, 4, 46, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.top-logo img { width: 116px; }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--lilac); font-weight: 500; }
.top-nav a:hover { color: var(--paper); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: .95rem; }
@media (max-width: 760px) { .top-nav { display: none; } .top .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-family: var(--display); font-weight: 700; font-stretch: 92%;
  font-size: clamp(3rem, 7vw, 6.4rem); line-height: .94; letter-spacing: -0.03em;
  margin: 0 0 28px; max-width: 11ch; text-wrap: balance;
}
.hero-sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--lilac); max-width: 34ch; margin: 0 0 36px; }
.hero-sub strong { color: var(--paper); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Chat de WhatsApp (formulario) ---------- */
.chat {
  background: var(--wa-bg); border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px -30px rgba(0,0,0,.7);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #1f2c34; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--night); display: grid; place-items: center; flex: none; }
.chat-avatar img { width: 30px; }
.chat-head strong { display: block; font-weight: 600; font-size: 1rem; }
.chat-head span { font-size: .82rem; color: #8696a0; }

.chat-body {
  padding: 22px 16px 18px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end;
  background-color: var(--wa-bg);
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 18px 18px;
}
.chat-hint { align-self: center; font-size: .78rem; color: #8696a0; background: #182229; padding: 5px 12px; border-radius: 8px; margin-bottom: 14px; }
.bubble {
  align-self: flex-end; max-width: 88%; background: var(--wa-bubble); color: var(--wa-text);
  padding: 9px 12px 6px; border-radius: 10px 0 10px 10px; font-size: .95rem; line-height: 1.45;
  position: relative; white-space: pre-line;
  animation: pop .45s cubic-bezier(.2,.9,.3,1.3) .35s both;
}
.bubble::after { content: ""; position: absolute; top: 0; right: -8px; width: 0; height: 0; border-left: 8px solid var(--wa-bubble); border-bottom: 10px solid transparent; }
.bubble .ph { color: rgba(233,237,239,.45); }
.bubble-meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: .7rem; color: var(--wa-meta); margin-top: 2px; }
.bubble-meta svg { width: 16px; height: 16px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

.chat-form { padding: 16px; background: #111b21; display: grid; gap: 10px; }
.chat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 4px; }
.field label { font-size: .78rem; color: #8696a0; padding-left: 14px; }
.field input, .field textarea {
  width: 100%; border: 0; border-radius: 22px; background: var(--wa-input); color: var(--wa-text);
  padding: 12px 16px; font-size: .95rem; min-height: 46px;
}
.field textarea { resize: none; height: 46px; min-height: 46px; overflow: hidden; border-radius: 22px; line-height: 1.4; }
.field input::placeholder, .field textarea::placeholder { color: #6b7b85; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--mint); outline-offset: 0; }
.field-error { display: none; font-size: .78rem; color: #ff9aa8; padding-left: 14px; }
.field.has-error .field-error { display: block; }
.field.has-error input { outline: 2px solid #ff6b81; }
.chips.has-error .field-error { display: block; padding-top: 4px; }
.chips.has-error .chip span { box-shadow: inset 0 0 0 1px #ff6b81; }

.chips { border: 0; margin: 0; padding: 0; }
.chips legend { font-size: .78rem; color: #8696a0; padding: 0 0 6px 14px; }
.chips-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: .88rem; cursor: pointer;
  background: var(--wa-input); color: var(--wa-text); transition: background-color .15s ease, color .15s ease;
}
.chip input:checked + span { background: var(--mint); color: var(--mint-ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }

.send { display: flex; gap: 10px; align-items: flex-end; }
.send .field { flex: 1; }
.send-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; background: #00a884; color: #fff; cursor: pointer; flex: none;
  display: grid; place-items: center; transition: background-color .15s ease;
}
.send-btn:hover { background: #06cf9c; }
.send-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.chat-note { font-size: .78rem; color: #8696a0; text-align: center; margin: 2px 0 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Clientes ---------- */
.clients { padding: 8px 0 clamp(72px, 9vw, 120px); }
.clients p { color: var(--lilac); margin: 0 0 20px; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px 12px; }
.logos img { width: 100%; height: 64px; object-fit: contain; opacity: .7; }

/* ---------- Títulos de sección ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--rule); }
.sec-title {
  font-family: var(--display); font-weight: 700; font-stretch: 92%; letter-spacing: -0.025em; line-height: 1;
  font-size: clamp(2.3rem, 5vw, 4.2rem); margin: 0 0 clamp(36px, 5vw, 64px); max-width: 16ch; text-wrap: balance;
}

/* ---------- Servicios (filas) ---------- */
.services { list-style: none; margin: 0; padding: 0; }
.services li + li { border-top: 1px solid var(--rule); }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto; gap: 24px 40px; align-items: baseline;
  padding: 32px 0; text-decoration: none;
}
.service h3 {
  font-family: var(--display); font-weight: 600; font-stretch: 90%; letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; margin: 0;
}
.service p { margin: 0; color: var(--lilac); max-width: 46ch; }
.service .more { color: var(--mint); font-weight: 600; white-space: nowrap; }
.service:hover h3 { color: var(--mint); }
.service:hover .more { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Casos ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: 0 0 clamp(56px, 7vw, 88px); }
.case + .case { padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--rule); }
.case blockquote { margin: 0; }
.case blockquote p {
  font-family: var(--display); font-weight: 500; font-stretch: 95%; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.18; margin: 0 0 24px; text-wrap: pretty;
}
.case cite { font-style: normal; color: var(--lilac); }
.case cite strong { color: var(--paper); font-weight: 600; }
.case-facts { display: grid; gap: 18px; align-content: start; }
.case-logo { height: 100px; width: auto; max-width: 260px; object-fit: contain; object-position: left; margin: -16px 0 -16px -30px; }
.case-facts dl { margin: 0; display: grid; gap: 14px; }
.case-facts dt { color: var(--lilac); font-size: .9rem; }
.case-facts dd { margin: 0; font-weight: 500; }

.more-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--rule); }
.more-cases h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.6rem; margin: 0 0 8px; }
.more-cases p { color: var(--lilac); margin: 0 0 8px; max-width: 48ch; }
.more-cases .svc { color: var(--paper); font-size: .95rem; }

.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 7vw, 88px); }
.quotes figure { margin: 0; padding: 28px; background: var(--violet); border-radius: 20px; }
.quotes blockquote { margin: 0 0 18px; font-size: 1.12rem; line-height: 1.55; }
.quotes figcaption { color: var(--lilac); font-size: .95rem; }
.quotes figcaption strong { color: var(--paper); font-weight: 600; }

/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--mint); padding-top: 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 600; color: var(--mint); margin-bottom: 14px; }
.steps h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.steps p { color: var(--lilac); margin: 0; font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--lilac); margin: 0 0 24px; max-width: 64ch; }

/* ---------- CTA final ---------- */
.end { padding: clamp(88px, 12vw, 160px) 0; border-top: 1px solid var(--rule); }
.end h2 {
  font-family: var(--display); font-weight: 700; font-stretch: 88%; letter-spacing: -0.035em; line-height: .9;
  font-size: clamp(3.5rem, 11vw, 9.5rem); margin: 0 0 32px;
}
.end p { color: var(--lilac); font-size: 1.2rem; max-width: 40ch; margin: 0 0 36px; }
.end .btn { min-height: 60px; padding: 0 30px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--rule); padding: 40px 0; color: var(--lilac); font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.foot img { width: 100px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }
.foot small { margin-left: auto; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .logos { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .case, .more-cases, .quotes { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .hero h1 { max-width: 12ch; }
}
@media (max-width: 520px) {
  .chat-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .logos img { height: 52px; }
  .foot small { margin-left: 0; }
  .hero-actions .btn { flex: 1 1 auto; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   v2 · color por bloques e ilustraciones
   ========================================================================== */
:root {
  --indigo: #3b1fa8;
  --electric: #6633ff;
  --lilac-bg: #e7e1ff;
  --mint-bg: #d4fff0;
  --ink: #14063a;
  --ink-soft: #4b3f78;
}

/* Hero con luz de color y el "^" de la marca */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% -10% -10%; z-index: -2;
  background:
    radial-gradient(40% 55% at 85% 20%, rgba(102, 51, 255, .55), transparent 70%),
    radial-gradient(35% 45% at 70% 85%, rgba(59, 31, 168, .7), transparent 70%),
    radial-gradient(25% 30% at 12% 90%, rgba(102, 255, 204, .16), transparent 70%);
}
.hero-caret {
  position: absolute; z-index: -1; right: -6%; top: 50%; width: min(62vw, 820px); transform: translateY(-46%);
  color: rgba(102, 255, 204, .07); pointer-events: none;
}

/* Temas de sección */
.theme-light { background: var(--paper); color: var(--ink); border-top: 0; }
.theme-light .sec-title { color: var(--ink); }
.theme-mint { background: var(--mint); color: var(--ink); border-top: 0; }
.theme-mint .sec-title { color: var(--ink); }
.theme-deep { background: linear-gradient(180deg, var(--violet) 0%, #140539 100%); border-top: 0; }

/* Servicios en bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  grid-column: span 6; border-radius: 28px; padding: clamp(22px, 3vw, 34px); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px; min-height: 440px; position: relative; overflow: hidden;
  transition: transform .2s ease;
}
.tile:hover { transform: translateY(-3px); }
.tile--wide { grid-column: span 7; }
.tile--narrow { grid-column: span 5; }
.tile--white { background: #fff; }
.tile--lilac { background: var(--lilac-bg); }
.tile--mint { background: var(--mint-bg); }
.tile--dark { background: var(--ink); color: var(--paper); }
.tile h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; letter-spacing: -0.03em; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; margin: auto 0 0; }
.tile p { margin: 0; color: var(--ink-soft); max-width: 40ch; }
.tile--dark p { color: var(--lilac); }
.tile .more { font-weight: 600; color: var(--electric); }
.tile--dark .more { color: var(--mint); }
.tile .art { margin-bottom: 18px; }

/* Ilustración: anuncio de búsqueda */
.art-search { background: #fff; border-radius: 18px; box-shadow: 0 12px 40px -18px rgba(20, 6, 58, .35), 0 0 0 1px rgba(20, 6, 58, .06); padding: 16px 18px; font-family: Arial, Helvetica, sans-serif; max-width: 460px; }
.art-search .bar { display: flex; align-items: center; gap: 10px; border-radius: 999px; box-shadow: 0 0 0 1px #dfe1e5; padding: 9px 14px; color: #202124; font-size: .9rem; margin-bottom: 16px; }
.art-search .bar svg { width: 16px; height: 16px; color: #9aa0a6; flex: none; }
.art-search .sp { font-size: .78rem; font-weight: 700; color: #202124; }
.art-search .url { font-size: .8rem; color: #4d5156; margin: 2px 0 4px; }
.art-search .ttl { color: #1a0dab; font-size: 1.1rem; line-height: 1.3; }
.art-search .desc { color: #4d5156; font-size: .82rem; line-height: 1.45; margin-top: 4px; }
.art-search .skel { height: 8px; border-radius: 4px; background: #eceef1; margin-top: 14px; }
.art-search .skel + .skel { width: 70%; margin-top: 8px; }

/* Ilustración: respuesta de IA */
.art-ai { display: grid; gap: 10px; max-width: 440px; }
.art-ai .q { justify-self: end; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 18px 18px 4px 18px; font-size: .92rem; }
.art-ai .a { background: #fff; border-radius: 18px 18px 18px 4px; padding: 14px 16px; font-size: .92rem; color: var(--ink); box-shadow: 0 12px 40px -20px rgba(20, 6, 58, .4); }
.art-ai .a b { font-weight: 600; }
.art-ai .cite { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--lilac-bg); color: var(--ink); font-weight: 600; }
.art-ai .cite::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--electric); }

/* Ilustración: gráfico */
.art-chart { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 12px 40px -20px rgba(20, 6, 58, .35); max-width: 420px; }
.art-chart .legend { display: flex; gap: 14px; font-size: .78rem; color: var(--ink-soft); margin-bottom: 8px; }
.art-chart .legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.art-chart svg { width: 100%; height: auto; }

/* Ilustración: piezas creativas */
.art-creatives { display: flex; gap: 12px; align-items: flex-end; }
.creative { border-radius: 16px; overflow: hidden; position: relative; flex: none; }
.creative--story { width: 118px; height: 200px; background: linear-gradient(160deg, var(--electric), #ff5ea8); }
.creative--square { width: 150px; height: 150px; background: var(--mint); }
.creative--post { width: 118px; height: 148px; background: #ffd35c; }
.creative .blob { position: absolute; border-radius: 50%; }
.creative .tx { position: absolute; left: 12px; right: 12px; bottom: 14px; font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.creative--story .tx { color: #fff; font-size: 1.3rem; }
.creative--square .tx { color: var(--ink); font-size: 1.5rem; }
.creative--post .tx { color: var(--ink); font-size: 1.1rem; }
.creative .pill { position: absolute; left: 12px; top: 12px; font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); }

/* Casos con panel visual */
.theme-deep .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
.case-visual {
  border-radius: 28px; min-height: 320px; display: grid; place-items: center; position: relative; overflow: hidden; padding: 40px;
}
.case-visual--indigo { background: radial-gradient(80% 90% at 20% 10%, #5b3cf0, var(--indigo) 60%, #24107a); }
.case-visual--mint { background: radial-gradient(80% 90% at 80% 10%, #a6ffe2, var(--mint) 55%, #2fd9a3); }
.case-visual img { width: min(80%, 360px); height: auto; position: relative; z-index: 1; }
.case-visual svg.bg-caret { position: absolute; right: -10%; bottom: -25%; width: 70%; color: rgba(255,255,255,.12); }
.case-visual--mint svg.bg-caret { color: rgba(20, 6, 58, .1); }
.case-visual--mint > img { filter: brightness(0) saturate(100%) invert(9%) sepia(55%) saturate(4000%) hue-rotate(252deg); }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.case-meta span { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: rgba(169, 155, 217, .16); color: var(--paper); }
.case-meta span:first-child { background: var(--mint); color: var(--ink); font-weight: 600; }

/* Proceso sobre menta */
.theme-mint .steps li { border-top-color: var(--ink); }
.theme-mint .steps li::before { color: var(--ink); }
.theme-mint .steps p { color: var(--ink-soft); }

/* FAQ sobre claro */
.theme-light .faq details { border-color: rgba(20, 6, 58, .14); }
.theme-light .faq details p { color: var(--ink-soft); }
.theme-light .faq summary::after { border-color: var(--electric); }

/* Cierre */
.end { position: relative; overflow: hidden; isolation: isolate; border-top: 0; }
.end::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 90% 100%, rgba(102, 51, 255, .6), transparent 70%), radial-gradient(30% 40% at 0% 0%, rgba(102, 255, 204, .12), transparent 70%);
}
.end .hero-caret { color: rgba(102, 255, 204, .09); top: auto; bottom: -30%; transform: none; }

@media (max-width: 900px) {
  .tile, .tile--wide, .tile--narrow { grid-column: 1 / -1; min-height: 0; }
  .tile h3 { margin-top: 8px; }
  .theme-deep .case { grid-template-columns: 1fr; }
  .case-visual { min-height: 220px; order: -1; }
  .hero-caret { width: 120vw; right: -40%; opacity: .7; }
}
@media (max-width: 520px) {
  .creative--story { width: 92px; height: 160px; }
  .creative--square { width: 112px; height: 112px; }
  .creative--post { width: 86px; height: 112px; }
}
.theme-deep .quotes figure { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(169, 155, 217, .18); }
.hero::before { inset: -20% -10% 0 -10%; -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }

/* v3 · capturas de clientes en marco de navegador */
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(8, 0, 30, .6), 0 0 0 1px rgba(20, 6, 58, .08); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1eff8; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6d1e6; }
.browser-bar i:first-child { background: #ff6b81; }
.browser-bar i:nth-child(2) { background: #ffc24b; }
.browser-bar i:nth-child(3) { background: #2fd9a3; }
.browser-bar span { margin-left: 10px; flex: 1; max-width: 260px; font-size: .72rem; color: #6d6490; background: #fff; border-radius: 999px; padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.case-visual { padding: clamp(28px, 4vw, 48px) 0 0 clamp(28px, 4vw, 48px); place-items: end; min-height: 360px; }
.case-visual .browser { width: 108%; position: relative; z-index: 1; margin-bottom: -2px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.case-logo-chip { position: absolute; z-index: 2; left: 20px; top: 18px; height: 34px; width: auto; }
.case-visual .case-logo-chip { filter: none; }

.more-cases .browser { margin-bottom: 20px; }
.more-cases .no-shot { aspect-ratio: 16 / 10.9; border-radius: 14px; margin-bottom: 20px; display: grid; place-items: center; background: radial-gradient(90% 90% at 20% 0%, #5b3cf0, var(--indigo) 60%, #24107a); }
.more-cases .no-shot span { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.02em; color: var(--paper); }

.gallery { margin-top: clamp(56px, 7vw, 88px); }
.gallery h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; margin: 0 0 20px; color: var(--paper); }
.gallery-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 12px; color: var(--lilac); font-size: .95rem; }

.quotes figure { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.quotes figure > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: top; }
.quotes figure blockquote, .quotes figure figcaption { padding: 0 28px; }
.quotes figure blockquote { margin: 24px 0 14px; }
.quotes figure figcaption { padding-bottom: 26px; }

@media (max-width: 900px) {
  .case-visual { min-height: 0; }
  .gallery-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Sitio · páginas interiores, footer y utilidades
   ========================================================================== */
.top-nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--mint); padding-bottom: 4px; }

/* Hero de páginas interiores */
.hero--page { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero--page h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); max-width: 14ch; }
.hero--page .hero-sub { max-width: 44ch; }
.hero--page .hero-caret { width: min(48vw, 620px); }
.hero-art { display: flex; justify-content: center; }
.hero-art .art { width: 100%; max-width: 460px; margin: 0; }
.hero-art--dark { padding: 28px; background: var(--ink); border-radius: 28px; justify-content: flex-start; }
.crumbs { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--lilac); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--paper); }

.sec-lead { font-size: 1.15rem; max-width: 56ch; margin: calc(-1 * clamp(20px, 3vw, 40px)) 0 clamp(36px, 5vw, 56px); color: var(--lilac); }
.theme-light .sec-lead, .theme-mint .sec-lead { color: var(--ink-soft); }

/* Qué incluye */
.includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.includes li { border-top: 1px solid rgba(20, 6, 58, .16); padding-top: 20px; }
.includes h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.includes p { margin: 0; color: var(--ink-soft); }

/* Lista con el "^" de la marca */
.carets { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.carets li { position: relative; padding-left: 34px; }
.carets li::before {
  content: ""; position: absolute; left: 4px; top: 10px; width: 11px; height: 11px;
  border-left: 3px solid var(--mint); border-top: 3px solid var(--mint); transform: rotate(45deg); border-radius: 2px;
}
.carets strong { display: block; font-weight: 600; font-size: 1.1rem; }
.carets span { color: var(--lilac); }
.theme-light .carets li::before, .theme-mint .carets li::before { border-color: var(--electric); }
.theme-light .carets span { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split .sec-title { margin-bottom: 24px; }
.split p.lead { color: var(--lilac); font-size: 1.15rem; max-width: 46ch; margin: 0 0 28px; }

/* Servicio: bloque de caso destacado */
.featured .case { padding: 0; }

/* Contacto */
.channels { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.channels a, .channels span.ch { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 1.1rem; }
.channels svg { width: 22px; height: 22px; color: var(--mint); flex: none; }
.channels small { display: block; color: var(--lilac); font-size: .85rem; }
.channels a:hover strong { color: var(--mint); }
.channels strong { font-weight: 600; }

/* Todos los logos */
.logos--all { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px 16px; }

/* Footer */
.foot { padding: clamp(48px, 6vw, 72px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand img { width: 120px; margin-bottom: 16px; }
.foot-brand p { margin: 0; max-width: 34ch; }
.foot h2 { font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--paper); margin: 0 0 14px; }
.foot-grid nav, .foot-grid > div:last-child { display: flex; flex-direction: column; gap: 10px; }
.foot-legal { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-size: .88rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* 404 */
.hero--center { text-align: center; }
.hero--center h1, .hero--center .hero-sub { margin-left: auto; margin-right: auto; }
.hero--center .hero-actions { justify-content: center; }

@media (max-width: 1024px) {
  .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .hero-art { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .includes, .foot-grid { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 10px; row-gap: 8px; }
  .top-nav { display: flex; order: 3; width: 100%; margin-left: 0; gap: 22px; font-size: .95rem; overflow-x: auto; }
  .top .btn { margin-left: auto; }
}
.feat-title { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; margin: 22px 0 8px; }
.feat-text { color: var(--lilac); margin: 0 0 14px; max-width: 48ch; }
.feat-link { color: var(--mint); font-weight: 600; text-decoration: none; }
.feat-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.logos--feat { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.case, .more-cases > div { scroll-margin-top: 110px; }
.wa-float { transition: transform .15s ease, opacity .2s ease; }
.wa-float.is-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }

/* Ilustración: reels UGC */
.art-ugc { position: relative; height: 290px; max-width: 420px; display: flex; justify-content: center; align-items: center; }
.reel { position: absolute; width: 150px; height: 266px; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(8, 0, 30, .7); }
.reel--front { z-index: 2; background: linear-gradient(170deg, #ffb35c 0%, #ff5ea8 55%, #6633ff 100%); }
.reel--back { transform: translateX(-112px) rotate(-8deg) scale(.88); background: linear-gradient(170deg, #2fd9a3, #1d7f8c); }
.reel--back2 { transform: translateX(112px) rotate(8deg) scale(.88); background: linear-gradient(170deg, #8f6bff, #24107a); }
.reel-tag { position: absolute; top: 10px; left: 10px; font-size: .66rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); }
.reel-person { position: absolute; left: 50%; top: 62px; width: 76px; height: 76px; margin-left: -38px; border-radius: 50%; background: rgba(255,255,255,.35); box-shadow: 0 90px 0 30px rgba(255,255,255,.22); }
.reel-hook { position: absolute; left: 10px; right: 10px; bottom: 44px; font-family: var(--display); font-weight: 700; font-size: .95rem; line-height: 1.1; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.reel--back .reel-hook, .reel--back2 .reel-hook { bottom: 16px; font-size: .85rem; }
.reel-sub { position: absolute; left: 10px; right: 10px; bottom: 14px; font-size: .62rem; color: rgba(255,255,255,.9); background: rgba(0,0,0,.28); padding: 3px 6px; border-radius: 6px; }
.reel-side { position: absolute; right: 8px; top: 110px; display: grid; gap: 10px; }
.reel-side i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.85); }
.tile--full { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px 48px; background: linear-gradient(120deg, #ffe7d1, #ffd6ea 60%, var(--lilac-bg)); }
.tile--full .art { order: 2; margin: 0 auto; }
.tile--full .tile-text { display: flex; flex-direction: column; gap: 10px; }
.tile--full h3 { margin-top: 0; }
@media (max-width: 900px) {
  .tile--full { grid-template-columns: 1fr; }
  .tile--full .art { order: 0; }
}
@media (max-width: 520px) {
  .art-ugc { height: 250px; }
  .reel { width: 124px; height: 220px; }
  .reel--back { transform: translateX(-84px) rotate(-8deg) scale(.86); }
  .reel--back2 { transform: translateX(84px) rotate(8deg) scale(.86); }
}
.includes--dark { grid-template-columns: 1fr 1fr; width: 100%; max-width: 460px; }
.includes--dark li { border-top-color: rgba(169, 155, 217, .3); }
.includes--dark h3 { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; color: var(--mint); line-height: 1; margin-bottom: 10px; }
.includes--dark p { color: var(--lilac); }
.chips-list { row-gap: 8px; }
.reel--front .reel-hook { bottom: 50px; font-size: .9rem; right: 38px; }
.reel-side { top: 96px; }

/* ==========================================================================
   Propuesta comercial online (/p/…)
   ========================================================================== */
.prop-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.prop-meta span { font-size: .88rem; padding: 6px 14px; border-radius: 999px; background: rgba(169, 155, 217, .16); color: var(--paper); }
.prop-meta span:first-child { background: var(--mint); color: var(--ink); font-weight: 600; }
.prop-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: pi; }
.prop-index li { counter-increment: pi; }
.prop-index a { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 500; }
.prop-index a::before { content: counter(pi, decimal-leading-zero); font-family: var(--display); color: var(--mint); font-weight: 600; min-width: 28px; }
.prop-index a:hover { color: var(--mint); }

.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.stats-row div { border-top: 2px solid var(--electric); padding-top: 16px; }
.stats-row strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); margin-bottom: 6px; }
.stats-row span { color: var(--ink-soft); }

.client-group + .client-group { margin-top: clamp(40px, 5vw, 64px); }
.client-group h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; margin: 0 0 18px; }

.modules { list-style: none; margin: 0; padding: 0; }
.module { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 16px 48px; padding: 32px 0; border-top: 1px solid rgba(20, 6, 58, .14); }
.module:last-child { border-bottom: 1px solid rgba(20, 6, 58, .14); }
.module h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; letter-spacing: -0.03em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.05; margin: 0 0 10px; }
.module > div > p { margin: 0; color: var(--ink-soft); }
.module ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.module li { position: relative; padding-left: 22px; }
.module li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-left: 2.5px solid var(--electric); border-top: 2.5px solid var(--electric); transform: rotate(45deg); }

.comms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.comms li { background: rgba(255, 255, 255, .06); border-radius: 20px; padding: 24px; box-shadow: inset 0 0 0 1px rgba(169, 155, 217, .18); }
.comms strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin-bottom: 6px; }
.comms span { color: var(--lilac); }

.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pillars li { border-top: 2px solid var(--ink); padding-top: 18px; }
.pillars h3 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.pillars p { margin: 0; color: var(--ink-soft); }

.invest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.invest-card { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 60px -30px rgba(8, 0, 30, .6); }
.invest-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 16px; }
.invest-card ol { margin: 0 0 24px; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-soft); }
.invest-card .btn { width: 100%; }
.fine { font-size: .9rem; color: var(--lilac); margin: 16px 0 0; }

.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .module, .invest { grid-template-columns: 1fr; }
  .comms, .pillars, .steps--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .module ul, .comms, .pillars, .stats-row, .steps--3 { grid-template-columns: 1fr; }
}
.case-visual--coral { background: radial-gradient(80% 90% at 20% 10%, #ff8a7a, #ff5266 55%, #d6334f); }
.gallery-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .gallery-row { grid-template-columns: 1fr; } }

/* Oferta: diagnóstico de visibilidad en IA (colores de la grilla de redes) */
.theme-electric { background: radial-gradient(70% 90% at 100% 0%, rgba(255, 94, 168, .45), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(102, 255, 204, .18), transparent 60%), var(--electric); border-top: 0; }
.theme-electric .lead, .theme-electric .carets span { color: #e6ddff; }
.theme-electric .carets li::before { border-color: var(--mint); }
.offer-tag { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: #ffd35c; color: var(--ink); font-weight: 600; font-size: .9rem; }
.theme-electric .hero-actions { margin-top: 32px; }
.art-ai--big { max-width: 460px; }
.art-ai--big .q { font-size: 1rem; }
.art-ai--big .a { font-size: 1rem; line-height: 1.7; }
.art-ai .blank { display: inline-block; width: 110px; height: 10px; border-radius: 5px; background: #e7e1ff; vertical-align: middle; }
.art-ai .blank--short { width: 70px; }

/* Pauta: clientes, no clics */
.metrics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metrics li { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 16px 40px -24px rgba(20, 6, 58, .35); }
.metrics strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; }
.metrics span { color: var(--ink-soft); }
.note { margin: 28px 0 0; font-size: 1.1rem; color: var(--ink); max-width: 60ch; }
.note b { font-weight: 600; }

/* Redes en el footer */
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--paper); transition: color .15s ease, box-shadow .15s ease; }
.social a:hover { color: var(--mint); box-shadow: inset 0 0 0 1.5px var(--mint); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .metrics { grid-template-columns: 1fr; } }
.theme-electric p.lead { color: #f1ebff; }

/* Panel de caso con logo centrado */
.case-visual--logo { padding: 40px; place-items: center; }
.case-visual--logo > img { width: min(70%, 320px); }
.carets a, .hero-sub a { color: inherit; text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 4px; }
.theme-light .carets a { text-decoration-color: var(--electric); }
.carets a:hover, .hero-sub a:hover { color: var(--mint); }
.theme-light .carets a:hover { color: var(--electric); }
