/* ==========================================================================
   Pixel de Barrio — Design System Oficial & Redesign Editorial
   ========================================================================== */
@font-face {
  font-family: 'Poppins Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Roboto');
  size-adjust: 112%;
  ascent-override: 93%;
  descent-override: 31%;
  line-gap-override: 0%;
}

:root {
  /* Brand */
  --color-barrio: #0F2E24;
  --color-barrio-deep: #091E17;
  --color-charcoal: #252525;
  --color-charcoal-deep: #1B1B1B;
  --color-pixel: #FF6B6B;
  --color-pixel-ink: #B83333;
  --color-local: #FFC857;
  --color-crema: #F8F4EE;
  --color-verde-suave: #E2E8E1;

  /* Neutral */
  --color-white: #FFFFFF;
  --color-black: #111111;
  --color-text: #252525;
  --color-text-muted: #55524D;
  --color-text-muted-sage: #4A5550;
  --color-border: #E8E4DE;

  /* Typography */
  --font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  --font-regular: 400;
  --font-semibold: 600;
  --font-bold: 700;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Motion */
  --motion-fast: 160ms;
  --motion-base: 220ms;
  --motion-slow: 280ms;

  /* Aliases & Shadows */
  --ink: var(--color-charcoal);
  --cream: var(--color-crema);
  --paper: var(--color-white);
  --muted: var(--color-text-muted);
  --line: var(--color-border);
  --orange: var(--color-pixel);
  --green: var(--color-barrio);
  --lime: var(--color-verde-suave);
  --color-primary: var(--color-pixel);
  --shadow-soft: 0 12px 32px rgba(37, 37, 37, .07);
  --shadow-lift: 0 22px 48px rgba(37, 37, 37, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--color-crema);
  color: var(--color-charcoal);
  font-family: var(--font-family);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, strong {
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
  transition: background var(--motion-base), color var(--motion-base), transform var(--motion-base), border-color var(--motion-base), box-shadow var(--motion-base);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip {
  position: absolute;
  z-index: 90;
  top: -100px;
  left: 20px;
  background: var(--color-white);
  color: var(--color-barrio);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--color-pixel);
  outline-offset: 3px;
}

/* ==========================================================================
   Sistema iconográfico propio: SVG lineal, redondeado y monocromo
   ========================================================================== */
.ui-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  overflow: visible;
  color: currentColor;
  vertical-align: -.16em;
}

