/* ==========================================================================
   Webside — Sistema de diseño
   Negro mate, blanco cálido y un acento champán. Tipografía Inter Tight +
   Instrument Serif para los acentos editoriales.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --surface: #131315;
  --surface-2: #19191c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f0eb;
  --muted: #a3a19b;
  --dim: #8a8882; /* contraste 5.5:1 sobre --bg (mínimo WCAG AA: 4.5:1) */
  --gold: #c8a96a;
  --gold-2: #e2c98f;
  --gold-soft: rgba(200, 169, 106, 0.12);
  --success: #7fbf8e;
  --danger: #e08a7b;

  --font-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(2.6rem, 8.2vw, 6.25rem);
  --fs-h1: clamp(2.3rem, 6.4vw, 4.75rem);
  --fs-h2: clamp(1.9rem, 4.6vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 2.2vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 13vw, 168px);
  --header-h: 72px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

/* Grano sutil para dar textura de material mate */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-pill);
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section--tight {
  padding-block: calc(var(--section) * 0.6);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section--raised {
  background: var(--bg-2);
}

.grid-2 {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

@media (min-width: 960px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-2--wide-left {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* ---------- Tipografía ---------- */
.display,
.h1,
.h2,
.h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.display {
  font-size: var(--fs-display);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.h1 {
  font-size: var(--fs-h1);
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.05;
}

.h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.gold {
  color: var(--gold);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.eyebrow--plain::before {
  display: none;
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(48px, 7vw, 88px);
  max-width: 820px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.4s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(200, 169, 106, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: var(--fs-small);
}

@media (hover: hover) {
  .btn-primary:hover::after {
    transform: translateX(120%);
  }

  .btn-ghost:hover {
    border-color: var(--gold);
    background: var(--gold-soft);
  }

  .btn:hover svg {
    transform: translateX(3px);
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 479px) {
  .btn-row .btn {
    flex: 1 1 100%;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}

@media (hover: hover) {
  .text-link:hover {
    color: var(--gold-2);
    border-color: var(--gold);
  }

  .text-link:hover svg {
    transform: translateX(3px);
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-right: auto;
}

.nav-list {
  display: none;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: var(--fs-small);
  color: var(--muted);
  border-radius: var(--r-pill);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav-list a[aria-current] {
  color: var(--text);
}

@media (hover: hover) {
  .nav-list a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
  }
}

.header-cta {
  display: none;
}

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}

.menu-toggle span:nth-child(1) {
  top: 18px;
}

.menu-toggle span:nth-child(2) {
  top: 25px;
}

.menu-open .menu-toggle span:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  top: 21.5px;
  transform: rotate(-45deg);
}

@media (min-width: 960px) {
  .nav-list {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Menú móvil (fuera del header para no quedar atrapado por backdrop-filter) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease), visibility 0s;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mobile-menu li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i, 0) * 50ms + 80ms);
}

.menu-open .mobile-menu li {
  opacity: 1;
  transform: none;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
}

.mobile-menu nav a small {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--dim);
  letter-spacing: 0.1em;
}

.mobile-menu-contact {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  font-size: var(--fs-small);
  color: var(--muted);
}

.mobile-menu .btn {
  margin-top: 32px;
  width: 100%;
  flex: none;
}

.mobile-menu nav a[aria-current] {
  color: var(--gold-2);
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 960px) {
  .mobile-menu {
    display: none;
  }
}

/* ---------- Intro (solo inicio, una vez por sesión) ---------- */
.intro {
  display: none;
}

.intro-play .intro {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  background: var(--bg);
  animation: intro-out 0.9s var(--ease-in-out) 1.35s forwards;
  pointer-events: none;
}

.intro-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.intro-word {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  overflow: hidden;
}

.intro-word span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.intro-line {
  width: 120px;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}

.intro-line::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: grow 1s var(--ease-in-out) 0.3s forwards;
}

@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes grow {
  to {
    transform: scaleX(1);
  }
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 72px;
  overflow: hidden;
}

.hero--page {
  min-height: auto;
  padding-top: calc(var(--header-h) + clamp(72px, 12vw, 140px));
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 70% 30%, rgba(200, 169, 106, 0.11), transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 60%, rgba(255, 255, 255, 0.04), transparent 70%);
  animation: drift 18s var(--ease-in-out) infinite alternate;
}

@keyframes drift {
  to {
    transform: translate3d(-4%, 3%, 0) scale(1.05);
  }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  opacity: 0.45;
}

.hero-content {
  position: relative;
  display: grid;
  gap: 28px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero-title .line > span {
  display: block;
}

.js .hero-title .line > span {
  transform: translateY(105%);
  animation: rise 1.15s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 0.15s);
}

.intro-play .hero-title .line > span {
  animation-delay: calc(var(--i, 0) * 110ms + 1.65s);
}

.js .hero-fade {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 1s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms + 0.55s);
}

.intro-play .hero-fade {
  animation-delay: calc(var(--d, 0) * 1ms + 2.05s);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-micro);
  letter-spacing: 0.02em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold);
  animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--muted);
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
  transform: translateX(-50%);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, var(--gold));
  animation: cue 2.4s var(--ease-in-out) infinite;
}

