/* =============================================================
   1. TOKENS — Custom properties
   ============================================================= */
:root {
  /* Palette */
  --bg:           #07091a;
  --bg-2:         #0d1224;
  --bg-3:         #131c34;
  --bg-4:         #1a2540;
  --cream:        #f0ece3;
  --cream-2:      #c8c2b6;
  --cream-3:      #7a7570;
  --accent:       #c9a45a;
  --accent-2:     #a88440;
  --accent-light: rgba(201, 164, 90, 0.18);
  --accent-glow:  rgba(201, 164, 90, 0.10);
  --line:         rgba(240, 236, 227, 0.08);
  --line-2:       rgba(240, 236, 227, 0.14);

  /* Typography */
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Spacing */
  --gutter:  clamp(1.25rem, 5vw, 3rem);
  --section: clamp(5rem, 10vw, 9rem);

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4, h5 {
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-family: var(--serif);
  font-weight: 600;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: var(--r-sm); font-weight: 500;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Defensive: prevent double-hide when reveal + data-split coexist */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-left  { opacity: 0; transform: translateX(-36px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(36px);  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* Stagger delays via data attribute */
[data-delay="1"] { transition-delay: .10s; }
[data-delay="2"] { transition-delay: .20s; }
[data-delay="3"] { transition-delay: .30s; }
[data-delay="4"] { transition-delay: .45s; }
[data-delay="5"] { transition-delay: .60s; }

/* =============================================================
   4. TYPOGRAPHY
   ============================================================= */
.display-xl {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.5vw, 6.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.display-lg {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.display-md {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--cream-2);
  line-height: 1.7;
  max-width: 54ch;
}
em { font-family: var(--serif); font-style: italic; color: var(--accent); }

/* Section headings */
.section-title { margin-bottom: .5rem; }
.section-lead   { margin-bottom: 3rem; }

/* =============================================================
   5. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 24px rgba(201,164,90,.30);
}
.btn-primary:hover {
  background: #d4af65;
  box-shadow: 0 8px 32px rgba(201,164,90,.45);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-text {
  padding: 0;
  border-radius: 0;
  color: var(--accent);
  font-size: .9rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color .3s;
}
.btn-text:hover { text-decoration-color: var(--accent); transform: none; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-icon svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =============================================================
   6. NAVIGATION
   ============================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background .4s var(--ease-soft), border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 9, 26, 0.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-color: var(--line);
  padding-block: .75rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); font-style: italic; }

.nav-links {
  display: none;
  align-items: center;
  gap: .15rem;
}
.nav-links a {
  padding: .45rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--cream-2);
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.is-active {
  color: var(--cream);
  background: rgba(240,236,227,.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  border-radius: var(--r-sm);
  transition: background .2s;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-hamburger:hover { background: rgba(240,236,227,.06); }

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7, 9, 26, 0.97);
  backdrop-filter: blur(20px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.nav-drawer.is-open {
  opacity: 1;
  pointer-events: all;
}
.nav-drawer a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 600;
  color: var(--cream-2);
  transition: color .2s;
  padding: .4rem 1rem;
}
.nav-drawer a:hover { color: var(--accent); }
.nav-drawer .drawer-cta { margin-top: 1.5rem; }

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

/* =============================================================
   7. HERO SECTION
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Mesh gradient background */
.hero-mesh {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(201,164,90,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(99,102,241,.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 80%, rgba(201,164,90,.06) 0%, transparent 60%);
  filter: blur(60px) saturate(130%);
  animation: meshDrift 28s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg) translate(0%, 0%); }
  33%       { transform: scale(1.08) rotate(2deg) translate(-2%, 1%); }
  66%       { transform: scale(1.04) rotate(-1deg) translate(1%, -2%); }
}

/* Grid decorativo de fondo */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--section);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.hero-content {
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.75rem;
  padding: .4rem .9rem;
  background: rgba(201,164,90,.10);
  border: 1px solid rgba(201,164,90,.25);
  border-radius: 100px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,164,90,.5); }
  50%       { box-shadow: 0 0 0 6px rgba(201,164,90,0); }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--cream-2);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: var(--cream-3);
}
.hero-trust-item svg {
  width: 16px; height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Visual derecho - escalas SVG */
.hero-visual {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-scales {
  position: relative;
  width: 320px; height: 320px;
}
.hero-scales-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(201,164,90,.15) 0%, transparent 70%);
  filter: blur(30px);
  border-radius: 50%;
  animation: scalesGlow 4s ease-in-out infinite;
}
@keyframes scalesGlow {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.1); }
}

