/* ═══════════════════════════════════════════
   BOLIVIANS REFORMES — Exaggerated Minimalism
   Warm cream · Charcoal · Amber accent
   ═══════════════════════════════════════════ */

:root {
  --bg: #F7F3EE;
  --bg-alt: #EFE9E1;
  --ink: #16130F;
  --ink-soft: #4A443C;
  --muted: #8A8178;
  --accent: #D97706;
  --accent-deep: #B45309;
  --line: rgba(22, 19, 15, 0.12);
  --white: #FDFCFA;
  --dark: #16130F;
  --dark-soft: #211D18;
  --on-dark: #F7F3EE;
  --on-dark-muted: #A69C90;
  --font-display: "Archivo", sans-serif;
  --font-serif: "Fraunces", serif;
  --font-body: "Inter", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; background: none; border: 0; color: inherit; }

::selection { background: var(--accent); color: var(--white); }

/* ── Utilidades ─────────────────────────── */
.section-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.split-lines .line-mask { overflow: hidden; display: block; }

/* ── Preloader ──────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--dark);
  color: var(--on-dark);
  display: flex; align-items: center; justify-content: center;
}
.preloader__inner { text-align: center; position: relative; z-index: 2; }
.preloader__words {
  height: 4.2rem; overflow: hidden; position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.preloader__word {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 4.2rem; height: 4.2rem; flex: 0 0 4.2rem;
}
.preloader__word em { font-family: var(--font-serif); font-weight: 400; text-transform: none; color: var(--accent); letter-spacing: 0; }
.preloader__counter {
  margin-top: 1rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.2em; color: var(--on-dark-muted);
}
.preloader__curtain {
  position: absolute; inset: 0; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom; z-index: 1;
}

/* ── Cursor ─────────────────────────────── */
.cursor, .cursor-ring { display: none; }

/* Con el cursor personalizado activo, ocultar el puntero nativo */
body.has-cursor, body.has-cursor * { cursor: none !important; }

@media (hover: hover) and (pointer: fine) {
  body.has-cursor .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 999;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); pointer-events: none;
  }
  body.has-cursor .cursor-ring {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; z-index: 998;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid rgba(217, 119, 6, 0.55);
    pointer-events: none;
  }
  .cursor-ring span {
    opacity: 0; font-family: var(--font-display); font-size: 0.6rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--white); transition: opacity 0.2s;
  }
  .cursor-ring.is-view { background: var(--accent); border-color: var(--accent); }
  .cursor-ring.is-view span { opacity: 1; }
}

/* ── WhatsApp flotante ──────────────────── */
.whatsapp-fab {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 95;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px rgba(217, 119, 6, 0.55);
  transition: background 0.25s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.whatsapp-fab:hover {
  background: var(--accent-deep);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 40px -10px rgba(217, 119, 6, 0.65);
}
.whatsapp-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.whatsapp-fab svg { position: relative; z-index: 2; }
.whatsapp-fab__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(217, 119, 6, 0.55);
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 1; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 560px) {
  .whatsapp-fab { width: 56px; height: 56px; right: 1.1rem; bottom: 1.1rem; }
}

/* ── Barra de progreso ──────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  width: 100%; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}

/* ── Header ─────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.header.is-scrolled {
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.7rem var(--pad);
}
.header__logo { display: flex; align-items: center; gap: 0.6rem; }
.header__logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--ink); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.1rem;
}
.header__logo-text {
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.02em; font-size: 1rem;
}
.header__logo-text em { font-family: var(--font-serif); font-weight: 400; text-transform: none; color: var(--accent-deep); letter-spacing: 0; }
.header__nav { display: flex; gap: 2rem; }
.header__nav a {
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(22, 19, 15, 0.35);
  position: relative; padding: 0.4rem 0;
  transition: color 0.25s;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.header__nav a:hover { color: var(--accent); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header.is-scrolled .header__nav a {
  color: var(--ink);
  text-shadow: none;
}
.header.is-scrolled .header__nav a:hover { color: var(--accent-deep); }
.header__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  padding: 0.65rem 1.2rem; border-radius: 99px;
  transition: background 0.25s, color 0.25s;
}
.header__cta:hover { background: var(--accent); }
.header__burger {
  display: none; flex-direction: column; gap: 6px; padding: 0.5rem;
}
.header__burger span {
  width: 26px; height: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease-out);
}
.header__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Con el menú abierto, header legible sobre fondo oscuro */
body.menu-open .header { background: transparent; box-shadow: none; }
body.menu-open .header__logo-text { color: var(--on-dark); }
body.menu-open .header__logo-mark { background: var(--on-dark); color: var(--ink); }
body.menu-open .header__burger span { background: var(--on-dark); }