.button,
.header-cta,
.text-link,
.footer-links a,
.story-action,
.card-bottom a,
.card-bottom button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* ==========================================================================
   Scroll Progress & Header Editorial Sticky
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-pixel) 0%, var(--color-local) 100%);
  z-index: 95;
  transition: width 80ms linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(248, 244, 238, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 46, 36, .08);
  transition: background var(--motion-base), box-shadow var(--motion-base);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px rgba(15, 46, 36, .07);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark-stage {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-mark-picture {
  display: block;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: opacity 220ms ease;
}

.brand-pixel-intro {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.brand-mark-stage.is-animating .brand-mark-picture {
  opacity: 0;
}

.brand-mark-stage.is-animating .brand-pixel-intro {
  display: block;
}

.bpi-piece {
  transform-box: fill-box;
  transform-origin: center;
}

.brand-mark-stage.is-animating .bpi-tl {
  animation: bpi-gather-tl 950ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-mark-stage.is-animating .bpi-tr {
  animation: bpi-gather-tr 950ms cubic-bezier(0.16, 1, 0.3, 1) 60ms forwards;
}

.brand-mark-stage.is-animating .bpi-bl {
  animation: bpi-gather-bl 950ms cubic-bezier(0.16, 1, 0.3, 1) 110ms forwards;
}

.brand-mark-stage.is-animating .bpi-br {
  animation: bpi-gather-br 950ms cubic-bezier(0.16, 1, 0.3, 1) 160ms forwards;
}

@keyframes bpi-gather-tl {
  0% { opacity: 0.15; transform: translate(-14px, -12px) scale(0.45); }
  75% { opacity: 1; transform: translate(0, 0) scale(1.04); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes bpi-gather-tr {
  0% { opacity: 0.15; transform: translate(14px, -12px) scale(0.45); }
  75% { opacity: 1; transform: translate(0, 0) scale(1.04); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes bpi-gather-bl {
  0% { opacity: 0.15; transform: translate(-14px, 12px) scale(0.45); }
  75% { opacity: 1; transform: translate(0, 0) scale(1.04); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes bpi-gather-br {
  0% { opacity: 0.15; transform: translate(14px, 12px) scale(0.45); }
  75% { opacity: 1; transform: translate(0, 0) scale(1.04); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark-stage.is-animating .brand-mark-picture {
    opacity: 1;
  }
  .brand-mark-stage.is-animating .brand-pixel-intro {
    display: none;
  }
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-wordmark {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -.03em;
  color: var(--color-charcoal);
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-charcoal);
}

.desktop-nav a {
  position: relative;
  padding: 6px 2px;
  opacity: .84;
}

.desktop-nav a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--color-pixel);
  transition: right var(--motion-base);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  opacity: 1;
  color: var(--color-charcoal);
}

.desktop-nav a:hover:after,
.desktop-nav a[aria-current="page"]:after {
  right: 0;
}

.header-cta {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: var(--color-pixel);
  color: var(--color-charcoal);
  font-size: 13.5px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(37, 37, 37, .14);
}

.header-cta:hover {
  background: #ff5757;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 46, 36, .22);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-white);
  color: var(--color-barrio);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 9px;
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  padding: 16px 20px 24px;
}

.mobile-drawer-links {
  display: grid;
  gap: 8px;
}

.mobile-drawer-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
}

.mobile-drawer-links a:hover {
  background: var(--color-crema);
}

/* ==========================================================================
   Botones, Links y Elementos Tipográficos Comunes
   ========================================================================== */
.button {
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  justify-content: center;
  cursor: pointer;
}

.button-dark {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.button-dark:hover {
  background: #383838;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button-pixel {
  background: var(--color-pixel);
  color: var(--color-charcoal);
  box-shadow: 0 10px 24px rgba(37, 37, 37, .14);
}

.button-pixel:hover {
  background: #ff5757;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 37, 37, .2);
}

.button-barrio {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.button-barrio:hover {
  background: #383838;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, .36);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--color-white);
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-barrio);
  padding: 8px 0;
  border-bottom: 2px solid var(--color-pixel-ink);
}

.text-link:hover {
  color: var(--color-pixel-ink);
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-barrio);
  opacity: .72;
}

/* ==========================================================================
   1. HERO PRINCIPAL — Warm Cream Editorial Canvas
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-crema);
  background-image:
    radial-gradient(circle at 86% 22%, rgba(255, 200, 87, .22), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(255, 107, 107, .12), transparent 44%);
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-border);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 72px;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-pixel);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, .22);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 5.1vw, 66px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--color-charcoal);
}

.hero h1 em {
  font-style: normal;
  color: var(--color-pixel-ink);
  display: block;
}

.hero-copy > p {
  margin: 0;
  max-width: 560px;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-tagline-highlight {
  display: inline-block;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-barrio);
  letter-spacing: .01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-actions .button-dark {
  background: var(--color-pixel);
  color: var(--color-charcoal);
  padding: 16px 30px;
  font-size: 15.5px;
  box-shadow: 0 12px 26px rgba(255, 107, 107, .26);
}

.hero-actions .button-dark:hover {
  background: #ff5757;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 107, 107, .34);
}

.hero-actions .text-link {
  color: var(--color-charcoal);
  border-bottom-color: rgba(37, 37, 37, .35);
}

.hero-actions .text-link:hover {
  color: var(--color-pixel-ink);
  border-bottom-color: var(--color-pixel-ink);
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero-trust-strip {
  list-style: none;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(37, 37, 37, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.hero-trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-charcoal);
}

.hero-trust-strip .ui-icon {
  color: var(--color-white);
  background: var(--color-barrio);
  border-radius: 50%;
  padding: 3px;
  width: 20px;
  height: 20px;
}

/* Hero Visual Frame */
.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 490px;
  background: linear-gradient(155deg, #FFFDF9 0%, #F4ECE0 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 56px rgba(37, 37, 37, .12);
  overflow: visible;
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 107, 107, .32);
  pointer-events: none;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
}

.hero-illustration {
  object-fit: contain;
  background: var(--color-crema);
}

.hero-pixel-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: rgba(37, 37, 37, .9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 200, 87, .5);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.art-label {
  position: absolute;
  z-index: 3;
  left: -20px;
  right: 28px;
  bottom: 20px;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-charcoal);
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 42px rgba(37, 37, 37, .16);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  line-height: 1.45;
}

.art-label strong {
  display: block;
  font-size: 13.5px;
  color: var(--color-charcoal);
}

.art-label .label-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ==========================================================================
   2. BANDA AMARILLO LOCAL & PIXEL STORY
   ========================================================================== */
.ticker {
  background: var(--color-local);
  color: var(--color-barrio);
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 46, 36, .12);
}

.ticker-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
}

.ticker-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pixel-story {
  background: var(--color-crema);
  border-bottom: 1px solid var(--color-border);
  padding: 84px 0;
}

.pixel-story-layout {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.pixel-composition {
  width: 176px;
  height: 176px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  transform: rotate(-3deg);
  transition: transform var(--motion-slow);
}

.pixel-story:hover .pixel-composition {
  transform: rotate(0deg);
}

.pixel-piece {
  border-radius: var(--radius-md);
  display: block;
}

.pixel-piece-coral { background: var(--color-pixel); }
.pixel-piece-green { background: var(--color-barrio); }
.pixel-piece-cream { background: var(--color-white); border: 1.5px solid var(--color-border); }
.pixel-piece-yellow { background: var(--color-local); }

.pixel-story-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.pixel-story-copy h2 em {
  font-style: normal;
  color: var(--color-pixel-ink);
}

.pixel-story-copy p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 660px;
}

.pixel-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pixel-ingredients span {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-barrio);
  box-shadow: 0 3px 10px rgba(15, 46, 36, .04);
}

/* ==========================================================================
   Secciones Generales y Encabezados
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 780px;
}

.section-head h2 span,
.section-head h2 em {
  color: var(--color-pixel-ink);
  font-style: normal;
}

.section-head p {
  margin: 0;
  max-width: 600px;
  color: var(--color-text-muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.section-aside {
  text-align: right;
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
  flex-shrink: 0;
}

.section-aside strong {
  color: var(--color-barrio);
  font-size: 14.5px;
}

/* ==========================================================================
   3B. OBJETIVOS & ANTES/DESPUÉS (#que-necesitas)
   ========================================================================== */
.needs-section {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.need-card {
  background: var(--color-crema);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base), background var(--motion-base);
}

.need-card:hover {
  transform: translateY(-4px);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-barrio);
}

.need-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.need-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--color-barrio);
  color: var(--color-local);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.need-num {
  font-size: 24px;
  font-weight: 800;
  color: rgba(15, 46, 36, .62);
  font-variant-numeric: tabular-nums;
}