/* Stats bar debajo del hero */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.hero-stat-value {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: var(--cream-3);
  margin-top: .3rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (min-width: 720px) {
  .hero-stats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .hero-visual { display: flex; }
}

/* =============================================================
   8. AREAS MARQUEE
   ============================================================= */
.areas-marquee {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-inline: 1.5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-3);
  white-space: nowrap;
}
.marquee-sep {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =============================================================
   9. SERVICES SECTION
   ============================================================= */
.services {
  padding-block: var(--section);
  background: var(--bg);
}
.services-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,164,90,.06), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.service-card:hover {
  border-color: rgba(201,164,90,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(201,164,90,.12);
}
.service-card:hover::before { opacity: 1; }

.service-card.is-featured {
  border-color: rgba(201,164,90,.3);
  background: linear-gradient(160deg, rgba(201,164,90,.07) 0%, var(--bg-3) 50%);
}
.service-card.is-featured::after {
  content: "Más popular";
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: .25rem .7rem;
  border-radius: 100px;
}

.service-emoji {
  font-size: 2.2rem;
  line-height: 1;
}
.service-subtitle {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .3rem;
}
.service-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
}
.service-desc {
  font-size: .9rem;
  color: var(--cream-2);
  line-height: 1.65;
  flex-grow: 1;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .875rem;
  color: var(--cream-2);
}
.service-feature::before {
  content: "";
  display: block;
  width: 16px; height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4L6.5 10.5 3 7' stroke='%23c9a45a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  margin-top: 1px;
}
.service-price {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
}
.service-price small {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 400;
  color: var(--cream-3);
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   10. AI FEATURE SECTION
   ============================================================= */
.ai-section {
  padding-block: var(--section);
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.ai-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,164,90,.07) 0%, transparent 60%);
  pointer-events: none;
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.ai-content .eyebrow { margin-bottom: 1rem; }
.ai-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.ai-content p {
  color: var(--cream-2);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 50ch;
}
.ai-content .ai-benefits {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 1.75rem 0;
}
.ai-benefit {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.ai-benefit-icon {
  width: 36px; height: 36px;
  background: rgba(201,164,90,.10);
  border: 1px solid rgba(201,164,90,.20);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.ai-benefit-text strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .15rem;
}
.ai-benefit-text span {
  font-size: .82rem;
  color: var(--cream-3);
}

/* Chat mockup visual */
.ai-chat-mockup {
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.chat-mock-header {
  background: var(--bg-4);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border-bottom: 1px solid var(--line);
}
.chat-mock-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.chat-mock-name { font-size: .9rem; font-weight: 600; }
.chat-mock-status {
  font-size: .72rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.chat-mock-status::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}

.chat-mock-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 260px;
}
.chat-mock-bubble {
  max-width: 85%;
  padding: .7rem 1rem;
  border-radius: 18px;
  font-size: .85rem;
  line-height: 1.5;
}
.chat-mock-bubble.is-bot {
  background: var(--bg-4);
  color: var(--cream);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-mock-bubble.is-user {
  background: rgba(201,164,90,.15);
  color: var(--cream);
  border: 1px solid rgba(201,164,90,.25);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .25rem;
}
.chat-mock-chip {
  padding: .4rem .85rem;
  background: rgba(201,164,90,.08);
  border: 1px solid rgba(201,164,90,.20);
  border-radius: 100px;
  font-size: .75rem;
  color: var(--accent);
  cursor: pointer;
  transition: background .2s;
}
.chat-mock-chip:hover { background: rgba(201,164,90,.15); }

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

/* =============================================================
   11. HOW IT WORKS (PROCESO)
   ============================================================= */
.process {
  padding-block: var(--section);
  background: var(--bg);
}
.process-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

.process-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color .3s;
}
.process-card:hover { border-color: rgba(201,164,90,.25); }

.process-number {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(201,164,90,.15);
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  pointer-events: none;
  user-select: none;
}
.process-step {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.process-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: .75rem;
}
.process-desc {
  font-size: .9rem;
  color: var(--cream-2);
  line-height: 1.65;
}

@media (min-width: 720px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   12. TESTIMONIALS
   ============================================================= */
.testimonials {
  padding-block: var(--section);
  background: var(--bg-2);
}
.testimonials-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.testimonial-card:hover {
  border-color: rgba(201,164,90,.2);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 1rem;
}
.testimonial-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.testimonial-text::before { content: "\201C"; color: var(--accent); font-size: 1.5em; line-height: 0; vertical-align: -.2em; margin-right: .1em; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,164,90,.3), rgba(99,102,241,.2));
  border: 1px solid rgba(201,164,90,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
.testimonial-name { font-size: .9rem; font-weight: 600; }
.testimonial-role { font-size: .78rem; color: var(--cream-3); margin-top: .1rem; }

@media (min-width: 720px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   13. FINAL CTA SECTION
   ============================================================= */
.cta-section {
  padding-block: var(--section);
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,164,90,.09) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .eyebrow { justify-content: center; margin-bottom: 1.25rem; }
.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
  max-width: 20ch;
  margin-inline: auto;
}
.cta-section p {
  color: var(--cream-2);
  font-size: 1.05rem;
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.cta-notice {
  margin-top: 1.5rem;
  font-size: .8rem;
  color: var(--cream-3);
}

/* =============================================================
   14. FOOTER
   ============================================================= */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.footer-brand h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: .5rem;
}
.footer-brand h3 span { color: var(--accent); font-style: italic; }
.footer-brand p {
  font-size: .85rem;
  color: var(--cream-3);
  max-width: 32ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a {
  font-size: .875rem;
  color: var(--cream-2);
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--cream-3);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-legal a { color: var(--cream-3); transition: color .2s; }
.footer-legal a:hover { color: var(--cream); }

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

/* =============================================================
   15. AI CHAT WIDGET (FLOATING)
   ============================================================= */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
}

/* Toggle button */
.chat-toggle-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 8px 32px rgba(201,164,90,.45), 0 0 0 0 rgba(201,164,90,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s var(--ease-bounce), box-shadow .35s;
  animation: chatPulse 3.5s ease-in-out infinite 2s;
}
@keyframes chatPulse {
  0%, 70%, 100% { box-shadow: 0 8px 32px rgba(201,164,90,.45), 0 0 0 0 rgba(201,164,90,.3); }
  35%           { box-shadow: 0 8px 32px rgba(201,164,90,.45), 0 0 0 12px rgba(201,164,90,0); }
}
.chat-toggle-btn:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(201,164,90,.6); }
.chat-toggle-btn svg { width: 26px; height: 26px; }

.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  transition: transform .3s var(--ease-bounce), opacity .3s;
}
.chat-badge.is-hidden { transform: scale(0); opacity: 0; }