@keyframes cue {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@media (max-height: 700px), (max-width: 599px) {
  .scroll-cue {
    display: none;
  }
}

/* Breadcrumb */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  font-size: var(--fs-micro);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}

.breadcrumb a {
  transition: color 0.3s var(--ease);
}

.breadcrumb a:hover {
  color: var(--text);
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding-block: clamp(28px, 4vw, 44px);
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}

@media (hover: hover) {
  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-right: clamp(28px, 4vw, 56px);
  font-size: clamp(1.6rem, 4.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text);
  white-space: nowrap;
}

/* Ritmo editorial: un servicio en sans y el siguiente en serif itálica dorada */
.marquee-item--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gold);
}

/* Separador: estrella de cuatro puntas */
.marquee-item::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--gold);
  opacity: 0.55;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Tarjetas ---------- */
.card {
  --x: 50%;
  --y: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(200, 169, 106, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

@media (hover: hover) {
  .card:hover {
    border-color: var(--line-strong);
  }

  .card:hover::before {
    opacity: 1;
  }

  a.card:hover {
    transform: translateY(-4px);
  }

  a.card:hover .card-arrow {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
  }

  a.card:hover .card-arrow svg {
    transform: rotate(-45deg);
  }
}

.card-num {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--dim);
}

.card p {
  color: var(--muted);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--gold);
  background: rgba(200, 169, 106, 0.05);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  font-size: var(--fs-small);
  color: var(--muted);
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.45s var(--ease);
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.cards--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

/* Bento de servicios en inicio */
.bento {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bento .card {
  min-height: 320px;
}

/* ---------- Página web destacada / Mockup de navegador ---------- */
.feature-list {
  display: grid;
  gap: 0;
  margin-top: 36px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--gold);
}

.feature-list strong {
  display: block;
  font-weight: 500;
}

.feature-list span {
  color: var(--muted);
  font-size: var(--fs-small);
}

.browser {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.browser-url {
  flex: 1;
  min-width: 0;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-body {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 36px);
}

.sk {
  position: relative;
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.sk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: translateX(-100%);
  animation: shimmer 3.2s linear infinite;
}

.sk--title {
  height: 28px;
  width: 78%;
  border-radius: 8px;
}

.sk--title-2 {
  height: 28px;
  width: 52%;
  border-radius: 8px;
}

.sk--w60 {
  width: 60%;
}

.sk--w40 {
  width: 40%;
}

.sk-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.sk-btn {
  width: 120px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--text);
  opacity: 0.9;
}

.sk-btn--ghost {
  width: 96px;
  background: transparent;
  border: 1px solid var(--line-strong);
}

.sk-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.sk-tiles span {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(200, 169, 106, 0.14), rgba(255, 255, 255, 0.02));
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(19, 19, 21, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: var(--fs-micro);
  color: var(--text);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
  animation: bob 6s var(--ease-in-out) infinite;
}

.float-chip b {
  color: var(--gold);
  font-weight: 600;
}

.float-chip--a {
  right: -8px;
  top: 22%;
}

.float-chip--b {
  left: -8px;
  bottom: 14%;
  animation-delay: -3s;
}

@media (max-width: 599px) {
  .float-chip--a {
    right: 8px;
    top: auto;
    bottom: 18px;
  }

  .float-chip--b {
    display: none;
  }
}

@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

.mockup-wrap {
  position: relative;
  padding-inline: 8px;
}

/* ---------- Expediente ---------- */
.dossier {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #121214, #0d0d0f);
  overflow: hidden;
}

.dossier-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(20px, 4vw, 40px);
  border-bottom: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.dossier-body {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 40px);
}

