/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* =========================================================
   GEO.Barcelona — CSS autoritativo (tokens + utilidades + base).
   El plugin geo-barcelona sigue autoritativo para JSON-LD,
   CPT faq, llms.txt y robots.txt. Aquí vive todo el CSS.
   ========================================================= */

/* === GEO.Barcelona tokens === */
:root {
  --ink-00:#050607; --ink-10:#0B0D10; --ink-20:#111418; --ink-30:#1A1E24;
  --ink-40:#252A31; --ink-50:#363C44;
  --paper-90:#F4F3EE; --paper-80:#E8E6DD; --paper-70:#C9CAC4;
  --paper-50:#8A8C88; --paper-30:#585B58;
  --acid-100:#E8FF4E; --acid-90:#CBEA1F; --acid-70:#8EB000;
  --acid-glow:rgba(232,255,78,.14);
  --plasma:#FF2D7A;
  --f-display:'Geist',-apple-system,'Helvetica Neue',sans-serif;
  --f-sans:'Geist',-apple-system,'Helvetica Neue',sans-serif;
  --f-italic:'Instrument Serif',Georgia,serif;
  --f-mono:'JetBrains Mono',ui-monospace,monospace;
  --ease:cubic-bezier(.22,1,.36,1);

  /* P0/P1 Design System Tokens (from GEO-31 audit, GEO-33 spec) */
  /* Type Scale */
  --text-hero: clamp(3rem, 8vw, 5.5rem);
  --text-section: clamp(2rem, 4vw, 3rem);
  --text-lg: 1.25rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --text-xl: 2rem;

  /* Spacing Scale */
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* Border Radius */
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Color Aliases (map to existing tokens) */
  --color-accent: var(--acid-100);
  --color-bg: var(--ink-10);
  --color-bg-alt: var(--ink-20);
  --color-surface-elevated: rgba(255,255,255,0.04);
  --color-border: rgba(255,255,255,0.08);
  --text-secondary: rgba(255,255,255,0.6);
  --content-max: 1200px;
}

/* Sanity sentinel: getComputedStyle(document.documentElement).getPropertyValue('--geo-tokens-loaded') → '1' */
html { --geo-tokens-loaded: 1; }