/* Chat panel */
.chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: min(380px, calc(100vw - 2rem));
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  transform-origin: bottom right;
}
.chat-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  background: var(--bg-4);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.chat-info { flex: 1; }
.chat-name { font-size: .9rem; font-weight: 600; display: block; }
.chat-status {
  font-size: .72rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: .1rem;
}
.chat-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: statusPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.chat-close-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(240,236,227,.06);
  color: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.chat-close-btn:hover { background: rgba(240,236,227,.12); color: var(--cream); }

.chat-body {
  padding: 1.25rem;
  min-height: 200px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* ─────────────────────────────────────────────────────────────────
   INSTRUCCIONES PARA EL ASISTENTE IA

   Aquí va el código de embed de tu plataforma de IA actual.

   Opciones:
   · Si usas un iframe:
     <iframe src="TU_URL_DE_IA" style="width:100%;height:100%;border:0;"></iframe>

   · Si usas Voiceflow:
     Elimina la sección chat-placeholder y pega el widget de Voiceflow
     justo antes del cierre de </body>.

   · Si usas Tidio / Crisp / Intercom:
     Pega el script que te proporcionan en el <head> o antes de </body>.
     Puedes ocultar el botón flotante nativo de esos servicios con CSS
     y usar este botón .chat-toggle-btn para abrirlos con su API JS.

   · Si tienes una solución propia con iframe:
     Reemplaza el contenido de .chat-body con tu <iframe>.
   ────────────────────────────────────────────────────────────────── */
.chat-placeholder {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.chat-bubble {
  padding: .75rem 1rem;
  border-radius: 16px;
  font-size: .85rem;
  line-height: 1.5;
}
.chat-bubble.is-bot {
  background: var(--bg-4);
  color: var(--cream);
  border-bottom-left-radius: 4px;
  max-width: 90%;
}
.chat-bubble.is-user {
  background: rgba(201,164,90,.12);
  border: 1px solid rgba(201,164,90,.2);
  color: var(--cream);
  border-bottom-right-radius: 4px;
  max-width: 85%;
  align-self: flex-end;
}
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .25rem;
}
.chat-chip {
  padding: .35rem .75rem;
  background: rgba(201,164,90,.08);
  border: 1px solid rgba(201,164,90,.2);
  border-radius: 100px;
  font-size: .75rem;
  color: var(--accent);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.chat-chip:hover { background: rgba(201,164,90,.16); transform: translateY(-1px); }

.chat-footer {
  padding: .9rem 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.chat-input {
  flex: 1;
  background: var(--bg-4);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .55rem 1rem;
  font: inherit;
  font-size: .85rem;
  color: var(--cream);
  outline: none;
  transition: border-color .2s;
}
.chat-input::placeholder { color: var(--cream-3); }
.chat-input:focus { border-color: rgba(201,164,90,.4); }
.chat-send-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s var(--ease-bounce), background .2s;
}
.chat-send-btn:hover { transform: scale(1.1); background: #d4af65; }
.chat-send-btn svg { width: 16px; height: 16px; }

/* =============================================================
   16. INNER PAGE HERO (servicios, nosotros, contacto)
   ============================================================= */
.page-hero {
  padding-top: 120px;
  padding-bottom: 5rem;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(201,164,90,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  max-width: 18ch;
}
.page-hero p {
  color: var(--cream-2);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 52ch;
  line-height: 1.7;
}

/* =============================================================
   17. SERVICES PAGE — pricing table, FAQs
   ============================================================= */
.services-detail {
  padding-block: var(--section);
  background: var(--bg);
}
.services-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.service-full-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s;
}
.service-full-card.is-featured { border-color: rgba(201,164,90,.3); }
.service-full-card:hover { border-color: rgba(201,164,90,.25); }
.service-full-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.service-full-body {
  padding: 2rem;
  display: grid;
  gap: 2rem;
}
.service-full-price {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: .75rem 0;
}
.service-full-price small {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream-3);
}
.service-full-features { display: flex; flex-direction: column; gap: .65rem; }
.service-full-feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--cream-2);
}
.service-full-feature::before {
  content: "";
  display: inline-block;
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='rgba(201,164,90,0.12)'/%3E%3Cpath d='M6 9l2.5 2.5L12 6' stroke='%23c9a45a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  margin-top: 1px;
}