.dossier-fields {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.dossier-fields > div {
  display: grid;
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .dossier-fields > div {
    grid-template-columns: 200px 1fr;
    align-items: baseline;
  }
}

.dossier-fields dt {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.dossier-fields dd {
  font-size: 1.05rem;
}

.redact {
  position: relative;
  display: inline-block;
}

.redact::after {
  content: "";
  position: absolute;
  inset: 0 -4px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: right;
  transition: transform 1s var(--ease-in-out);
  transition-delay: calc(var(--d, 0) * 1ms + 300ms);
}

.js .dossier:not(.is-visible) .redact::after {
  transform: scaleX(1);
}

.dossier.is-visible .redact::after,
.no-js .redact::after {
  transform: scaleX(0);
}

/* El sello ocupa su propia fila para no tapar el texto */
.stamp {
  justify-self: end;
  margin-bottom: -8px;
  padding: 8px 14px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  opacity: 0.85;
}

.js .dossier .stamp {
  opacity: 0;
  transform: rotate(-8deg) scale(1.6);
  transition: opacity 0.35s var(--ease), transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
  transition-delay: 1.4s;
}

.js .dossier.is-visible .stamp {
  opacity: 0.85;
  transform: rotate(-8deg) scale(1);
}

@media (max-width: 559px) {
  .stamp {
    justify-self: start;
  }
}

/* ---------- Proceso ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.step {
  position: relative;
  padding: 28px 0 0;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--gold);
}

.step::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-in-out);
  transition-delay: calc(var(--d, 0) * 1ms + 200ms);
}

.is-visible .step::after,
.step.is-visible::after {
  transform: scaleX(1);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Expansión 2028 ---------- */
.expansion {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200, 169, 106, 0.09), transparent 70%), var(--bg);
}

.year-mega {
  position: relative;
  font-size: clamp(5.5rem, 26vw, 20rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 240, 235, 0.22);
  user-select: none;
}

