/* INNOZONA · Boceto C · estructura y proporciones de broworks.net con la marca INNOZONA
 * Medidas tomadas de broworks.net a 1440 px: H1 56 px, H2 48 px, botones de 64 px con radio 24 px,
 * barra de 960 px con menús en texto normal y franja de aviso debajo.
 */

/* ---------- Tipografía común de la propuesta ---------- */
.hc-h2 { font-size: clamp(2rem, 1.8vw + 1.2rem, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.hc-lead { max-width: 46ch; font-size: 1.125rem; line-height: 1.55; color: var(--text-2); }
.hc-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.hc-head > div { display: grid; gap: 1rem; }
@media (min-width: 64rem) { .hc-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 4rem; } }
/* Encabezados centrados: título, texto y botón uno debajo del otro */
.hc-head.hc-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hc-head--center > div { justify-items: center; }
.hc-head--center .hc-h2 { max-width: 22ch; }
.hc-head--center .hc-lead { max-width: 52ch; margin-inline: auto; }

/* ---------- Botones: bloque de 64 px y radio 1rem; algunos llevan una flecha suelta (el relleno que sube se mantiene) ---------- */
.hc-btn { --btn-fill: var(--violet); min-height: 64px; padding: 0 2.25rem; border-radius: 1rem; font-size: 1rem; font-weight: 500; }
.hc-btn--dark { background: var(--carbon); color: var(--white); }
.hc-btn--dark:hover { color: var(--white); }
[data-theme="dark"] .hc-btn--dark { background: var(--white); color: var(--carbon); }
[data-theme="dark"] .hc-btn--dark:hover { color: var(--white); }
.hc-btn--white { background: var(--white); color: var(--carbon); }
.hc-btn--white:hover { color: var(--white); }
.hc-btn--ghost-white { --btn-fill: var(--white); background: oklch(100% 0 0 / 0.08); border-color: oklch(100% 0 0 / 0.35); color: var(--white); }
.hc-btn--ghost-white:hover { color: var(--carbon); }
.hc-btn--icon { gap: 0.75rem; padding-right: 1.9rem; }
.hc-btn__arrow { width: 18px; height: 18px; stroke-width: 1.75; transition: transform 0.45s var(--ease-out); }
.hc-btn--icon:hover .hc-btn__arrow { transform: translateX(4px); }

/* =====================================================================
   Header C
   ===================================================================== */
.hc-hdr { flex-direction: column; align-items: center; gap: 6px; inset: 0.85rem 0 auto; }
.hc-bar {
  pointer-events: auto; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  width: 100%; max-width: 60rem; height: 64px; padding: 0 10px 0 1.4rem; border-radius: 20px;
  background: var(--white); color: var(--carbon); box-shadow: 0 10px 30px -22px oklch(25% 0.06 293 / 0.45);
}
[data-theme="dark"] .hc-bar { background: var(--card); color: var(--text); box-shadow: 0 0 0 1px var(--line); }
.hc-nav { display: flex; align-items: center; gap: 1.6rem; }
.hc-nav--end { justify-self: end; gap: 1.4rem; }
.hc-nav__item {
  display: inline-flex; align-items: center; gap: 0.3rem; height: 44px; padding: 0; border: 0; background: none;
  font-family: var(--font-text); font-size: 1rem; font-weight: 400; color: inherit; cursor: pointer;
  text-decoration: underline 1px transparent; text-underline-offset: 6px; transition: text-decoration-color 0.25s;
}
.hc-nav__item:hover, .hc-nav__item[aria-expanded="true"] { text-decoration-color: currentColor; }
.hc-nav__item[aria-current="page"] { color: var(--accent-ink); }
.hc-nav__item .ico { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.hc-nav__item[aria-expanded="true"] .ico { transform: rotate(180deg); }
.hc-brand { color: inherit; }
.hc-brand .logo { width: auto; height: 22px; }
.hc-brand .logo__mark { color: var(--violet); }
[data-theme="dark"] .hc-brand .logo__mark { color: var(--lila); }
.hc-nav .theme-btn { width: 40px; height: 40px; margin-right: -0.8rem; }
.hc-cta {
  --btn-fill: var(--violet); min-height: 44px; padding: 0 1.4rem; border-radius: 18px;
  background: oklch(87.5% 0.05 296); color: var(--carbon); font-size: 1rem; font-weight: 400;
}
.hc-cta:hover { color: var(--white); }
[data-theme="dark"] .hc-cta { background: var(--accent-soft); color: var(--lila); }
.hc-burger { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 14px; background: oklch(87.5% 0.05 296); color: var(--carbon); cursor: pointer; }
[data-theme="dark"] .hc-burger { background: var(--accent-soft); color: var(--text); }
.hc-burger i { grid-area: 1 / 1; display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease-out); }
.hc-burger i:first-child { transform: translateY(-3.5px); }
.hc-burger i:last-child { transform: translateY(3.5px); }
.hc-burger[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.hc-burger[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }

/* Franja de aviso: del mismo ancho que la barra, con el texto en movimiento */
.hc-notice {
  pointer-events: auto; display: block; width: 100%; max-width: 60rem; height: 24px; overflow: hidden; border-radius: 4px;
  background: oklch(87.5% 0.05 296); color: var(--violet); font-size: 0.8125rem; font-weight: 500; line-height: 24px; text-transform: uppercase; white-space: nowrap;
  transition: opacity 0.3s;
}
[data-theme="dark"] .hc-notice { background: var(--accent-soft); color: var(--lila); }
.hc-notice__track { display: inline-flex; gap: 2.5rem; padding-left: 2.5rem; }
.hc-notice__track span + span::before { content: "✦"; margin-right: 2.5rem; }
.motion .hc-notice__track { animation: hc-scroll 30s linear infinite; }
.hc-notice:hover .hc-notice__track { animation-play-state: paused; }
.hc-hdr.is-open .hc-notice { opacity: 0; }

/* Paneles que bajan desde la barra */
.hc-panel {
  pointer-events: auto; position: absolute; top: 76px; left: 50%; width: min(80rem, calc(100% - var(--gutter) * 2));
  max-height: calc(100svh - 7rem); overflow: auto; padding: 1.5rem 1.75rem 1.75rem; border-radius: 22px;
  background: var(--card); color: var(--text); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, -10px); transition: opacity 0.3s, transform 0.45s var(--ease-out), visibility 0s 0.3s;
}
[data-theme="dark"] .hc-panel { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.hc-panel.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.hc-panel__head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line-2);
  font-size: 0.875rem; font-weight: 500; text-transform: uppercase; color: var(--text);
}
a.hc-panel__head:hover { color: var(--accent-ink); }
.hc-svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
.hc-svc a { display: grid; gap: 0.35rem; }
.hc-svc__img { display: block; aspect-ratio: 2 / 1; margin-bottom: 0.6rem; overflow: hidden; border-radius: 16px; background: var(--img-bg); }
.hc-svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.hc-svc a:hover img { transform: scale(1.06); }
.hc-svc b { font-family: var(--font-text); font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; }
.hc-svc a:hover b { color: var(--accent-ink); }
.hc-svc span:not(.hc-svc__img) { font-size: var(--fs-sm); color: var(--text-2); }
.hc-split { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 2rem; }
.hc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1.5rem; }
.hc-list a { display: flex; gap: 0.85rem; padding: 0.7rem; border-radius: 12px; transition: background-color var(--dur-short); }
.hc-list a:hover { background: var(--bg-2); }
.hc-list .ico { flex: none; width: 22px; height: 22px; margin-top: 0.1rem; color: var(--accent-ink); }
.hc-list span { display: grid; gap: 0.15rem; font-size: var(--fs-sm); color: var(--text-2); }
.hc-list b { font-family: var(--font-text); font-size: 1rem; font-weight: 500; color: var(--text); }
.hc-feature { position: relative; display: grid; align-content: end; min-height: 18rem; overflow: hidden; border-radius: 18px; color: var(--white); isolation: isolate; }
.hc-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.hc-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(14% 0.03 295 / 0.95), oklch(14% 0.03 295 / 0.5) 45%, oklch(14% 0.03 295 / 0) 80%); }
.hc-feature:hover img { transform: scale(1.06); }
.hc-feature__txt { display: grid; gap: 0.3rem; padding: 1.25rem; font-size: var(--fs-sm); color: oklch(92% 0.015 293); }
.hc-feature__txt small { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; color: var(--lila); }
.hc-feature__txt b { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--white); }