/* FAQ Accordion */
.faq-section {
  padding-block: var(--section);
  background: var(--bg-2);
}
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 780px; margin-inline: auto; }
.faq-item {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.is-open { border-color: rgba(201,164,90,.25); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--cream);
  transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-item.is-open .faq-question { color: var(--accent); }
.faq-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--accent);
  transition: transform .3s var(--ease-out), background .2s;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: rgba(201,164,90,.2); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-out), padding .3s;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .9rem;
  color: var(--cream-2);
  line-height: 1.7;
}
.faq-item.is-open .faq-answer { max-height: 300px; }

/* =============================================================
   18. ABOUT PAGE
   ============================================================= */
.mission-section {
  padding-block: var(--section);
  background: var(--bg);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
.mission-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.mission-value {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem;
  transition: border-color .3s;
}
.mission-value:hover { border-color: rgba(201,164,90,.2); }
.mission-value-icon { font-size: 1.5rem; margin-bottom: .6rem; }
.mission-value h4 { font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.mission-value p { font-size: .8rem; color: var(--cream-3); line-height: 1.5; }

.team-section {
  padding-block: var(--section);
  background: var(--bg-2);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.team-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.team-card:hover { border-color: rgba(201,164,90,.25); transform: translateY(-4px); }
.team-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(201,164,90,.25), rgba(99,102,241,.2));
  border: 2px solid rgba(201,164,90,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .2rem; }
.team-role { font-size: .78rem; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
.team-bio { font-size: .85rem; color: var(--cream-2); line-height: 1.65; }

@media (min-width: 720px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .mission-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   19. CONTACT PAGE
   ============================================================= */
.contact-section {
  padding-block: var(--section);
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  width: 42px; height: 42px;
  background: var(--accent-light);
  border: 1px solid rgba(201,164,90,.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: .2rem;
}
.contact-item-value {
  font-size: .95rem;
  color: var(--cream);
}
.contact-item-value a { color: var(--accent); transition: opacity .2s; }
.contact-item-value a:hover { opacity: .8; }

/* Form */
.contact-form-wrap {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contact-form-wrap h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cream-3);
  margin-bottom: .5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-4);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  font: inherit;
  font-size: .9rem;
  color: var(--cream);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201,164,90,.5);
  box-shadow: 0 0 0 3px rgba(201,164,90,.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7570' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: var(--bg-3); }
.form-row { display: grid; gap: 1rem; }
.form-row.two-cols { grid-template-columns: 1fr 1fr; }
.form-submit { width: 100%; justify-content: center; padding: 1rem; }
.form-notice {
  font-size: .75rem;
  color: var(--cream-3);
  text-align: center;
  margin-top: 1rem;
}
.form-success {
  text-align: center;
  padding: 2rem;
  display: none;
}
.form-success.is-visible { display: block; }
.form-success-icon {
  width: 60px; height: 60px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.form-success h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .5rem; }
.form-success p { color: var(--cream-2); font-size: .9rem; }

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

/* =============================================================
   20. PAGE TRANSITIONS (View Transitions API)
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: vtFadeOut; }
::view-transition-new(root) { animation-name: vtFadeIn; }
@keyframes vtFadeOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vtFadeIn { from { opacity: 0; transform: translateY(6px); } }

/* =============================================================
   21. RESPONSIVE
   ============================================================= */
@media (min-width: 540px) {
  .hero-actions { flex-wrap: nowrap; }
}
@media (min-width: 720px) {
  .form-row.two-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .form-row.two-cols { grid-template-columns: 1fr; }
  .mission-values { grid-template-columns: 1fr; }
}

/* =============================================================
   22. REDUCED MOTION — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .marquee-track { animation: none; }
  .hero-eyebrow-dot { animation: none; }
  .chat-toggle-btn { animation: none; }
  .chat-mock-status::before { animation: none; }
  .chat-status::before { animation: none; }
  /* DO NOT disable: reveals, tilts, hover states, form transitions */
}

/* =============================================================
   23. GUARANTEE BADGE & SEAL
   ============================================================= */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem;
  background: rgba(74, 222, 128, 0.07);
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: .02em;
}
.guarantee-badge svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
}

/* Inline guarantee note under CTAs */
.guarantee-note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .8rem;
  color: var(--cream-3);
  margin-top: .85rem;
  line-height: 1.5;
}
.guarantee-note::before {
  content: "🛡";
  flex-shrink: 0;
  font-size: .9rem;
  margin-top: .05em;
}
.guarantee-note strong { color: var(--cream-2); }

