/* ============================================================
   SaltaWeb — Estilos principales
   Diseño web profesional · Salta, Argentina
   ============================================================ */


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

:root {
  --bg:         #fafaf9;
  --white:      #ffffff;
  --black:      #0a0a0a;
  --gray-50:    #f7f7f6;
  --gray-100:   #ededeb;
  --gray-200:   #ddddd9;
  --gray-400:   #a0a09a;
  --gray-600:   #6b6b65;
  --accent:     #0a0a0a;
  --gold:       #b8973a;
  --gold-light: #d4b05a;
  --green-wa:   #25D366;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}


/* ===========================
   CURSOR PERSONALIZADO
   Punto principal + aro seguidor
   con lag suavizado
=========================== */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--black);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(10, 10, 10, 0.25);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.12s ease;
}

/* Estado hover — se expande y cambia a dorado */
.cursor.hover {
  transform: scale(3);
  background: var(--gold);
}

.cursor-follower.hover {
  transform: scale(0);
}


/* ===========================
   NAVBAR
=========================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 1rem 6%;
  border-bottom: 1px solid var(--gray-100);
}

/* Logo */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo em {
  font-style: italic;
  color: var(--gold);
}

/* Links de navegación */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--black);
}

.nav-links a:hover::after {
  width: 100%;
}

/* CTA de la navbar */
.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 100px;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #222 !important;
  transform: translateY(-1px);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
  display: block;
}


/* ===========================
   HERO
=========================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 6% 6rem;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* Fondo de malla animada con gradientes */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(184, 151, 58, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(10, 10, 10, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(184, 151, 58, 0.03) 0%, transparent 70%);
  animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

/* Orbe flotante dorado */
.hero-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 151, 58, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orbFloat {
  0%,  100% { transform: translate(-50%, -50%) scale(1); }
  50%        { transform: translate(-50%, -54%) scale(1.08); }
}

/* Grilla de líneas finas */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

/* Tag superior del hero */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-tag span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Título H1 del hero */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -3px;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

.h1-line {
  display: block;
  overflow: hidden;
}

h1 em {
  font-style: italic;
  color: var(--gold);
}

/* Palabra con contorno (outline) para el efecto typewriter */
h1 .outline {
  -webkit-text-stroke: 1.5px var(--black);
  color: transparent;
}

/* Subtítulo del hero */
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.75;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

/* Botones CTA del hero */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

/* Barra de estadísticas del hero */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 5rem;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  flex: 1;
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--gray-100);
}

.stat:last-child {
  border-right: none;
}

.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  display: block;
  letter-spacing: -1px;
}

.stat-l {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 300;
  letter-spacing: 0.05em;
}


/* ===========================
   BOTONES GLOBALES
=========================== */

/* Botón negro con efecto gold al hover */
.btn-black {
  background: var(--black);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-black::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.btn-black:hover::before {
  transform: translateX(0);
}

.btn-black span {
  position: relative;
  z-index: 1;
}

/* Botón outline */
.btn-outline {
  background: transparent;
  color: var(--black);
  padding: 1rem 2.2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--gray-50);
}

/* Botón dorado */
.btn-gold {
  background: var(--gold);
  color: var(--black);
  padding: 1.1rem 2.8rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s;
  position: relative;
  letter-spacing: 0.02em;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(184, 151, 58, 0.35);
}


/* ===========================
   MARQUEE (BANDA ANIMADA)
=========================== */
.marquee-wrap {
  overflow: hidden;
  padding: 1.5rem 0;
  background: var(--black);
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-track .dot {
  color: var(--gold);
  font-size: 1.2rem;
}

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


/* ===========================
   SECCIONES — COMUNES
=========================== */
section {
  padding: 8rem 6%;
}

.s-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 1rem;
}

.s-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
}

.s-sub {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  max-width: 480px;
  margin-top: 1rem;
}


/* ===========================
   SERVICIOS
=========================== */
#servicios {
  background: var(--black);
  color: var(--white);
}