/* === Utilidades marca (mirror literal del plugin) === */
.it{font-family:var(--f-italic);font-style:italic;font-weight:400;letter-spacing:-.01em;color:var(--acid-100)}
.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--acid-100);box-shadow:0 0 8px var(--acid-100);animation:geo-pulse 1.8s infinite}
@keyframes geo-pulse{0%,100%{opacity:1}50%{opacity:.5}}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:100;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");opacity:.5;mix-blend-mode:overlay}
::selection{background:var(--acid-100);color:var(--ink-00)}
:focus-visible{outline:2px solid var(--acid-100);outline-offset:2px}
.faq-item{border-bottom:1px solid var(--ink-30)}
.faq-item summary{list-style:none;cursor:pointer;padding:28px 0;display:grid;grid-template-columns:60px 1fr 32px;gap:20px;align-items:baseline;font-family:var(--f-display);font-size:clamp(22px,2.4vw,30px);font-weight:600;letter-spacing:-.03em;line-height:1.2;color:var(--paper-90);transition:color 160ms var(--ease)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover{color:var(--acid-100)}
.faq-item .faq-icon{position:relative;width:24px;height:24px;justify-self:end;align-self:center}
.faq-item .faq-icon::before,.faq-item .faq-icon::after{content:"";position:absolute;top:50%;left:0;width:100%;height:1.5px;background:currentColor;transform:translateY(-50%);transition:transform 200ms var(--ease)}
.faq-item .faq-icon::after{transform:translateY(-50%) rotate(90deg)}
.faq-item[open] .faq-icon::after{transform:translateY(-50%) rotate(0)}
.faq-item .faq-body{padding:0 0 32px 80px;font-size:16px;line-height:1.6;color:var(--paper-70);max-width:72ch}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* =========================================================
   PASO B · Base reset on-brand
   Fallback para páginas no construidas en Bricks (legales, 404,
   páginas sueltas). Garantiza que NADA se vea sin estilo.
   ========================================================= */
html, body {
  margin: 0;
  background: var(--ink-10);
  color: var(--paper-90);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }

a { color: var(--acid-100); text-decoration: none; transition: color 160ms var(--ease); }
a:hover { color: var(--acid-90); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  letter-spacing: -0.035em;
  color: var(--paper-90);
  margin: 0 0 .5em;
  line-height: 1.05;
}
h1 { font-size: clamp(42px, 5.6vw, 84px); font-weight: 600; letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 600; }
h3 { font-size: 30px; font-weight: 600; }
h4 { font-size: 22px; font-weight: 500; }

p { color: var(--paper-70); margin: 0 0 1em; }
strong { color: var(--paper-90); }
hr { border: 0; border-top: 1px solid var(--ink-30); margin: 48px 0; }

/* Layout por defecto para páginas WP clásicas (legales, etc.) */
.entry-content,
.wp-block-group,
.wp-block-post-content,
main > article,
main > .page {
  max-width: 72ch;
  margin: 0 auto;
  padding: 80px 24px;
}
.entry-content p,
.wp-block-post-content p { color: var(--paper-70); font-size: 17px; line-height: 1.6; }
.entry-content h1,
.wp-block-post-content h1 { margin-bottom: 24px; }
.entry-content h2 { margin-top: 56px; }
.entry-content ul, .entry-content ol { color: var(--paper-70); font-size: 17px; line-height: 1.6; padding-left: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
  border-left: 2px solid var(--acid-100);
  padding: 4px 0 4px 20px;
  margin: 32px 0;
  color: var(--paper-90);
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 20px;
}

/* Imágenes no-bloquear responsive */
img { max-width: 100%; height: auto; display: block; }

/* Scroll horizontal prohibido */
html, body { overflow-x: hidden; }

/* =========================================================
   P0/P1 Component System (GEO-33 spec)
   ========================================================= */

/* Button System */
.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 200ms ease;
  border: none;
  cursor: pointer;
  font-family: var(--f-sans);
  font-size: var(--text-base);
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-primary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary {
    transition: none;
  }
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 200ms ease;
  cursor: pointer;
  font-family: var(--f-sans);
  font-size: var(--text-base);
}
.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .btn-secondary {
    transition: none;
  }
}

/* Surface/Card */
.card,
.service-card {
  background: var(--color-surface-elevated);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: border-color 200ms ease;
}
.service-card:hover {
  border-color: var(--color-accent);
}
@media (prefers-reduced-motion: reduce) {
  .card,
  .service-card {
    transition: none;
  }
}

/* Section Rhythm */
.section {
  padding-block: var(--space-10);
}
.section--alt {
  background: var(--color-bg-alt);
}
.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-6);
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 200ms ease;
}
.footer-grid a:hover {
  color: var(--color-accent);
}
.footer__copyright {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}
@media (prefers-reduced-motion: reduce) {
  .footer-grid a {
    transition: none;
  }
}

/* Section Heading (P1-4 type scale fix) */
.section-heading {
  font-size: var(--text-section);
  font-weight: 600;
  font-family: var(--f-display);
  letter-spacing: -0.035em;
  margin: 0 0 0.5em;
  line-height: 1.05;
  color: var(--paper-90);
}

/* Stat Group (P1-6) */
.stat-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}
.stat-group__number {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--paper-90);
  font-family: var(--f-display);
}
.stat-group__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-family: var(--f-sans);
}

/* Nav CTA (P1-7 pill/filled button variant) */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  transition: opacity 200ms ease;
  border: none;
  cursor: pointer;
  min-height: 44px;
}
.nav-cta:hover {
  opacity: 0.9;
}
.nav-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta {
    transition: none;
  }
}

