/* ============================================================
   GONFIXIT · styles.css
   Sistema Espresso · Rebrand 2026
   Sustituye al sistema Hazard Tape (v1 archivado en docs/)
   ============================================================ */

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

:root {
  /* PALETA ESPRESSO */
  --bg: #1E1410;
  --bg-deeper: #140C08;
  --bg-card: #261A14;
  --surface: rgba(255,236,210,0.04);

  --ink: #F4ECDD;
  --ink-soft: #b8a995;
  --ink-mute: #847766;

  --line: rgba(255,236,210,0.10);
  --line-strong: rgba(255,236,210,0.25);

  --yellow: #FFE600;
  --orange: #FF5C35;
  --orange-soft: rgba(255,92,53,0.12);
  --orange-glow: rgba(255,92,53,0.22);

  /* TIPOGRAFÍA */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* LAYOUT */
  --container: 1280px;
  --pad: clamp(16px, 4vw, 56px);
  --r: 14px;
  --r-sm: 8px;

  /* LOGO */
  --logo-h-desktop: 48px;
  --logo-h-tablet: 40px;
  --logo-h-mobile: 34px;
  --nav-pad-y: 16px;
  --nav-height: 80px;
}

html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-height); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--orange); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* MESH FONDO */
#bg-canvas {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%; pointer-events: none;
}

