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

:root {
  --brand: #EA4B22;
  --brand-dark: #C43A18;
  --brand-light: #FFF0EC;
  --dark: #0F0F0F;
  --dark-2: #1A1A1A;
  --dark-3: #242424;
  --dark-4: #2E2E2E;
  --gray: #888;
  --gray-light: #B0B0B0;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.15);
  --text: #F0F0F0;
  --text-muted: #888;
  --text-dim: #555;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.2rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: all 0.2s; text-decoration: none; border: none;
}
.btn-primary {
  background: var(--brand); color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { background: var(--dark-3); }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1rem; border-radius: var(--radius); }

.hero {
  padding: 7rem 2rem 5rem;
  text-align: center; max-width: 780px; margin: 0 auto;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--dark-3); border: 1px solid var(--border-light);
  border-radius: 100px; padding: 0.35rem 1rem; font-size: 0.8rem;
  color: var(--text-muted); margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 1.25rem;
  color: #fff;
}
h1 em { font-style: normal; color: var(--brand); }

.hero-sub {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 2rem; line-height: 1.7;
}

.hero-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.trust-row {
  margin-top: 3rem; display: flex; align-items: center;
  justify-content: center; gap: 1.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: var(--text-muted);
}
.trust-item svg { color: var(--brand); }

section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
section.full { max-width: 100%; padding: 5rem 2rem; }

.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 0.75rem;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted); max-width: 520px; line-height: 1.7;
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.step {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 0.2s;
}
.step:hover { border-color: var(--border-light); }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 3rem; }
.service-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: all 0.2s;
}
.service-card:hover {
  border-color: var(--brand);
  background: var(--dark-3);
}
.service-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--dark-4); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1rem;
}
.service-card h3 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.service-price {
  font-size: 0.8rem; font-weight: 600;
  color: var(--brand); background: var(--brand-light);
  display: inline-block; padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 3rem; }
.plan {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  position: relative; transition: all 0.2s;
}
.plan.featured {
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--dark-2) 0%, rgba(234,75,34,0.06) 100%);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.8rem; border-radius: 100px; white-space: nowrap;
}
.plan-name { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.plan-price { font-size: 2.2rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.plan-desc { font-size: 0.85rem; color: var(--text-muted); margin: 0.75rem 0 1.25rem; }
.plan-features { list-style: none; }
.plan-features li {
  font-size: 0.85rem; color: var(--text-muted); padding: 0.4rem 0;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem;
}
.plan-features li:last-child { border: none; }
.plan-features li::before { content: "✓"; color: var(--brand); font-weight: 700; flex-shrink: 0; }
.plan .btn { width: 100%; margin-top: 1.5rem; justify-content: center; }

.retain-banner {
  margin-top: 1.5rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.retain-banner strong { font-weight: 600; color: #fff; display: block; margin-bottom: 0.3rem; }
.retain-banner p { font-size: 0.875rem; color: var(--text-muted); }
.retain-banner .btn { white-space: nowrap; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 3rem; }
.testimonial {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.author-name { font-size: 0.875rem; font-weight: 600; color: #fff; }
.author-role { font-size: 0.75rem; color: var(--text-muted); }
.stars { color: #F59E0B; font-size: 0.85rem; margin-bottom: 0.75rem; }

#cotizar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.form-container { max-width: 760px; margin: 0 auto; }

.form-wrap {
  background: var(--dark-3); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 2.5rem; margin-top: 2.5rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }

label { font-size: 0.82rem; font-weight: 500; color: var(--gray-light); }
input, select, textarea {
  background: var(--dark-4); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); padding: 0.65rem 0.9rem;
  color: var(--text); font-size: 0.9rem; width: 100%;
  transition: border-color 0.2s; outline: none;
  font-family: inherit;
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
select option { background: var(--dark-4); }
textarea { resize: vertical; min-height: 100px; }

.form-submit { margin-top: 1.5rem; }
.btn-submit {
  width: 100%; padding: 1rem; font-size: 1rem; font-weight: 600;
  background: var(--brand); color: #fff; border: none;
  border-radius: var(--radius); cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-submit:hover:not(:disabled) { background: var(--brand-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-note { font-size: 0.78rem; color: var(--text-dim); text-align: center; margin-top: 0.75rem; }

#result-box {
  display: none;
  margin-top: 1.5rem;
  background: var(--dark-4);
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.5rem;
}
#result-box.visible { display: block; }
.result-header {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 600; color: var(--brand);
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.result-header .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

.result-section { margin-bottom: 1.25rem; }
.result-section h4 { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.06em; }
.result-section p { font-size: 0.9rem; color: var(--text); line-height: 1.6; }

.result-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1rem 0; }
.metric {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.75rem; text-align: center;
}
.metric-val { font-size: 1.3rem; font-weight: 700; color: var(--brand); }
.metric-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }

.result-cta {
  background: var(--brand); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 0.7rem 1.4rem; font-size: 0.875rem; font-weight: 600;
  cursor: pointer; width: 100%; margin-top: 0.5rem;
  transition: background 0.2s;
}
.result-cta:hover:not(:disabled) { background: var(--brand-dark); }
.result-cta:disabled { opacity: 0.6; cursor: not-allowed; }

.loading-dots { display: flex; gap: 4px; justify-content: center; padding: 1rem 0; }
.loading-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  animation: bounce 1.2s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.faq-list { margin-top: 2.5rem; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 1.25rem 0; cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.95rem; font-weight: 500; color: #fff;
}
.faq-q .icon { color: var(--brand); transition: transform 0.2s; font-size: 1.2rem; }
.faq-a { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-top: 0.75rem; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .icon { transform: rotate(45deg); }

.partners-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2rem; text-align: center; background: var(--dark-2);
}
.partners-bar p { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.partner-logos { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.partner-logo { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); opacity: 0.6; }

footer {
  padding: 2.5rem 2rem; text-align: center;
  border-top: 1px solid var(--border);
}
footer p { font-size: 0.82rem; color: var(--text-dim); }
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--brand); }

.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.text-center { text-align: center; }

@media (max-width: 640px) {
  nav { padding: 1rem; }
  .nav-links { gap: 0.75rem; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 6rem 1.25rem 3rem; }
  section { padding: 3.5rem 1.25rem; }
  .result-metrics { grid-template-columns: 1fr; }
}
