/* =========================================================
   GR Consulting Group — tema oscuro (estilo Results Factory)
   Archivo display en mayúsculas + Manrope · glow naranja
   ========================================================= */

:root {
  /* Superficies oscuras */
  --bg:        #0b0a09;
  --bg-2:      #100e0c;
  --surface:   #161310;
  --surface-2: #1e1a15;
  --line:      rgba(255,255,255,0.10);
  --line-2:    rgba(255,255,255,0.16);

  /* Crema (acentos claros puntuales) */
  --paper:     #efece7;

  /* Texto */
  --text:       #f4f1ec;
  --text-soft:  rgba(244,241,236,0.60);
  --text-dim:   rgba(244,241,236,0.40);

  /* Marca */
  --brand:      #f2640f;
  --brand-600:  #d5540a;
  --brand-bright:#ff7d22;
  --brand-200:  #f7b184;

  /* Tipografía */
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans:    "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1220px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }

/* ---------- Utilidades ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-200);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: ""; width: 1.8rem; height: 1px; background: var(--brand); opacity: 0.9; }
.eyebrow--invert { color: var(--brand-200); }

/* Títulos — Archivo, MAYÚSCULAS, expandido */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.005em;
  line-height: 0.94;
  margin: 0;
  text-transform: uppercase;
}
h1 em, h2 em, h3 em, .display em, .h-section em { font-style: italic; font-weight: 800; }

.display {
  font-size: clamp(2.9rem, 8.2vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.015em;
  background: linear-gradient(180deg, #fffdfa 0%, #efe7dd 60%, #d8cbbd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display em { color: var(--brand); -webkit-text-fill-color: var(--brand); }

.h-section { font-size: clamp(2rem, 5vw, 3.7rem); line-height: 0.96; }
.h-section em { color: var(--brand); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--text-soft); max-width: 46ch; }

/* ---------- Botones (píldora) ---------- */
.btn {
  --bg-btn: var(--brand); --fg: #150c05;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.7em;
  background: var(--bg-btn); color: var(--fg);
  font-family: var(--sans); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1px solid var(--bg-btn); border-radius: 999px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(242,100,15,0.7); background: var(--brand-bright); border-color: var(--brand-bright); }
.btn .arrow { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn--ghost, .btn--ghost-invert {
  --bg-btn: transparent; --fg: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover, .btn--ghost-invert:hover { --bg-btn: #fff; --fg: #140c05; border-color: #fff; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 1.3rem;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease, backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(11,10,9,0.78);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  padding-block: 0.8rem;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; }
.brand__logo { height: 46px; width: auto; display: block; transition: height .4s ease; }
.site-header.is-scrolled .brand__logo { height: 38px; }
.site-footer .brand__logo { height: 60px; margin-bottom: 0.4rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  color: var(--text); font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.72; position: relative; transition: opacity .25s;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { opacity: 1; }

.header-cta { display: flex; align-items: center; gap: 1.1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.4rem; color: var(--text); }
.nav-toggle svg { display: block; }

/* ---------- Glow reutilizable ---------- */
.glow-bottom::before, .glow-top::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 120%; height: 90%; left: -10%;
  background: radial-gradient(60% 60% at 50% 100%, rgba(255,125,34,0.55) 0%, rgba(213,84,10,0.35) 26%, rgba(120,42,8,0.18) 46%, transparent 68%);
}
.glow-bottom::before { bottom: -20%; }
.glow-top::before { top: -30%; height: 80%; background: radial-gradient(55% 55% at 70% 0%, rgba(255,125,34,0.4) 0%, rgba(120,42,8,0.14) 40%, transparent 66%); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--bg); color: var(--text);
  padding-top: clamp(9rem, 17vh, 13rem); padding-bottom: clamp(4rem, 9vh, 7rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(80% 70% at 50% 128%, rgba(255,125,34,0.85) 0%, rgba(226,92,12,0.5) 16%, rgba(120,42,8,0.28) 34%, transparent 60%),
    radial-gradient(60% 50% at 8% 30%, rgba(226,92,12,0.18), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 8%, transparent 66%);
  opacity: 0.4;
}
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 1.8rem; }
.hero h1 { max-width: 16ch; }
.hero__sub { margin-top: 1.8rem; max-width: 50ch; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-soft); line-height: 1.55; }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__stats {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px;
  background: var(--line); border-block: 1px solid var(--line);
}
.stat { background: var(--bg); padding: 1.7rem 0.4rem 1.5rem; }
.stat b { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(2.2rem, 4.4vw, 3.2rem); display: block; line-height: 1; }
.stat b i { color: var(--brand); font-style: normal; }
.stat span { display: block; margin-top: 0.5rem; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-soft); }

/* ---------- Secciones base ---------- */
.section { padding-block: clamp(4.5rem, 11vh, 8.5rem); position: relative; }
.section__head { max-width: 64ch; position: relative; z-index: 2; }
.section__head .h-section { margin-top: 1.1rem; }

/* ---------- Propósito ---------- */
.purpose { background: var(--bg-2); position: relative; overflow: hidden; }
.purpose__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: end; position: relative; z-index: 2; }
@media (min-width: 900px) { .purpose__grid { grid-template-columns: 1.35fr 1fr; } }
.purpose__statement { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-stretch: 110%; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 0.98; letter-spacing: -0.01em; }
.purpose__statement em { color: var(--brand); font-style: italic; }
.purpose__body { color: var(--text-soft); }
.purpose__body p { margin: 0 0 1.2rem; }

/* Pilares */
.pillars {
  margin-top: clamp(3rem, 6vh, 5rem);
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; position: relative; z-index: 2;
}
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--surface); padding: 2.1rem 1.9rem; transition: background .3s; }
.pillar:hover { background: var(--surface-2); }
.pillar__n { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--brand); }
.pillar h3 { font-size: 1.15rem; letter-spacing: 0.01em; margin: 0.7rem 0 0.5rem; }
.pillar p { margin: 0; color: var(--text-soft); font-size: 0.96rem; }

