/* ================= BASE ================= */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0F1115;
  color: #FFFFFF;
}


/* ================= HEADER ================= */

.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px;
  background: transparent;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 150px;   /* recomendado */
  height: auto;
  display: block;
}
/* ================= HERO ================= */

#hero {
  background: #0F1115;
  padding-top: 120px;
}


/* ================= HERO FORM REFINED ================= */

.quote-card {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.quote-card input {
  flex: 1;
  height: 58px;
  padding: 0 22px;

  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);

  background: #161c24;              /* 🔥 ya no blanco puro */
  color: #ffffff;
  font-size: 16px;

  outline: none;
  transition: all 0.25s ease;
}

.quote-card input::placeholder {
  color: #6b7280;
}

.quote-card input:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

/* BOTÓN */

.quote-card button {
  height: 58px;
  padding: 0 28px;

  border-radius: 16px;
  border: none;

  background: #18A36E;
  color: white;
  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.25s ease;
}

.quote-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

/* ================= RESULTS ================= */

#results {
  background: #0F1115;
  padding: 40px 20px;
}

/* ================= VEHICLE SELECTOR ================= */

.vehicle-selector-card {
  max-width: 480px;
  margin: 0 auto;
  background: #151922;
  border: 1px solid #1E2330;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vehicle-selector-notice {
  color: #f59e0b;
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.vehicle-selector-sub {
  color: #A3A8B5;
  font-size: 14px;
  margin: 0;
}

.vehicle-type-select {
  background: #1A1F2E;
  color: #FFFFFF;
  border: 1px solid #2A3042;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  width: 100%;
  cursor: pointer;
}

.vehicle-type-select:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

.confirm-vehicle-btn {
  height: 50px;
  border-radius: 12px;
  border: none;
  background: #18A36E;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.confirm-vehicle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

.vehicle-selector-error {
  color: #f87171;
  font-size: 13px;
}

.vehicle-selector-error.hidden {
  display: none;
}

.market-header h2 {
  color: #fff;
  margin-bottom: 8px;
}

.market-header p {
  color: #A3A8B5;
  margin-bottom: 32px;
}

.category-badge {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 6px;
  color: #A3A8B5;
}

/* ================= FILTROS ================= */

.filters-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 10px 0;
  flex-wrap: wrap;
}

.filters-bar select {
  background: #1A1F2E;
  color: #FFFFFF;
  border: 1px solid #2A3042;
  padding: 8px 12px;
  border-radius: 8px;
}

.filters-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 14px;
}

/* ================= COMPANY CARDS ================= */

.company-card {
  background: #151922;
  border: 1px solid #1E2330;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;

  display: flex;
  flex-direction: column;
}

.card-body {
  flex: 1;
}

.card-footer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;              /* 🔥 importante */
}

/* HEADER */

.company-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.company-header h3 {
  color: #fff;
  margin: 0;
}

/* PRECIO */

.price {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.channel {
  color: #A3A8B5;
  font-size: 14px;
}

/* FEATURES */

.features {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  background: #1E2330;
  color: #A3A8B5;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.badge.social {
  background: #183D2E;
  color: #18A36E;
}

/* BOTÓN */

.neutral-btn {
  background: #18A36E;
  border: none;
  padding: 12px 22px;
  border-radius: 14px;
  color: #fff;
  cursor: pointer;

  width: auto;          /* 🔥 YA NO full width */
  align-self: flex-start;
}

/* FECHA */



.updated-date {
  font-size: 11px;
  color: #6B7280;
  opacity: 0.6;
  text-align: right;        /* 🔥 esto es mejor que align-self */
  width: 100%;              /* 🔥 importante */
}

/* ================= ANALYSIS SECTION ================= */

.analysis-section {
  background: #0e141b;
  padding: 80px 20px;
}

.analysis-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.analysis-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  flex: 1;
}

.analysis-card h3,
.analysis-card p {
  color: #0F1115;
}

@media (max-width: 768px) {
  .analysis-grid {
    flex-direction: column;
  }
}

/* ================= POSITIONING MANIFESTO ================= */

.positioning-section {
  background: #0b1118; /* 2–3% más oscuro que el resto */
  padding: 120px 20px;
  text-align: center;
}

.positioning-label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #22c55e;
  margin-bottom: 22px;
  opacity: 0.9;
}