/* Menú del teléfono */
.hc-mobile {
  pointer-events: auto; position: absolute; top: calc(100% + 0.5rem); left: var(--gutter); right: var(--gutter); max-height: calc(100svh - 7.5rem); overflow: auto;
  padding: 0.75rem 1.25rem 1.5rem; border-radius: 20px; background: var(--card); color: var(--text); box-shadow: 0 0 0 1px var(--line), var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.3s, transform 0.45s var(--ease-out), visibility 0s 0.3s;
}
.hc-mobile.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hc-mobile__inner { display: grid; }
.hc-acc { border-bottom: 1px solid var(--line); }
.hc-acc summary, .hc-mobile__link {
  display: flex; align-items: center; justify-content: space-between; min-height: 58px; list-style: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em;
}
.hc-acc summary::-webkit-details-marker { display: none; }
.hc-acc[open] summary .ico { transform: rotate(180deg); }
.hc-acc summary .ico { transition: transform 0.4s var(--ease-out); }
.hc-acc ul { display: grid; gap: 0.15rem; padding-bottom: 1rem; }
.hc-acc a { display: block; padding: 0.55rem 0; color: var(--text-2); }
.hc-mobile__link { border-bottom: 1px solid var(--line); }
.hc-mobile__cta { width: 100%; margin-top: 1.25rem; }
.hc-mobile__foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--text-2); }

@media (max-width: 63.99rem) {
  .hc-bar { grid-template-columns: auto 1fr; padding-left: 1.1rem; }
  .hc-nav--start, .hc-nav--end .hc-nav__item, .hc-cta { display: none; }
  .hc-nav--end { gap: 0.5rem; }
  .hc-nav .theme-btn { margin-right: 0; }
  .hc-brand { grid-column: 1; grid-row: 1; }
  .hc-burger { display: grid; }
  .hc-panel { display: none; }
}
@media (min-width: 64rem) { .hc-mobile { display: none; } }
@media (max-width: 47.99rem) { .hc-bar { height: 60px; } .hc-brand .logo { height: 20px; } .hc-notice { font-size: 0.75rem; } }

/* =====================================================================
   Hero · titular de 56 px, un solo botón y proyectos en una rueda
   ===================================================================== */
.hc-hero {
  --hero-bg: var(--violet); --R: clamp(40rem, 54vw, 58rem); --card-w: clamp(15rem, 25vw, 25rem);
  position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(8.5rem, 15vh, 10rem);
  background: var(--hero-bg); color: var(--white); text-align: center;
}
[data-theme="dark"] .hc-hero { --hero-bg: oklch(36% 0.19 288); }
.hc-hero__bg { position: absolute; inset: 0; z-index: -1; display: flex; justify-content: space-between; padding-inline: 2%; overflow: hidden; pointer-events: none; }
.hc-hero__bg i {
  width: 2px; height: 55%; margin-top: calc(var(--i) * 3%); border-radius: 2px;
  background: linear-gradient(to bottom, oklch(100% 0 0 / 0), oklch(100% 0 0 / 0.16), oklch(100% 0 0 / 0));
  animation: hc-rise calc(7s + var(--i) * 0.45s) ease-in-out calc(var(--i) * -0.8s) infinite alternate;
}
.hc-hero__bg i:nth-child(3n) { width: 3px; }
@keyframes hc-rise { from { transform: translateY(-30%); } to { transform: translateY(60%); } }
@media (prefers-reduced-motion: reduce) { .hc-hero__bg i { animation: none; } }
.hc-hero__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.1rem; }
.hc-hero__kicker { font-size: 1rem; font-weight: 400; text-transform: uppercase; color: oklch(92% 0.03 293); }
.hc-hero__title { max-width: 22ch; font-size: clamp(2.4rem, 3vw + 0.9rem, 3.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.hc-hero .hl { color: var(--lila); }
.hc-hero__title div { padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hc-hero__lead { max-width: 48rem; font-size: 1.125rem; line-height: 1.5; color: var(--white); }
.hc-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
.hc-wheel { position: relative; z-index: 1; height: clamp(24rem, 33vw, 31rem); margin-top: 1.75rem; pointer-events: none; }
.hc-wheel__ring { position: absolute; left: 50%; top: var(--R); width: 0; height: 0; }
.hc-wheel__item { position: absolute; left: 0; top: 0; width: var(--card-w); transform: rotate(var(--a)) translate(-50%, calc(var(--R) * -1)); transform-origin: 0 0; }
.hc-wheel .hc-scene { box-shadow: 0 40px 70px -35px oklch(10% 0.06 293 / 0.7); }
.hc-rating {
  position: absolute; left: 50%; bottom: 1.75rem; z-index: 2; display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1rem; transform: translateX(-50%);
  border-radius: 999px; background: oklch(100% 0 0 / 0.14); font-size: var(--fs-sm); font-weight: 500; color: var(--white); white-space: nowrap;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color var(--dur-short);
}
.hc-rating:hover { background: oklch(100% 0 0 / 0.22); }
.hc-rating .hc-g { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--white); box-sizing: content-box; }
.hc-stars { color: #FBBC05; letter-spacing: 0.08em; }
@media (max-width: 47.99rem) {
  .hc-hero { --R: 26rem; --card-w: 14rem; padding-top: 8rem; }
  .hc-hero__lead { font-size: 1rem; }
  .hc-hero__ctas { width: 100%; }
  .hc-hero__ctas .btn { flex: 1 1 100%; min-height: 56px; }
  .hc-wheel { height: 19rem; }
}

/* ---------- Escena de proyecto: foto de ambiente + el sitio real recortado, sin el marco de la captura ---------- */
.hc-scene { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; background: var(--img-bg); isolation: isolate; }
.hc-scene__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.hc-scene__site {
  position: absolute; left: 30%; right: -6%; top: 12%; aspect-ratio: 537 / 582; overflow: hidden; border-radius: 10px;
  background: var(--white); box-shadow: 0 30px 60px -20px oklch(10% 0.05 293 / 0.65); transition: transform 1.1s var(--ease-out);
}
.hc-scene__site img { position: absolute; left: -15.08%; top: -10.65%; width: 130.2%; max-width: none; height: auto; }
.hc-scene::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, oklch(10% 0.03 295 / 0.75), oklch(10% 0.03 295 / 0) 45%); }
.hc-scene__name {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1rem; z-index: 2; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.2rem, 0.8vw + 0.9rem, 1.6rem); font-weight: 700; letter-spacing: -0.02em; color: var(--white);
}

