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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #FAFAF8;
  color: #111111;
}

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

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #FAFAF8;
  border-bottom: 1px solid #E8E4DC;
  transition: box-shadow 0.3s;
}

#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-logo-svg {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-logo span em {
  color: #C9A84C;
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: #555;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: #0D1B2A; }

.nav-cta {
  background: #0D1B2A !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.85; }

.nav-mobile-btn {
  display: none;
  background: #0D1B2A;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

#hero {
  background: #0D1B2A;
  padding: 8rem 2rem 5rem;
  text-align: center;
}

.hero-inner {
  max-width: 660px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: #C9A84C;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

#hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-accent { color: #C9A84C; }

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  background: #C9A84C;
  color: #0D1B2A;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 13px 22px;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
  display: inline-block;
}

.btn-secondary:hover { border-color: rgba(255,255,255,0.6); }

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

section { padding: 5rem 2rem; }

#categorias {
  background: #fff;
  border-top: 1px solid #E8E4DC;
  border-bottom: 1px solid #E8E4DC;
}

#testimonios {
  background: #FAFAF8;
  border-top: 1px solid #E8E4DC;
  border-bottom: 1px solid #E8E4DC;
}

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #C9A84C;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.section-sub {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 2.5rem;
}

.pasos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.paso-card {
  background: #FAFAF8;
  border: 1px solid #E8E4DC;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  position: relative;
}

.paso-icon { font-size: 1.75rem; margin-bottom: 0.75rem; display: block; }

.paso-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  background: #0D1B2A;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 0.5rem;
}