/* ============================================================
   NAV (compatible con app.js: #navToggle, #navMobileMenu, .nav-lang)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  padding: var(--nav-pad-y) var(--pad);
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.logo img {
  height: var(--logo-h-desktop);
  width: auto; display: block;
}

.nav-links {
  display: flex; align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  list-style: none; padding: 0; margin: 0;
}
.nav-links > li > a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0;
  transition: color 160ms ease;
}
.nav-links > li > a:hover { color: var(--ink); }
.nav-links > li > a.active { color: var(--ink); }
.nav-links > li > a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--orange); border-radius: 1px;
}

/* Selector de idiomas (compat con .nav-lang del app.js) */
.nav-lang {
  display: inline-flex; align-items: center; gap: 2px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 2px;
}
.nav-lang button {
  background: transparent; border: 0;
  color: var(--ink-mute);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 100px;
  transition: color 160ms ease, background 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-lang button:hover { color: var(--ink); }
.nav-lang button.active {
  background: var(--orange);
  color: #fff;
}

/* CTA del nav (.nav-cta del partial original) */
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: var(--r-sm);
  transition: transform 160ms ease, background 160ms ease;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.nav-cta:hover { transform: translateY(-1px); background: #FF6E4A; }

/* Toggle móvil */
.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  width: 42px; height: 42px; padding: 0;
  color: var(--ink);
  font-size: 18px;
  align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

/* Drawer móvil (#navMobileMenu del partial original) */
.nav-mobile-menu {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--bg-deeper);
  border-bottom: 1px solid var(--line-strong);
  padding: 20px var(--pad) calc(24px + env(safe-area-inset-bottom));
  transform: translateY(-110%);
  transition: transform 320ms cubic-bezier(.4,0,.2,1);
  z-index: 90;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
}
.nav-mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
}
.nav-mobile-menu .container {
  display: flex; flex-direction: column; gap: 2px; padding: 0;
}
.nav-mobile-menu > .container > a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-mobile-cta {
  margin-top: 18px !important;
  display: block !important;
  background: var(--orange);
  color: #fff !important;
  padding: 14px 18px !important;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-align: center;
  border-bottom: 0 !important;
}
.nav-mobile-lang {
  display: flex; gap: 8px;
  margin-top: 22px;
}
.nav-mobile-lang button {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 100px;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.nav-mobile-lang button.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

@media (max-width: 1080px) {
  .nav-links { gap: 18px; font-size: 13.5px; }
  .logo img { height: var(--logo-h-tablet); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .logo img { height: var(--logo-h-mobile); }
}
@media (max-width: 380px) {
  .logo img { height: 28px; }
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn-primary {
  background: var(--orange); color: #fff;
  padding: 14px 22px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 14px;
  border: 0;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 160ms ease, background 160ms ease;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:hover { transform: translateY(-2px); background: #FF6E4A; }
.btn-ghost {
  background: transparent; color: var(--ink);
  padding: 14px 20px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 14px;
  border: 1px solid var(--line-strong);
  transition: background 160ms ease, color 160ms ease;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ============================================================
   SECCIONES
   ============================================================ */
.section {
  padding: clamp(56px, 8vw, 120px) 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 28px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.0; letter-spacing: -0.03em; margin: 0;
}
.section-title .mark-o { color: var(--orange); }
.section-title .mark-y {
  background: var(--yellow); color: #0A0A0A;
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.section-lead {
  font-size: clamp(14px,1.3vw,16px);
  color: var(--ink-soft);
  max-width: 460px; line-height: 1.55;
  padding-bottom: 4px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(48px, 8vw, 120px) 0 clamp(36px, 5vw, 72px); }
.hero-top {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: clamp(24px, 4vw, 72px); align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 9px;
}
.hero-kicker::before {
  content: ""; width: 22px; height: 2px; background: var(--orange);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 7vw, 104px);
  line-height: 0.94; letter-spacing: -0.04em; margin: 0;
}
.hero h1 .mark-y {
  background: var(--yellow); color: #0A0A0A;
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero h1 .mark-o { color: var(--orange); }
.hero-side { padding-bottom: 6px; }
.hero-side p {
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55;
  color: var(--ink-soft); margin: 0 0 22px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-bar-cell {
  padding: clamp(14px,2vw,22px) clamp(14px,2vw,26px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 3px;
}
.hero-bar-cell:last-child { border-right: 0; }
.hero-bar-val {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: -0.03em; line-height: 1;
}
.hero-bar-val .u { color: var(--ink-mute); font-size: 0.5em; }
.hero-bar-lbl { font-size: clamp(11px,1.2vw,12.5px); color: var(--ink-soft); }

@media (max-width: 760px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-bar { grid-template-columns: 1fr 1fr; }
  .hero-bar-cell:nth-child(2) { border-right: 0; }
  .hero-bar-cell:nth-child(1), .hero-bar-cell:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ============================================================
   MARQUEE CLIENTES (preservar imgs de assets/companies/)
   ============================================================ */
.clients-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(20px,3vw,32px) 0;
  overflow: hidden;
}
.clients-marquee-track {
  display: flex; gap: clamp(40px, 6vw, 80px);
  align-items: center;
  animation: marquee 32s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.clients-marquee img {
  height: clamp(28px, 4vw, 40px);
  width: auto;
  opacity: 0.55;
  filter: grayscale(100%) brightness(1.5);
  transition: opacity 200ms ease, filter 200ms ease;
}
.clients-marquee img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* ============================================================
   MÓDULOS DE SERVICIO
   ============================================================ */
.modules {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.module {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: clamp(20px,3vw,28px);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease;
}
.module:hover { transform: translateY(-4px); border-color: var(--orange); }
.module::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
}
.module--m::before { background: var(--ink); }
.module--ia::before { background: var(--yellow); }
.module--ads::before { background: var(--orange); }

.module-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.module-badge {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  padding: 4px 9px; border-radius: 5px;
  letter-spacing: 0.04em;
}
.module--m .module-badge { background: var(--ink); color: var(--bg); }
.module--ia .module-badge { background: var(--yellow); color: #0A0A0A; }
.module--ads .module-badge { background: var(--orange); color: #fff; }

.module-status {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 6px;
}
.module-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}

.module-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px,3vw,28px);
  letter-spacing: -0.025em; line-height: 1.05;
  margin-bottom: 10px;
}
.module-desc {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-soft); margin-bottom: 18px;
}

.module-list {
  display: flex; flex-direction: column; gap: 9px;
  margin-bottom: 22px; padding: 0;
  list-style: none;
}
.module-list li {
  font-size: 13.5px; color: var(--ink);
  padding-left: 18px; position: relative;
  line-height: 1.4;
}
.module-list li::before {
  content: ""; position: absolute;
  left: 0; top: 7px; width: 7px; height: 7px;
}
.module--m .module-list li::before { background: var(--ink); }
.module--ia .module-list li::before { background: var(--yellow); }
.module--ads .module-list li::before { background: var(--orange); }

.module-foot {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.module-metric-val {
  font-family: var(--font-display); font-weight: 700;
  font-size: 30px; letter-spacing: -0.03em; line-height: 1;
}
.module-metric-lbl { font-size: 11.5px; color: var(--ink-mute); margin-top: 2px; }

.module-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 16px;
  transition: all 200ms ease;
  color: var(--ink);
}
.module:hover .module-arrow { transform: rotate(-45deg); }
.module--m:hover .module-arrow { background: var(--ink); color: var(--bg); }
.module--ia:hover .module-arrow { background: var(--yellow); color: #0A0A0A; }
.module--ads:hover .module-arrow { background: var(--orange); color: #fff; border-color: var(--orange); }

@media (max-width: 900px) { .modules { grid-template-columns: 1fr; } }

/* Módulo grande para páginas internas */
.module-large { padding: clamp(28px,4vw,48px); }
.module-large .module-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px,4vw,56px); align-items: start;
}
.module-large .module-name { font-size: clamp(28px,4vw,44px); margin-bottom: 18px; }
.module-large .module-desc { font-size: 16px; margin-bottom: 18px; }
.module-large .module-extra {
  color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin: 0;
}
.module-large .module-sublabel {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 14px;
}
@media (max-width: 760px) {
  .module-large .module-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   PROCESO (bloque naranja)
   ============================================================ */
.process-wrap {
  background: var(--orange);
  color: #2A0F08;
  position: relative; z-index: 1;
}
.process-wrap .section-tag { color: rgba(42,15,8,0.6); }
.process-wrap .section-title { color: #2A0F08; }
.process-wrap .section-lead { color: rgba(42,15,8,0.75); }

.process {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(42,15,8,0.18);
  border-radius: var(--r); overflow: hidden;
}
.process-step {
  padding: clamp(24px,3vw,32px) clamp(20px,3vw,28px);
  border-right: 1px solid rgba(42,15,8,0.18);
  display: flex; flex-direction: column; gap: 13px;
  min-height: 260px;
  transition: background 200ms ease;
}
.process-step:last-child { border-right: 0; }
.process-step:hover { background: rgba(42,15,8,0.06); }
.process-num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 8px;
}
.process-num span {
  width: 26px; height: 26px; border-radius: 6px;
  display: grid; place-items: center; font-weight: 700;
}
.process-step:nth-child(1) .process-num span { background: #2A0F08; color: var(--orange); }
.process-step:nth-child(2) .process-num span { background: var(--yellow); color: #0A0A0A; }
.process-step:nth-child(3) .process-num span { background: #F4ECDD; color: #2A0F08; }
.process-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; letter-spacing: -0.02em; margin: 0;
}
.process-desc {
  font-size: 13.5px; line-height: 1.55;
  color: rgba(42,15,8,0.78); margin: 0;
}
.process-tag {
  margin-top: auto;
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(42,15,8,0.55);
  text-transform: uppercase; letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; }
  .process-step {
    border-right: 0;
    border-bottom: 1px solid rgba(42,15,8,0.18);
    min-height: 0;
  }
  .process-step:last-child { border-bottom: 0; }
}

/* ============================================================
   MANIFIESTO / SOBRE NOSOTROS
   ============================================================ */
.manifesto {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
.manifesto-quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.15; letter-spacing: -0.02em; margin: 0;
}
.manifesto-quote em { font-style: normal; color: var(--orange); }
.manifesto-detail {
  display: flex; flex-direction: column; gap: 18px;
}
.manifesto-detail p {
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; margin: 0;
}
.manifesto-detail strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .manifesto { grid-template-columns: 1fr; } }

/* Valores 2x2 */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Tarjeta del founder */
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: clamp(24px,3vw,36px);
  position: relative; overflow: hidden;
}
.founder-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 5px; background: var(--orange);
}
.founder-status {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
}
.founder-status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}
.founder-meta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 18px;
  line-height: 1.6;
}
.founder-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px,3.4vw,42px);
  letter-spacing: -0.03em; line-height: 1; margin: 0 0 8px;
}
.founder-role {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 22px;
}
.founder-bio {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-soft); margin: 0;
}

/* ============================================================
   PRINCIPIOS / MÉTODO
   ============================================================ */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }

.principle {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: clamp(22px,2.5vw,32px);
  transition: border-color 200ms ease, transform 200ms ease;
  position: relative; overflow: hidden;
}
.principle:hover { border-color: var(--orange); transform: translateY(-3px); }
.principle::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.principle:nth-child(1)::before { background: var(--ink); }
.principle:nth-child(2)::before { background: var(--yellow); }
.principle:nth-child(3)::before { background: var(--orange); }
.principle-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 40px; line-height: 1;
  color: var(--orange); letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.principle h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.02em;
  line-height: 1.1; margin: 0 0 12px;
}
.principle p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
}

