@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;600;700;800&display=swap');

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

:root {
  --gold: #F5A623;
  --gold-dim: rgba(245,166,35,0.12);
  --gold-border: rgba(245,166,35,0.28);
  --green: #25D366;
  --dark: #0A0E1A;
  --dark2: #12151F;
  --muted: #555C6E;
  --light: #F7F8FA;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--dark2);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ═══ KEYFRAMES ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.35); }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  background: var(--dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(245,166,35,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(37,211,102,0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeUp .9s cubic-bezier(.16,1,.3,1) both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 11vw, 140px);
  line-height: .88;
  letter-spacing: .02em;
  color: var(--white);
  text-shadow: 0 8px 32px rgba(0,0,0,.7);
  margin-bottom: 14px;
}

.hero h1 span { color: var(--gold); }

.hero-sub {
  font-size: clamp(16px, 1.9vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,.75);
  max-width: 680px;
  margin: 0 auto 32px;
}

.hero-sub strong { color: var(--white); font-weight: 700; }

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 28px;
  border-radius: 20px !important;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, filter .18s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 6px 24px rgba(245,166,35,.28);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 32px rgba(245,166,35,.46);
}

.btn-outline {
  background: rgba(255,255,255,.04);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,.58);
  box-shadow: 0 0 20px rgba(255,255,255,.08);
}

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 22px rgba(37,211,102,.24);
}

.btn-whatsapp:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 32px rgba(37,211,102,.40);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* stats bar */
.stats-bar {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  padding: 22px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}

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

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}

/* ══════════════════════════════════════
   SECTION UTILITY
══════════════════════════════════════ */
section { padding: 88px 24px; }

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--dark2);
  margin-bottom: 16px;
}

.section-title span { color: var(--gold); }

.section-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 680px;
}

.section-desc strong { color: var(--dark2); font-weight: 700; }

/* ══════════════════════════════════════
   ¿QUÉ INCLUYE?  — FEATURE CARDS
══════════════════════════════════════ */
.features { background: var(--light); }

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

.feat-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 16px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: border-color .22s, transform .2s, box-shadow .2s;
}

.feat-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.1);
}

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
}

.feat-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark2);
  line-height: 1.3;
}

.feat-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   PROCESO — STEPS
══════════════════════════════════════ */
.process { background: var(--white); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark2);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px rgba(245,166,35,.1);
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark2);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   TIPOS DE WEB
══════════════════════════════════════ */
.web-types { background: var(--dark2); }

.web-types .section-title { color: var(--white); }
.web-types .section-desc { color: rgba(255,255,255,.55); }

.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.type-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color .22s, background .22s;
}

.type-card:hover {
  background: rgba(245,166,35,.06);
  border-color: var(--gold-border);
}

.type-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.type-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.type-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.type-desc {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   POR QUÉ NOSOTROS
══════════════════════════════════════ */
.why { background: var(--light); }

.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 52px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.why-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.why-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark2);
  line-height: 1.55;
}

.why-text span {
  color: var(--muted);
  font-weight: 400;
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

/* callout card */
.callout-card {
  background: var(--dark2);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.callout-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  border-radius: 4px 0 0 4px;
}

.callout-card h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.callout-card h3 span { color: var(--gold); }

.callout-card p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 24px;
}

.callout-card p strong { color: var(--white); font-weight: 700; }

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.price-from {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.price-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
}

.price-suffix {
  font-size: 14px;
  color: rgba(255,255,255,.45);
}

/* ══════════════════════════════════════
   FAQ — ACORDEÓN
══════════════════════════════════════ */
.faq { background: var(--white); }

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  background: var(--light);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  overflow: hidden;
}

details[open] { border-color: var(--gold-border); }

summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

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

summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .22s;
}

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

.faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-body strong { color: var(--dark2); font-weight: 700; }

/* ══════════════════════════════════════
   CTA FINAL + CONTACTO
══════════════════════════════════════ */
.cta-section {
  background: var(--dark);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(245,166,35,.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 7vw, 90px);
  line-height: .9;
  color: var(--white);
  text-shadow: 0 6px 28px rgba(0,0,0,.6);
  margin-bottom: 18px;
  position: relative;
}

.cta-section h2 span { color: var(--gold); }

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

/* contact pills */
.contact-pills {
  background: var(--light);
  padding: 56px 24px;
}