/* ---------- Servicios (lista) ---------- */
.services { background: var(--bg); position: relative; overflow: hidden; }
.svc-list { margin-top: clamp(2.5rem, 5vh, 4rem); border-top: 1px solid var(--line); position: relative; z-index: 2; }
.svc {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 2rem; align-items: baseline;
  padding: clamp(1.8rem, 3.5vw, 2.8rem) 0; border-bottom: 1px solid var(--line); position: relative;
  transition: padding-left .4s cubic-bezier(.2,.7,.2,1);
}
.svc__n { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--text-soft); padding-top: 0.35rem; }
.svc__main { display: grid; gap: 0.9rem; }
@media (min-width: 860px) {
  .svc { grid-template-columns: 5rem 1fr 1.1fr auto; align-items: start; }
  .svc__main { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 2.5rem; gap: 0; }
}
.svc__title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); transition: color .3s; }
.svc__desc { color: var(--text-soft); font-size: 1rem; max-width: 42ch; text-transform: none; }
.svc__icon { width: 46px; height: 46px; color: var(--text-soft); justify-self: end; opacity: 0.55; transition: color .3s, opacity .3s, transform .4s; }
.svc:hover { padding-left: clamp(0.5rem, 2vw, 1.4rem); }
.svc:hover .svc__title { color: var(--brand); }
.svc:hover .svc__icon { color: var(--brand); opacity: 1; transform: rotate(-6deg); }
.svc__link { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 0.4em; margin-top: 0.4rem; }
.svc__link .arrow { transition: transform .3s; }
.svc:hover .svc__link .arrow { transform: translate(3px,-3px); }

/* ---------- Tarjetas de servicio con foto ---------- */
.svc-cards { margin-top: clamp(2.5rem, 5vh, 3.5rem); display: grid; gap: 1.4rem; grid-template-columns: 1fr; position: relative; z-index: 2; }
@media (min-width: 680px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 40px 70px -46px rgba(0,0,0,0.9); border-color: var(--line-2); }
.svc-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__media .n { position: absolute; top: 0.9rem; left: 1.1rem; font-family: var(--display); font-weight: 800; color: #fff; font-size: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,0.6); z-index: 2; }
.svc-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), transparent 42%); }
.svc-card__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.svc-card__body h3 { font-size: 1.5rem; }
.svc-card__body p { color: var(--text-soft); font-size: 0.97rem; margin: 0; flex: 1; }
.svc-card__link { margin-top: 0.4rem; font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 0.45em; }
.svc-card__link .arrow { transition: transform .3s; }
.svc-card:hover .svc-card__link .arrow { transform: translate(3px,-3px); }