.need-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.need-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--color-text-muted);
  flex: 1;
}

.need-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-barrio);
  margin-top: 4px;
}

.need-link:hover {
  color: var(--color-pixel-ink);
}

/* Problem / Solution Editorial Split */
.bridge-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bridge-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1.5px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bridge-card--before {
  background: var(--color-crema);
  border-style: dashed;
  border-color: rgba(15, 46, 36, .22);
}

.bridge-card--after {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
  box-shadow: var(--shadow-lift);
}

.bridge-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bridge-card--before .bridge-tag {
  background: var(--color-white);
  color: var(--color-barrio);
  border: 1px solid var(--color-border);
}

.bridge-card--after .bridge-tag {
  background: rgba(255, 200, 87, .2);
  color: var(--color-local);
}

.bridge-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
}

.bridge-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.bridge-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.58;
}

.bridge-card--before li {
  color: var(--color-text-muted);
}

.bridge-card--before li .ui-icon {
  color: #B83232;
  margin-top: 3px;
  flex-shrink: 0;
}

.bridge-card--after li .ui-icon {
  color: var(--color-local);
  margin-top: 3px;
  flex-shrink: 0;
}

.bridge-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: var(--color-pixel);
  color: var(--color-barrio);
  font-weight: 700;
  font-size: 14.5px;
}

.bridge-cta:hover {
  background: #ff5757;
  transform: translateY(-2px);
}

/* ==========================================================================
   4. SERVICIOS — Three Categories Editorial Layout
   ========================================================================== */
#servicios {
  background: var(--color-crema);
}

.service-categories {
  display: grid;
  gap: 40px;
}

.service-category-group {
  display: grid;
  gap: 18px;
}

.category-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.category-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.category-badge--coral {
  background: rgba(255, 107, 107, .14);
  color: var(--color-pixel-ink);
}
.category-badge--coral .category-dot { background: var(--color-pixel); }

.category-badge--yellow {
  background: rgba(255, 200, 87, .26);
  color: var(--color-charcoal);
}
.category-badge--yellow .category-dot { background: #D99B16; }

.category-badge--green {
  background: rgba(15, 46, 36, .1);
  color: var(--color-barrio);
}
.category-badge--green .category-dot { background: var(--color-barrio); }

.category-summary {
  margin: 0;
  font-size: 14.5px;
  color: var(--color-text-muted);
}

.category-grid {
  display: grid;
  gap: 22px;
}

.category-grid--1 {
  grid-template-columns: 1fr;
}

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

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

.card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--motion-base), box-shadow var(--motion-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.card--cat-coral {
  border-color: rgba(255, 107, 107, .28);
}

.card--cat-yellow {
  border-color: rgba(255, 200, 87, .45);
}

.card--cat-green {
  border-color: rgba(15, 46, 36, .18);
}

.card-top-pill--coral {
  background: rgba(255, 107, 107, .14);
  color: var(--color-pixel-ink);
}

.card-top-pill--yellow {
  background: rgba(255, 200, 87, .26);
  color: var(--color-charcoal);
}

.card-top-pill--green {
  background: rgba(15, 46, 36, .1);
  color: var(--color-barrio);
}

@media (min-width: 901px) {
  .card--featured {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }

  .card--featured .card-bento-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.card-bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-pixel-motif {
  display: block;
  width: 64px;
  height: 36px;
  flex-shrink: 0;
}

.card-lead {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-barrio);
}

.card-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--color-crema);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  padding: 10px;
  flex-shrink: 0;
}

.card-service-icon .service-svg-icon {
  width: 30px;
  height: 30px;
}

.card-service-icon--coral {
  background: rgba(255, 107, 107, .14);
  border-color: rgba(255, 107, 107, .34);
  color: var(--color-pixel-ink);
}

.card-service-icon--yellow {
  background: rgba(255, 200, 87, .26);
  border-color: rgba(255, 200, 87, .55);
  color: var(--color-charcoal);
}