.pills-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cpill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,.07);
  border-radius: 12px;
  padding: 16px 24px;
  text-decoration: none;
  color: var(--dark2);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: border-color .2s, box-shadow .2s, transform .15s;
  flex: 1 1 260px;
  min-width: 0;
}

.cpill:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(245,166,35,.15);
  transform: translateY(-2px);
}

.cpill.wa:hover {
  border-color: var(--green);
  box-shadow: 0 6px 24px rgba(37,211,102,.15);
}

.picon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(245,166,35,.1);
}

.picon.g { background: rgba(37,211,102,.1); }

.picon svg {
  width: 20px;
  height: 20px;
}

.plabel {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.plabel .val {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark2);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.plabel .type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.plabel .val {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark2);
}

/* ══════════════════════════════════════
   FOOTER (mínimo)
══════════════════════════════════════ */
footer {
  background: var(--dark);
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
  border-top: 1px solid rgba(255,255,255,.06);
}

footer a { color: var(--gold); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .why-row { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  section { padding: 64px 20px; }
  .features-grid, .types-grid, .steps { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 18px 24px;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
  }
  .btn {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 12px;
    letter-spacing: .05em;
  }

  /* ===== OVERRIDE DEFINITIVO BOTONES LANDING ===== */

.hero-btns .btn,
.hero-btns a.btn,
.cta-btns .btn,
.cta-btns a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 230px !important;
  height: 60px !important;
  padding: 0 30px !important;
  border-radius: 20px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: 1.5px solid transparent !important;
  box-shadow: none !important;
  background-image: none !important;
  text-shadow: none !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease !important;
  white-space: nowrap !important;
}

.hero-btns .btn:hover,
.hero-btns a.btn:hover,
.cta-btns .btn:hover,
.cta-btns a.btn:hover {
  transform: translateY(-2px) !important;
}

/* Botón dorado */
.hero-btns .btn-primary,
.hero-btns a.btn-primary,
.cta-btns .btn-primary,
.cta-btns a.btn-primary {
  background: #F5A623 !important;
  color: #0A0E1A !important;
  border-color: #F5A623 !important;
  box-shadow: 0 6px 24px rgba(245,166,35,.34) !important;
}

.hero-btns .btn-primary:hover,
.hero-btns a.btn-primary:hover,
.cta-btns .btn-primary:hover,
.cta-btns a.btn-primary:hover {
  background: #f7af34 !important;
  color: #0A0E1A !important;
  border-color: #f7af34 !important;
  box-shadow: 0 10px 32px rgba(245,166,35,.46) !important;
}

/* Botón oscuro tipo home */
.hero-btns .btn-outline,
.hero-btns a.btn-outline,
.cta-btns .btn-outline,
.cta-btns a.btn-outline {
  background: rgba(255,255,255,.04) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255,255,255,.22) !important;
  box-shadow: none !important;
  backdrop-filter: blur(4px) !important;
}

.hero-btns .btn-outline:hover,
.hero-btns a.btn-outline:hover,
.cta-btns .btn-outline:hover,
.cta-btns a.btn-outline:hover {
  background: rgba(255,255,255,.06) !important;
  color: #FFFFFF !important;
  border-color: rgba(255,255,255,.58) !important;
  box-shadow: 0 0 20px rgba(255,255,255,.08) !important;
}

/* Botón WhatsApp */
.hero-btns .btn-whatsapp,
.hero-btns a.btn-whatsapp,
.cta-btns .btn-whatsapp,
.cta-btns a.btn-whatsapp {
  background: #25D366 !important;
  color: #FFFFFF !important;
  border-color: #25D366 !important;
  box-shadow: 0 6px 22px rgba(37,211,102,.28) !important;
}

.hero-btns .btn-whatsapp:hover,
.hero-btns a.btn-whatsapp:hover,
.cta-btns .btn-whatsapp:hover,
.cta-btns a.btn-whatsapp:hover {
  background: #2cdd6d !important;
  color: #FFFFFF !important;
  border-color: #2cdd6d !important;
  box-shadow: 0 10px 32px rgba(37,211,102,.40) !important;
}

.hero-btns .btn svg,
.hero-btns a.btn svg,
.cta-btns .btn svg,
.cta-btns a.btn svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

/* Móvil */
@media (max-width: 767px) {
  .hero-btns .btn,
  .hero-btns a.btn,
  .cta-btns .btn,
  .cta-btns a.btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    padding: 0 16px !important;
    border-radius: 18px !important;
    font-size: 12px !important;
    letter-spacing: .05em !important;
  }
}