/* ---------- CRM ---------- */
.crm { background: var(--bg-2); color: var(--text); position: relative; overflow: hidden; }
.crm::before {
  content: ""; position: absolute; left: -12%; bottom: -30%; z-index: 0; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center, rgba(255,125,34,0.28), rgba(226,92,12,0) 62%);
}
.crm__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 940px) { .crm__grid { grid-template-columns: 1fr 1.05fr; } }
.crm h2 { max-width: 16ch; margin-top: 1.1rem; }
.crm h2 em { color: var(--brand); }
.crm__sub { margin-top: 1.5rem; color: var(--text-soft); max-width: 48ch; font-size: 1.08rem; }
.crm__features { margin: 2rem 0 2.4rem; padding: 0; list-style: none; display: grid; gap: 0.95rem; max-width: 46ch; }
.crm__features li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 1rem; color: var(--text); }
.crm__features svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.crm__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.crm__note { font-size: 0.82rem; color: var(--text-soft); }

/* Mock de tablero */
.crm__panel { background: linear-gradient(160deg, #221d17, #131009); border: 1px solid var(--line-2); border-radius: 18px; padding: 1.2rem; box-shadow: 0 50px 90px -50px rgba(0,0,0,1); }
.panel__bar { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.panel__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.panel__bar i:first-child { background: var(--brand); }
.panel__bar span { margin-left: auto; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); }
.panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin: 1.1rem 0; }
.panel__stat { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 0.7rem; }
.panel__stat b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; display: block; line-height: 1; }
.panel__stat b i { color: var(--brand); font-style: normal; }
.panel__stat span { font-size: 0.68rem; color: var(--text-soft); letter-spacing: 0.02em; }
.pipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.pipe__col span { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); display: block; margin-bottom: 0.55rem; }
.pipe__card { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 9px; padding: 0.6rem 0.65rem; margin-bottom: 0.5rem; }
.pipe__card u { display: block; height: 6px; width: 60%; background: var(--line-2); border-radius: 3px; }
.pipe__card u.accent { background: rgba(255,125,34,0.8); }
.pipe__card em { display: block; height: 5px; width: 40%; background: var(--line-2); border-radius: 3px; margin-top: 0.4rem; }

/* ---------- Marquee (franja de frases animada) ---------- */
.marquee { position: relative; overflow: hidden; background: var(--bg-2); border-block: 1px solid var(--line); padding-block: 1.35rem; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 2.5rem; animation: marquee-scroll 34s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--display); font-weight: 800; font-stretch: 108%;
  text-transform: uppercase; letter-spacing: -0.005em;
  font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--text); white-space: nowrap; line-height: 1;
}
.marquee__item.alt { color: transparent; -webkit-text-stroke: 1px rgba(244,241,236,0.55); }
.marquee__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Chat simulado (asistente IA / WhatsApp) ---------- */
.chat { background: linear-gradient(160deg, #221d17, #131009); border: 1px solid var(--line-2); border-radius: 22px; padding: 0; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0,0,0,1); max-width: 400px; margin-inline: auto; width: 100%; }
.chat__head { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.2rem; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--line); }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(150deg, var(--brand), var(--brand-600)); display: grid; place-items: center; color: #150c05; flex: none; }
.chat__avatar svg { width: 22px; height: 22px; }
.chat__who b { font-family: var(--sans); font-size: 0.92rem; font-weight: 700; display: block; text-transform: none; letter-spacing: 0; }
.chat__who span { font-size: 0.72rem; color: #6fd08a; display: flex; align-items: center; gap: 0.35em; }
.chat__who span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fd08a; display: inline-block; }
.chat__body { padding: 1.3rem 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; background:
  radial-gradient(circle at 20% 10%, rgba(255,125,34,0.06), transparent 40%); }
.bubble { max-width: 82%; padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.9rem; line-height: 1.4; position: relative; }
.bubble.in { align-self: flex-start; background: var(--surface-2); color: var(--text); border-bottom-left-radius: 5px; }
.bubble.out { align-self: flex-end; background: linear-gradient(150deg, var(--brand-bright), var(--brand-600)); color: #180d04; border-bottom-right-radius: 5px; font-weight: 500; }
.bubble time { display: block; font-size: 0.62rem; opacity: 0.6; margin-top: 0.3rem; text-align: right; }
.bubble .ia-tag { display: inline-flex; align-items: center; gap: 0.3em; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(0,0,0,0.18); color: #180d04; padding: 0.15em 0.5em; border-radius: 999px; margin-bottom: 0.35rem; }

/* ---------- Bloque "Lo que hace" (tarjetas de beneficio) ---------- */
.feature-grid { margin-top: clamp(2.5rem, 5vh, 3.5rem); display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; position: relative; z-index: 2; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); padding: 2rem 1.8rem; transition: background .3s; }
.feature:hover { background: var(--surface-2); }
.feature__ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(242,100,15,0.12); border: 1px solid rgba(242,100,15,0.3); display: grid; place-items: center; color: var(--brand); margin-bottom: 1.1rem; }
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; letter-spacing: 0.01em; margin-bottom: 0.5rem; }
.feature p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Para quién (chips) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; position: relative; z-index: 2; }
.chip { border: 1px solid var(--line-2); border-radius: 999px; padding: 0.6em 1.2em; font-size: 0.9rem; font-weight: 600; color: var(--text); background: var(--surface); }