/* Método 4 pasos */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .method-grid { grid-template-columns: 1fr; } }

.method-step {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: clamp(22px,2.5vw,28px);
  transition: border-color 200ms ease;
}
.method-step:hover { border-color: var(--orange); }
.method-step-num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.method-step-num span {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.method-step h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; letter-spacing: -0.02em;
  line-height: 1.1; margin: 0 0 10px;
}
.method-step p {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
}

/* ============================================================
   PROOF / CASOS
   ============================================================ */
.proof {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.proof-quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.22; letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.proof-quote .hl { background: var(--yellow); color: #0A0A0A; padding: 0 0.12em; }
.proof-author {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.proof-author::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.proof-author strong { color: var(--ink); font-weight: 700; }
.proof-stars {
  color: var(--orange); letter-spacing: 3px;
  margin-bottom: 16px; font-size: 15px;
}

.clients-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--r); overflow: hidden;
  background: var(--bg-card);
}
.client-cell {
  padding: clamp(18px,2.5vw,28px) 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  transition: background 160ms ease;
  min-height: 90px;
}
.client-cell img {
  max-height: 38px; width: auto;
  opacity: 0.65;
  filter: grayscale(100%) brightness(1.5);
  transition: opacity 200ms ease, filter 200ms ease;
}
.client-cell:hover { background: var(--orange-soft); }
.client-cell:hover img { opacity: 1; filter: grayscale(0%) brightness(1); }
.client-cell:nth-child(3n) { border-right: 0; }
.client-cell:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 540px) {
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .client-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .client-cell:nth-child(2n) { border-right: 0; }
  .client-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .client-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 900px) { .proof { grid-template-columns: 1fr; } }