.card-service-icon--green {
  background: rgba(15, 46, 36, .10);
  border-color: rgba(15, 46, 36, .24);
  color: var(--color-barrio);
}

.card--surface-dark .card-service-icon {
  background: rgba(255, 255, 255, .96);
}

.card-service-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card-top-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.card-top-pill {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(15, 46, 36, .07);
  color: var(--color-barrio);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.card--surface-dark .card-top-pill {
  background: rgba(255, 200, 87, .18);
  color: var(--color-local);
}

.card-top-pill.coming-soon {
  background: var(--color-local);
  color: var(--color-barrio);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-neighborhood {
  display: none;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.card-description {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.card--surface-dark .card-description {
  color: rgba(248, 244, 238, .82);
}

.card-includes-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-barrio);
  opacity: .65;
  margin-bottom: 8px;
}

.card--surface-dark .card-includes-label {
  color: var(--color-local);
  opacity: .9;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.card-tag {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(15, 46, 36, .12);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-barrio);
}

.card--surface-dark .card-tag {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .18);
  color: var(--color-crema);
}

.card-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 46, 36, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card--surface-dark .card-bottom {
  border-top-color: rgba(255, 255, 255, .14);
}

.card-bottom-status {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.card--surface-dark .card-bottom-status {
  color: var(--color-verde-suave);
}

.card-bottom-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-barrio);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card--surface-dark .card-bottom-link,
.card--surface-dark .card-bottom-link:hover {
  color: var(--color-pixel);
}

.card-bottom-link:hover {
  color: var(--color-pixel-ink);
  transform: translateX(2px);
}

.services-cta-wrap {
  margin-top: 44px;
  text-align: center;
}

/* ==========================================================================
   5. CÓMO LO HACEMOS — Connected Visual Timeline
   ========================================================================== */
.steps {
  background: var(--color-verde-suave);
  border-block: 1px solid rgba(15, 46, 36, .1);
}

.steps-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}

.steps-top h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.steps-top h2 em {
  font-style: normal;
  color: var(--color-pixel-ink);
}

.steps-top > p {
  margin: 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-barrio);
  opacity: .84;
}

.step-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

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

#como-lo-hacemos .step-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: rgba(15, 46, 36, .14);
  z-index: 0;
}

.step-grid article {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border: 1px solid rgba(15, 46, 36, .1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-base), box-shadow var(--motion-base);
}

.step-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.step-num {
  display: inline-block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-pixel-ink);
  margin-bottom: 16px;
}

.step-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-barrio);
  color: var(--color-local);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.step-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.step-grid p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--color-text-muted);
}

/* ==========================================================================
   6. SECTORES — Warm Charcoal Craft Showcase
   ========================================================================== */
.sectors-section {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.sectors-section .overline {
  color: var(--color-local);
  opacity: 1;
}

.sectors-section .section-head h2 {
  color: var(--color-white);
}

.sectors-section .section-head h2 em {
  color: var(--color-local);
}

.sectors-section .section-head p {
  color: rgba(226, 232, 225, .82);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sector-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--motion-base), border-color var(--motion-base), transform var(--motion-base);
}

.sector-card:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--color-local);
  transform: translateY(-3px);
}

.sector-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 200, 87, .15);
  color: var(--color-local);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.sector-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--color-white);
}

.sector-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(226, 232, 225, .8);
}

.sector-card-cta {
  background: var(--color-pixel);
  border-color: var(--color-pixel);
  color: var(--color-barrio);
}

.sector-card-cta .sector-icon {
  background: var(--color-barrio);
  color: var(--color-white);
}

.sector-card-cta h3,
.sector-card-cta p {
  color: var(--color-barrio);
}

.sector-card-cta:hover {
  background: #ff5757;
  border-color: #ff5757;
}

/* ==========================================================================
   8. QUIÉNES SOMOS & VISIÓN DE PRODUCTO
   ========================================================================== */
.founders-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.founders-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.founders-media {
  position: relative;
}

.founders-media > picture {
  display: block;
}

.founders-media > img,
.founders-media > picture > img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lift);
}

.founders-badge {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: rgba(15, 46, 36, .92);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}

.founders-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.founders-copy h2 {
  margin: 10px 0 18px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.founders-copy h2 em {
  font-style: normal;
  color: var(--color-pixel-ink);
}

.founders-copy p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.68;
  color: var(--color-text-muted);
}

.founders-copy .button {
  margin-top: 10px;
}

.founders-pillars-wrap {
  margin-top: 56px;
}

.founders-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.founder-pillar {
  background: var(--color-verde-suave);
  border-radius: var(--radius-md);
  padding: 24px;
}

.founder-pillar h3,
.founder-pillar h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.founder-pillar p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-barrio);
  opacity: .84;
}

.roadmap-section {
  background: var(--color-crema);
  border-top: 1px solid var(--color-border);
}

.roadmap-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.roadmap-layout--compact {
  grid-template-columns: minmax(0, 720px);
  gap: 0;
}

.roadmap-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.roadmap-copy h2 span {
  color: var(--color-pixel-ink);
}