/* ---------- Sub-hero páginas interiores ---------- */
.subhero { position: relative; background: var(--bg); color: var(--text); padding-top: clamp(8.5rem, 16vh, 12rem); padding-bottom: clamp(3.5rem, 8vh, 6rem); overflow: hidden; }
.subhero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 128%, rgba(255,125,34,0.6) 0%, rgba(226,92,12,0.34) 20%, rgba(120,42,8,0.16) 40%, transparent 64%);
}
.subhero.has-photo { padding-bottom: clamp(4rem, 9vh, 7rem); }
.subhero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.subhero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,0.72), rgba(11,10,9,0.9)), linear-gradient(90deg, rgba(11,10,9,0.85), rgba(11,10,9,0.4)); }
.subhero.has-photo::before { opacity: 0.6; }
.subhero__inner { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 0.55rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--brand-200); }
.breadcrumb span { opacity: 0.5; }
.subhero h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); max-width: 20ch; }
.subhero h1 em { color: var(--brand); }
.subhero__lead { margin-top: 1.4rem; max-width: 54ch; color: var(--text-soft); font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.55; }

/* ---------- Figuras ---------- */
.media { border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-4-3 { aspect-ratio: 4/3; } .ratio-3-2 { aspect-ratio: 3/2; } .ratio-16-9 { aspect-ratio: 16/9; } .ratio-1-1 { aspect-ratio: 1/1; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 2; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse .split__media { order: -1; } }
.split__media { position: relative; }
.split__media .media { box-shadow: 0 50px 90px -60px rgba(0,0,0,0.9); }
.split__media .tag { position: absolute; left: -14px; bottom: 22px; background: var(--brand); color: #150c05; font-family: var(--display); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.55em 1em; border-radius: 999px; box-shadow: 0 16px 34px -14px rgba(242,100,15,0.7); }
.split__body .h-section { margin: 1rem 0 1.2rem; }
.split__body p { color: var(--text-soft); margin: 0 0 1.1rem; }

/* ---------- Detalle de servicio ---------- */
.detail { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; position: relative; z-index: 2; }
@media (min-width: 920px) { .detail { grid-template-columns: 1.1fr 0.9fr; } .detail--sticky .detail__aside { position: sticky; top: 6rem; } }
.detail__body .lead-lg { font-family: var(--display); text-transform: uppercase; font-weight: 800; font-stretch: 108%; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1; color: var(--text); margin: 0 0 1.6rem; letter-spacing: -0.01em; }
.detail__body > p { color: var(--text-soft); margin: 0 0 1.2rem; }

.cap-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.2rem; }
.cap-list li { display: flex; gap: 0.9rem; align-items: baseline; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.cap-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); transform: translateY(-2px); }
.cap-list strong { font-weight: 600; color: var(--text); }
.cap-list span { color: var(--text-soft); }
.cap-group { margin-top: 1.4rem; }
.cap-group h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-200); margin: 0 0 0.4rem; font-weight: 700; }

.pullquote { margin: clamp(2.5rem,5vh,4rem) 0 0; padding: 2rem 0 0; border-top: 1px solid var(--line); font-family: var(--display); text-transform: uppercase; font-weight: 800; font-stretch: 106%; font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.02; color: var(--text); max-width: 26ch; }
.pullquote span { color: var(--brand); }