/* =====================================================================
   Servicios · titular con rastro y tarjetas con dibujos
   ===================================================================== */
.hc-trail { position: relative; display: grid; place-items: center; min-height: clamp(18rem, 40vh, 26rem); overflow: hidden; text-align: center; }
.hc-trail__head { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.5rem; pointer-events: none; }
.hc-trail__head .hc-h2 { max-width: 22ch; }
.hc-trail__head .hc-lead { max-width: 40rem; }
.hc-trail__items { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hc-toast {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1.1rem 0.7rem 0.7rem; border: 1px solid var(--line);
  border-radius: 1rem; background: var(--card); box-shadow: 0 24px 50px -24px oklch(20% 0.06 293 / 0.45); text-align: left; white-space: nowrap; opacity: 0; will-change: transform, opacity;
}
.hc-toast__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.hc-toast b { display: block; font-size: 0.9375rem; font-weight: 600; }
.hc-toast small { font-size: var(--fs-xs); color: var(--text-2); }

.hc-svcs { padding-bottom: var(--section-y); }
.hc-svc-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .hc-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .hc-svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hc-card {
  display: grid; gap: 0.75rem; height: 100%; padding: 0.75rem 0.75rem 1.5rem; border: 1px solid var(--line); border-radius: 26px; background: var(--card);
  transition: border-color 0.4s, transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.hc-card:hover { border-color: color-mix(in oklch, var(--accent) 40%, transparent); transform: translateY(-6px); box-shadow: var(--shadow); }
.hc-card__stage { display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 0.75rem; border-radius: 18px; background: var(--bg-2); transition: background-color 0.5s; }
.hc-card:hover .hc-card__stage { background: var(--accent-soft); }
.hc-card h3, .hc-card p, .hc-card__go { padding-inline: 0.75rem; }
.hc-card h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.hc-card p { color: var(--text-2); }
.hc-card__go { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.5rem; font-weight: 600; color: var(--accent-ink); }
.hc-card:hover .hc-card__go .ico { animation: arrow-swap 0.55s var(--ease-out); }

/* Dibujos: línea en el color del texto, piezas de marca en violeta */
.hc-art { width: 82%; height: auto; overflow: visible; color: var(--text); }
.hc-art * { transform-box: fill-box; transform-origin: center; transition: transform 0.7s var(--ease-out), opacity 0.4s, fill 0.4s; }
.hc-art .d { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-art .f { fill: color-mix(in oklch, var(--accent) 22%, transparent); stroke: var(--accent-ink); stroke-width: 2; }
.hc-art .s { fill: var(--accent); stroke: none; }
.hc-art .s-line { fill: none; stroke: var(--accent-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
/* Web: el puntero viaja al botón y la imagen crece */
.hc-card:hover .a-cursor { transform: translate(-22px, -14px); }
.hc-card:hover .a-img { transform: scale(1.06); }
.hc-card:hover .a-btn { fill: var(--accent-2); transform: scale(1.08); }
.hc-art--web .a-lines path { transform-origin: left center; }
.hc-card:hover .a-lines path { transform: scaleX(0.7); }
.hc-card:hover .a-lines path:nth-child(2) { transform: scaleX(1.12); transition-delay: 0.08s; }
/* Tienda: un producto cae en el carrito */
.hc-art--shop .a-drop { opacity: 0; transform: translateY(-16px); }
.hc-card:hover .a-drop { opacity: 1; transform: translateY(26px) rotate(18deg); }
.hc-card:hover .a-badge { transform: scale(1.35); transition-delay: 0.3s; }
.hc-card:hover .a-p1 { transform: translateY(-3px); }
/* SEO: tu resultado sube al primer lugar */
.hc-card:hover .a-r1 { transform: translateY(-34px); }
.hc-card:hover .a-r2 { transform: translateY(34px); }
.hc-card:hover .a-type { transform: scaleX(1.12); }
/* Marca: las piezas se ordenan */
.hc-card:hover .a-board { transform: rotate(-4deg); }
.hc-card:hover .a-sw1 { transform: translate(-10px, 8px); }
.hc-card:hover .a-sw2 { transform: translate(10px, -6px) scale(0.9); }
.hc-card:hover .a-sw3 { transform: translateY(-12px) scale(1.4); }
.hc-card:hover .a-mark { transform: skewX(-6deg); }
/* Marketing: las barras crecen */
.hc-art--mkt .a-bar { transform-origin: center bottom; }
.hc-card:hover .a-bar { animation: hc-grow 0.9s var(--ease-out) both; }
.hc-card:hover .a-bar:nth-of-type(2) { animation-delay: 0.06s; }
.hc-card:hover .a-bar:nth-of-type(3) { animation-delay: 0.12s; }
.hc-card:hover .a-bar:nth-of-type(4) { animation-delay: 0.18s; }
@keyframes hc-grow { from { transform: scaleY(0.25); } to { transform: none; } }
/* Hosting: las luces parpadean y el escudo se marca */
.hc-card:hover .a-led { animation: hc-blink 0.9s steps(2) infinite; }
.hc-card:hover .a-led:nth-of-type(2) { animation-delay: 0.3s; }
.hc-card:hover .a-shield { transform: scale(1.08); }
@keyframes hc-blink { 50% { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .hc-art * { transition: none !important; animation: none !important; } }

/* =====================================================================
   Resultados · franja lila con arco
   ===================================================================== */
.hc-results {
  --text: oklch(18% 0.012 285); --text-2: oklch(30% 0.04 293);
  padding-block: clamp(5rem, 8vw, 7rem); background: oklch(87.5% 0.05 296); color: var(--text);
}
.hc-results .hl { color: var(--violet); }
[data-theme="dark"] .hc-results { --text: var(--white); --text-2: oklch(86% 0.04 293); background: oklch(30% 0.13 289); }
[data-theme="dark"] .hc-results .hl { color: var(--lila); }
.hc-results__grid { display: grid; gap: 3rem; }
.hc-results__text { display: grid; gap: 1.5rem; align-content: start; }
.hc-results__text .hc-h2 { max-width: 13ch; }
.hc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; margin: 0; }
.hc-stats div { display: flex; flex-direction: column-reverse; gap: 0.6rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in oklch, var(--text) 25%, transparent); }
.hc-stats dt { max-width: 22ch; font-size: var(--fs-sm); color: var(--text-2); }
.hc-stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 3.4vw + 1rem, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--violet); }
[data-theme="dark"] .hc-stats dd { color: var(--white); }
.hc-stats dd small { font-size: 0.55em; vertical-align: 0.4em; }
@media (min-width: 64rem) { .hc-results__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 5rem; } }

/* =====================================================================
   Proyectos · tarjetas verticales
   ===================================================================== */
.hc-work { padding-block: var(--section-y); }
.hc-works { display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 40rem) { .hc-works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .hc-works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hc-works li:nth-child(3n+2) { margin-top: 5rem; }
  .hc-works li:nth-child(3n+3) { margin-top: 2.5rem; }
}
.hc-work__card { display: grid; gap: 1rem; }
.hc-work__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; background: var(--img-bg); }
.hc-work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.hc-work__card:hover .hc-work__img img { transform: scale(1.04); }
.hc-work__card .hc-scene { aspect-ratio: 4 / 5; }
.hc-work__card .hc-scene::after, .hc-work__card .hc-scene__name { display: none; }
.hc-work__card .hc-scene__site { left: 11%; right: 11%; top: 13%; }
.hc-work__card:hover .hc-scene__bg { transform: scale(1.06); }
.hc-work__card:hover .hc-scene__site { transform: translateY(-10px); }
.hc-work__info { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; }
.hc-work__info b { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; }
.hc-work__info span { font-size: var(--fs-sm); color: var(--text-2); }
.hc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hc-tags span { padding: 0.35rem 0.75rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.8125rem; font-weight: 500; color: var(--text-2); }