/* ── Menú móvil ─────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--dark); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 2rem; visibility: hidden;
  clip-path: circle(0% at calc(100% - 3rem) 2rem);
}
.mobile-menu__nav { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.mobile-menu__nav a {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em;
}
.mobile-menu__nav a:active { color: var(--accent); }
.mobile-menu__phone {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.3rem; color: var(--accent);
}

/* ── Hero ───────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6.5rem var(--pad) clamp(4.5rem, 9vh, 7rem);
  color: var(--white);
  overflow: hidden;
}
.hero__bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero__bg {
  position: absolute; inset: -12% 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,19,15,0.42) 0%, rgba(22,19,15,0.28) 45%, rgba(22,19,15,0.78) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 1200px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 0.5rem 1rem; border: 1px solid rgba(253,252,250,0.3);
  border-radius: 99px; margin-bottom: 1.6rem;
  backdrop-filter: blur(4px);
}
.hero__kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 rgba(217,119,6,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(217,119,6,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,119,6,0); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.9rem, 9.2vw, 8.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero__line { display: block; }
.hero__title em {
  font-family: var(--font-serif);
  font-weight: 400; font-style: italic;
  text-transform: none; letter-spacing: -0.01em;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(253,252,250,0.85);
  max-width: 46ch; margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 1rem 1.8rem; border-radius: 99px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn__arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--solid { background: var(--accent); color: var(--white); }
.btn--solid:hover { background: var(--white); color: var(--ink); }
.btn--ghost { border: 1.5px solid rgba(253,252,250,0.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(253,252,250,0.12); }
.hero__badges {
  position: absolute; z-index: 2;
  right: var(--pad); bottom: clamp(7.5rem, 14vh, 10rem);
  display: flex; flex-direction: column; gap: 0.8rem;
}
.hero__badge {
  display: flex; align-items: center; gap: 0.9rem;
  background: rgba(22,19,15,0.5); backdrop-filter: blur(10px);
  border: 1px solid rgba(253,252,250,0.15);
  padding: 0.8rem 1.2rem; border-radius: 14px;
}
.hero__badge-big {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.9rem; letter-spacing: -0.03em;
}
.hero__badge-small { font-size: 0.72rem; line-height: 1.45; color: rgba(253,252,250,0.8); }
.hero__badge-small { color: #F5C97B; }
.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(253,252,250,0.7);
}
.hero__scroll-line { width: 1px; height: 42px; background: rgba(253,252,250,0.25); overflow: hidden; }
.hero__scroll-line i { display: block; width: 100%; height: 100%; background: var(--accent); }

/* ── Marquee ────────────────────────────── */
.marquee {
  background: var(--dark); color: var(--on-dark);
  padding: 1.4rem 0; overflow: hidden;
  border-block: 1px solid var(--dark-soft);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__chunk { display: flex; align-items: center; flex-shrink: 0; }
.marquee__chunk span {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  text-transform: uppercase; letter-spacing: -0.02em;
  padding: 0 1.6rem; white-space: nowrap;
}
.marquee__chunk span:nth-child(4n+3) {
  color: transparent;
  -webkit-text-stroke: 1px var(--on-dark-muted);
}
.marquee__chunk i { color: var(--accent); font-style: normal; font-size: 1.2rem; }

/* ── Nosotros ───────────────────────────── */
.about { padding: clamp(5rem, 12vh, 9rem) var(--pad); }
.about__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1400px; margin: 0 auto;
  align-items: start;
}
.about__statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.1vw, 2.6rem);
  font-weight: 600; line-height: 1.28; letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
.about__statement .word { opacity: 0.14; }
.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 2rem;
}
.stat__num {
  display: block;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.04em;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 0.85rem; color: var(--muted); }