/* Guarantee section */
.guarantee-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 2.5rem;
}
.guarantee-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.guarantee-seal {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.guarantee-seal-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(74,222,128,.08);
  border: 2px solid rgba(74,222,128,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.guarantee-seal-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #4ade80;
  margin-bottom: .15rem;
}
.guarantee-seal-text span {
  font-size: .85rem;
  color: var(--cream-2);
  max-width: 44ch;
  line-height: 1.5;
  display: block;
}

/* =============================================================
   24. PAYMENT SECTION — Stripe + payment methods
   ============================================================= */
.payment-section {
  padding-block: var(--section);
  background: var(--bg);
}
.payment-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

/* MercadoPago pay button */
.btn-mp {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 2rem;
  background: #009ee3;
  color: #fff;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 6px 24px rgba(0,158,227,.35);
  transition: transform .3s var(--ease-out), box-shadow .3s, background .2s;
  white-space: nowrap;
  width: 100%;
  justify-content: center;
}
.btn-mp:hover {
  background: #00b5ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,158,227,.5);
}
.btn-mp:active { transform: translateY(0); }
.btn-mp svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Payment methods row */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: .85rem;
}
.payment-methods-label {
  font-size: .72rem;
  color: var(--cream-3);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}
.payment-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 .65rem;
  background: rgba(240,236,227,.06);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--cream-2);
}
/* Métodos tarjeta internacional */
.payment-method.is-visa { color: #1a1f71; background: #fff; }
.payment-method.is-mc   { color: #eb001b; background: #fff; }
/* Métodos Colombia */
.payment-method.is-pse       { color: #005b99; background: #fff; font-size: .65rem; }
.payment-method.is-nequi     { color: #7c3aed; background: #fff; }
.payment-method.is-daviplata { color: #e8000d; background: #fff; font-size: .65rem; }

/* Secure payment badge */
.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: var(--cream-3);
}
.secure-badge svg { width: 14px; height: 14px; color: #4ade80; }

/* Payment card inside service-full */
.service-payment-block {
  background: var(--bg-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-payment-block .price-row {
  display: flex;
  align-items: baseline;
  gap: .4rem;
}
.price-big {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.price-period {
  font-size: .85rem;
  color: var(--cream-3);
}

/* =============================================================
   25. SUCCESS PAGE
   ============================================================= */
.success-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
}
.success-card {
  background: var(--bg-3);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 6vw, 4rem);
  max-width: 600px;
  width: 100%;
  text-align: center;
}
.success-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(74,222,128,.10);
  border: 2px solid rgba(74,222,128,.3);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: successPop .6s var(--ease-bounce) forwards;
}
@keyframes successPop {
  0%  { transform: scale(0); opacity: 0; }
  100%{ transform: scale(1); opacity: 1; }
}
.success-card h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.success-card p { color: var(--cream-2); line-height: 1.7; margin-bottom: 1rem; }
.success-steps {
  text-align: left;
  background: var(--bg-4);
  border-radius: var(--r-md);
  padding: 1.5rem;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.success-step {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.success-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 1px solid rgba(201,164,90,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.success-step-text strong { display: block; font-size: .9rem; margin-bottom: .15rem; }
.success-step-text span   { font-size: .82rem; color: var(--cream-3); }

@media (min-width: 720px) {
  .guarantee-inner { flex-wrap: nowrap; }
}
