/* ====================================================
   MERKADEER · DESARROLLO DE SOFTWARE A LA MEDIDA
   Estilos ligeros, modernos y responsivos
   ==================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --bg-4: #1f1f1f;
  --bg-light: #ededea;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.78);
  --text-3: rgba(255, 255, 255, 0.55);
  --text-4: rgba(255, 255, 255, 0.35);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.06);
  --orange: #f2530f;
  --orange-2: #ff7733;
  --orange-soft: rgba(242, 83, 15, 0.10);
  --yellow: #f4b13c;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --max: 1200px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.45);
  --t: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--t); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: 'Archivo', 'Inter', system-ui, sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff; padding: 12px 20px; z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ===== Layout ===== */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: 880px; }

@media (min-width: 1024px) {
  .wrap { padding: 0 32px; }
}

/* ===== Tipografía ===== */
.text-orange { color: var(--orange); }
.text-stroke {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--orange); }

.title-xl {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.title-mega {
  font-size: clamp(3rem, 8vw, 5.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.title-dark { color: #0a0a0a; }

.lead-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 18px 0;
  max-width: 56ch;
}
.lead-dark { color: rgba(10, 10, 10, 0.75); }

.body-text {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0;
}

.section-lead {
  color: var(--text-3);
  max-width: 60ch;
  font-size: 16px;
  margin: 6px 0 56px;
}

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--t), border-color .3s var(--t), backdrop-filter .3s var(--t);
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo { display: inline-flex; align-items: center; }
.logo-svg { width: 160px; height: auto; }
.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  transition: color .25s var(--t);
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--orange); }
.nav-link .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
}
.nav-link .dot-o {
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--text-3);
  background: transparent;
}
.nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background .25s var(--t), transform .25s var(--t);
}
.nav-cta:hover { background: var(--orange-2); color: #fff; transform: translateY(-1px); }
.nav-cta .dot-o { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: inline-flex; }
}