.roadmap-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.roadmap-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.roadmap-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.roadmap-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.roadmap-card-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.roadmap-badge {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--color-local);
  color: var(--color-barrio);
  font-size: 12px;
  font-weight: 700;
}

.roadmap-badge-alt {
  background: var(--color-verde-suave);
}

.roadmap-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.roadmap-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ==========================================================================
   8B2. FAQ EDITORIAL 2-COLUMN SPLIT
   ========================================================================== */
.faq-home-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.faq-intro h2 span {
  color: var(--color-pixel-ink);
}

.faq-intro p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.faq-reassurance {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.faq-reassurance-badge {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-verde-suave);
  color: var(--color-barrio);
  font-size: 13px;
  font-weight: 700;
}

/* ==========================================================================
   8C & 9. BANNER CTA CORAL + SECCIÓN DE CONTACTO WARM CHARCOAL
   ========================================================================== */
.final-cta-banner {
  background: var(--color-pixel);
  color: var(--color-charcoal);
  padding: 56px 0;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.final-cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.final-cta-inner p {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  opacity: .9;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.final-cta-banner .button-pixel {
  background: var(--color-charcoal);
  color: var(--color-white);
  box-shadow: 0 12px 26px rgba(37, 37, 37, .2);
}

.final-cta-banner .button-pixel:hover {
  background: #383838;
}

.final-cta-banner .button-outline-light {
  border-color: var(--color-charcoal);
  color: var(--color-charcoal);
}

.final-cta-banner .button-outline-light:hover {
  background: rgba(37, 37, 37, .08);
}

.contact-section {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 96px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.contact-copy .overline {
  color: var(--color-local);
  opacity: 1;
}

.contact-copy h2 {
  margin: 12px 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--color-white);
}

.contact-copy h2 em {
  font-style: normal;
  color: var(--color-local);
}

.contact-copy > p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(248, 244, 238, .84);
}

.contact-card-info {
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}

.contact-card-info strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--color-white);
}

.contact-card-info p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(226, 232, 225, .82);
}

.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
}

.social-btn:hover {
  background: var(--color-local);
  border-color: var(--color-local);
  color: var(--color-barrio);
}

.contact-form-card {
  background: var(--color-white);
  color: var(--color-barrio);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, .28);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-barrio);
}

.label-optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 12px;
}

.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  background: var(--color-crema);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 14.5px;
  color: var(--color-barrio);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #596560;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-barrio);
  box-shadow: 0 0 0 3px rgba(15, 46, 36, .12);
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #B83232;
}

.field-group input[aria-invalid="true"],
.field-group textarea[aria-invalid="true"],
.field-group select[aria-invalid="true"] {
  border-color: #B83232;
  background: #FFF9F9;
}

.form-privacy-box {
  border-top: 1px solid var(--color-border);
  padding: 14px 0 4px;
  margin-bottom: 18px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-barrio);
  flex-shrink: 0;
}

.form-checkbox-label a,
.form-rgpd-note a {
  color: var(--color-barrio);
  text-decoration: underline;
}

.form-rgpd-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.form-submit-btn {
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
}

.form-expectation {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--color-text-muted);
  text-align: center;
  font-weight: 500;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
  background: var(--color-charcoal-deep);
  color: var(--color-crema);
  padding: 52px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 36px;
}

.brand-footer .brand-wordmark {
  color: var(--color-crema);
}

.brand-footer .brand-logo {
  background: var(--color-crema);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.footer-top p {
  font-size: 13.5px;
  color: var(--color-verde-suave);
  margin: 14px 0 0;
  max-width: 380px;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  max-width: 680px;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--color-local);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-link-btn {
  background: none;
  border: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  color: #a9bab1;
  font-size: 12px;
}

.footer-heart {
  color: var(--color-pixel);
  margin-inline: 3px;
}

.floating-popover-close,
.mobile-menu-toggle,
.dialog-close {
  min-width: 44px;
  min-height: 44px;
}
/* ==========================================================================
   Subpáginas de Detalle de Servicio (#/escaparate-infinito, etc.)
   ========================================================================== */
.subpage-view {
  background: var(--color-crema);
  padding-bottom: 40px;
}

.subpage-topbar {
  padding: 28px 0 0;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  color: var(--color-barrio);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
}

.btn-back-home:hover {
  background: var(--color-verde-suave);
  border-color: var(--color-barrio);
  transform: translateX(-2px);
}

.subpage-hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: 36px 0 72px;
}

.subpage-hero h1 {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin: 18px 0 20px;
}

.subpage-hero h1 em {
  font-style: normal;
  color: var(--color-pixel);
}

.subpage-hero p.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  max-width: 620px;
}

.mini-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.mini-feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.mini-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-verde-suave);
  color: var(--color-barrio);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mini-feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.mini-feature-card p {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Panel Showcase Oscuro en Subpáginas */
.showcase-panel {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lift);
}

.showcase-panel > h3 {
  padding-right: 170px;
}

.showcase-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--color-local);
  color: var(--color-barrio);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.showcase-status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-local);
  margin-right: 6px;
  box-shadow: 0 0 0 4px rgba(255, 200, 87, .22);
}