/* ---------- Galería ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); position: relative; z-index: 2; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; } }
.gallery figure { margin: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); aspect-ratio: 4/3; }
@media (min-width: 760px) {
  .gallery img { aspect-ratio: auto; height: 100%; }
  .gallery .g-wide { grid-column: span 4; grid-row: span 2; }
  .gallery .g-tall { grid-column: span 2; grid-row: span 2; }
  .gallery .g-sm { grid-column: span 2; grid-row: span 1; }
}
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- Banda de imagen ---------- */
.imgband { position: relative; min-height: clamp(380px, 58vh, 600px); display: grid; align-items: center; overflow: hidden; }
.imgband__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.imgband__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,9,0.92) 0%, rgba(11,10,9,0.62) 46%, rgba(11,10,9,0.3) 100%); }
.imgband__inner { position: relative; z-index: 2; color: var(--text); padding-block: 3rem; }
.imgband h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 17ch; }
.imgband h2 em { color: var(--brand); }
.imgband p { margin: 1.2rem 0 1.8rem; max-width: 44ch; color: var(--text-soft); font-size: 1.1rem; }

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #d5540a 0%, #f2640f 46%, #ff7d22 100%); color: #fff; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 85% 0%, rgba(255,255,255,0.22), transparent 60%); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 2; display: grid; gap: 1.6rem; align-items: center; padding-block: clamp(3rem, 6vh, 4.5rem); }
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); color: #fff; max-width: 20ch; }
.cta-band p { margin: 0.8rem 0 0; color: rgba(255,255,255,0.92); max-width: 46ch; }
.cta-band .btn { --bg-btn: #140c05; --fg: #fff; border-color: #140c05; }
.cta-band .btn:hover { --bg-btn: #000; border-color: #000; box-shadow: 0 14px 34px -14px rgba(0,0,0,0.6); }

.imgband .btn { --bg-btn: var(--brand); --fg: #150c05; border-color: var(--brand); }
.imgband .btn:hover { --bg-btn: var(--brand-bright); border-color: var(--brand-bright); }

/* ---------- Contacto ---------- */
.contact { background: var(--bg-2); position: relative; overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); position: relative; z-index: 2; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
.contact h2 { max-width: 14ch; margin-top: 1.1rem; }
.contact__intro { margin-top: 1.4rem; color: var(--text-soft); max-width: 40ch; }
.contact__details { margin-top: 2.4rem; display: grid; gap: 1.4rem; }
.cd { display: flex; gap: 1rem; align-items: flex-start; }
.cd svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 3px; }
.cd small { display: block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.66rem; color: var(--text-soft); margin-bottom: 0.2rem; }
.cd a, .cd p { font-size: 1.05rem; margin: 0; font-weight: 500; color: var(--text); }
.cd a:hover { color: var(--brand); }
.socials { display: flex; gap: 0.8rem; margin-top: 2.2rem; }
.socials a { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--text); transition: all .3s; }
.socials a:hover { background: var(--brand); color: #150c05; border-color: var(--brand); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

.form { display: grid; gap: 1.2rem; background: var(--surface); padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 20px; border: 1px solid var(--line); }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 0.85em 1em; transition: border-color .25s, box-shadow .25s; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242,100,15,0.2); }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-content: center; width: 100%; margin-top: 0.4rem; }
.form__hint { font-size: 0.8rem; color: var(--text-soft); text-align: center; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #070605; color: var(--text); padding-block: clamp(3rem, 6vh, 5rem) 2rem; position: relative; overflow: hidden; }
.footer-top { display: grid; gap: 2.5rem; grid-template-columns: 1fr; position: relative; z-index: 2; }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { color: var(--text-soft); max-width: 34ch; margin: 1rem 0 0; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-200); margin: 0 0 1.1rem; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0.7rem; transition: color .25s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: clamp(2.5rem, 5vh, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--text-soft); position: relative; z-index: 2; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Nav responsive ---------- */
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 360px);
    background: var(--bg-2); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem 2.4rem; transform: translateX(100%);
    transition: transform .45s cubic-bezier(.2,.7,.2,1); box-shadow: -30px 0 60px -30px rgba(0,0,0,0.9); z-index: 60;
    border-left: 1px solid var(--line);
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.15rem; opacity: 1; }
  .nav-toggle { display: inline-flex; z-index: 61; }
  .header-cta .btn { display: none; }
}