/* =====================================================================
   Reseñas · como en Google
   ===================================================================== */
.hc-reviews { padding-block: var(--section-y); overflow: hidden; background: var(--bg-2); }
.hc-gsum {
  display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.15rem; border: 1px solid var(--line); border-radius: 18px; background: var(--card);
  transition: border-color var(--dur-short);
}
.hc-gsum:hover { border-color: var(--line-2); }
.hc-gsum > .hc-g { width: 34px; height: 34px; }
.hc-gsum > span { display: grid; line-height: 1.25; }
.hc-gsum b { font-family: var(--font-display); font-size: 1.15rem; }
.hc-gsum small { font-size: var(--fs-xs); color: var(--text-2); }
.hc-gsum > .ico { color: var(--text-3); }
.hc-marquee { display: grid; gap: 1.25rem; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hc-row { display: flex; gap: 1.25rem; width: max-content; }
.motion .hc-row { animation: hc-scroll 70s linear infinite; }
.motion .hc-row[data-row="2"] { animation-direction: reverse; animation-duration: 80s; }
.hc-marquee:hover .hc-row { animation-play-state: paused; }
@keyframes hc-scroll { to { transform: translateX(-50%); } }
.hc-rev { display: grid; align-content: start; gap: 0.75rem; width: min(25rem, 82vw); padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.hc-rev header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; }
.hc-rev header > span:nth-child(2) { display: grid; line-height: 1.3; }
.hc-rev b { font-weight: 600; }
.hc-rev small { font-size: var(--fs-xs); color: var(--text-2); }
.hc-rev .hc-g { width: 20px; height: 20px; }
.hc-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: oklch(58% 0.14 var(--h)); color: var(--white); font-weight: 600; }
.hc-rev p { color: var(--text-2); line-height: 1.6; }
.hc-marquee.is-drag { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hc-marquee.is-drag .hc-row { animation: none; will-change: transform; }
.hc-marquee.is-dragging .hc-rev { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hc-marquee { overflow-x: auto; } }

/* =====================================================================
   Mapa
   ===================================================================== */
.hc-map { padding-block: var(--section-y); background: var(--bg-2); overflow: hidden; }
[data-theme="dark"] .hc-map { background: oklch(11% 0.024 295); }
.hc-map .hc-head { margin-bottom: 0; }
.hc-map__fig { margin: clamp(1rem, 3vw, 2rem) calc(var(--gutter) * -1) 0; }
.hc-map__svg { width: 100%; height: auto; overflow: hidden; }
.hc-map__land { fill: color-mix(in oklch, var(--text) 9%, transparent); stroke: color-mix(in oklch, var(--text) 16%, transparent); stroke-width: 0.8; }
.hc-map__grid path { fill: none; stroke: var(--line); stroke-width: 1; }
.hc-map__arcs path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
[data-theme="dark"] .hc-map__arcs path { stroke: var(--lila); }
.hc-map__arcs path:nth-child(3n+2) { opacity: 0.7; }
.hc-map__arcs path:nth-child(3n) { opacity: 0.45; }
.hc-map__pin circle { fill: var(--bg-2); stroke: var(--accent); stroke-width: 2.5; }
[data-theme="dark"] .hc-map__pin circle { stroke: var(--lila); fill: oklch(11% 0.024 295); }
.hc-map__pin text { font-family: var(--font-text); font-size: 15px; font-weight: 500; fill: var(--text-2); }
.hc-map__pin--hub circle { fill: var(--accent); stroke: var(--accent); }
.hc-map__pin--hub text { font-weight: 700; fill: var(--text); font-family: var(--font-display); font-size: 17px; letter-spacing: 0.04em; }
@media (max-width: 47.99rem) { .hc-map__pin text { font-size: 22px; } .hc-map__pin--sm text { display: none; } }

/* =====================================================================
   Preguntas frecuentes · bloque oscuro
   ===================================================================== */
.hc-faq {
  --text: var(--foot-text); --text-2: var(--foot-text-2); --line: var(--foot-line);
  padding-block: var(--section-y); background: var(--carbon); color: var(--text);
}
[data-theme="dark"] .hc-faq { background: oklch(19% 0.035 295); }
.hc-faq .hl { color: var(--lila); }
.hc-faq__head { display: grid; justify-items: center; gap: 1.25rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); text-align: center; }
.hc-faq__head .hc-h2 { max-width: 26ch; }
.hc-faq__head a { color: var(--lila); text-decoration: underline; text-underline-offset: 0.2em; }
.hc-faq__cols { display: grid; gap: 0 2.5rem; }
@media (min-width: 64rem) { .hc-faq__cols { grid-template-columns: 1fr 1fr; } }
.hc-qa { border-bottom: 1px solid var(--line); }
.hc-qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; list-style: none; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.1rem, 0.4vw + 1rem, 1.3rem); font-weight: 700; letter-spacing: -0.02em;
}
.hc-qa summary::-webkit-details-marker { display: none; }
.hc-qa i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--violet); transition: background-color 0.3s; }
.hc-qa i::before, .hc-qa i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--white); transition: transform 0.4s var(--ease-out); }
.hc-qa i::after { transform: rotate(90deg); }
.hc-qa[open] i::after { transform: rotate(0deg); }
.hc-qa summary:hover i { background: var(--violet-2); }
.hc-qa__body { padding: 0 3.5rem 1.5rem 0; color: var(--text-2); line-height: 1.65; }