.about__media { position: relative; }
.img-reveal { overflow: hidden; border-radius: var(--radius); }
.img-reveal img { will-change: transform; }
.about__media .img-reveal { aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__card {
  position: absolute; left: -14%; bottom: 8%;
  max-width: 300px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.4rem 1.6rem;
  box-shadow: 0 24px 60px -24px rgba(22,19,15,0.35);
}
.about__card p { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; margin-bottom: 0.6rem; }
.about__card span { font-size: 0.78rem; color: var(--muted); }

/* ── Servicios ──────────────────────────── */
.services {
  position: relative;
  background: var(--dark); color: var(--on-dark);
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}
.services__head { max-width: 1400px; margin: 0 auto 3.5rem; }
.services__head .section-tag { color: var(--accent); }
.services__list { max-width: 1400px; margin: 0 auto; }
.service {
  display: grid;
  grid-template-columns: 4rem 1fr 1.2fr 3rem;
  align-items: center; gap: 1.5rem;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(247,243,238,0.14);
  transition: background 0.3s, padding-left 0.35s var(--ease-out);
  cursor: pointer;
}
.service:last-child { border-bottom: 1px solid rgba(247,243,238,0.14); }
.service:hover { background: rgba(247,243,238,0.045); padding-left: 1.8rem; }
.service__num {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.1rem; color: var(--accent);
}
.service__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 1.05;
  transition: color 0.3s;
}
.service:hover .service__name { color: var(--accent); }
.service__desc { font-size: 0.95rem; color: var(--on-dark-muted); max-width: 44ch; }
.service__arrow {
  font-size: 1.5rem; justify-self: end;
  opacity: 0; transform: translateX(-12px) rotate(-45deg);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
  color: var(--accent);
}
.service:hover .service__arrow { opacity: 1; transform: translateX(0) rotate(0deg); }
.service-preview {
  position: fixed; z-index: 60; top: 0; left: 0;
  width: 300px; height: 210px;
  border-radius: 10px; overflow: hidden;
  pointer-events: none;
  opacity: 0; transform: scale(0.85);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.55);
}
.service-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) {
  .service-preview { display: none; }
}

/* ── Proyectos (horizontal) ─────────────── */
.projects { background: var(--bg); }
.projects__pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: clamp(4rem, 8vh, 6rem) 0 3rem;
}
.projects__head {
  padding: 0 var(--pad); margin-bottom: 2.5rem;
  display: flex; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
}
.projects__head .section-title { margin-right: auto; }
.projects__progress {
  width: min(260px, 30vw); height: 2px;
  background: var(--line); margin-bottom: 0.8rem;
}
.projects__progress i { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.projects__track {
  display: flex; gap: clamp(1.2rem, 2.5vw, 2.5rem);
  padding: 0 var(--pad);
  width: max-content;
  will-change: transform;
}
.project { width: clamp(300px, 38vw, 560px); flex-shrink: 0; }
.project__img {
  overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}
.project__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}
.project:hover .project__img img { transform: scale(1.06); }
.project__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.project__meta h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: -0.02em;
}
.project__meta span { font-size: 0.82rem; color: var(--muted); text-align: right; }
.project--cta { display: flex; }
.project--cta a {
  flex: 1; aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  border: 1.5px dashed var(--muted); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase; letter-spacing: -0.02em;
  text-align: center; line-height: 1.1;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.project--cta em { font-family: var(--font-serif); font-weight: 400; text-transform: none; color: var(--accent-deep); }
.project--cta i { font-style: normal; font-size: 2rem; transition: transform 0.35s var(--ease-out); }
.project--cta a:hover { border-color: var(--accent); background: rgba(217,119,6,0.06); }
.project--cta a:hover i { transform: translateX(8px); }

/* ── Proceso ────────────────────────────── */
.process { padding: clamp(5rem, 12vh, 9rem) var(--pad); background: var(--bg-alt); }
.process__head { max-width: 1400px; margin: 0 auto 3.5rem; }
.process__steps {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  counter-reset: step;
}
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 2rem 1.6rem;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(22,19,15,0.28);
}
.step__num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  margin-bottom: 1.4rem;
}
.step h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.step p { font-size: 0.92rem; color: var(--ink-soft); }

/* ── Opiniones ──────────────────────────── */
.reviews {
  background: var(--dark); color: var(--on-dark);
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}
.reviews__head { max-width: 1400px; margin: 0 auto 3.5rem; }
.reviews__head .section-tag { color: var(--accent); }
.reviews__score { margin-top: 1rem; color: #F5C97B; font-size: 1.05rem; letter-spacing: 0.1em; }
.reviews__score b { color: var(--on-dark); margin-left: 0.4rem; letter-spacing: 0; }
.reviews__grid {
  max-width: 1400px; margin: 0 auto;
  columns: 4 260px; column-gap: 1.4rem;
}
.review {
  break-inside: avoid; margin-bottom: 1.4rem;
  background: var(--dark-soft);
  border: 1px solid rgba(247,243,238,0.09);
  border-radius: 12px; padding: 1.7rem 1.6rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.review:hover { transform: translateY(-4px); border-color: rgba(217,119,6,0.5); }
.review__stars { color: #F5C97B; letter-spacing: 0.15em; font-size: 0.85rem; margin-bottom: 0.9rem; }
.review blockquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.02rem; line-height: 1.55;
  margin-bottom: 1.1rem;
}
.review figcaption b { font-family: var(--font-display); font-size: 0.9rem; display: block; }
.review figcaption span { font-size: 0.75rem; color: var(--on-dark-muted); }

/* ── CTA ────────────────────────────────── */
.cta {
  padding: clamp(6rem, 15vh, 11rem) var(--pad);
  text-align: center;
  background: var(--bg);
}
.cta__kicker {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink-soft);
  margin-bottom: 1rem;
}
.cta__title {
  display: inline-block;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.4rem, 13vw, 11rem);
  text-transform: uppercase; letter-spacing: -0.05em; line-height: 0.95;
  color: var(--ink);
  transition: color 0.3s;
}
.cta__title:hover { color: var(--accent); }
.cta__word { display: inline-block; }
.cta__sub { margin-top: 1.6rem; color: var(--muted); }