.menu-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background .25s var(--t);
}
.menu-btn:hover { background: var(--orange); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 60;
  background: var(--bg-2);
  transform: translateX(100%);
  transition: transform .5s var(--t);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head {
  display: flex; justify-content: flex-end;
  padding: 24px;
}
.menu-close {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s var(--t), border-color .25s var(--t);
}
.menu-close:hover { background: var(--orange); border-color: var(--orange); }
.mobile-nav {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  height: calc(100% - 92px);
  margin-top: -92px;
}
.mobile-link {
  font-family: 'Archivo', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--text);
  transition: color .25s var(--t);
}
.mobile-link:hover { color: var(--orange); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
  background: radial-gradient(ellipse 100% 60% at 50% 0%, #161616 0%, var(--bg) 70%);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  top: -10%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(circle, rgba(242, 83, 15, 0.18) 0%, transparent 60%);
  filter: blur(40px);
}
.hero-wrap {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}
.hero-badge i { color: var(--orange); font-size: 12px; }

.hero-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  margin-bottom: 28px;
  max-width: 14ch;
  position: relative;
}
.hero-title strong {
  display: inline;
  position: relative;
  background: linear-gradient(135deg, #f2530f 0%, #f2530f 32%, #ffffff 32%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 24px;
}
.hero-title-sm {
  display: block;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  color: var(--text-2);
  margin-top: 8px;
}
.hero-title-sm::before { content: ""; display: block; }

.hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex; flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.stat dd {
  font-family: 'Archivo', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 8px;
}
.stat dt {
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-4);
  display: flex; align-items: center; gap: 8px;
}
.stat dt i { color: rgba(242, 83, 15, 0.6); }
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  display: none;
  flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-4);
  transition: color .25s var(--t);
}
.hero-scroll:hover { color: var(--text); }
.hero-scroll span { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; }
.hero-scroll i { color: var(--orange); font-size: 12px; animation: bob 1.8s var(--t) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (min-width: 1280px) { .hero-scroll { display: flex; } }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 28px;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background .3s var(--t), color .3s var(--t), transform .3s var(--t), border-color .3s var(--t), box-shadow .3s var(--t);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(242, 83, 15, 0.6);
}
.btn-primary:hover {
  background: #fff;
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.btn-dark {
  border: 2px solid rgba(10, 10, 10, 0.15);
  color: var(--bg);
}
.btn-dark:hover { border-color: var(--bg); background: rgba(10, 10, 10, 0.05); }
.btn-block { width: 100%; }
.btn i { font-size: 11px; transition: transform .3s var(--t); }
.btn:hover i { transform: translateX(3px); }

.btn-circle {
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
  transition: background .3s var(--t), border-color .3s var(--t), color .3s var(--t);
}
.btn-circle i { font-size: 18px; color: var(--orange); margin-bottom: 4px; transition: color .3s var(--t); }
.btn-circle:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-circle:hover i { color: #fff; }
.mt-6 { margin-top: 24px; }

/* ===== Sections ===== */
.section { padding: 90px 0; border-top: 1px solid var(--line); }
.section-dark { background: var(--bg-2); border-top-color: var(--line-2); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head .section-lead { margin-bottom: 0; }
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* ===== ¿Qué es? info-stack ===== */
.info-stack { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .35s var(--t), border-color .35s var(--t);
}
.info-card:hover { transform: translateY(-4px); border-color: rgba(242, 83, 15, 0.4); }
.info-card i {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.info-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.info-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

/* ===== Grid servicios ===== */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card-service {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .35s var(--t), border-color .35s var(--t), background .35s var(--t);
}
.card-service:hover { transform: translateY(-6px); border-color: rgba(242, 83, 15, 0.4); background: var(--bg-3); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
  transition: background .35s var(--t), color .35s var(--t);
}
.card-service:hover .card-icon { background: var(--orange); color: #fff; }
.card-service h3 {
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.card-service p { color: var(--text-2); font-size: 14.5px; line-height: 1.65; }

.tag-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 56px; padding-top: 36px;
  border-top: 1px solid var(--line);
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-2);
  background: var(--bg-3);
  transition: border-color .3s var(--t), color .3s var(--t);
}
.tag:hover { border-color: var(--orange); color: var(--text); }
.tag i { color: var(--orange); font-size: 10px; }

/* ===== Proceso ===== */
.section-process {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
  overflow: hidden;
}
.process-bg {
  position: absolute;
  top: 0; right: -10%;
  width: 60%; height: 100%;
  background:
    radial-gradient(circle at 70% 50%, rgba(244, 177, 60, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, transparent 0%, rgba(244, 177, 60, 0.06) 100%);
  pointer-events: none;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }

.process-step {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--t), border-color .4s var(--t);
}
.process-step:hover { transform: translateY(-4px); border-color: rgba(242, 83, 15, 0.4); }
.process-num {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 3.5rem; font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.process-step > i {
  font-size: 22px;
  color: rgba(244, 177, 60, 0.7);
  margin-bottom: 18px;
  display: block;
}
.process-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.process-step p { color: var(--text-2); font-size: 14.5px; line-height: 1.65; }

/* ===== Equipo ===== */
.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14.5px;
  color: var(--text-2);
}
.check-list i {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
}
.check-list-dark li { color: rgba(10, 10, 10, 0.7); }

.team-stack { display: flex; flex-direction: column; }
.team-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s var(--t);
}
.team-card:last-child { border-bottom: 0; }
.team-card:hover { padding-left: 12px; }
.team-card i {
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
  transition: transform .3s var(--t);
}
.team-card:hover i { transform: translateX(4px); }
.team-card h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}
.team-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; max-width: 50ch; }

/* ===== Testimonios ===== */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card-testimonio {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform .35s var(--t), border-color .35s var(--t);
}
.card-testimonio:hover { transform: translateY(-4px); border-color: rgba(242, 83, 15, 0.4); }
.card-testimonio > i {
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 18px;
  display: block;
}
.card-testimonio p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.card-testimonio footer {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange-soft);
  border: 1px solid rgba(242, 83, 15, 0.3);
  color: var(--orange);
  font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.card-testimonio footer strong { display: block; font-size: 14px; }
.card-testimonio footer span { display: block; font-size: 12.5px; color: var(--text-4); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: color .3s var(--t);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  flex: 1;
  transition: color .3s var(--t);
}
.faq-item[open] summary h3,
.faq-item summary:hover h3 { color: var(--orange); }
.faq-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 11px;
  flex-shrink: 0;
  transition: transform .3s var(--t), background .3s var(--t);
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--orange-soft); }
.faq-body {
  padding: 0 0 24px;
  padding-right: 60px;
}
.faq-body p { color: var(--text-2); font-size: 15px; line-height: 1.7; }

/* ===== CTA ===== */
.section-cta {
  background: var(--bg-light);
  color: var(--bg);
  border-top: 0;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 50%, rgba(0, 0, 0, 0.05) 0%, transparent 70%),
    radial-gradient(40% 60% at 20% 80%, rgba(242, 83, 15, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-wrap { position: relative; z-index: 1; align-items: center; }

.nota-legal {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-size: 13px;
  color: rgba(10, 10, 10, 0.55);
}
.nota-legal i { color: var(--orange); }

.cta-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.25);
}
.cta-card-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
  margin-bottom: 24px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}
.cta-card-title i { color: var(--orange); }

.cta-buttons { display: flex; flex-direction: column; gap: 12px; }

.cta-phones { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(10, 10, 10, 0.1); }
.cta-phones-title {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
  margin-bottom: 14px;
  font-weight: 700;
}
.cta-phone {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--bg);
  transition: color .25s var(--t);
}
.cta-phone:hover { color: var(--orange); }
.cta-phone i { color: var(--orange); font-size: 12px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  color: var(--text);
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 72px 24px 48px;
}
@media (min-width: 640px) { .footer-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-wrap { grid-template-columns: 1.4fr 1fr 1fr; padding: 80px 32px 56px; } }
.footer-col h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
}
.footer-text { color: var(--text-2); font-size: 14px; line-height: 1.7; margin-top: 18px; max-width: 38ch; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}
.footer-col li i { color: var(--orange); margin-top: 3px; font-size: 12px; flex-shrink: 0; }
.footer-col a { transition: color .25s var(--t); }
.footer-col a:hover { color: var(--orange); }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--text-2);
  transition: background .3s var(--t), border-color .3s var(--t), color .3s var(--t);
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 12px;
  color: var(--text-4);
}
.footer-bottom-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
@media (min-width: 640px) {
  .footer-bottom-wrap { flex-direction: row; justify-content: space-between; }
}
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { color: var(--text-3); transition: color .25s var(--t); }
.footer-bottom a:hover { color: var(--text); }