.positioning-section h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 28px;
}

.positioning-section p {
  font-size: 18px;
  color: #9ca3af;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Separación real con FAQ */

.faq-section {
  padding-bottom: 120px;
}

/* ================= DOCER CTA ================= */

.docer-integration {
  background: white;
  padding: 80px 20px;
  text-align: center;
}

.docer-integration h2 {
  font-size: 30px;
  font-weight: 700;
  color: #0F1115;
  margin-bottom: 20px;
}

.docer-integration p {
  font-size: 18px;
  color: #4A5568;
  margin-bottom: 32px;
}

.secondary-btn {
  display: inline-block;
  padding: 18px 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, #18A36E 0%, #15925F 100%);
  color: white;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(24,163,110,0.35);
  transition: all 0.25s ease;
}

.secondary-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 15px 40px rgba(24,163,110,0.45);
}

/* ================= HEADINGS & TEXT ================= */

h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* ================= FAQ ================= */

.faq-section {
  background: #0c121a;
  padding: 80px 20px;
}

.faq-card {
  background: #111a23;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-content {
  display: none;
  padding: 0 20px 20px 20px;
  color: #cbd5e1;
  font-size: 14px;
}

.faq-card.active .faq-content {
  display: block;
}

.faq-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq-card.active .faq-arrow {
  transform: rotate(-135deg);
  border-color: #22c55e;
}


/* ================= INFO ARCHITECTURE ================= */

.info-section {
  padding: 100px 20px;
  background: #0e141b;
}

.info-block {
  padding: 32px;
  margin-bottom: 48px;
  position: relative;
}

/* Alternancia de fondos */

.info-block.primary {
  background: #0e141b;
}

.info-block.secondary {
  background: #111a23; /* 2% más claro */
}

/* Número minimal */

.info-number {
  font-size: 13px;
  letter-spacing: 2px;
  color: #22c55e;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Línea vertical sutil */

.info-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  width: 2px;
  height: calc(100% - 64px);
  background: linear-gradient(to bottom, #22c55e, transparent);
  opacity: 0.5;
}

/* Títulos jerárquicos */

.info-title {
  margin-bottom: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.info-title.dominant {
  font-size: 40px;
}

.info-title.large {
  font-size: 32px;
}

.info-title.medium {
  font-size: 28px;
}

/* Texto */

.info-block p {
  font-size: 17px;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 640px;
}

/* Responsive */

@media (max-width: 768px) {
  .info-title.dominant {
    font-size: 32px;
  }

  .info-title.large {
    font-size: 26px;
  }

  .info-title.medium {
    font-size: 22px;
  }

  .info-block {
    padding: 24px;
  }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    text-align: center;
    padding: 60px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.logo-footer {
    height: 45px;
    margin-bottom: 20px;
}
.footer-text {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* ===== transicion ===== */
.emotional {
    margin-top: 140px;
}

.transition-sub {
    font-size: 22px;
    margin-top: 30px;
    opacity: 0.8;
}

.transition-questions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 20px;
}

.ok-line {
    color: #18A36E;
    font-weight: 600;
}

.transition-consequence {
    margin-top: 40px;
    font-size: 20px;
    opacity: 0.6;
}


.badge.benefit {
  background: rgba(24,163,110,0.15);
  color: #18A36E;
}

.badge.discount {
  background: rgba(0,123,255,0.15);
  color: #007bff;
}


.docer-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
}

.hidden{
display:none;
}

.docer-modal-backdrop{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
}

.docer-modal-card{
position:relative;
background:white;
padding:35px;
border-radius:12px;
width:420px;
max-width:90%;
z-index:2;
text-align:center;
color:#222;
}

.docer-modal-card input{
width:100%;
padding:12px;
margin-top:10px;
border-radius:6px;
border:1px solid #ddd;
font-size:14px;
color:#222;
}
.docer-modal-card p{
color:#444;
line-height:1.5;
margin-bottom:15px;
}


.docer-modal-buttons{
margin-top:20px;
display:flex;
gap:10px;
}

.docer-modal-buttons button{
flex:1;
padding:12px;
border:none;
border-radius:6px;
cursor:pointer;
}

#docerReminderBtn{
background:#18A36E;
color:white;
}

#docerContinueBtn{
background:#ddd;
}