.showcase-box {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.showcase-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.showcase-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
}

.showcase-row strong {
  color: var(--color-local);
}

.showcase-highlight {
  background: rgba(255, 107, 107, .18);
  border: 1px solid rgba(255, 107, 107, .45);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

/* Grid de 4 Pilares en Subpáginas */
.pillars-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pillar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--motion-base), box-shadow var(--motion-base);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--color-verde-suave);
  color: var(--color-barrio);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.pillar-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}

.pillar-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.pillar-list {
  list-style: none;
  padding: 14px 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
}

.pillar-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-list li .ui-icon {
  color: var(--color-pixel);
  width: 15px;
  height: 15px;
}

/* Comparativa Problema vs Solución */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comparison-card.problem {
  border-color: rgba(255, 107, 107, .45);
  background: #FFF8F7;
}

.comparison-card.solution {
  border-color: rgba(15, 46, 36, .28);
  background: #F5F7F5;
}

.comparison-card h3 {
  font-size: 24px;
  margin: 10px 0 12px;
}

.comparison-card p {
  font-size: 15px;
  line-height: 1.68;
  color: var(--color-text-muted);
  margin: 0 0 22px;
}

.comparison-footer {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-card.problem .comparison-footer {
  color: #c23b3b;
}

.comparison-card.solution .comparison-footer {
  color: var(--color-barrio);
}

/* Calculadoras Interactivas (ROI, Nube, Recepcionista) */
.calculator-panel {
  background: var(--color-barrio);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 42px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-lift);
}

.calculator-copy .overline {
  color: var(--color-local);
}

.calculator-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  margin: 12px 0 14px;
}

.calculator-copy > p {
  color: var(--color-verde-suave);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 26px;
}

.slider-group {
  margin-bottom: 22px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.slider-header strong {
  color: var(--color-local);
  font-size: 15px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--color-pixel);
  height: 8px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(226, 232, 225, .65);
  margin-top: 4px;
}

.file-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.file-type-btn {
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.file-type-btn.active,
.file-type-btn:hover {
  background: var(--color-local);
  color: var(--color-barrio);
  border-color: var(--color-local);
}

.calculator-results {
  background: var(--color-crema);
  color: var(--color-barrio);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
}

.calc-metric-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.calc-metric-big {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-barrio);
  margin-bottom: 6px;
}

.calc-metric-big.accent {
  color: var(--color-pixel);
}

.calc-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 22px 0;
}

.calc-disclaimer {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 10px auto 0;
  max-width: 360px;
}

/* Simulador Telefónico IA (La Recepcionista) */
.call-simulator-card {
  background: var(--color-barrio);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-lift);
}

.sim-sector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0 24px;
}

.sim-sector-btn {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.sim-sector-btn.active,
.sim-sector-btn:hover {
  background: var(--color-local);
  color: var(--color-barrio);
  border-color: var(--color-local);
}

.call-stage-box {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.call-bubble {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 200, 87, .38);
}

.call-bubble.ai {
  background: rgba(255, 107, 107, .16);
  border-color: rgba(255, 107, 107, .45);
}

.call-bubble.done {
  background: rgba(226, 232, 225, .15);
  border-color: rgba(226, 232, 225, .42);
}

.call-bubble small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-local);
  margin-bottom: 4px;
}

.call-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 16px;
}

.call-progress-fill {
  height: 100%;
  background: var(--color-local);
  width: 0%;
  transition: width 300ms ease;
}

/* Simulador de WhatsApp en Tiempo Real (La Voz que Responde) */
.wa-simulator-wrapper {
  max-width: 660px;
  margin: 0 auto;
}

.wa-window {
  background: var(--color-crema);
  border: 2px solid var(--color-barrio);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.wa-header {
  background: var(--color-barrio);
  color: var(--color-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-verde-suave);
  color: var(--color-barrio);
  display: grid;
  place-items: center;
  position: relative;
}

.wa-online-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid var(--color-barrio);
}

.wa-messages {
  height: 350px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #EFEAE2;
}

.wa-msg-row {
  display: flex;
  flex-direction: column;
  max-width: 84%;
}

.wa-msg-row.customer {
  align-self: flex-end;
  align-items: flex-end;
}

.wa-msg-row.bot {
  align-self: flex-start;
  align-items: flex-start;
}

.wa-bubble {
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(15, 46, 36, .06);
}

.wa-msg-row.customer .wa-bubble {
  background: var(--color-white);
  color: var(--color-barrio);
  border-bottom-right-radius: 4px;
}

.wa-msg-row.bot .wa-bubble {
  background: #DCF8C6;
  color: var(--color-barrio);
  border-bottom-left-radius: 4px;
}