/* ===== To top button ===== */
.to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 40;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  box-shadow: 0 10px 30px -10px rgba(242, 83, 15, 0.6);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--t), transform .3s var(--t), background .3s var(--t);
}
.to-top:hover { background: var(--orange-2); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== Animaciones reveal ===== */
.anim, .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--t), transform .8s var(--t);
}
.anim.is-visible, .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.anim.d2 { transition-delay: .1s; }
.anim.d3 { transition-delay: .2s; }
.anim.d4 { transition-delay: .3s; }
.anim.d5 { transition-delay: .4s; }

/* ===== Focus visible ===== */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .anim, .fade-in { opacity: 1; transform: none; }
}

/* ===== TL;DR / Key Takeaways (GEO #1) ===== */
.tldr-section {
  padding-top: 56px;
  padding-bottom: 0;
  border-top: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.tldr-box {
  position: relative;
  background: linear-gradient(135deg, rgba(242, 83, 15, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(242, 83, 15, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  box-shadow: 0 20px 60px -20px rgba(242, 83, 15, 0.15);
}
.tldr-box::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  background: linear-gradient(180deg, var(--orange) 0%, transparent 100%);
  border-radius: 2px;
}
.tldr-head { margin-bottom: 18px; padding-left: 6px; }
.tldr-tag {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tldr-tag i { font-size: 11px; }
.tldr-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
}
.tldr-updated {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--text-4);
  margin: 0;
}
.tldr-updated i { color: var(--orange); font-size: 11px; }
.tldr-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
  padding-left: 6px;
}
.tldr-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  transition: border-color .25s var(--t);
}
.tldr-list li:hover { border-color: rgba(242, 83, 15, 0.3); }
.tldr-list i.t-ok, .tldr-list i.fa-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
@media (min-width: 768px) {
  .tldr-list { grid-template-columns: 1fr 1fr; }
  .tldr-list li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .tldr-box { padding: 24px 20px; }
}

/* ===== Tablas comparativas (GEO #3) ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  margin-bottom: 18px;
}
.table-wrap:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.compare-table, .stack-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare-table thead th,
.stack-table thead th {
  background: var(--bg-3);
  color: var(--text);
  font-weight: 700;
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.compare-table thead th:first-child { color: var(--text-3); font-weight: 600; }
.compare-table thead th:nth-child(2) {
  background: linear-gradient(180deg, rgba(242, 83, 15, 0.18) 0%, rgba(242, 83, 15, 0.05) 100%);
  color: var(--orange);
  font-size: 15px;
}
.th-highlight { display: inline-flex; align-items: center; gap: 6px; }
.compare-table tbody th,
.stack-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding: 16px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
  font-size: 13.5px;
}
.compare-table tbody td,
.stack-table tbody td {
  padding: 16px 20px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}
.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th,
.stack-table tbody tr:hover td,
.stack-table tbody tr:hover th {
  background: var(--bg-3);
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th,
.stack-table tbody tr:last-child td,
.stack-table tbody tr:last-child th { border-bottom: 0; }
.compare-table .t-ok, .compare-table .t-bad, .compare-table .t-mid {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 10px;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}
.compare-table .t-ok { background: var(--orange); color: #fff; }
.compare-table .t-bad { background: rgba(255, 255, 255, 0.08); color: var(--text-4); }
.compare-table .t-mid { background: rgba(244, 177, 60, 0.15); color: var(--yellow); }
.stack-table tbody td:first-of-type { color: var(--text); font-size: 14px; }
.table-source {
  font-size: 13px;
  color: var(--text-4);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.table-source i { color: var(--orange); font-size: 12px; }

/* ===== Print ===== */
@media print {
  .site-header, .to-top, .hero-scroll, .hero-glow, .hero-grid { display: none !important; }
}

/* ===== IMAGEN DE FONDO DILUIDA PARA HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Imagen de fondo con desenfoque y oscurecimiento */
.hero-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* Dilución: desenfoque + reducción de brillo */
  filter: blur(8px) brightness(0.45);
  transform: scale(1.05); /* Evita bordes blancos por el blur */
  z-index: 1;
}

.hero-image-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.45);
  transform: scale(1.05);
  z-index: 1;
}

/* Capa semitransparente oscura encima (más dilución) */
.hero-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Grid decorativo (encima de la imagen) */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 3;
  pointer-events: none;
}

/* Brillo anaranjado (glow) encima del grid */
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(242, 83, 15, 0.2), transparent 65%);
  z-index: 4;
  pointer-events: none;
}

/* El contenido (texto, botones) debe estar por encima de todo */
.hero-wrap {
  position: relative;
  z-index: 5;
}