#servicios .s-label { color: var(--gray-600); }
#servicios .s-title { color: var(--white); }
#servicios .s-sub   { color: var(--gray-400); }

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  margin-top: 4rem;
  background: #1a1a1a;
  border: 1.5px solid #1a1a1a;
  border-radius: 24px;
  overflow: hidden;
}

.svc {
  background: var(--black);
  padding: 2.5rem;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}

.svc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 151, 58, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.svc:hover { background: #111; }
.svc:hover::after { opacity: 1; }

.svc-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.4rem;
  display: block;
  color: var(--gray-400);
  transition: color 0.3s;
}

.svc-icon svg {
  width: 100%;
  height: 100%;
}

.svc:hover .svc-icon {
  color: var(--gold-light);
}

.svc h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.svc p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.7;
  font-weight: 300;
}


/* ===========================
   STATS COUNTER
=========================== */
#stats {
  background: var(--gray-50);
  padding: 6rem 6%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  overflow: hidden;
}

.stat-box {
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  transition: background 0.3s;
}

.stat-box:hover {
  background: var(--gray-50);
}

.stat-big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

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

.stat-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.5;
}


/* ===========================
   DEMO / BROWSER MOCKUP
=========================== */
#demo {
  background: var(--white);
  padding: 8rem 6%;
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3rem;
}

.demo-text .s-title {
  margin-bottom: 1.5rem;
}

.demo-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.demo-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.6;
}

.demo-features li .check {
  width: 20px;
  height: 20px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.6rem;
  color: var(--white);
}

.demo-features li strong {
  color: var(--black);
  font-weight: 600;
}

/* Mockup de browser */
.browser-mock {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--gray-200);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
}

.browser-mock:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--gray-200);
}

.browser-bar {
  background: var(--gray-100);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--gray-200);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-url {
  flex: 1;
  background: var(--white);
  border-radius: 6px;
  height: 24px;
  margin: 0 0.5rem;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.72rem;
  color: var(--gray-600);
  font-family: monospace;
}

.browser-body {
  background: var(--white);
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

/* Sitio web falso dentro del mockup */
.fake-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1rem;
}

.fake-title {
  width: 60%;
  height: 18px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
}

.fake-sub {
  width: 40%;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.fake-btn {
  width: 100px;
  height: 28px;
  background: var(--gold);
  border-radius: 20px;
  margin-top: 4px;
}

.fake-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}

.fake-card {
  background: var(--gray-50);
  border-radius: 8px;
  height: 70px;
  border: 1px solid var(--gray-100);
}

.fake-footer {
  background: var(--gray-50);
  height: 50px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.fake-footer-line {
  flex: 1;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
}

.fake-wa {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-wa);
  position: absolute;
  bottom: 12px;
  right: 12px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}


/* ===========================
   PRECIOS
=========================== */
#precios {
  background: var(--gray-50);
}

.pricing-header {
  max-width: 600px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

/* Tarjeta de precio */
.pc {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.pc:hover {
  transform: translateY(-8px) perspective(800px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Variante destacada (plan Pro) */
.pc.feat {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: scale(1.04);
}

.pc.feat:hover {
  transform: scale(1.04) translateY(-8px) perspective(800px) rotateX(2deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

/* Badge "Más elegido" */
.pc-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.28rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pc-desc {
  font-size: 0.82rem;
  color: var(--gray-600);
  font-weight: 300;
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.pc.feat .pc-desc {
  color: #888;
}

.pc-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.3rem;
}

.pc-cur {
  font-size: 1.1rem;
  font-weight: 500;
}

.pc-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  transition: all 0.4s ease;
}

.pc-per {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.pc.feat .pc-per {
  color: #666;
}

.pc-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 1.5rem 0;
}

.pc.feat .pc-divider {
  background: #222;
}

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.pc-features li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
}

.pc-features li .ck {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  display: inline-flex;
  width: 14px;
  height: 14px;
  margin-top: 3px;
}

.pc.feat .pc-features li {
  color: #ccc;
}

/* Botones de los planes */
.pc-btn {
  display: block;
  text-align: center;
  padding: 0.9rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.02em;
}

.pc-btn-dark {
  background: var(--black);
  color: var(--white);
}

.pc-btn-dark:hover {
  background: #333;
}

.pc-btn-white {
  background: var(--white);
  color: var(--black);
}

.pc-btn-white:hover {
  background: var(--gray-100);
}


/* ===========================
   PROCESO
=========================== */
#proceso {
  background: var(--white);
}

.process-layout {
  margin-top: 4rem;
}

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--gray-100);
  align-items: start;
  transition: all 0.3s;
}

.process-item:last-child {
  border-bottom: 1px solid var(--gray-100);
}

.process-item:hover .p-num {
  color: var(--black);
}

.p-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  letter-spacing: -2px;
  transition: color 0.3s;
}