/* =====================================================================
   Cierre con video (mismo del boceto B)
   ===================================================================== */
.hb-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hb-close { position: relative; display: grid; align-items: end; min-height: clamp(26rem, 58svh, 34rem); padding-block: clamp(3.5rem, 6vw, 5rem); color: var(--white); overflow: hidden; isolation: isolate; }
.hb-close__media { position: absolute; inset: 0; z-index: -1; background: var(--carbon); }
.hb-close__media video { width: 100%; height: 100%; object-fit: cover; }
.hb-close__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(12% 0.03 295 / 0.92), oklch(12% 0.03 295 / 0.45) 60%, oklch(12% 0.03 295 / 0.3)); }
.hb-close__inner { display: grid; gap: 2rem; }
.hb-close__title { max-width: 16ch; font-size: clamp(2.4rem, 3vw + 0.9rem, 3.6rem); line-height: 1.15; letter-spacing: -0.025em; }
.hb-close .hl { color: var(--lila); }
.hb-close__side { display: grid; gap: 1.5rem; max-width: 34rem; }
.hb-close__side p { color: oklch(90% 0.02 293); font-size: var(--fs-lead); }
@media (min-width: 64rem) { .hb-close__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; column-gap: 4rem; } }

/* =====================================================================
   Footer C · tarjeta de enlaces sobre el fondo sólido
   ===================================================================== */