/* ── Contacto ───────────────────────────── */
.contact {
  background: var(--bg-alt);
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
}
.contact__grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__data { margin-top: 2.5rem; display: grid; gap: 1.8rem; }
.contact__data li { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.contact__data span {
  display: block; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--muted); margin-bottom: 0.4rem;
  font-weight: 600;
}
.contact__data a, .contact__data p {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; line-height: 1.4;
}
.contact__data a:hover { color: var(--accent-deep); }
.contact__hours { width: 100%; max-width: 340px; border-collapse: collapse; }
.contact__hours td {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 0.35rem 0;
}
.contact__hours td:last-child { text-align: right; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.contact__map { aspect-ratio: 1 / 1; border-radius: 12px; }
.contact__map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(0.9) contrast(1.05);
  transition: filter 0.4s;
}
.contact__map:hover iframe { filter: grayscale(0); }

/* ── Footer ─────────────────────────────── */
.footer {
  background: var(--dark); color: var(--on-dark);
  padding: 3.5rem var(--pad) 1.5rem;
  overflow: hidden;
}
.footer__top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247,243,238,0.12);
}
.footer__back { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.footer__back:hover { color: var(--accent); }
.footer__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__nav a { font-size: 0.86rem; color: var(--on-dark-muted); transition: color 0.25s; }
.footer__nav a:hover { color: var(--on-dark); }
.footer__giant {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 14.5vw, 15rem);
  text-transform: uppercase; letter-spacing: -0.05em; line-height: 1;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(247,243,238,0.22);
  padding: 3rem 0 2rem;
  white-space: nowrap;
  transition: color 0.6s;
}
.footer__giant:hover { color: rgba(217,119,6,0.9); -webkit-text-stroke-color: transparent; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.78rem; color: var(--on-dark-muted);
  border-top: 1px solid rgba(247,243,238,0.12);
  padding-top: 1.3rem;
}

/* ── Reveal helpers (estado inicial vía JS) ── */
.reveal-up { will-change: transform, opacity; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 1100px) {
  .service { grid-template-columns: 3rem 1fr 2.5rem; }
  .service__desc { grid-column: 2; }
  .service__arrow { grid-row: 1; grid-column: 3; }
}
@media (max-width: 900px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__card { left: auto; right: 5%; bottom: -8%; }
  .about__media { margin-bottom: 3rem; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .hero__badges { position: static; flex-direction: row; margin-top: 2rem; }
  .hero { padding-bottom: 3.5rem; }
  .hero__scroll { display: none; }
  .contact__map { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .process__steps { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .hero__badges { flex-direction: column; align-items: flex-start; }
  .service { grid-template-columns: 2.2rem 1fr; gap: 0.8rem; padding: 1.5rem 0.4rem; }
  .service__desc { grid-column: 2; }
  .service__arrow { display: none; }
  .service:hover, .service.in-view { padding-left: 0.9rem; }
}

/* ── Táctil: estados hover activados por scroll ──
   En pantallas táctiles no hay hover; el JS añade
   .in-view cuando el elemento cruza el centro. */
.service.in-view {
  background: rgba(247, 243, 238, 0.045);
  padding-left: 1.8rem;
}
.service.in-view .service__name { color: var(--accent); }
.service.in-view .service__arrow { opacity: 1; transform: translateX(0) rotate(0deg); }
.project.in-view .project__img img { transform: scale(1.06); }
.step.in-view {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(22, 19, 15, 0.28);
}
.review.in-view { transform: translateY(-4px); border-color: rgba(217, 119, 6, 0.5); }