/* Responsive Footer at mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-4);
  }
}

/* =========================================================
   GEO.Barcelona — Header (.topbar) y Footer (.footer)
   Hotfix layout: el HTML actual usa .topbar/.topbar-inner/.nav/
   .wordmark y .foot-top/.foot-col/.shell; el child theme ya
   define tokens y .footer-grid/.nav-cta, pero faltan estas
   reglas, lo que provocaba que header y footer se vieran
   apilados verticalmente sin estilos.
   Source: GEO-46 / GEO-33 wake comment de local-board (2026-05-03).
   ========================================================= */

/* ===== Header (.topbar) ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 16, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.topbar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 14px var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-width: 0;
}
.topbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: var(--paper-90);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.wordmark .geo { color: var(--acid-100); }
.wordmark .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid-100);
  display: inline-block;
  margin: 0 6px;
  box-shadow: 0 0 8px var(--acid-100);
}

.topbar .nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.topbar .nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--paper-70);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.topbar .nav a:hover { color: var(--paper-90); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: var(--text-xs);
  color: var(--paper-70);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.badge.acid { color: var(--paper-90); }

.btn-sm {
  padding: 8px 14px !important;
  min-height: 36px !important;
  font-size: var(--text-sm) !important;
  border-radius: 999px !important;
}
.btn .arrow { display: inline-block; transition: transform 160ms var(--ease); margin-left: 4px; }
.btn:hover .arrow { transform: translateX(2px); }

@media (max-width: 900px) {
  .topbar-inner { flex-wrap: wrap; gap: var(--space-3); padding: 12px var(--space-4); }
  .topbar-left { width: 100%; justify-content: space-between; gap: var(--space-4); }
  .topbar .nav { display: none; }
  .topbar-cta { width: 100%; justify-content: space-between; }
}

/* ===== Footer (.footer) ===== */
.footer {
  background: var(--ink-20);
  border-top: 1px solid var(--color-border);
  padding: var(--space-10) 0 var(--space-6);
  margin-top: var(--space-10);
}
.footer .shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
.foot-brand .wordmark { font-size: 20px; }
.foot-brand p {
  color: var(--paper-70);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin-top: var(--space-3);
  max-width: 38ch;
}
.foot-brand .cta-small {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.foot-col h5 {
  font-family: var(--f-display);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-90);
  margin: 0 0 var(--space-3);
  font-weight: 600;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-col li a {
  font-size: var(--text-sm);
  color: var(--paper-70);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.foot-col li a:hover { color: var(--acid-100); }

.foot-meta {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--paper-50);
}
.foot-meta a { color: var(--paper-50); }
.foot-meta a:hover { color: var(--paper-90); }

@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .foot-top { grid-template-columns: 1fr; gap: var(--space-6); }
  .foot-meta { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Hero Section (.hero) — GEO-49 fix
   Restores proper layout for "72 horas" + stats + services
   ========================================================= */
.hero {
  background: var(--ink-10);
  border-bottom: 1px solid var(--ink-30);
  padding: clamp(60px, 10vh, 120px) 0;
  position: relative;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}
.hero .shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 80px);
  align-items: center;
}
.hero-inner > div:first-child {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.hero h1 {
  margin: 0;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--paper-70);
  max-width: 56ch;
}
.hero-chips {
  display: flex;
  gap: var(--space-3);
}
.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 500;
  border: 1px solid var(--color-border);
  color: var(--paper-70);
}
.chip.acid {
  background: rgba(232, 255, 78, 0.08);
  border-color: var(--acid-100);
  color: var(--acid-100);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.hero-note {
  font-size: var(--text-sm);
  color: var(--paper-70);
  display: block;
}
.btn-lg {
  padding: 16px 24px !important;
  font-size: 1rem !important;
  min-height: 52px !important;
  border-radius: 8px !important;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
}
.ph {
  font-size: clamp(48px, 10vw, 96px);
  line-height: 1;
  color: var(--acid-100);
  font-weight: 300;
}
.hero-side-tag {
  font-size: var(--text-sm);
  color: var(--paper-70);
  font-weight: 400;
}
.hero-side-meta {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  font-size: var(--text-sm);
}
.hero-side-meta span {
  color: var(--paper-70);
}
.hero-side-meta span:last-child {
  color: var(--acid-100);
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .hero-side {
    margin-top: var(--space-4);
  }
}

.section {
  padding: clamp(60px, 10vh, 100px) 0;
}
.section.paper {
  background: var(--paper-90);
  color: var(--ink-10);
}
.section.paper h2,
.section.paper h3,
.section.paper h4 {
  color: var(--ink-10);
}
.section.paper p {
  color: var(--ink-30);
}
.shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.sec-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-6);
  margin-bottom: clamp(40px, 8vw, 80px);
  align-items: start;
}
.sec-num {
  font-size: 48px;
  font-weight: 700;
  color: rgba(232, 255, 78, 0.3);
  font-family: var(--f-display);
  line-height: 1;
}
.kicker {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--acid-100);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
@media (max-width: 768px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .sec-num {
    display: none;
  }
}