.wa-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.wa-action-note {
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-verde-suave);
  color: var(--color-barrio);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wa-quick-bar {
  background: var(--color-white);
  padding: 10px 14px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.wa-quick-chip {
  border: 1px solid var(--color-border);
  background: var(--color-crema);
  color: var(--color-barrio);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.wa-quick-chip.active,
.wa-quick-chip:hover {
  background: var(--color-barrio);
  color: var(--color-white);
  border-color: var(--color-barrio);
}

.wa-input-bar {
  background: var(--color-white);
  padding: 12px 14px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 10px;
  align-items: center;
}

.wa-input-bar input {
  flex: 1;
  border: 1px solid var(--color-border);
  background: var(--color-crema);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--color-barrio);
}

.wa-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--color-barrio);
  color: var(--color-white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wa-send-btn:hover {
  background: var(--color-pixel);
  color: var(--color-barrio);
}

/* Tarifas (La Voz que Responde) */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  border: 2.5px solid var(--color-barrio);
  box-shadow: var(--shadow-lift);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--color-pixel);
  color: var(--color-barrio);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pricing-price {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-barrio);
  margin: 12px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.pricing-features {
  list-style: none;
  padding: 20px 0 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li .ui-icon {
  color: var(--color-pixel);
}

/* Acordeón de Preguntas Frecuentes (FAQ) */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-barrio);
}

.faq-trigger:hover {
  background: rgba(248, 244, 238, .6);
}

.faq-trigger .ui-icon {
  transition: transform var(--motion-base);
}

.faq-item.open .faq-trigger .ui-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.68;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

/* Formulario dedicado en Subpágina */
.subpage-form-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Modales Legales (reutilizando .detail-dialog de pixel-web-directory)
   ========================================================================== */
.detail-dialog {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(680px, calc(100% - 32px));
  max-height: min(760px, 90vh);
  box-shadow: 0 25px 90px rgba(15, 46, 36, .45);
  background: var(--color-white);
  color: var(--color-barrio);
  overflow: hidden;
}

.detail-dialog::backdrop {
  background: rgba(15, 46, 36, .72);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--color-crema);
  color: var(--color-barrio);
  border: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  z-index: 10;
  display: grid;
  place-items: center;
}

.dialog-close:hover {
  background: var(--color-pixel);
  color: var(--color-barrio);
}

.legal-modal-inner {
  padding: 36px;
  max-height: 85vh;
  overflow-y: auto;
}

.legal-modal-inner h3 {
  font-size: 26px;
  margin: 6px 0 20px;
}

.legal-modal-inner h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-barrio);
  margin: 22px 0 8px;
}

.legal-modal-inner p,
.legal-modal-inner li {
  font-size: 14px;
  line-height: 1.68;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Widget Flotante "¿Hablamos del barrio?" + Navegación Inferior Móvil
   ========================================================================== */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 75;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-popover {
  width: 300px;
  background: var(--color-white);
  border: 1.5px solid var(--color-barrio);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lift);
}

.floating-popover-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 700;
  font-size: 14px;
}

.floating-popover-close {
  border: 0;
  background: var(--color-crema);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.floating-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--color-crema);
  margin-bottom: 8px;
  font-size: 13px;
}

.floating-option:last-child {
  margin-bottom: 0;
}

.floating-option:hover {
  background: var(--color-verde-suave);
}

.floating-option strong {
  display: block;
  font-size: 13px;
}

.floating-option small {
  color: var(--color-text-muted);
  font-size: 12px;
}

.floating-trigger {
  background: var(--color-charcoal);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lift);
  min-height: 50px;
}

.floating-trigger:hover {
  background: var(--color-pixel);
  color: var(--color-charcoal);
}

.mobile-bottom-nav {
  display: none;
}

.cookie-banner {
  position: fixed;
  z-index: 90;
  left: 20px;
  bottom: 20px;
  max-width: 440px;
  background: var(--color-charcoal);
  color: var(--color-crema);
  border: 1px solid rgba(248, 244, 238, .22);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-lift);
}

.cookie-banner p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-policy-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--color-local);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 9px 16px;
  font-size: 12px;
  min-height: 38px;
}

.cookie-btn-ghost {
  background: transparent;
  color: var(--color-crema);
  border: 1px solid rgba(248, 244, 238, .35);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  min-height: 38px;
}

.cookie-btn-ghost:hover {
  background: rgba(248, 244, 238, .12);
}

.legal-page-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-page-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.legal-cross-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-pixel);
  text-decoration: underline;
}

.legal-doc-header,
.legal-doc-article {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.legal-doc-header h1 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
}

.legal-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
}

.legal-doc-article section + section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.legal-doc-article h2 {
  margin: 0 0 10px;
  font-size: 19px;
}

.legal-doc-article p,
.legal-doc-article li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
}

.legal-doc-article a,
.inline-legal-btn {
  color: var(--color-pixel);
  font-weight: 600;
  text-decoration: underline;
}

.inline-legal-btn {
  background: none;
  border: 0;
  padding: 0;
}

.legal-callout {
  background: var(--color-crema);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 14px 0;
}

.legal-callout strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--color-pixel);
}

.legal-callout p {
  margin: 0;
  font-size: 14px;
}

.legal-action-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-crema);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-top: 12px;
}

.legal-action-box strong {
  display: block;
  font-size: 16px;
}