.hc-foot__card {
  --text: oklch(18% 0.012 285); --text-2: oklch(43% 0.022 293); --line: oklch(18% 0.012 285 / 0.1); --line-2: oklch(18% 0.012 285 / 0.22);
  display: grid; gap: 2.5rem; padding: clamp(1.75rem, 3vw, 2.75rem); border-radius: 26px; background: var(--white); color: var(--text);
}
[data-theme="dark"] .hc-foot__card { --text: var(--foot-text); --text-2: var(--foot-text-2); --line: var(--foot-line); --line-2: oklch(100% 0 0 / 0.24); background: oklch(19% 0.03 296); }
.hc-foot__h { margin-bottom: 1.1rem; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.hc-foot__card { --accent-ink: var(--violet); }
[data-theme="dark"] .hc-foot__card { --accent-ink: var(--lila); }
.hc-foot__col ul { display: grid; gap: 0.6rem; }
.hc-foot__col a { font-size: 0.9375rem; color: var(--text-2); transition: color var(--dur-short); }
.hc-foot__col a:hover { color: var(--text); }
.hc-foot__offices { display: grid; gap: 1.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hc-foot__offices > div { display: grid; gap: 0.2rem; }
.hc-foot__offices span { font-size: var(--fs-xs); color: var(--text-2); }
.hc-foot__offices a { justify-self: start; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.hc-foot__offices .foot__social a { border-color: var(--line-2); color: var(--text); font-family: var(--font-text); }
.hc-foot__offices .foot__social a:hover { background: var(--violet); border-color: var(--violet); color: var(--white); }
@media (min-width: 40rem) { .hc-foot__card { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hc-foot__offices { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .hc-foot__card { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hc-foot__offices { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; }
}

/* Teléfono: párrafos y botones a 1rem */
@media (max-width: 47.99rem) {
  .hc-lead, .hc-card p, .hc-rev p, .hc-qa__body, .hb-close__side p, .hc-chat__a, .hc-chat__q, .hc-ai__list li { font-size: 1rem; }
  .hc-qa__body { padding-right: 0; }
  .hb-hero__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
}


/* =====================================================================
   Ecosistema · dos tarjetas grandes con foto
   ===================================================================== */
.hc-eco { padding-block: var(--section-y); }
@media (min-width: 64rem) { .hc-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); } .hc-head--split .hc-lead { justify-self: end; } }
.hc-eco__grid { display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 48rem) { .hc-eco__grid { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 6rem); row-gap: clamp(3.5rem, 6vw, 6rem); } .hc-eco__card:nth-child(2n) { margin-top: clamp(4rem, 9vw, 9rem); } }
.hc-eco__card { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.hc-eco__media { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 0.75rem; overflow: hidden; border-radius: 24px; background: var(--img-bg); }
.hc-eco__media img { width: 100%; height: 115%; object-fit: cover; }
.hc-eco__card h3 { font-size: clamp(1.5rem, 0.8vw + 1.2rem, 2rem); letter-spacing: -0.025em; }
.hc-eco__card p { max-width: 52ch; color: var(--text-2); }
.hc-eco__card .btn { margin-top: 0.75rem; }

/* =====================================================================
   Nosotros · collage y una frase que se enciende al bajar
   ===================================================================== */
.hc-about { padding-block: var(--section-y); overflow: hidden; }
.hc-about__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .hc-about__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 5rem; } }
.hc-about__collage { position: relative; aspect-ratio: 1; }
.hc-about__img { position: absolute; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.hc-about__img--a { left: 0; top: 0; width: 72%; height: 78%; }
.hc-about__img--b { right: 0; bottom: 0; width: 58%; aspect-ratio: 4 / 3; height: auto; border: 6px solid var(--bg); }
.hc-about__chip {
  position: absolute; left: 6%; bottom: 6%; display: grid; gap: 0.1rem; padding: 0.9rem 1.2rem; border-radius: 1rem;
  background: var(--violet); color: var(--white); font-size: var(--fs-sm); box-shadow: var(--shadow);
}
.hc-about__chip b { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.hc-about__text { display: grid; gap: 1.75rem; justify-items: start; }
.hc-about__kicker { font-family: var(--font-text); font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: uppercase; color: var(--accent-ink); }
.hc-about__body { max-width: 52ch; font-size: 1.0625rem; line-height: 1.65; color: var(--text-2); }
.hc-about__say { font-family: var(--font-display); font-size: clamp(1.6rem, 1.5vw + 1rem, 2.6rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.hc-about__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hc-textlink { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--accent-ink); text-decoration: underline 1px transparent; text-underline-offset: 5px; transition: text-decoration-color 0.25s; }
.hc-textlink:hover { text-decoration-color: currentColor; }

/* =====================================================================
   SEO para Google e IA · panel con pestañas por plataforma
   ===================================================================== */
.hc-aiw { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--section-y); background: oklch(94.5% 0.025 260); }
.hc-aiw__floats { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hc-float {
  position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px;
  background: var(--card); box-shadow: 0 20px 40px -24px oklch(25% 0.06 280 / 0.5); color: var(--carbon); transform: translate(-50%, -50%);
  animation: hc-bob 6s ease-in-out var(--d) infinite alternate;
}
[data-theme="dark"] .hc-float { color: var(--white); }
.hc-float svg { width: 30px; height: 30px; }
@keyframes hc-bob { from { transform: translate(-50%, -50%) rotate(-4deg); } to { transform: translate(-50%, calc(-50% - 18px)) rotate(4deg); } }
@media (max-width: 63.99rem) { .hc-float { opacity: 0.55; width: 48px; height: 48px; } .hc-float svg { width: 22px; height: 22px; } }
@media (prefers-reduced-motion: reduce) { .hc-float { animation: none; } }
[data-theme="dark"] .hc-aiw { background: oklch(19% 0.035 270); }
.hc-aiw__head { display: grid; justify-items: center; gap: 1.25rem; max-width: 46rem; margin: 0 auto clamp(2.5rem, 4vw, 3.5rem); text-align: center; }
.hc-aiw__panel { max-width: 62rem; margin-inline: auto; padding: clamp(1rem, 2vw, 1.5rem); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.hc-aiw__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.hc-aiw__tabs button {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 42px; padding: 0 0.9rem 0 0.7rem; border: 1px solid var(--line-2); border-radius: 12px; background: none; color: var(--text-2);
  font: inherit; font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.hc-aiw__tabs button svg { width: 20px; height: 20px; padding: 2px; border-radius: 6px; background: var(--white); color: var(--carbon); box-sizing: content-box; }
.hc-aiw__tabs button[aria-selected="true"] { background: var(--carbon); border-color: var(--carbon); color: var(--white); }
[data-theme="dark"] .hc-aiw__tabs button[aria-selected="true"] { background: var(--white); border-color: var(--white); color: var(--carbon); }
.hc-aiw__tag { margin-left: auto; padding: 0.3rem 0.65rem; border-radius: 8px; background: var(--accent-soft); font-size: var(--fs-xs); font-weight: 600; color: var(--accent-ink); }
.hc-aiw__query { display: flex; align-items: center; gap: 0.6rem; margin: 1.25rem 0 1rem; padding: 0.9rem 1.2rem; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 500; }
.hc-aiw__query .ico { color: var(--text-3); }
.hc-aiw__query.is-typing span::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.2em; background: currentColor; animation: hc-blink 0.8s steps(2) infinite; }
.hc-aiw__stage { min-height: 22rem; }
.hc-serp { display: grid; gap: 0.75rem; }
.hc-serp__ai { padding: 1.1rem 1.25rem; border-radius: 18px; background: var(--accent-soft); line-height: 1.6; }
.hc-serp__ai small { display: block; margin-bottom: 0.3rem; font-size: var(--fs-xs); font-weight: 600; color: var(--accent-ink); }
.hc-serp__item { display: grid; gap: 0.15rem; padding: 0.9rem 1.25rem; border-radius: 16px; }
.hc-serp__item small { font-size: var(--fs-xs); color: var(--text-2); }
.hc-serp__item b { font-size: 1.1rem; font-weight: 500; color: oklch(48% 0.18 265); }
[data-theme="dark"] .hc-serp__item b { color: oklch(78% 0.1 265); }
.hc-serp__item span { font-size: var(--fs-sm); color: var(--text-2); }
.hc-serp__item.is-you { border: 2px solid var(--accent); background: color-mix(in oklch, var(--accent) 5%, transparent); }
.hc-chat2 { display: grid; gap: 1rem; }
.hc-chat2[hidden], .hc-serp[hidden] { display: none; }
.hc-chat2__q { justify-self: end; max-width: 80%; padding: 0.95rem 1.2rem; border-radius: 18px 18px 6px 18px; background: var(--accent); color: var(--on-accent); font-weight: 500; }
.hc-chat2__a { display: grid; gap: 0.75rem; max-width: 88%; padding: 1.1rem 1.25rem; border-radius: 18px 18px 18px 6px; background: var(--bg-2); line-height: 1.6; }
.hc-chat2__who { font-size: var(--fs-xs); font-weight: 600; color: var(--accent-ink); }
.hc-chat2__src { display: inline-flex; align-items: center; gap: 0.45rem; justify-self: start; padding: 0.4rem 0.75rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); font-size: var(--fs-xs); color: var(--text-2); }
.hc-aiw__feats { display: grid; gap: 1.5rem; max-width: 62rem; margin: clamp(2.5rem, 4vw, 3.5rem) auto 0; }
@media (min-width: 48rem) { .hc-aiw__feats { grid-template-columns: repeat(3, 1fr); } }
.hc-aiw__feats li { display: grid; gap: 0.4rem; align-content: start; }
.hc-aiw__feats .ico { width: 28px; height: 28px; margin-bottom: 0.4rem; color: var(--accent-ink); }
.hc-aiw__feats b { font-family: var(--font-display); font-size: 1.25rem; }
.hc-aiw__feats span { color: var(--text-2); }
.hc-aiw__cta { display: flex; justify-content: center; margin-top: clamp(2rem, 3vw, 3rem); }

/* =====================================================================
   Para tu negocio · tarjetas con imagen de fondo completa y panel translúcido
   ===================================================================== */
.hc-inds { padding-block: var(--section-y); }
.hc-tiles { display: grid; gap: 1.25rem; }
.hc-tile {
  position: relative; display: block; min-height: 22rem; overflow: hidden; border-radius: 26px; isolation: isolate;
  background: var(--surface-2, #e9e6f0); color: var(--text);
}
.hc-tile__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.hc-tile:hover .hc-tile__bg { transform: scale(1.04); }
/* Un solo panel de vidrio para todas: mismo tamaño de título, misma posición, sin colores por tarjeta */
.hc-tile__glass {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; display: grid; gap: 0.35rem;
  max-width: 24rem; padding: 1.1rem 1.25rem 1.2rem; border-radius: 18px;
  background: rgb(255 255 255 / 0.62); border: 1px solid rgb(255 255 255 / 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  color: #14111d; transition: transform 0.7s var(--ease-out);
}
[data-theme="dark"] .hc-tile__glass { background: rgb(18 15 28 / 0.55); border-color: rgb(255 255 255 / 0.12); color: #f4f2f8; }
.hc-tile:hover .hc-tile__glass { transform: translateY(-3px); }
.hc-tile__glass b { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.hc-tile__glass span { font-size: 0.9375rem; line-height: 1.5; opacity: 0.85; }
@media (min-width: 48rem) {
  .hc-tiles { grid-template-columns: 1fr 1fr; }
  .hc-tile--4, .hc-tile--8, .hc-tile--9 { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .hc-tiles { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 8rem; }
  .hc-tile { min-height: 0; }
  .hc-tile--1 { grid-column: 1 / 7; grid-row: 1 / 5; }
  .hc-tile--2 { grid-column: 7 / 10; grid-row: 1 / 3; }
  .hc-tile--3 { grid-column: 10 / 13; grid-row: 1 / 3; }
  .hc-tile--4 { grid-column: 7 / 13; grid-row: 3 / 5; }
  .hc-tile--5 { grid-column: 7 / 13; grid-row: 5 / 9; }
  .hc-tile--6 { grid-column: 1 / 4; grid-row: 5 / 7; }
  .hc-tile--7 { grid-column: 4 / 7; grid-row: 5 / 7; }
  .hc-tile--8 { grid-column: 1 / 7; grid-row: 7 / 9; }
  .hc-tile--9 { grid-column: 1 / 13; grid-row: 9 / 11; }
}

/* =====================================================================
   Footer compacto: arranca con la tarjeta de enlaces
   ===================================================================== */
.hc-foot { padding-top: clamp(3rem, 5vw, 4.5rem); }
.hc-foot .foot__ribbon { height: clamp(5rem, 9vw, 8rem); margin-top: clamp(2rem, 3vw, 3rem); }

@media (max-width: 47.99rem) {
  .hc-eco__card p, .hc-values span, .hc-aiw__feats span, .hc-serp__ai, .hc-chat2__a, .hc-chat2__q { font-size: 1rem; }
  .hc-btn { min-height: 56px; }
  .hc-aiw__stage { min-height: 26rem; }
}
.hc-map__pulse { fill: var(--accent); stroke: var(--bg-2); stroke-width: 2; }
[data-theme="dark"] .hc-map__pulse { fill: var(--lila); stroke: oklch(11% 0.024 295); }

/* Rueda del hero con imágenes de portafolio */
.hc-mock { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; box-shadow: 0 40px 70px -35px oklch(10% 0.06 293 / 0.7); }
.hc-mock img { width: 100%; height: 100%; object-fit: cover; }
.hc-mock__name {
  position: absolute; left: 1rem; bottom: 1rem; padding: 0.4rem 0.8rem; border-radius: 10px; background: oklch(15% 0.03 295 / 0.75);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* =====================================================================
   Proyectos · escena real con la pantalla que se recorre al pasar el puntero
   ===================================================================== */
.hc-work__img { position: relative; isolation: isolate; }
.hc-work__img::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 40%; background: linear-gradient(oklch(14% 0.03 290 / 0.55), transparent); pointer-events: none; }
.hc-work__scene { position: absolute; inset: 0; transition: transform 1.2s var(--ease-out); }
.hc-work__scene > img { width: 100%; height: 100%; object-fit: cover; }
.hc-work__card:hover .hc-work__img img { transform: none; }
.hc-work__card:hover .hc-work__scene { transform: scale(1.035); }
.hc-screen { position: absolute; left: 0; top: 0; width: 1000px; height: 625px; overflow: hidden; transform-origin: 0 0; background: var(--white); opacity: 0; pointer-events: none; }
.hc-screen.is-ready { opacity: 1; }
.hc-screen img { display: block; width: 100%; height: auto; transition: transform 1.4s cubic-bezier(0.45, 0, 0.2, 1); }
.hc-work__card:hover .hc-screen img, .hc-work__card.is-live .hc-screen img { transform: translateY(var(--travel, 0px)); transition-duration: var(--dur, 6s); transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
.hc-work__name {
  position: absolute; left: clamp(1.1rem, 2vw, 1.6rem); top: clamp(1rem, 1.8vw, 1.4rem); right: 1rem; z-index: 2;
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.3vw + 1rem, 2.3rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--white); text-shadow: 0 2px 20px oklch(10% 0.03 290 / 0.35);
}
.hc-work__img .hc-tags { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; z-index: 2; }
.hc-work__img .hc-tags span {
  border-color: oklch(100% 0 0 / 0.3); background: oklch(16% 0.02 290 / 0.45); color: var(--white);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hc-work__info { font-size: var(--fs-sm); color: var(--text-2); }

/* =====================================================================
   Nosotros · un sitio que se arma solo, recibe un clic y un pedido
   ===================================================================== */
.hc-about__build { position: absolute; right: 0; bottom: 4%; width: 64%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px oklch(15% 0.05 293 / 0.25)); }
.hc-about__build .w-frame { fill: var(--bg); stroke: var(--line); }
.hc-about__build .w-bar { fill: color-mix(in oklch, var(--text) 6%, var(--bg)); }
.hc-about__build .w-dot { fill: color-mix(in oklch, var(--text) 22%, transparent); }
.hc-about__build .w-url { fill: var(--bg); stroke: var(--line); }
.hc-about__build .w-ink { fill: var(--text); opacity: 0.85; }
.hc-about__build .w-mute { fill: color-mix(in oklch, var(--text) 18%, transparent); }
.hc-about__build .w-acc, .hc-about__build .w-btn { fill: var(--accent); }
.hc-about__build .w-img { fill: var(--accent-soft); }
.hc-about__build .w-mnt { fill: color-mix(in oklch, var(--accent) 45%, var(--accent-soft)); }
.hc-about__build .w-sun { fill: var(--lila); }
.hc-about__build .w-card { fill: color-mix(in oklch, var(--text) 4%, var(--bg)); stroke: var(--line); }
.hc-about__build .w-acc2 { fill: var(--accent-soft); }
.hc-about__build .w-ring { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; }
.hc-about__build .w-cursor { fill: var(--text); stroke: var(--bg); stroke-width: 1.2; transform: translate(62px, 172px); }
.hc-about__build .w-toast rect { fill: var(--bg); stroke: var(--line); filter: drop-shadow(0 10px 14px oklch(15% 0.05 293 / 0.18)); }
.hc-about__build .w-toast circle { fill: oklch(70% 0.17 150); }
.hc-about__build .w-toast path { fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hc-about__build .w-toast text { font-family: var(--font-text); font-size: 12px; font-weight: 600; fill: var(--text); }
.hc-about__build .w-toast text.sm { font-size: 10px; font-weight: 400; fill: var(--text-2); }
.hc-about__build .b, .hc-about__build .w-ring, .hc-about__build .w-toast, .hc-about__build .w-cursor { transform-box: fill-box; transform-origin: center; }
.hc-about__build .w-cursor { transform-origin: 0 0; }
.motion .hc-about__build .b { animation: hc-b 10s var(--d) ease-out infinite both; }
.motion .hc-about__build .w-cursor { animation: hc-cur 10s ease-in-out infinite both; }
.motion .hc-about__build .w-ring { animation: hc-ring 10s ease-out infinite both; }
.motion .hc-about__build .w-toast { animation: hc-toast 10s cubic-bezier(0.2, 0.9, 0.3, 1.2) infinite both; }
@keyframes hc-b { 0% { opacity: 0; transform: translateY(10px) scale(0.96); } 7% { opacity: 1; transform: none; } 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes hc-cur {
  0%, 24% { opacity: 0; transform: translate(330px, 290px); } 28% { opacity: 1; transform: translate(300px, 270px); }
  40% { transform: translate(62px, 172px) scale(1); } 42% { transform: translate(62px, 172px) scale(0.85); } 44% { transform: translate(62px, 172px) scale(1); }
  84% { opacity: 1; transform: translate(62px, 172px); } 92%, 100% { opacity: 0; transform: translate(62px, 172px); }
}
@keyframes hc-ring { 0%, 41% { opacity: 0; transform: scale(0.3); } 43% { opacity: 0.9; } 52%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes hc-toast { 0%, 46% { opacity: 0; transform: translateY(14px) scale(0.92); } 51% { opacity: 1; transform: none; } 86% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: translateY(6px); } }

/* =====================================================================
   Mapa · a todo el ancho, de puntos, con bordes que se desvanecen
   ===================================================================== */
.hc-map__fig {
  margin: clamp(1rem, 3vw, 2rem) 0 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(transparent, #000 10%, #000 86%, transparent);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(transparent, #000 10%, #000 86%, transparent);
  mask-composite: intersect;
}
.hc-map__svg { display: block; width: 100%; height: clamp(26rem, 50vw, 48rem); }
.hc-map__land { fill: url(#hc-dots); stroke: none; }
#hc-dots circle { fill: color-mix(in oklch, var(--text) 26%, transparent); }
.hc-map__arcs path { stroke-width: 1.4; }
.hc-map__pin circle { stroke-width: 2; }
.hc-map__pin text { font-size: 11px; }
.hc-map__pin--hub text { font-size: 12.5px; }
.hc-map__pulse { stroke-width: 1.4; }
@media (max-width: 47.99rem) {
  .hc-map__svg { height: 30rem; }
  .hc-map__pin text { font-size: 15px; }
  .hc-map__pin--hub text { font-size: 16px; }
  .hc-map__pin--sm text { display: none; }
}

/* Reseñas: el desvanecido de los bordes, más amplio */
.hc-marquee { -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }

/* =====================================================================
   Blog · un artículo destacado y dos al lado
   ===================================================================== */
.hc-blog { padding-block: var(--section-y); }
.hc-posts { display: grid; gap: 2rem 1.5rem; }
@media (min-width: 48rem) { .hc-posts { grid-template-columns: 1fr 1fr; } .hc-post--big { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .hc-posts { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; } .hc-post--big { grid-column: 1; grid-row: 1 / 3; } }
.hc-post a { display: grid; align-content: start; gap: 0.85rem; }
.hc-post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; background: var(--img-bg); }
.hc-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.hc-post a:hover .hc-post__img img { transform: scale(1.05); }
@media (min-width: 64rem) {
  .hc-post:not(.hc-post--big) .hc-post__img { aspect-ratio: 16 / 7.4; }
  .hc-post--big .hc-post__img { aspect-ratio: 16 / 11; }
}
.hc-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); color: var(--text-2); }
.hc-post__cat { padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.hc-post__title { font-family: var(--font-display); font-size: clamp(1.25rem, 0.6vw + 1rem, 1.6rem); line-height: 1.2; letter-spacing: -0.02em; transition: color 0.3s; }
.hc-post--big .hc-post__title { font-size: clamp(1.5rem, 1.2vw + 1rem, 2.3rem); }
.hc-post a:hover .hc-post__title { color: var(--accent-ink); }
.hc-post__sum { max-width: 52ch; color: var(--text-2); }

.hc-about__chip { z-index: 2; left: auto; bottom: auto; right: 4%; top: 8%; }

/* =====================================================================
   Franja de servicios en letra gigante
   ===================================================================== */
.hc-bigline { overflow: hidden; padding-block: clamp(1.5rem, 4vw, 3.5rem); border-block: 1px solid var(--line); }
.hc-bigline__row { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; will-change: transform; }
.hc-bigline li { display: flex; align-items: center; }
.hc-bigline li::after { content: ""; width: 0.55em; height: 0.08em; margin-inline: 0.45em; border-radius: 1em; background: var(--violet); font-size: clamp(3.5rem, 10.5vw, 10rem); }
.hc-bigline a {
  font-family: var(--font-display); font-size: clamp(3.5rem, 10.5vw, 10rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--text); text-decoration: none; white-space: nowrap; transition: color 0.35s;
}
.hc-bigline a:hover { color: var(--violet); }
[data-theme="dark"] .hc-bigline a:hover { color: var(--lila); }
.hc-bigline:has(a:hover) a:not(:hover) { color: var(--text-3); }
@media (prefers-reduced-motion: reduce) { .hc-bigline { overflow-x: auto; } }
