/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container { padding: 0 24px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.3;
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}
.btn-lg {
  padding: 14px 22px;
  font-size: 0.98rem;
  min-height: 48px;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}
.btn-block { width: 100%; }
@media (min-width: 768px) {
  .btn-lg { padding: 16px 28px; font-size: 1.05rem; }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1d4ed8;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .logo { font-size: 1.5rem; }
}
.nav {
  display: none;
  gap: 24px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #475569;
}
.nav a:hover { color: #1d4ed8; }
.header-cta { display: none; flex-shrink: 0; }

@media (min-width: 768px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* Hero */
.hero {
  background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 55%, #f0fdf4 100%);
  padding: 40px 0 36px;
  text-align: center;
}
@media (min-width: 768px) {
  .hero { padding: 64px 0 56px; }
}
.hero-badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .hero-badge { font-size: 0.85rem; padding: 6px 14px; margin-bottom: 20px; }
}
.hero h1 {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
  color: #0f172a;
}
@media (min-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
}
@media (min-width: 768px) {
  .hero h1 { font-size: 2.6rem; letter-spacing: -0.8px; margin-bottom: 18px; }
}
.highlight { color: #2563eb; }
.hero-subtitle {
  font-size: 0.95rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto 22px;
  padding: 0 4px;
}
@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.1rem; margin-bottom: 28px; }
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  max-width: 340px;
  margin: 0 auto 24px;
}
@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    gap: 12px;
  }
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
}
@media (min-width: 768px) {
  .hero-trust { gap: 16px 28px; font-size: 0.95rem; }
}

/* Proof Bar */
.proof-bar {
  background: #0f172a;
  color: #fff;
  padding: 14px 0;
}
.proof-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 8px;
  text-align: center;
  font-size: 0.82rem;
}
@media (min-width: 640px) {
  .proof-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 36px;
    font-size: 0.95rem;
  }
}
.proof-item strong {
  color: #60a5fa;
  font-size: 1.05rem;
  display: block;
}
@media (min-width: 640px) {
  .proof-item strong {
    display: inline;
    font-size: 1.15rem;
  }
}

/* Sections */
.section {
  padding: 48px 0;
}
@media (min-width: 768px) {
  .section { padding: 72px 0; }
}
.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
  color: #0f172a;
}
@media (min-width: 768px) {
  .section-title { font-size: 2rem; margin-bottom: 12px; }
}
.section-subtitle {
  text-align: center;
  color: #64748b;
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: 0.95rem;
}
@media (min-width: 768px) {
  .section-subtitle { font-size: 1.05rem; margin-bottom: 40px; }
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.benefit-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}
@media (min-width: 768px) {
  .benefit-card { padding: 28px 22px; border-radius: 16px; }
  .benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
  }
}
.benefit-icon { font-size: 1.7rem; margin-bottom: 10px; }
.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}
.benefit-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}
@media (min-width: 768px) {
  .benefit-card p { font-size: 0.95rem; }
}

/* How it works */
.how { background: #fff; }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.step { text-align: center; padding: 4px 8px; }
.step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.step p { color: #64748b; font-size: 0.9rem; }
.text-center { text-align: center; }
.mt-40 { margin-top: 28px; }
@media (min-width: 768px) {
  .mt-40 { margin-top: 40px; }
}

/* Simulator / Pre-estimate */
.simulator-box {
  background: #fff;
  border-radius: 16px;
  padding: 22px 16px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .simulator-box { padding: 32px 28px; border-radius: 20px; }
}
.sim-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
@media (min-width: 640px) {
  .sim-row { grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 24px; }
}
.estimate-result {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
}
.estimate-result.hidden { display: none; }
.estimate-label {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
  margin-bottom: 4px;
}
.estimate-value {
  font-size: 2rem;
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
@media (min-width: 640px) {
  .estimate-value { font-size: 2.4rem; }
}
.estimate-range {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 12px;
}
.estimate-note {
  font-size: 0.78rem;
  color: #64748b;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}
.models-note {
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto;
}

/* Form elements shared */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}
.form-group input,
.form-group select {
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 46px;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-group input[readonly] {
  background: #f1f5f9;
  color: #475569;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(160deg, #eff6ff 0%, #f0fdf4 100%);
}
.cta-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #e2e8f0;
}
@media (min-width: 640px) {
  .cta-box { padding: 40px 32px; border-radius: 20px; }
}
.cta-box h2 {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}
@media (min-width: 640px) {
  .cta-box h2 { font-size: 1.6rem; }
}
.cta-box > p {
  text-align: center;
  color: #64748b;
  margin-bottom: 22px;
  font-size: 0.92rem;
}

.lead-form { margin-bottom: 16px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (min-width: 520px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-note {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 10px;
  line-height: 1.45;
}
.or-divider {
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  margin: 16px 0;
  position: relative;
}
.or-divider::before,
.or-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: #e2e8f0;
}
.or-divider::before { left: 0; }
.or-divider::after { right: 0; }

/* Testimonials */
.testimonials { background: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.testimonial-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
}
.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.testimonial-card p {
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 12px;
  font-style: italic;
  line-height: 1.55;
}
.author {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

/* FAQ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #0f172a;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: #2563eb;
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p {
  padding: 0 16px 16px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  color: #fff;
  text-align: center;
  padding: 48px 16px;
}
@media (min-width: 768px) {
  .final-cta { padding: 64px 24px; }
}
.final-cta h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .final-cta h2 { font-size: 1.8rem; }
}
.final-cta p {
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: 0.92rem;
}
.final-cta .btn-primary {
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.final-cta .btn-primary:hover { background: #f1f5f9; }

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 24px;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 8px;
  display: block;
}
.footer-brand p { max-width: 280px; line-height: 1.5; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  text-align: center;
}
.disclaimer {
  font-size: 0.72rem;
  margin-top: 10px;
  opacity: 0.7;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Floating WA */
.floating-wa {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: transform 0.2s;
}
.floating-wa:hover { transform: scale(1.07); }
@media (min-width: 768px) {
  .floating-wa { bottom: 24px; right: 24px; width: 60px; height: 60px; }
}

/* Success message */
.form-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
}
