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

:root {
  --oro: #d4af37;
  --oro-claro: #f2d36b;
  --oro-suave: rgba(212,175,55,0.18);
  --fondo: #050505;
  --texto: white;
  --texto-suave: #b0b0b0;
}

/* ── BASE ── */
body {
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--texto);
  background:
    radial-gradient(circle at 18% 25%, rgba(212,175,55,0.18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(150,20,20,0.18), transparent 28%),
    radial-gradient(circle at 70% 85%, rgba(212,175,55,0.12), transparent 30%),
    linear-gradient(135deg, #050505 0%, #101010 45%, #020202 100%);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    rgba(212,175,55,0.03) 0px,
    rgba(212,175,55,0.03) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
  z-index: 0;
}

/* ── HEADER ── */
header {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 0;
  padding: 16px 22px;
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(212,175,55,0.28);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  position: sticky;
  top: 16px;
  z-index: 100;
}

.logo {
  font-family: Georgia, serif;
  font-size: 26px;
  color: var(--oro);
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.nav { display: flex; gap: 8px; }

.nav button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.7);
  background: rgba(255,255,255,0.03);
  color: var(--oro-claro);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

.nav button:hover {
  background: rgba(212,175,55,0.14);
  box-shadow: 0 0 30px rgba(212,175,55,0.25);
}

/* ── HERO ── */
.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 60px;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.35);
  color: var(--oro-claro);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(32px, 4vw, 54px);
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}

h1 span {
  color: var(--oro);
  text-shadow: 0 0 28px rgba(212,175,55,0.35);
}

.hero-desc {
  color: #c8c8c8;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.main-btn {
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.85);
  background: rgba(212,175,55,0.08);
  color: var(--oro-claro);
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 28px rgba(212,175,55,0.2), inset 0 0 18px rgba(212,175,55,0.06);
}

.main-btn:hover {
  background: rgba(212,175,55,0.18);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212,175,55,0.35);
}

.sec-btn {
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: #c0c0c0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.sec-btn:hover {
  border-color: rgba(212,175,55,0.5);
  color: var(--oro-claro);
}

/* ── STATS ── */
.stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { display: flex; flex-direction: column; gap: 3px; }

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--oro-claro);
  font-family: Georgia, serif;
}

.stat-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(212,175,55,0.25);
}

/* ── DECORACION HERO ── */
.hero-deco {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.15);
}

.deco-ring-1 { width: 380px; height: 380px; animation: rotar 30s linear infinite; }
.deco-ring-2 { width: 280px; height: 280px; border-color: rgba(212,175,55,0.22); animation: rotar 20s linear infinite reverse; }
.deco-ring-3 { width: 180px; height: 180px; border-color: rgba(212,175,55,0.30); animation: rotar 15s linear infinite; }

.deco-orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.35), rgba(212,175,55,0.05));
  box-shadow: 0 0 60px rgba(212,175,55,0.3), 0 0 120px rgba(212,175,55,0.1);
  position: absolute;
  animation: pulsar 4s ease-in-out infinite;
}

.deco-servicios {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.deco-chip {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(10,10,10,0.85);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--oro-claro);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  animation: flotar 6s ease-in-out infinite;
}

.deco-chip:nth-child(1) { top: 5%; left: 10%; animation-delay: 0s; }
.deco-chip:nth-child(2) { top: 18%; right: 5%; animation-delay: 0.8s; }
.deco-chip:nth-child(3) { top: 42%; left: 2%; animation-delay: 1.6s; }
.deco-chip:nth-child(4) { bottom: 28%; right: 8%; animation-delay: 2.4s; }
.deco-chip:nth-child(5) { bottom: 12%; left: 15%; animation-delay: 3.2s; }
.deco-chip:nth-child(6) { top: 65%; right: 0%; animation-delay: 4s; }