/* =========================================================
   GEO Dashboard Card + Hero Components (moved from post_content GEO-166)
   ========================================================= */

/* ── GEO Dashboard Card (hero right side) ── */
.hero-side { align-items: stretch !important; }
.geo-card {
  background: var(--ink-20);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
  max-width: 460px;
  box-shadow: 0 0 0 1px rgba(232,255,78,0.07), 0 24px 48px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.geo-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,255,78,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.geo-card-head { display: flex; justify-content: space-between; align-items: center; }
.geo-card-title { font-size: 11px; font-weight: 600; color: var(--paper-70); text-transform: uppercase; letter-spacing: 0.1em; }
.geo-card-status { font-size: 9px; font-weight: 700; color: var(--acid-100); text-transform: uppercase; letter-spacing: 0.12em; background: rgba(232,255,78,0.1); border: 1px solid rgba(232,255,78,0.25); border-radius: 4px; padding: 3px 7px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.geo-card-status::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--acid-100); animation: geo-pulse 2s ease-in-out infinite; }
@keyframes geo-pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.geo-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4);
}
.geo-metric { display: flex; flex-direction: column; gap: 3px; }
.geo-metric-val { font-size: 1.75rem; font-weight: 700; color: var(--paper-90); line-height: 1; }
.geo-metric--accent .geo-metric-val { color: var(--acid-100); }
.geo-metric-key { font-size: 10px; color: var(--paper-50); text-transform: uppercase; letter-spacing: 0.06em; }
.geo-platforms {
  display: flex; gap: 6px; flex-wrap: wrap;
  border-top: 1px solid var(--color-border); padding-top: var(--space-4); align-items: center;
}
.geo-plat-label { font-size: 10px; color: var(--paper-50); text-transform: uppercase; letter-spacing: 0.08em; margin-right: 2px; }
.geo-plat {
  font-size: 10px; font-weight: 500; color: var(--paper-70);
  background: rgba(255,255,255,0.04); border: 1px solid var(--color-border);
  border-radius: 4px; padding: 3px 8px;
}
/* ── Bar chart ── */
.geo-bar-chart { border-top: 1px solid var(--color-border); padding-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.geo-bar-chart-label { font-size: 9px; font-weight: 600; color: var(--paper-50); text-transform: uppercase; letter-spacing: 0.08em; }
.geo-bars { display: flex; align-items: flex-end; gap: 6px; height: 48px; }
.geo-bar { flex: 1; border-radius: 3px 3px 0 0; background: rgba(232,255,78,0.12); border: 1px solid rgba(232,255,78,0.18); position: relative; }
.geo-bar--highlight { background: rgba(232,255,78,0.38); border-color: rgba(232,255,78,0.55); }
.geo-bar-month { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); font-size: 8px; color: var(--paper-40); white-space: nowrap; }
.geo-bar-disclaimer { font-size: 9px; color: var(--paper-40); font-style: italic; margin-top: 18px; }
/* ── Hero microcopy ── */
.hero-microcopy { font-size: 12px; color: var(--paper-50); margin-top: 8px; }
/* ── Process Steps ── */
.process-steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 768px) { .process-steps { grid-template-columns: 1fr; } }
.process-step { padding: 28px; border: 1px solid var(--ink-30); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.process-num { font-size: 11px; font-weight: 700; color: var(--acid-100); text-transform: uppercase; letter-spacing: 0.12em; }
.process-title { font-size: 1rem; font-weight: 600; color: var(--paper-90); margin: 0; }
.process-desc { font-size: 0.875rem; color: var(--paper-60); line-height: 1.65; margin: 0; }
/* ── Sector Chips ── */
.sector-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sector-chip { font-size: 13px; font-weight: 500; color: var(--paper-80); background: var(--ink-20); border: 1px solid var(--ink-40); border-radius: 6px; padding: 6px 14px; }
.zona-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.zona-chip { font-size: 12px; color: var(--paper-60); background: transparent; border: 1px solid var(--ink-30); border-radius: 4px; padding: 4px 10px; }

/* GEO-168: Fix kicker and sec-num contrast on .section.paper (light background).
   sections.css is not enqueued; these overrides live here to prevent yellow (#E8FF4E)
   text on the cream/white paper background. --paper-30 (#585B58) passes WCAG AA (~5.4:1). */
.section.paper .kicker,
.section.paper .sec-num {
  color: var(--paper-30);
}

/* =========================================================
   GEO.Barcelona — Reposicionamiento agencia Makkao (2026-05-21)
   Helpers para nueva home: services, why, faq, lead, cta block.
   ========================================================= */

.lead {
  color: var(--paper-70);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 64ch;
  margin: 0;
}
.section.paper .lead { color: var(--ink-30); }

/* --- Services grid (6 servicios) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: 24px;
}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid { grid-template-columns: 1fr; } }
.services-grid .service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
}
.services-grid .service-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin: 0 0 4px;
}
.services-grid .service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--paper-70);
  flex: 1;
  margin: 0;
}
.service-link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--acid-100);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.service-link:hover { color: var(--acid-90); }
.service-link .arrow { transition: transform 160ms var(--ease); }
.service-link:hover .arrow { transform: translateX(3px); }

/* --- Why grid (autoridad) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  margin-top: 24px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-item h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--paper-90);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.why-item p {
  font-size: 0.9375rem;
  color: var(--paper-70);
  line-height: 1.6;
  margin: 0;
}

/* --- FAQ list (usa .faq-item ya existente) --- */
.faq-list {
  border-top: 1px solid var(--ink-30);
  margin-top: 16px;
}
.faq-item summary .faq-num {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--acid-100);
  letter-spacing: 0.02em;
}
.faq-item summary .faq-q {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper-90);
}
.faq-item summary {
  padding: 22px 0 !important;
  grid-template-columns: 48px 1fr 24px !important;
  font-size: inherit !important;
}
.faq-item .faq-body {
  padding: 0 0 24px 64px !important;
  color: var(--paper-70);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 78ch;
}
@media (max-width: 640px) {
  .faq-item summary { grid-template-columns: 36px 1fr 20px !important; gap: 12px !important; }
  .faq-item .faq-body { padding-left: 48px !important; }
}

/* --- CTA section final --- */
.section--cta {
  background: linear-gradient(180deg, var(--ink-20) 0%, var(--ink-10) 100%);
  border-top: 1px solid var(--ink-30);
}
.section--cta .kicker {
  display: inline-block;
  margin-bottom: 12px;
}
.section--cta .lead { color: var(--paper-70); }

/* --- Hero metric tweak para títulos largos ("WP+Bricks") --- */
.geo-metric-val[style*="font-size"] { /* no-op selector to keep specificity tidy */ }
@media (max-width: 480px) {
  .geo-metrics { grid-template-columns: 1fr 1fr; gap: 16px; }
  .geo-metric-val { font-size: 1.4rem !important; }
}