.p-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.p-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 300;
  max-width: 500px;
}


/* ===========================
   TESTIMONIOS
=========================== */
#testimonios {
  background: var(--gray-50);
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.test-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.test-card:hover {
  transform: perspective(800px) rotateX(3deg) rotateY(-2deg) translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.test-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.stars-svg {
  letter-spacing: 3px;
}

.test-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.test-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.test-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.test-biz {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 300;
}


/* ===========================
   FAQ ACCORDION
=========================== */
#faq {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
  align-items: start;
}

.faq-sticky {
  position: sticky;
  top: 6rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-q {
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--black);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  font-size: 0.8rem;
}

.faq-q.open .faq-icon {
  background: var(--black);
  color: var(--white);
  transform: rotate(45deg);
  border-color: var(--black);
}

/* Respuesta del accordion — animada con max-height */
.faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-weight: 300;
}

.faq-q.open .faq-ans {
  max-height: 200px;
  padding-bottom: 1.25rem;
}


/* ===========================
   CTA FINAL
=========================== */
#cta-final {
  background: var(--black);
  padding: 10rem 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Orbe decorativo */
.cta-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 151, 58, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#cta-final .s-label { color: #555; position: relative; }
#cta-final .s-title { color: var(--white); max-width: 700px; margin: 0 auto 1.5rem; position: relative; }
#cta-final .s-sub   { color: #888; margin: 0 auto 3rem; position: relative; }


/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--black);
  border-top: 1px solid #111;
  padding: 2.5rem 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .logo {
  color: var(--white);
  font-size: 1.2rem;
}

footer .logo em {
  color: var(--gold);
}

footer p {
  font-size: 0.78rem;
  color: #555;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #aaa;
}


/* ===========================
   WHATSAPP FLOTANTE
=========================== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  animation: waPulse 3s ease-in-out infinite;
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.1);
  animation: none;
}

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

@keyframes waPulse {
  0%,  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
  50%        { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6); }
}


/* ===========================
   ANIMACIONES GLOBALES
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Clases de reveal al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Para parallax */
.parallax {
  will-change: transform;
}

/* Cursor parpadeante del efecto typewriter */
.typewriter {
  display: inline;
  border-right: 2px solid var(--black);
  animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
  from, to { border-color: transparent; }
  50%       { border-color: var(--black); }
}


/* ===========================
   RESPONSIVE — ≤900px (tablet)
=========================== */
@media (max-width: 900px) {
  .services-layout    { grid-template-columns: 1fr; }
  .pricing-grid       { grid-template-columns: 1fr; }
  .pc.feat            { transform: scale(1); }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .test-grid          { grid-template-columns: 1fr; }
  .faq-layout         { grid-template-columns: 1fr; gap: 3rem; }
  .faq-sticky         { position: static; }
  .demo-layout        { grid-template-columns: 1fr; gap: 3rem; }
  .browser-mock       { transform: none !important; }
  body                { cursor: auto; }
  .cursor,
  .cursor-follower    { display: none; }
}


/* ===========================
   RESPONSIVE — ≤640px (mobile)
=========================== */
@media (max-width: 640px) {
  section { padding: 5rem 5%; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Menú mobile desplegable */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 250, 249, 0.97);
    backdrop-filter: blur(20px);
    padding: 2rem 5%;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* Stats del hero en columna */
  .hero-stats {
    flex-direction: column;
    gap: 0;
  }

  .stat {
    border-right: none !important;
    border-bottom: 1px solid var(--gray-100);
  }

  /* Proceso con columnas más angostas */
  .process-item {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }
}