.year-mega span {
  position: absolute;
  inset: 0;
  color: var(--text);
  -webkit-text-stroke: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 2.2s var(--ease-in-out) 0.3s;
  background: linear-gradient(180deg, var(--text) 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.is-visible .year-mega span,
.no-js .year-mega span {
  clip-path: inset(0 0 0 0);
}

.globe-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(140vw, 1200px);
  aspect-ratio: 1;
  border: 1px dashed var(--line);
  animation: spin 120s linear infinite; /* rotación muy lenta */
  border-radius: 50%;
  transform: translate(-50%, -30%);
  pointer-events: none;
}

.globe-ring::before,
.globe-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.globe-ring::after {
  inset: 26%;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 560px;
  margin: 48px auto 0;
}

.countdown div {
  padding: 18px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
}

.countdown b {
  display: block;
  font-size: clamp(1.4rem, 5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.countdown small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Lista de servicios (hub) ---------- */
.service-rows {
  border-top: 1px solid var(--line);
  list-style: none;
  padding: 0;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px clamp(16px, 4vw, 48px);
  padding: clamp(24px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--gold-soft), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.service-row-num {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--dim);
  align-self: start;
  padding-top: 0.6em;
}

.service-row h2 {
  font-size: clamp(1.6rem, 4.4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  transition: transform 0.6s var(--ease);
}

.service-row p {
  margin-top: 10px;
  max-width: 56ch;
  color: var(--muted);
}

.service-row .tag {
  margin-left: 10px;
  vertical-align: middle;
}

@media (hover: hover) {
  .service-row:hover::before {
    transform: scaleX(1);
  }

  .service-row:hover h2 {
    transform: translateX(8px);
  }

  .service-row:hover .card-arrow {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
  }

  .service-row:hover .card-arrow svg {
    transform: rotate(-45deg);
  }
}

@media (max-width: 559px) {
  .service-row {
    grid-template-columns: 1fr auto;
  }

  .service-row-num {
    grid-column: 1 / -1;
    padding-top: 0;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(200, 169, 106, 0.4);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- Paquetes ---------- */
.packages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.package {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 392px;
  gap: 20px;
}

.package--featured {
  border-color: rgba(200, 169, 106, 0.45);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(200, 169, 106, 0.12), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
}

.package-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag--solid {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.package-for {
  min-height: 3.2em;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}

.price small {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: var(--dim);
}

.price strong {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.package-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
}

.package-list li {
  display: flex;
  gap: 12px;
}

.package-list svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  color: var(--gold);
}

.package .btn {
  margin-top: auto;
  width: 100%;
}

.package-note {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--dim);
}

/* ---------- Checklist ---------- */
.checklist {
  display: grid;
  gap: 0 32px;
  list-style: none;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.checklist li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.checklist svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--gold);
}

/* ---------- Chat de WhatsApp (ilustrativo) ---------- */
.phone {
  position: relative;
  width: min(100%, 340px);
  margin-inline: auto;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 42px;
  background: #0d0d0f;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.95);
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #111214;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--line);
  background: #151618;
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.85rem;
}

.chat-head strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

.chat-head small {
  font-size: 0.7rem;
  color: var(--success);
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 380px;
  padding: 18px 14px 22px;
}

.msg {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.msg--in {
  align-self: flex-start;
  background: #1d1e21;
  border-bottom-left-radius: 4px;
}

.msg--out {
  align-self: flex-end;
  background: #2a2519;
  color: #f4ead4;
  border-bottom-right-radius: 4px;
}

.js .chat-body .msg {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}

.js .chat-body.is-visible .msg {
  opacity: 1;
  transform: none;
}

.typing {
  display: inline-flex;
  gap: 4px;
  align-self: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background: #1d1e21;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  animation: typing 1.2s infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.caption {
  margin-top: 16px;
  text-align: center;
  font-size: var(--fs-micro);
  color: var(--dim);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: linear-gradient(var(--text), var(--text)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 100% no-repeat;
  transition: transform 0.4s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 24px;
  max-width: 70ch;
  color: var(--muted);
}

.faq details p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.card:focus-visible,
.service-row:focus-visible {
  border-radius: var(--r-lg);
}

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border: 1px solid var(--line-strong);
  border-radius: clamp(24px, 3vw, 36px);
  background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(200, 169, 106, 0.14), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
  display: grid;
  gap: 28px;
}

.cta .h2 {
  max-width: 16ch;
}

/* ---------- Valores / Nosotros ---------- */
.statement {
  font-size: clamp(1.6rem, 4.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.statement .muted-words {
  color: var(--dim);
}

/* ---------- Formulario ---------- */
.form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  align-content: start; /* alinea campos vecinos aunque uno tenga mensaje de error */
  gap: 8px;
  min-width: 0;
}

.field label,
.field .label {
  font-size: var(--fs-small);
  color: var(--muted);
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  font-size: 16px; /* evita zoom en iOS */
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a19b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field select option {
  background: var(--surface);
  color: var(--text);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}

.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  /* background-color y no background: así el select conserva su flecha */
  background-color: var(--surface-2);
}

.field.has-error input:not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}

.field.has-error .check input {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
}

.field-error {
  font-size: var(--fs-micro);
  color: var(--danger);
  min-height: 0;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--muted);
}

.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.check a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consents {
  display: grid;
  gap: 14px;
}

.form-note {
  font-size: var(--fs-micro);
  color: var(--dim);
}

.form-status {
  font-size: var(--fs-small);
  color: var(--success);
}

.contact-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-item {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.3s var(--ease);
  min-width: 0;
}

.contact-item small {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact-item span {
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

@media (hover: hover) {
  a.contact-item:hover {
    border-color: var(--gold);
  }
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: 1.4fr 0.6fr;
    align-items: start;
  }
}

/* ---------- Texto legal ---------- */
.prose {
  max-width: 760px;
  color: var(--muted);
}

.prose h2 {
  margin: 48px 0 14px;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.prose p,
.prose ul {
  margin-bottom: 14px;
}

.prose ul {
  padding-left: 20px;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
  font-weight: 500;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(64px, 9vw, 112px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}

.footer-top {
  display: grid;
  gap: 48px;
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1.6fr;
  }
}

.footer-brand p {
  margin-top: 16px;
  max-width: 34ch;
  color: var(--muted);
}

.footer-cols {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer-cols ul {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.footer-cols a {
  color: var(--muted);
  font-size: var(--fs-small);
  transition: color 0.3s var(--ease);
}

@media (hover: hover) {
  .footer-cols a:hover {
    color: var(--text);
  }
}

.footer-contact {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
}

.footer-contact a {
  color: var(--text);
  transition: color 0.3s var(--ease);
}

@media (hover: hover) {
  .footer-contact a:hover {
    color: var(--gold-2);
  }
}

.footer-bottom {
  margin-top: clamp(48px, 7vw, 80px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 96px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-micro);
  color: var(--dim);
}

.footer-bottom a:hover {
  color: var(--text);
}

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366; /* verde oficial de WhatsApp */
  color: #fff;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.45), 0 8px 24px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}

.wa-float[hidden] {
  display: none;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

@media (hover: hover) {
  .wa-float:hover {
    transform: scale(1.06);
    background: #1ebe5b;
  }
}

/* ---------- 404 ---------- */
.not-found {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 64px;
}

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Utilidades */
.mt-m {
  margin-top: 32px;
}

.mt-l {
  margin-top: 56px;
}

.center {
  text-align: center;
}

.center .btn-row {
  justify-content: center;
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .intro-play .intro {
    display: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* Datos pendientes de completar en los textos legales */
.prose mark.pendiente {
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(200, 169, 106, 0.18);
  color: var(--gold-2);
}

/* ==========================================================================
   Formulario por pasos
   ========================================================================== */
.form-card {
  gap: 32px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}

.form-head {
  display: grid;
  gap: 6px;
}

.form-step,
.calc-group {
  display: grid;
  gap: 20px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step legend,
.calc-group legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.form-step-num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid rgba(200, 169, 106, 0.5);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--gold);
}

/* Botones de opción tipo píldora */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: var(--fs-small);
  color: var(--muted);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.chip input:checked + span {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--text);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (hover: hover) {
  .chip:hover span {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.28);
  }
}

.field.has-error .chips .chip span {
  border-color: rgba(224, 138, 123, 0.6);
}

/* Botón verde de WhatsApp */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) {
  .btn-whatsapp:hover {
    background: #1ebe5b;
  }

  .btn-whatsapp:hover svg {
    transform: none;
  }
}

.contact-item--accent {
  border-color: rgba(200, 169, 106, 0.4);
  background: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(200, 169, 106, 0.12), transparent 70%), var(--surface);
}

.contact-item--accent span {
  color: var(--gold-2);
}

/* ==========================================================================
   Calculadora
   ========================================================================== */
.calc {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1024px) {
  .calc {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

.calc-options {
  display: grid;
  gap: 40px;
  min-width: 0;
}

.option-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}

.option {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.option input[type="radio"],
.option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.option-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  height: 100%;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.option-body strong {
  font-weight: 500;
  padding-right: 24px;
}

.option-body small {
  font-size: var(--fs-micro);
  color: var(--dim);
}

.option-body b {
  margin-top: auto; /* el precio queda alineado abajo en todas las tarjetas */
  padding-top: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

/* Indicador de selección en la esquina */
.option:not(.option--qty) .option-body::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.option input[type="checkbox"] + .option-body::after {
  border-radius: 5px;
}

.option input:checked + .option-body {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(200, 169, 106, 0.1), var(--surface));
}

.option input:checked + .option-body::after {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.option input:focus-visible + .option-body {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (hover: hover) {
  .option:hover .option-body {
    border-color: var(--line-strong);
  }
}

/* Opción con cantidad (páginas adicionales) */
.option--qty {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  cursor: default;
}

.option--qty .option-body {
  padding: 0;
  border: 0;
  background: none;
}

.stepper {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}

.stepper button {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 1.1rem;
}

.stepper input {
  width: 44px;
  border: 0;
  background: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Resumen */
.calc-summary {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(200, 169, 106, 0.4);
  border-radius: var(--r-lg);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(200, 169, 106, 0.1), transparent 70%), var(--surface);
}

@media (min-width: 1024px) {
  .calc-summary {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.calc-summary-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.calc-lines {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 20px;
  list-style: none;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
}

.calc-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.calc-lines li span:last-child {
  flex: none;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.calc-lines .calc-empty {
  color: var(--dim);
}

.calc-totals {
  display: grid;
  gap: 8px;
  margin: 0;
}

.calc-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.calc-totals > div[hidden] {
  display: none;
}

.calc-totals dt {
  color: var(--muted);
  font-size: var(--fs-small);
}

.calc-totals dd {
  margin: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.calc-totals > div:first-child dd {
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
}

.calc-summary .btn {
  width: 100%;
}

.is-bumping {
  animation: bump 0.4s var(--ease);
}

@keyframes bump {
  40% {
    transform: scale(1.06);
    color: var(--gold-2);
  }
}

.option-tag {
  justify-self: start;
  margin-bottom: 6px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ==========================================================================
   Portada: texto + composición visual (escritorio)
   ========================================================================== */
.hero-layout {
  position: relative;
  display: grid;
  gap: 64px;
  align-items: center;
}

.hero-visual {
  display: none;
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .hero-layout .display {
    font-size: clamp(3.2rem, 5vw, 5.4rem);
  }

  .hero-visual {
    position: relative;
    display: block;
    margin: 0 28px 56px 0;
  }
}

.hero-browser .browser-body {
  padding: 28px;
}

.hero-phone {
  position: absolute;
  right: -28px;
  bottom: -64px;
  width: 232px;
  padding: 8px;
  border-radius: 36px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-phone .phone-screen {
  border-radius: 28px;
}

.hero-phone .chat-head {
  gap: 10px;
  padding: 14px 12px 10px;
}

.hero-phone .chat-avatar {
  width: 30px;
  height: 30px;
  font-size: 0.72rem;
}

.hero-phone .chat-head strong {
  font-size: 0.8rem;
}

.hero-phone .chat-body {
  gap: 8px;
  min-height: 236px;
  padding: 14px 10px 16px;
}

.hero-phone .msg {
  font-size: 0.74rem;
  padding: 8px 11px;
}

.hero-chip {
  left: -36px;
  top: 52%;
  z-index: 2;
}

.hero-chip--b {
  left: auto;
  right: 56px;
  top: -20px;
  animation-delay: -3s;
}

/* ==========================================================================
   Anatomía de una web (sección "Nuestra especialidad")
   ========================================================================== */
.anatomy {
  display: grid;
  gap: 56px;
}

.anatomy-stage {
  position: relative;
  margin: 0 0 24px 28px;
}

.anatomy-browser {
  position: relative;
}

.anatomy-browser .browser-body {
  padding: clamp(20px, 3vw, 32px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

/* Botón de WhatsApp dentro de la web de ejemplo */
.anatomy-wa {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.6);
}

/* Versión móvil superpuesta */
.anatomy-phone {
  position: absolute;
  left: -28px;
  bottom: -40px;
  display: grid;
  align-content: start;
  gap: 10px;
  width: clamp(96px, 22%, 128px);
  padding: 26px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}

.anatomy-phone .sk--title {
  width: 100%;
  height: 16px;
}

.anatomy-phone .sk-btn {
  width: 70%;
  height: 22px;
}

.anatomy-phone-tile {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(200, 169, 106, 0.14), rgba(255, 255, 255, 0.02));
}

/* Marcadores numerados */
.hotspot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.18);
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: ping 2.8s var(--ease) infinite;
}

.hotspot--2::after {
  animation-delay: 0.7s;
}

.hotspot--3::after {
  animation-delay: 1.4s;
}

.hotspot--4::after {
  animation-delay: 2.1s;
}

.hotspot--1 {
  top: 26%;
  right: 8%;
}

.hotspot--2 {
  top: 50%;
  left: 27%;
}

.hotspot--3 {
  right: 54px;
  bottom: 18px;
}

.hotspot--4 {
  bottom: 22%;
  left: 58%;
}

/* Leyenda */
.anatomy-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.anatomy-legend {
  display: grid;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .anatomy-legend {
    grid-template-columns: 1fr 1fr;
  }
}

.anatomy-legend li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  font-size: var(--fs-small);
  color: var(--muted);
}

.anatomy-legend b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(200, 169, 106, 0.5);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
}

.anatomy-legend strong {
  display: block;
  font-weight: 500;
  color: var(--text);
}

/* ==========================================================================
   Servicios del inicio: bento asimétrico
   ========================================================================== */
@media (min-width: 1080px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-card--wide {
    grid-column: span 2;
  }
}

.bento .bento-card {
  min-height: 340px;
}

.bento-main {
  display: grid;
  gap: 14px;
  align-content: start;
}

.bento-price {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold) !important;
}

@media (min-width: 760px) {
  .bento-card--wide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    grid-template-rows: 1fr auto;
    column-gap: 32px;
  }

  .bento-card--wide .card-foot {
    grid-column: 1 / -1;
  }
}

.bento-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(200, 169, 106, 0.12), transparent 70%), var(--bg-2);
  overflow: hidden;
}

/* Dos teléfonos para la tarjeta de apps */
.mini-phone {
  position: absolute;
  bottom: -18px;
  display: grid;
  align-content: start;
  gap: 8px;
  width: 92px;
  height: 170px;
  padding: 22px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface-2);
  z-index: 1;
  transform: translateX(-26px) rotate(-6deg);
  transition: transform 0.6s var(--ease);
}

.mini-phone--back {
  z-index: 0;
  opacity: 0.6;
  transform: translateX(42px) rotate(8deg);
}

.mini-phone i {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
}

.mini-phone i:first-child {
  width: 60%;
}

.mini-phone i:last-child {
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(200, 169, 106, 0.24), rgba(255, 255, 255, 0.03));
}

@media (hover: hover) {
  .bento-card:hover .mini-phone {
    transform: translateX(-30px) rotate(-8deg) translateY(-6px);
  }

  .bento-card:hover .mini-phone--back {
    transform: translateX(48px) rotate(10deg) translateY(-2px);
  }
}

/* Mini conversación para la tarjeta de WhatsApp */
.bento-visual--wa {
  align-content: center;
  justify-items: stretch;
  gap: 8px;
  padding: 18px;
}

.mini-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.mini-msg--in {
  justify-self: start;
  background: #1d1e21;
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.mini-msg--out {
  justify-self: end;
  background: #2a2519;
  color: #f4ead4;
  border-bottom-right-radius: 4px;
}

/* ==========================================================================
   Escalera de precios (paquetes del inicio)
   ========================================================================== */
.ladder {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ladder-row {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 12px 20px 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  transition: padding 0.4s var(--ease);
}

.ladder-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--gold-soft), transparent 80%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.ladder-num {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--dim);
}

.ladder-name {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ladder-name strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.ladder-name small {
  font-size: var(--fs-small);
  color: var(--muted);
}

.ladder-name .option-tag {
  margin: 0;
}

.ladder-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ladder-price small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--dim);
}

/* Nivel empresarial destacado */
.ladder-row--top {
  margin-top: 12px;
  padding: 24px 20px;
  border: 1px solid rgba(200, 169, 106, 0.45);
  border-radius: var(--r-md);
  background: radial-gradient(ellipse 80% 120% at 100% 50%, rgba(200, 169, 106, 0.14), transparent 70%);
}

.ladder-row--top .ladder-price {
  color: var(--gold-2);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

@media (hover: hover) {
  .ladder-row:not(.ladder-row--top):hover {
    padding-left: 10px;
  }

  .ladder-row:not(.ladder-row--top):hover::before {
    transform: scaleX(1);
  }
}

@media (max-width: 479px) {
  .ladder-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ladder-num {
    display: none;
  }
}

/* Expediente: texto y sello en la misma fila */
.dossier-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.dossier-intro .stamp {
  flex: none;
  margin: 6px 0 0;
}

@media (max-width: 559px) {
  .dossier-intro {
    flex-direction: column-reverse;
    gap: 16px;
  }
}

/* ==========================================================================
   Proceso: encabezado dividido, números grandes y entregables
   ========================================================================== */
@media (min-width: 960px) {
  .section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 64px;
    max-width: none;
  }
}

.steps--big .step::before {
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 169, 106, 0.55);
}

.step-deliverable {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: var(--fs-small);
  color: var(--text) !important;
}

.step-deliverable span {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Entregables alineados a la misma altura en las cuatro columnas */
.steps--big .step {
  display: flex;
  flex-direction: column;
}

.steps--big .step > p:not(.step-deliverable) {
  margin-bottom: 20px;
}

.steps--big .step-deliverable {
  margin-top: auto;
}

/* ==========================================================================
   2028: ruta Paraguay → el mundo
   ========================================================================== */
.route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 560px;
  margin: 48px auto 0;
}

.route-point {
  display: grid;
  gap: 2px;
  flex: none;
  font-size: var(--fs-small);
  color: var(--muted);
}

.route-point b {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.route-point--future,
.route-point--future b {
  color: var(--gold-2);
}

.route-line {
  position: relative;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--gold));
}

.route-line::before,
.route-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.route-line::before {
  left: 0;
  background: var(--muted);
}

.route-line::after {
  right: 0;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.2);
}

/* Punto de luz que viaja por la ruta */
.route-line i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-2));
  transform: translate(-40px, -50%);
  animation: travel 3.6s var(--ease-in-out) infinite;
}