/* ============================================================
   FORMULARIO DE CONTACTO (selectores que app.js usa)
   #contactForm, .form-status, FIELD_LABELS
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px,4vw,56px); align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: clamp(24px,3vw,40px);
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 5px; background: var(--orange);
}
.form-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px,2.6vw,28px);
  letter-spacing: -0.02em; line-height: 1.1;
  margin: 0 0 8px;
}
.form-lead {
  color: var(--ink-soft); font-size: 14px; line-height: 1.55;
  margin: 0 0 24px;
}

#contactForm {
  display: flex; flex-direction: column; gap: 16px;
}
.field-label {
  display: block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 6px;
}
.field-label .req { color: var(--orange); }
.field-input, .field-textarea, .field-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 14.5px;
  transition: border-color 160ms ease;
}
.field-input:focus, .field-textarea:focus, .field-select:focus {
  outline: none; border-color: var(--orange);
}
.field-textarea { resize: vertical; min-height: 110px; }

/* Estados del envío del form (selector usado por app.js) */
.form-status {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  display: none;
}
.form-status.sending {
  display: block;
  background: var(--surface);
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
}
.form-status.success {
  display: block;
  background: rgba(34,197,94,0.12);
  color: #22C55E;
  border: 1px solid rgba(34,197,94,0.3);
}
.form-status.error {
  display: block;
  background: rgba(255,92,53,0.12);
  color: var(--orange);
  border: 1px solid var(--orange);
}