@keyframes rotar { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulsar { 0%,100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes flotar { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── SECCIONES ── */
.seccion-label {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--oro);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ── COMO FUNCIONA ── */
.como-funciona {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.como-funciona h2, .servicios-seo h2, .cta-final h2 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  margin-bottom: 48px;
  line-height: 1.2;
}

.pasos {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.paso {
  flex: 1;
  max-width: 280px;
  padding: 32px 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 24px;
  text-align: center;
  transition: all 0.3s;
}

.paso:hover {
  border-color: rgba(212,175,55,0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(212,175,55,0.08);
}

.paso-num {
  font-family: Georgia, serif;
  font-size: 42px;
  color: rgba(212,175,55,0.25);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1;
}

.paso h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--oro-claro);
  margin-bottom: 10px;
}

.paso p {
  font-size: 14px;
  color: #a0a0a0;
  line-height: 1.6;
}

.paso-linea {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
  flex-shrink: 0;
  margin-top: 60px;
  align-self: flex-start;
}

/* ── SERVICIOS SEO ── */
.servicios-seo {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0 80px;
  position: relative;
  z-index: 1;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.servicio-card {
  padding: 28px 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 22px;
  transition: all 0.3s;
}

.servicio-card:hover {
  border-color: rgba(212,175,55,0.45);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25), 0 0 20px rgba(212,175,55,0.07);
}

.servicio-icono {
  font-size: 32px;
  margin-bottom: 14px;
}

.servicio-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--oro-claro);
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.servicio-card p {
  font-size: 14px;
  color: #a0a0a0;
  line-height: 1.7;
}

.servicio-card p strong {
  color: #d0d0d0;
  font-weight: 600;
}

/* ── CTA FINAL ── */
.cta-final {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 80px;
  position: relative;
  z-index: 1;
}

.cta-inner {
  padding: 60px 40px;
  background: linear-gradient(145deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 0 80px rgba(212,175,55,0.07);
}

.cta-inner h2 { margin-bottom: 14px; }

.cta-inner p {
  color: #a0a0a0;
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(212,175,55,0.15);
  position: relative;
  z-index: 1;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-desc {
  color: #666;
  font-size: 14px;
  max-width: 500px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer-copy {
  color: #444;
  font-size: 13px;
}

/* ══════════════ MOBILE ══════════════ */
@media (max-width: 850px) {
  body { padding-bottom: 40px; }

  header {
    width: calc(100% - 24px);
    margin: 12px auto 0;
    padding: 13px 16px;
    border-radius: 26px;
    top: 10px;
  }

  .logo { font-size: 22px; }

  .nav button {
    padding: 9px 13px;
    font-size: 13px;
  }

  /* HERO MOBILE */
  .hero {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 0;
    padding: 44px 0 40px;
    min-height: auto;
  }

  h1 { font-size: 32px; line-height: 1.18; margin-bottom: 18px; }

  .hero-desc { font-size: 15px; line-height: 1.7; margin-bottom: 28px; }

  .hero-btns { flex-direction: column; gap: 12px; margin-bottom: 36px; }

  .main-btn, .sec-btn { width: 100%; padding: 16px 24px; font-size: 16px; }

  .stats { gap: 18px; }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 11px; }

  /* DECORACION MOBILE — simplificada */
  .hero-deco {
    height: 280px;
    margin-top: 32px;
  }

  .deco-ring-1 { width: 240px; height: 240px; }
  .deco-ring-2 { width: 175px; height: 175px; }
  .deco-ring-3 { width: 110px; height: 110px; }
  .deco-orb { width: 80px; height: 80px; }

  .deco-chip {
    font-size: 12px;
    padding: 8px 13px;
  }

  .deco-chip:nth-child(1) { top: 2%; left: 2%; }
  .deco-chip:nth-child(2) { top: 10%; right: 0%; }
  .deco-chip:nth-child(3) { top: 44%; left: 0%; }
  .deco-chip:nth-child(4) { bottom: 20%; right: 0%; }
  .deco-chip:nth-child(5) { bottom: 4%; left: 10%; }
  .deco-chip:nth-child(6) { display: none; }

  /* COMO FUNCIONA MOBILE */
  .como-funciona { padding: 60px 0; }
  .como-funciona h2, .servicios-seo h2, .cta-final h2 { font-size: 26px; margin-bottom: 32px; }

  .pasos { flex-direction: column; align-items: center; gap: 16px; }

  .paso { max-width: 100%; width: 100%; padding: 24px 20px; }

  .paso-linea {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, transparent, rgba(212,175,55,0.4), transparent);
    margin: 0;
  }

  /* SERVICIOS MOBILE */
  .servicios-seo { padding: 40px 0 60px; }

  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .servicio-card { padding: 22px 18px; border-radius: 18px; }
  .servicio-icono { font-size: 28px; margin-bottom: 10px; }
  .servicio-card h3 { font-size: 17px; }
  .servicio-card p { font-size: 13.5px; }

  /* CTA MOBILE */
  .cta-final { margin-bottom: 50px; }
  .cta-inner { padding: 40px 22px; border-radius: 24px; }
  .cta-inner p { font-size: 15px; }

  /* FOOTER MOBILE */
  .footer-inner { padding: 30px 0; }
  .footer-desc { font-size: 13px; }
}

@media (max-width: 480px) {
  header { width: calc(100% - 20px); border-radius: 22px; }
  .logo { font-size: 20px; }
  .nav button { padding: 8px 11px; font-size: 12px; }
  h1 { font-size: 28px; }
  .hero-deco { height: 240px; }
  .deco-ring-1 { width: 200px; height: 200px; }
  .deco-ring-2 { width: 145px; height: 145px; }
  .deco-ring-3 { width: 92px; height: 92px; }
  .deco-orb { width: 65px; height: 65px; }
}