.paso-card p { font-size: 12px; color: #666; line-height: 1.6; }
.paso-arrow { font-size: 1.25rem; color: #C9A84C; flex-shrink: 0; }

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.cat-card {
  background: #FAFAF8;
  border: 1px solid #E8E4DC;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
}

.cat-card:hover {
  background: #0D1B2A;
  border-color: #0D1B2A;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13,27,42,0.15);
}

.cat-card:hover .cat-titulo,
.cat-card:hover .cat-sub { color: #fff; }

.cat-icon { font-size: 22px; display: block; margin-bottom: 0.5rem; }
.cat-titulo { font-size: 12px; font-weight: 700; color: #0D1B2A; margin: 0 0 3px; transition: color 0.2s; }
.cat-sub { font-size: 11px; color: #999; margin: 0; transition: color 0.2s; }

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

.testimonio-card {
  background: #fff;
  border: 1px solid #E8E4DC;
  border-radius: 10px;
  padding: 1.5rem;
}

.testimonio-estrellas { color: #C9A84C; font-size: 13px; margin-bottom: 0.75rem; }
.testimonio-texto { font-size: 13px; color: #444; line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonio-autor { display: flex; align-items: center; gap: 10px; }

.testimonio-avatar {
  width: 36px;
  height: 36px;
  background: #0D1B2A;
  color: #C9A84C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonio-nombre { font-size: 12px; font-weight: 700; color: #0D1B2A; margin: 0 0 2px; }
.testimonio-ciudad { font-size: 11px; color: #999; margin: 0; }

#diferenciadores { background: #fff; }

.dif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.dif-grid .dif-card:nth-child(4),
.dif-grid .dif-card:nth-child(5) {
  grid-column: span 1;
}

.dif-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

.dif-card {
  background: #FAFAF8;
  border: 1px solid #E8E4DC;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.dif-icon { font-size: 1.75rem; margin-bottom: 0.75rem; display: block; }
.dif-card h3 { font-size: 13px; font-weight: 700; color: #0D1B2A; margin-bottom: 0.5rem; }
.dif-card p { font-size: 12px; color: #666; line-height: 1.6; }

#cta-final {
  background: #0D1B2A;
  padding: 5rem 2rem;
}

.cta-box { text-align: center; max-width: 520px; margin: 0 auto; }

.cta-box h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.cta-box > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.75rem;
}

.cta-box .btn-primary { display: inline-block; margin-bottom: 1rem; }
.cta-sub { font-size: 12px !important; color: rgba(255,255,255,0.35) !important; margin-bottom: 0 !important; }

footer {
  background: #0D1B2A;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner { max-width: 680px; margin: 0 auto; text-align: center; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer-logo span em {
  color: #C9A84C;
  font-style: normal;
}

.footer-sub { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 1.5rem; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); line-height: 1.7; }

.form-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #E8E4DC;
  padding: 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.form-steps-nav {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0ede8;
}

.form-step-nav { display: flex; align-items: center; gap: 8px; flex: 1; }

.step-nav-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8e4dc;
  color: #999;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.step-nav-label { font-size: 12px; color: #999; font-weight: 500; transition: color 0.3s; }
.form-step-nav.active .step-nav-num { background: #0D1B2A; color: #fff; }
.form-step-nav.active .step-nav-label { color: #0D1B2A; font-weight: 700; }
.form-step-nav.done .step-nav-num { background: #C9A84C; color: #0D1B2A; }
.form-step-nav.done .step-nav-label { color: #C9A84C; }

.step-nav-line { flex: 1; height: 1px; background: #e8e4dc; margin: 0 0.5rem; }

.campo { margin-bottom: 1rem; }
.campo:last-child { margin-bottom: 0; }

.campo label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #E8E4DC;
  border-radius: 6px;
  font-size: 13px;
  color: #111;
  background: #FAFAF8;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  font-family: inherit;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: #0D1B2A;
  background: #fff;
}

.campo input::placeholder,
.campo textarea::placeholder { color: #bbb; }
.campo textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.radio-group { display: flex; gap: 0.75rem; }

.radio-opcion {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.25rem;
  border: 1px solid #E8E4DC;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #111;
  background: #FAFAF8;
  transition: all 0.2s;
  flex: 1;
  justify-content: center;
}

.radio-opcion input[type="radio"] { width: auto; margin: 0; accent-color: #0D1B2A; }
.radio-opcion:has(input:checked) { background: #0D1B2A; color: #fff; border-color: #0D1B2A; }

.upload-area {
  border: 1.5px dashed #E8E4DC;
  border-radius: 8px;
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #FAFAF8;
}

.upload-area:hover { border-color: #0D1B2A; background: #f5f2ec; }
.upload-icon { font-size: 24px; display: block; margin-bottom: 0.5rem; }
.upload-texto { font-size: 13px; font-weight: 600; color: #0D1B2A; margin-bottom: 4px; }
.upload-sub { font-size: 11px; color: #aaa; }

#lista-archivos { margin-top: 0.75rem; display: grid; gap: 0.5rem; }

.archivo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f2ec;
  border: 1px solid #E8E4DC;
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
}

.archivo-icono { font-size: 16px; flex-shrink: 0; }
.archivo-nombre { font-size: 12px; color: #0D1B2A; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.archivo-peso { font-size: 11px; color: #aaa; flex-shrink: 0; }

.opciones-precio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.opcion-precio {
  border: 1.5px solid #E8E4DC;
  border-radius: 10px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  background: #FAFAF8;
}

.opcion-precio:hover { border-color: #0D1B2A; background: #fff; }

.opcion-precio.seleccionada {
  border-color: #0D1B2A;
  background: #fff;
  box-shadow: 0 0 0 2px #0D1B2A;
}

.opcion-recomendada { border-color: #C9A84C; background: #fdf9f0; }

.opcion-recomendada.seleccionada {
  border-color: #C9A84C;
  box-shadow: 0 0 0 2px #C9A84C;
}

.opcion-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #C9A84C;
  color: #0D1B2A;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.opcion-precio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.opcion-precio-nombre { font-size: 12px; font-weight: 700; color: #0D1B2A; }
.opcion-precio-precio { font-size: 18px; font-weight: 700; color: #0D1B2A; }
.opcion-precio-lista { list-style: none; padding: 0; margin: 0; }
.opcion-precio-lista li { font-size: 11px; color: #555; line-height: 1.8; }

.form-nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0ede8;
}

.btn-siguiente {
  background: #0D1B2A;
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-left: auto;
}

.btn-siguiente:hover { opacity: 0.85; }

.btn-atras {
  background: transparent;
  color: #999;
  border: 1px solid #E8E4DC;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-atras:hover { color: #0D1B2A; border-color: #0D1B2A; }

#btn-generar {
  background: #C9A84C;
  color: #0D1B2A;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

#btn-generar:hover { opacity: 0.85; }

.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid #E8E4DC;
  border-top-color: #0D1B2A;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0ede8;
}

.form-icon {
  width: 34px;
  height: 34px;
  background: #0D1B2A;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.form-title { font-size: 14px; font-weight: 700; color: #0D1B2A; margin: 0 0 2px; }
.form-subtitle { font-size: 11px; color: #999; margin: 0; }

.btn-pagar {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: #C9A84C;
  color: #0D1B2A;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-bottom: 0.75rem;
}

.btn-pagar:hover { opacity: 0.85; }

#btn-nueva {
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  color: #aaa;
  border: none;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s;
}

#btn-nueva:hover { color: #666; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  #hero h1 { font-size: 1.9rem; }
  .categorias-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: 1fr; }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .pasos-grid { flex-direction: column; }
  .paso-arrow { transform: rotate(90deg); }
  .stat-divider { width: 36px; height: 1px; }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  #hero { padding: 5rem 1.25rem 3rem; }
  section { padding: 3rem 1.25rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-card { padding: 1.25rem; }
  .categorias-grid { grid-template-columns: repeat(2, 1fr); }
  .dif-grid { grid-template-columns: 1fr; }
  .opciones-precio { grid-template-columns: 1fr; }
  .cta-box h2 { font-size: 1.4rem; }
}