/* Información de contacto lateral */
.contact-channel {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 20px 24px;
  margin-bottom: 14px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.contact-channel:hover { border-color: var(--orange); transform: translateY(-2px); }
.contact-channel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.contact-channel-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}
.contact-channel.featured .contact-channel-label { color: var(--orange); }
.contact-channel-arrow {
  color: var(--ink-soft);
  transition: transform 200ms ease, color 200ms ease;
}
.contact-channel:hover .contact-channel-arrow {
  transform: translateX(4px); color: var(--orange);
}
.contact-channel-value {
  font-family: var(--font-display);
  font-size: clamp(18px,2vw,21px); font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  word-break: break-all;
}
.contact-channel-meta { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* Bloque de disponibilidad */
.availability {
  background: var(--bg-deeper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  margin-top: 14px;
}
.availability-title {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.availability-title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}
.availability ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.availability li {
  font-size: 13.5px; color: var(--ink-soft);
  display: flex; justify-content: space-between;
}
.availability li strong { color: var(--ink); font-weight: 600; }
.availability li strong.hot { color: var(--orange); font-weight: 700; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 12px; }
.faq {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 22px 26px;
  transition: border-color 200ms ease;
}
.faq[open] { border-color: var(--orange); }
.faq summary {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px; font-weight: 400;
  color: var(--orange); flex-shrink: 0;
  transition: transform 200ms ease;
}
.faq[open] summary::after { content: "−"; }
.faq p {
  color: var(--ink-soft);
  font-size: 14.5px; line-height: 1.65;
  margin: 14px 0 0;
}

/* ============================================================
   CTA WRAP
   ============================================================ */
.cta-wrap { padding: clamp(48px, 7vw, 104px) 0; }
.cta {
  background: var(--bg-deeper);
  color: var(--ink);
  border-radius: calc(var(--r) * 1.6);
  padding: clamp(32px, 6vw, 84px);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.cta::before {
  content: ""; position: absolute;
  top: -40%; right: -10%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow), transparent 70%);
}
.cta::after {
  content: ""; position: absolute;
  bottom: -50%; left: 10%;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,230,0,0.12), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; }
.cta-tag {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px;
}
.cta h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 4.6vw, 60px);
  line-height: 1.0; letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.cta h2 em { font-style: normal; color: var(--orange); }
.cta p {
  font-size: clamp(14px,1.5vw,16px);
  color: var(--ink-soft);
  margin: 0 0 28px; max-width: 480px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(36px, 5vw, 64px) 0 calc(28px + env(safe-area-inset-bottom));
  background: transparent;
}
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: clamp(22px, 4vw, 56px);
  margin-bottom: 44px;
}
.footer-about .logo img { height: 36px; width: auto; margin-bottom: 14px; }
.footer-about p {
  color: var(--ink-soft); font-size: 14px;
  max-width: 320px; margin: 0; line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--font-mono); font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.footer-col a {
  font-size: 14px; color: var(--ink-soft);
  transition: color 160ms ease;
}
.footer-col a:hover { color: var(--ink); }

.social-icons {
  display: flex; gap: 10px;
  margin-bottom: 14px;
}
.social-icons a {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.social-icons a:hover {
  border-color: var(--orange); color: var(--orange);
  transform: translateY(-2px);
}
.social-icons svg { width: 16px; height: 16px; }
.social-label {
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 6px;
}
.social-label a { color: var(--ink); }
.social-label a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-mute);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

/* ============================================================
   MODAL #reviewsModal (preservar selector que app.js abre)
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,12,8,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal[aria-hidden="false"] { display: flex; }
.modal-panel {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: clamp(28px,3.5vw,48px);
  max-width: 720px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px;
  transition: color 160ms ease, border-color 160ms ease;
}
.modal-close:hover { color: var(--orange); border-color: var(--orange); }
.modal h2 {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange);
  margin: 0 0 24px;
}
.modal-review {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.modal-review:last-child { border-bottom: 0; }
.modal-review .stars {
  color: var(--orange); letter-spacing: 3px;
  margin-bottom: 10px; font-size: 14px;
}
.modal-review p {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  line-height: 1.35; letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.modal-review .author {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
}
.modal-review .author strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   Accesibilidad: reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .clients-marquee-track { animation: none; }
}