@keyframes travel {
  0% {
    left: 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: translate(-50%, -30%) rotate(360deg);
  }
}

.expansion .btn-row {
  justify-content: center;
}

/* ==========================================================================
   Llamado final: tres caminos para empezar
   ========================================================================== */
@media (min-width: 960px) {
  .cta--paths {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 56px;
  }
}

.cta-intro {
  display: grid;
  gap: 24px;
}

.paths {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(10, 10, 11, 0.5);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.4s var(--ease);
}

.path-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--gold);
}

.path-icon svg {
  width: 20px;
  height: 20px;
}

.path-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.path-text strong {
  font-weight: 500;
}

.path-text small {
  font-size: var(--fs-small);
  color: var(--muted);
}

.path-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}

/* WhatsApp destacado en su verde original */
.path--wa {
  border-color: rgba(37, 211, 102, 0.45);
  background: linear-gradient(90deg, rgba(37, 211, 102, 0.12), rgba(10, 10, 11, 0.5));
}

.path--wa .path-icon {
  border: 0;
  background: #25d366;
  color: #fff;
}

@media (hover: hover) {
  .path:hover {
    border-color: var(--gold);
    transform: translateX(4px);
  }

  .path--wa:hover {
    border-color: #25d366;
  }

  .path:hover .path-arrow svg {
    color: var(--text);
    transform: translateX(3px);
  }
}

/* ==========================================================================
   Pasada general: precios en listas y nivel empresarial en Paquetes
   ========================================================================== */
.service-row .row-price {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.enterprise-row {
  margin: 24px auto 0;
  max-width: 1000px;
}

.card .bento-price {
  margin-top: auto;
}

/* ==========================================================================
   Logo oficial
   ========================================================================== */
.brand-logo {
  width: auto;
  height: 28px;
  flex: none;
  transition: transform 0.5s var(--ease);
}

@media (hover: hover) {
  .brand:hover .brand-logo {
    transform: rotate(-6deg) scale(1.06);
  }
}

.footer-brand .brand-logo {
  height: 34px;
}

/* Intro: el logo aparece primero, luego el nombre */
.intro-logo {
  width: auto;
  height: clamp(56px, 9vw, 76px);
  opacity: 0;
  transform: scale(0.85);
  animation: logo-in 0.9s var(--ease) 0.05s forwards;
}

@keyframes logo-in {
  to {
    opacity: 1;
    transform: none;
  }
}