.legal-action-box span {
  font-size: 13px;
  color: var(--color-text-muted);
}


/* ==========================================================================
   Responsive Design (Tablet, Móvil & Accesibilidad)
   ========================================================================== */
@media (max-width: 1080px) {
  .shell {
    padding: 0 28px;
  }
  .needs-grid,
  .sectors-grid,
  .founders-pillars-grid,
  .pillars-grid-4,
  .category-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards > .pillar-card {
    grid-column: span 6;
  }
  .step-grid,
  .step-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #como-lo-hacemos .step-grid::before {
    display: none;
  }
  .calculator-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .hero-layout,
  .subpage-hero,
  .founders-layout,
  .contact-layout,
  .roadmap-layout,
  .faq-layout,
  .bridge-grid,
  .comparison-grid,
  .pricing-grid,
  .category-grid--2,
  .category-grid--3 {
    grid-template-columns: 1fr;
  }
  .faq-intro {
    position: static;
  }
  .hero-art {
    min-height: 390px;
  }
  .hero-photo {
    height: 390px;
  }
  .art-label {
    left: 16px;
    right: 16px;
  }
  .card--bento-wide,
  .card--bento-narrow,
  .card--bento-half {
    grid-column: span 12;
  }
  .pixel-story-layout {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .pixel-composition {
    width: 130px;
    height: 130px;
  }
  .section-head,
  .steps-top {
    display: block;
  }
  .section-aside {
    display: none;
  }
  .steps-top > p {
    padding-top: 12px;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 68px;
  }
  .shell {
    padding-inline: 18px;
  }
  .header-inner {
    height: 70px;
    gap: 6px;
  }
  .brand {
    gap: 7px;
  }
  .brand-mark-picture,
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .brand-wordmark {
    font-size: 13px;
  }
  .header-cta {
    padding: 8px 10px;
    font-size: 11px;
    gap: 5px;
  }
  .mobile-menu-toggle {
    padding: 7px;
  }
  .brand {
    width: auto;
    max-width: 112px;
    flex-shrink: 1;
  }
  .header-cta {
    font-size: 12px;
    padding: 8px 12px;
    min-height: 40px;
    white-space: nowrap;
  }
  .header-cta .ui-icon {
    display: none;
  }
  .hero-layout {
    padding-top: 36px;
    padding-bottom: 52px;
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(32px, 9.2vw, 44px);
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-actions .text-link {
    justify-self: start;
  }
  .hero-art {
    min-height: 320px;
  }
  .hero-photo {
    height: 320px;
  }
  .hero-art::before {
    display: none;
  }
  .pixel-story {
    padding: 52px 0;
  }
  .pixel-story-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pixel-composition {
    width: 96px;
    height: 96px;
    gap: 6px;
  }
  .section,
  .contact-section {
    padding: 68px 0;
  }
  .needs-grid,
  .step-grid,
  .step-grid--3,
  .sectors-grid,
  .founders-pillars-grid,
  .roadmap-cards,
  .pillars-grid-4,
  .mini-feature-grid,
  .form-grid-2,
  .file-type-selector {
    grid-template-columns: 1fr;
  }
  .cards > .pillar-card {
    grid-column: span 12;
  }
  .showcase-badge {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
  }
  .showcase-panel > h3 {
    padding-right: 0;
  }
  .card,
  .bridge-card,
  .contact-form-card,
  .subpage-form-card,
  .calculator-panel,
  .call-simulator-card {
    padding: 24px 20px;
  }
  .footer-top {
    display: block;
  }
  .footer-links {
    margin-top: 24px;
    gap: 14px 18px;
  }
  .floating-contact {
    bottom: 82px;
    right: 16px;
  }
  .floating-trigger span {
    display: none;
  }
  .floating-trigger {
    padding: 13px;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 76px;
    max-width: none;
    padding: 14px 16px;
  }
  .cookie-banner p {
    margin: 0 0 10px;
    font-size: 12.5px;
  }
  .legal-doc-header,
  .legal-doc-article {
    padding: 22px 18px;
  }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 80;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 25px rgba(15, 46, 36, .08);
  }
  .mobile-bottom-nav a {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--color-barrio);
  }
  .mobile-bottom-nav a > .ui-icon {
    width: 20px;
    height: 20px;
  }
  .mobile-bottom-nav small {
    font-size: 11px;
    font-weight: 600;
  }
  .mobile-bottom-nav a[aria-current="page"],
  .mobile-bottom-nav a:hover {
    color: var(--color-pixel-ink);
    background: var(--color-crema);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *:before, *:after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   Scroll Reveal Animations (Editorial Pro Choreography)
   ========================================================================== */
html.has-scroll-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  transition: opacity 640ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
              transform 680ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
              filter 640ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

html.has-scroll-reveal [data-reveal="heading"] {
  transform: translateY(18px);
  filter: blur(4px);
}

html.has-scroll-reveal [data-reveal="media"] {
  transform: translateY(20px) scale(0.95);
}

html.has-scroll-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

@media (prefers-reduced-motion: reduce) {
  html.has-scroll-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
