/* ============================================================
   PLAN AUTOMOTRIZ — Multi-Brand Design System
   Variables de marca inyectadas por JS en runtime
   ============================================================ */

:root {
  /* Brand variables — overridden by JS per marca */
  --brand-primary:  #0074e8;
  --brand-dark:     #0058b5;
  --brand-light:    #e8f2fd;
  --brand-header:   #001e50;
  --brand-header-text:   #ffffff;
  --brand-header-border: rgba(255,255,255,.35);

  /* Neutral palette */
  --black:       #0a0a0a;
  --dark:        #111827;
  --dark-2:      #1f2937;
  --mid:         #374151;
  --muted:       #6b7280;
  --border:      #e5e7eb;
  --bg:          #f9fafb;
  --white:       #ffffff;

  /* Tokens */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --transition:  0.25s ease;
  --header-h:    72px;
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.ready { opacity: 1; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; padding: 0; }
button { cursor: pointer; font-family: inherit; }

/* ============ HELPERS ============ */
.highlight { color: var(--brand-primary); }
.d-none { display: none !important; }

.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: .5rem;
}
.section-eyebrow.light { color: #93c5fd; }

/* ============ HEADER ============ */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
#main-header.scrolled {
  background: var(--brand-header);
  box-shadow: var(--shadow-md);
  height: 60px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.navbar-brand img { height: 44px; width: auto; transition: height var(--transition); }
#main-header.scrolled .navbar-brand img { height: 34px; }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.btn-header-ghost {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--brand-header-text);
  padding: .45rem 1rem;
  border: 1.5px solid var(--brand-header-border);
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition);
}
.btn-header-ghost:hover { background: rgba(128,128,128,.1); border-color: var(--brand-header-text); color: var(--brand-header-text); }

.btn-header-primary {
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  color: var(--brand-header-text); background: var(--black);
  padding: .5rem 1.25rem; border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}
#main-header.scrolled .btn-header-primary { background: rgba(0,0,0,.35); }
.btn-header-primary:hover { background: rgba(0,0,0,.85); transform: translateY(-1px); color: var(--white); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--brand-header);
  background-size: cover;
  background-position: center center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding-top: var(--header-h);
  padding-bottom: 4rem;
  max-width: 720px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: #93c5fd; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.1; color: var(--white);
  margin-bottom: 1.25rem; letter-spacing: -.02em;
}
.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem); font-weight: 400;
  color: rgba(255,255,255,.85); margin-bottom: 2.25rem; max-width: 520px;
}
.hero-subtitle strong { color: var(--white); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .875rem; }

.btn-primary-hero {
  display: inline-flex; align-items: center;
  background: var(--brand-primary); color: var(--white);
  font-weight: 700; font-size: .9rem; letter-spacing: .04em;
  padding: .875rem 2rem; border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary-hero:hover { background: var(--brand-dark); transform: translateY(-2px); color: var(--white); }

.btn-ghost-hero {
  display: inline-flex; align-items: center;
  color: var(--white); font-weight: 600; font-size: .9rem; letter-spacing: .04em;
  padding: .875rem 1.75rem; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.4);
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost-hero:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); color: var(--white); }

.hero-scroll-hint {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.45); font-size: 1.1rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============ TRUST BAR ============ */
.trust-bar { background: var(--black); padding: .875rem 0; }
.trust-items {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .5rem 1.5rem;
  padding: 0; margin: 0;
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.8); font-size: .8rem; font-weight: 500;
}
.trust-item strong { color: var(--white); font-weight: 700; }
.trust-item .fa-check-circle { color: var(--brand-primary); }
.trust-divider { width: 1px; height: 18px; background: rgba(255,255,255,.18); }

/* ============ STATS ============ */
.stats-section { background: var(--dark); padding: 3.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.stat-item { text-align: center; display: flex; flex-direction: column; gap: .3rem; }
.stat-number { font-size: clamp(1.6rem,3vw,2.5rem); font-weight: 900; color: var(--white); letter-spacing: -.02em; line-height: 1; }
.stat-label { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .06em; }

/* ============ SECTION HEADER ============ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: clamp(1.75rem,3.5vw,2.75rem); font-weight: 900; letter-spacing: -.02em; color: var(--dark); line-height: 1.15; margin-bottom: .6rem; }
.section-subtitle { font-size: 1rem; color: var(--muted); max-width: 520px; margin: 0 auto; }

/* ============ MODELS SECTION ============ */
.models-section { padding: 5rem 0; background: var(--bg); }
.models-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* Adapta columnas según cantidad de modelos */
.models-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3,1fr); }
.models-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2,1fr); }

.model-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1.5px solid var(--border);
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.model-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.model-card.featured { border-color: var(--brand-primary); box-shadow: 0 0 0 2px var(--brand-primary), var(--shadow-md); }

.model-card-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--brand-primary); color: var(--white);
  font-size: .63rem; font-weight: 800; letter-spacing: .08em;
  padding: .25rem .65rem; border-radius: 999px;
}

.model-card-header {
  background: var(--bg); padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border); text-align: center;
}

.model-tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-primary); background: var(--brand-light);
  padding: .2rem .65rem; border-radius: 999px; margin-bottom: .6rem;
}
.model-tag.commercial { color: var(--mid); background: #e5e7eb; }

.model-name { font-size: 1.6rem; font-weight: 900; color: var(--dark); letter-spacing: -.02em; line-height: 1; margin-bottom: .75rem; }

.model-image-wrap { height: 220px; display: flex; align-items: center; justify-content: center; margin-bottom: .5rem; overflow: hidden; }
.model-image-wrap img { width: 110%; height: 110%; object-fit: contain; transition: transform var(--transition); }
.model-card:hover .model-image-wrap img { transform: scale(1.04); }

.model-financing-badge {
  display: flex; align-items: center; gap: .6rem;
  background: var(--brand-light); padding: .625rem .875rem;
  font-size: .78rem; color: var(--dark-2);
  border-bottom: 1px solid var(--border);
}
.model-financing-badge .fa-id-card { color: var(--brand-primary); font-size: 1.1rem; flex-shrink: 0; }
.model-financing-badge strong { color: var(--brand-primary); }

.model-pricing { padding: 1rem 1.25rem .5rem; border-bottom: 1px solid var(--border); }
.model-variant { font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: .15rem; }
.price-label { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-bottom: .1rem; }
.price-amount { display: block; font-size: 1.9rem; font-weight: 900; color: var(--brand-primary); letter-spacing: -.02em; line-height: 1.1; }
.price-from { display: block; font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.price-from strong { color: var(--brand-primary); }

.benefits-list { padding: 1rem 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.benefits-list li { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--dark-2); }
.benefits-list li i { color: var(--brand-primary); font-size: .85rem; width: 14px; flex-shrink: 0; }

.btn-model-cta {
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-primary); color: var(--white);
  font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .9rem; transition: background var(--transition);
}
.btn-model-cta:hover { background: var(--brand-dark); color: var(--white); }

/* ============ FORM SECTION ============ */
.form-section { background: var(--dark); padding: 5.5rem 0; }
.form-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.form-title { font-size: clamp(1.75rem,3.5vw,2.75rem); font-weight: 900; color: var(--white); letter-spacing: -.02em; line-height: 1.15; margin-bottom: .75rem; }
.form-subtitle { font-size: .95rem; color: rgba(255,255,255,.6); margin-bottom: 2rem; line-height: 1.7; }

.form-trust-points { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.form-trust-item { display: flex; align-items: center; gap: .75rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.form-trust-item i { color: var(--brand-primary); font-size: 1rem; width: 20px; flex-shrink: 0; }

.offer-badge {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
}
.offer-badge strong { font-size: .9rem; color: var(--white); display: block; }
.offer-badge p { font-size: .8rem; color: rgba(255,255,255,.5); margin: .2rem 0 0; }

.form-container { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); }

/* Stepper */
.stepper { display: flex; align-items: center; margin-bottom: 2rem; }
.stepper-item { display: flex; flex-direction: column; align-items: center; gap: .3rem; flex-shrink: 0; }
.step-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--border); color: var(--muted);
  font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.stepper-item.active .step-dot,
.stepper-item.done .step-dot { background: var(--brand-primary); color: var(--white); }
.stepper-item span { font-size: .65rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stepper-item.active span { color: var(--brand-primary); }
.stepper-line { flex: 1; height: 2px; background: var(--border); min-width: 30px; transition: background var(--transition); }
.stepper-line.done { background: var(--brand-primary); }

/* Fieldsets used as step containers */
.step-container { border: none; padding: 0; min-width: 0; }
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 1.5rem; display: block; }

.field-group { margin-bottom: 1rem; }
.field-label { display: block; font-size: .78rem; font-weight: 600; color: var(--mid); margin-bottom: .35rem; letter-spacing: .02em; }
.field-optional { font-weight: 400; color: var(--muted); }

.form-field {
  width: 100%; padding: .7rem .9rem;
  font-family: inherit; font-size: .875rem; color: var(--dark);
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); appearance: none; -webkit-appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.form-field::placeholder { color: #9ca3af; }
select.form-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 14px; padding-right: 2.25rem;
}

.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.btn-step-next {
  width: 100%; background: var(--brand-primary); color: var(--white);
  font-weight: 700; font-size: .875rem; letter-spacing: .04em;
  padding: .8rem 1.5rem; border: none; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-top: .5rem; transition: background var(--transition), transform var(--transition);
}
.btn-step-next:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-row { display: grid; grid-template-columns: 1fr 2fr; gap: .75rem; margin-top: .5rem; }

.btn-step-back {
  background: transparent; color: var(--muted); font-weight: 600; font-size: .875rem;
  padding: .8rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), color var(--transition);
}
.btn-step-back:hover { border-color: var(--mid); color: var(--dark); }

.btn-submit {
  background: var(--brand-primary); color: var(--white); font-weight: 700; font-size: .875rem; letter-spacing: .04em;
  padding: .8rem 1.25rem; border: none; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-submit:hover { background: var(--brand-dark); transform: translateY(-1px); }

.success-state { text-align: center; padding: 2.5rem 1rem; }
.success-icon { font-size: 3.5rem; color: #22c55e; margin-bottom: 1rem; }
.success-state h3 { font-size: 1.25rem; font-weight: 800; color: var(--dark); margin-bottom: .6rem; }
.success-state p { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.btn-back-to-models {
  display: inline-block; background: var(--brand-primary); color: var(--white);
  font-weight: 700; font-size: .85rem; padding: .7rem 1.75rem;
  border-radius: var(--radius-sm); transition: background var(--transition);
}
.btn-back-to-models:hover { background: var(--brand-dark); color: var(--white); }

/* ============ FAQ SECTION ============ */
.faq-section { background: var(--bg); padding: 5rem 0; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; padding: 0; }

.faq-item { background: var(--white); border-radius: var(--radius-md); border: 1.5px solid var(--border); overflow: hidden; }

.faq-question {
  width: 100%; background: none; border: none; padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: .95rem; font-weight: 600; color: var(--dark); text-align: left;
  cursor: pointer; transition: color var(--transition), background var(--transition);
}
.faq-question:hover { background: var(--bg); color: var(--brand-primary); }
.faq-question[aria-expanded="true"] { color: var(--brand-primary); }

.faq-icon {
  font-size: .8rem; color: var(--muted); flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--brand-primary); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}
.faq-answer.open { max-height: 500px; padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: .9rem; color: var(--mid); line-height: 1.7; }

/* ============ FOOTER ============ */
.site-footer { background: var(--black); padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.footer-logo { height: 48px; width: auto; opacity: .8; }
.footer-brand-name { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: .25rem; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer-copy small { font-size: .72rem; }

/* ============ FLOATING CTA — Simulador ============ */
.floating-cta {
  position: fixed; bottom: 5.5rem; right: 1.75rem; z-index: 900;
  display: flex; align-items: center; gap: .5rem;
  background: var(--brand-primary); color: var(--white);
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  padding: .7rem 1.25rem; border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta:hover { background: var(--brand-dark); color: var(--white); }

/* ============ FLOATING BTN — WhatsApp ============ */
.whatsapp-btn {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover { background: #1ebe5d; transform: scale(1.08); color: var(--white); }

/* ============ CONTAINER OVERRIDE ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .models-grid { grid-template-columns: repeat(2,1fr) !important; }
  .stats-grid  { grid-template-columns: repeat(2,1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .hero {
    background-position: center center;
    min-height: 100svh; text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }

  .trust-divider { display: none; }
  .stats-section { padding: 2.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1.25rem; }

  .models-section { padding: 3.5rem 0; }
  .models-grid { grid-template-columns: 1fr !important; }

  .form-section { padding: 3.5rem 0; }
  .form-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-container { padding: 1.5rem; }
  .fields-row { grid-template-columns: 1fr; }

  .faq-section { padding: 3.5rem 0; }

  .footer-inner { justify-content: center; text-align: center; }
  .header-actions .btn-header-ghost { display: none; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 1.85rem; }
  .hero-ctas { flex-direction: column; }
  .btn-primary-hero, .btn-ghost-hero { width: 100%; justify-content: center; }
  .floating-cta span { display: none; }
  .floating-cta { padding: .75rem; bottom: 4.75rem; }
}

/* ============================================================
   IDENTITY LAYER — identidad profunda por marca
   Inyectada por app.js vía --brand-* + data-brand/data-btn/data-hero.
   Anexada al final: gana por orden de cascada, no toca el clon base.
   ============================================================ */
:root {
  --brand-font-heading: 'Montserrat', sans-serif;
  --brand-font-body:    'Montserrat', sans-serif;
  --brand-radius:  12px;
  --brand-ink:     #111827;
  --brand-surface: #f9fafb;
  --brand-accent2: var(--brand-primary);
  --brand-hero-overlay: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 100%);
}

/* ── Tipografía de marca ─────────────────────────────────────── */
body { font-family: var(--brand-font-body); }
.hero-title, .section-title, .form-title, .model-name, .stat-number,
.price-amount, .step-title, .success-state h3, .hero-badge, .section-eyebrow,
.model-tag, .model-card-badge, .brand-slogan, .price-label, .footer-brand-name,
.btn-primary-hero, .btn-ghost-hero, .btn-model-cta, .btn-submit, .btn-step-next {
  font-family: var(--brand-font-heading);
}

/* ── Tinta de titulares sobre claro ──────────────────────────── */
.section-title, .model-name, .step-title, .success-state h3 { color: var(--brand-ink); }

/* ── Superficies tintadas por marca ──────────────────────────── */
.models-section, .faq-section { background: var(--brand-surface); }
.model-card-header { background: #fff; }

/* ── Lenguaje de formas ──────────────────────────────────────── */
.model-card, .faq-item { border-radius: var(--brand-radius); }
.form-container { border-radius: calc(var(--brand-radius) + 4px); }
.offer-badge { border-radius: var(--brand-radius); }
.form-field  { border-radius: calc(var(--brand-radius) * .5); }

/* ── Hero overlay por marca ──────────────────────────────────── */
.hero-overlay { background: var(--brand-hero-overlay); }
.hero-badge { color: #fff; }

/* ── Slogan de marca (kicker sobre el título) ────────────────── */
.brand-slogan {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: clamp(.72rem, 1.5vw, .92rem);
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem;
}
.brand-slogan::before {
  content: ""; width: 34px; height: 2px; flex: 0 0 34px;
  background: var(--brand-primary); display: inline-block;
}
.brand-slogan:empty { display: none; }

/* ── Acentos secundarios ─────────────────────────────────────── */
.section-eyebrow.light { color: var(--brand-accent2); }

/* ── Formas de botón por marca (data-btn) ────────────────────── */
html[data-btn="pill"]    .btn-primary-hero, html[data-btn="pill"]    .btn-ghost-hero,
html[data-btn="pill"]    .btn-submit, html[data-btn="pill"]    .btn-step-next,
html[data-btn="pill"]    .btn-step-back, html[data-btn="pill"]    .btn-back-to-models,
html[data-btn="pill"]    .btn-header-primary, html[data-btn="pill"]    .btn-header-ghost,
html[data-btn="pill"]    .floating-cta { border-radius: 999px; }

html[data-btn="soft"]    .btn-primary-hero, html[data-btn="soft"]    .btn-ghost-hero,
html[data-btn="soft"]    .btn-submit, html[data-btn="soft"]    .btn-step-next,
html[data-btn="soft"]    .btn-step-back, html[data-btn="soft"]    .btn-back-to-models,
html[data-btn="soft"]    .btn-header-primary, html[data-btn="soft"]    .btn-header-ghost { border-radius: 16px; }

html[data-btn="rounded"] .btn-primary-hero, html[data-btn="rounded"] .btn-ghost-hero,
html[data-btn="rounded"] .btn-submit, html[data-btn="rounded"] .btn-step-next,
html[data-btn="rounded"] .btn-step-back, html[data-btn="rounded"] .btn-back-to-models,
html[data-btn="rounded"] .btn-header-primary, html[data-btn="rounded"] .btn-header-ghost { border-radius: 10px; }

html[data-btn="sharp"]   .btn-primary-hero, html[data-btn="sharp"]   .btn-ghost-hero,
html[data-btn="sharp"]   .btn-submit, html[data-btn="sharp"]   .btn-step-next,
html[data-btn="sharp"]   .btn-step-back, html[data-btn="sharp"]   .btn-back-to-models,
html[data-btn="sharp"]   .btn-header-primary, html[data-btn="sharp"]   .btn-header-ghost { border-radius: 2px; }

/* ── Hero centrado (data-hero=center) ────────────────────────── */
html[data-hero="center"] .hero { text-align: center; }
html[data-hero="center"] .hero-content { margin-left: auto; margin-right: auto; }
html[data-hero="center"] .brand-slogan,
html[data-hero="center"] .hero-subtitle { margin-left: auto; margin-right: auto; }
html[data-hero="center"] .hero-ctas { justify-content: center; }

/* ── Toques específicos por marca ────────────────────────────── */
/* Toyota — banda roja superior, robusta */
html[data-brand="toyota"] .model-card { border-top: 3px solid var(--brand-primary); }
html[data-brand="toyota"] .hero-title { letter-spacing: -.03em; }

/* Citroën — tarjetas flotantes suaves, confort */
html[data-brand="citroen"] .model-card { border-color: transparent; box-shadow: 0 12px 34px rgba(74,122,150,.16); }
html[data-brand="citroen"] .faq-item   { border-color: transparent; box-shadow: 0 6px 20px rgba(74,122,150,.10); }

/* Peugeot — premium, eyebrow y detalles en dorado */
html[data-brand="peugeot"] .section-eyebrow { color: var(--brand-accent2); }
html[data-brand="peugeot"] .model-card-badge { background: var(--brand-accent2); color: #1a1207; }
html[data-brand="peugeot"] .hero-title { font-weight: 700; letter-spacing: -.01em; }

/* Volkswagen — geometría más marcada, badge cuadrado */
html[data-brand="volkswagen"] .hero-badge { border-radius: 6px; }
html[data-brand="volkswagen"] .brand-slogan { color: var(--brand-accent2); }

/* Fiat — badge cálido, título expresivo */
html[data-brand="fiat"] .hero-badge { background: rgba(228,87,46,.16); border-color: rgba(228,87,46,.45); }
html[data-brand="fiat"] .hero-title { letter-spacing: -.025em; }

/* ── Marcas de acento CLARO (Renault amarillo / Chevrolet dorado) ─────
   El color de marca queda para hero-highlight + slogan + anillos/acentos;
   textos sobre blanco y CTAs pasan a tinta oscura para contraste legible. */
html[data-brand="renault"]   .price-amount, html[data-brand="chevrolet"]   .price-amount,
html[data-brand="renault"]   .price-from strong, html[data-brand="chevrolet"]   .price-from strong,
html[data-brand="renault"]   .model-financing-badge strong, html[data-brand="chevrolet"]   .model-financing-badge strong,
html[data-brand="renault"]   .model-financing-badge .fa-id-card, html[data-brand="chevrolet"]   .model-financing-badge .fa-id-card,
html[data-brand="renault"]   .model-tag, html[data-brand="chevrolet"]   .model-tag,
html[data-brand="renault"]   .section-eyebrow:not(.light), html[data-brand="chevrolet"]   .section-eyebrow:not(.light),
html[data-brand="renault"]   .benefits-list li i, html[data-brand="chevrolet"]   .benefits-list li i,
html[data-brand="renault"]   .faq-question[aria-expanded="true"], html[data-brand="chevrolet"]   .faq-question[aria-expanded="true"],
html[data-brand="renault"]   .faq-question[aria-expanded="true"] .faq-icon, html[data-brand="chevrolet"]   .faq-question[aria-expanded="true"] .faq-icon,
html[data-brand="renault"]   .stepper-item.active span, html[data-brand="chevrolet"]   .stepper-item.active span,
html[data-brand="renault"]   .trust-item .fa-check-circle, html[data-brand="chevrolet"]   .trust-item .fa-check-circle,
html[data-brand="renault"]   .form-trust-item i, html[data-brand="chevrolet"]   .form-trust-item i {
  color: var(--brand-ink) !important;
}
/* CTAs / chips con fondo de marca → texto oscuro legible */
html[data-brand="renault"]   .btn-primary-hero, html[data-brand="chevrolet"]   .btn-primary-hero,
html[data-brand="renault"]   .btn-model-cta, html[data-brand="chevrolet"]   .btn-model-cta,
html[data-brand="renault"]   .btn-submit, html[data-brand="chevrolet"]   .btn-submit,
html[data-brand="renault"]   .btn-step-next, html[data-brand="chevrolet"]   .btn-step-next,
html[data-brand="renault"]   .btn-back-to-models, html[data-brand="chevrolet"]   .btn-back-to-models,
html[data-brand="renault"]   .model-card-badge, html[data-brand="chevrolet"]   .model-card-badge,
html[data-brand="renault"]   .floating-cta, html[data-brand="chevrolet"]   .floating-cta,
html[data-brand="renault"]   .stepper-item.active .step-dot, html[data-brand="chevrolet"]   .stepper-item.active .step-dot,
html[data-brand="renault"]   .stepper-item.done .step-dot, html[data-brand="chevrolet"]   .stepper-item.done .step-dot {
  color: #14140a !important;
}
/* Slogan en el color de marca (amarillo/dorado) sobre el hero oscuro */
html[data-brand="renault"] .brand-slogan, html[data-brand="chevrolet"] .brand-slogan { color: var(--brand-primary); }

/* Logos oscuros (losange Renault / wordmark Jeep / Nissan) → blanco sobre hero/footer oscuro */
html[data-brand="renault"] #header-logo, html[data-brand="renault"] #footer-logo,
html[data-brand="jeep"]    #header-logo, html[data-brand="jeep"]    #footer-logo,
html[data-brand="nissan"]  #header-logo, html[data-brand="nissan"]  #footer-logo {
  filter: brightness(0) invert(1);
}

/* ============================================================
   SINGLE-MODEL LANDING (sitio por modelo)
   ============================================================ */
.spotlight-section { background: var(--brand-surface); padding: 5rem 0; }
.spot-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; max-width: 1120px; margin: 0 auto; }
.spot-media { position: relative; background: #fff; border-radius: calc(var(--brand-radius) + 6px); padding: 2.5rem 1.5rem; box-shadow: var(--shadow-md); text-align: center; }
.spot-media .model-tag { position: absolute; top: 16px; left: 16px; margin: 0; }
.spot-media img { width: 100%; max-width: 520px; height: auto; object-fit: contain; margin: 0 auto; }
.spot-detail { min-width: 0; }
.spot-name { font-family: var(--brand-font-heading); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--brand-ink); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 1rem; }
.spot-price { margin-bottom: 1.25rem; }
.spot-price .price-label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.spot-price .price-amount { display: block; font-family: var(--brand-font-heading); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; color: var(--brand-primary); letter-spacing: -.02em; line-height: 1.05; }
.pd-rows { border-top: 1px solid var(--border); margin-bottom: 1.25rem; }
.pd-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.pd-row span { color: var(--muted); }
.pd-row strong { color: var(--brand-ink); font-weight: 700; text-align: right; }
.spot-detail .benefits-list { padding: 0; margin-bottom: 1.5rem; }
.spot-cta { display: inline-flex; border-radius: var(--brand-radius); padding: .95rem 2rem; }

.siblings-section { background: var(--white); padding: 5rem 0; }
.siblings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; max-width: 1120px; margin: 0 auto; }
.sib-card { display: flex; flex-direction: column; align-items: center; gap: .35rem; background: var(--brand-surface); border: 1.5px solid var(--border); border-radius: var(--brand-radius); padding: 1.1rem .75rem; transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition); }
.sib-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--brand-primary); }
.sib-card img { width: 100%; max-width: 150px; height: 88px; object-fit: contain; }
.sib-name { font-family: var(--brand-font-heading); font-weight: 800; font-size: 1rem; color: var(--brand-ink); }
.sib-price { font-size: .78rem; font-weight: 600; color: var(--brand-primary); }

@media (max-width: 860px) {
  .spot-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .spotlight-section, .siblings-section { padding: 3.5rem 0; }
}

/* ============================================================
   FICHA TÉCNICA + COLORES (sitio por modelo)
   ============================================================ */
.fichacolores-section { background: var(--white); padding: 4.5rem 0; }
.fc-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; max-width: 1120px; margin: 0 auto; align-items: start; }
.fc-card { background: var(--brand-surface); border: 1.5px solid var(--border); border-radius: calc(var(--brand-radius) + 4px); padding: 1.75rem; }
.ficha-rows { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.ft-row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.ft-row span { color: var(--muted); }
.ft-row strong { color: var(--brand-ink); font-weight: 700; text-align: right; }
.colores-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.color-chip { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: .35rem .8rem .35rem .4rem; font-size: .82rem; font-weight: 600; color: var(--brand-ink); }
.color-dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); flex-shrink: 0; box-shadow: inset 0 0 0 2px #fff, 0 1px 2px rgba(0,0,0,.15); }
.fc-note { font-size: .72rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 860px) {
  .fc-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .ficha-rows { grid-template-columns: 1fr; }
  .fichacolores-section { padding: 3rem 0; }
}

/* ============================================================
   CÓMO FUNCIONA + BREADCRUMB + MOBILE (mejoras)
   ============================================================ */
.how-section { background: var(--white); padding: 5rem 0; }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; max-width: 1000px; margin: 0 auto 2.5rem; }
.how-step { position: relative; background: var(--brand-surface); border: 1.5px solid var(--border); border-radius: calc(var(--brand-radius) + 4px); padding: 2.25rem 1.5rem 1.5rem; text-align: center; }
.how-num { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--brand-primary); color: #fff; font-family: var(--brand-font-heading); font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.how-ic { font-size: 1.8rem; color: var(--brand-primary); margin-bottom: .75rem; }
.how-step h3 { font-family: var(--brand-font-heading); font-size: 1.15rem; font-weight: 800; color: var(--brand-ink); margin-bottom: .5rem; }
.how-step p { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.how-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; max-width: 1000px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.how-trust-item { display: flex; align-items: center; gap: .7rem; }
.how-trust-item i { font-size: 1.3rem; color: var(--brand-primary); }
.how-trust-item strong { display: block; font-size: .9rem; color: var(--brand-ink); font-weight: 700; }
.how-trust-item span { display: block; font-size: .75rem; color: var(--muted); }

.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--border); font-size: .8rem; }
.breadcrumb-bar .container { padding-top: .7rem; padding-bottom: .7rem; }
.breadcrumb-bar a { color: var(--muted); }
.breadcrumb-bar a:hover { color: var(--brand-primary); }
.breadcrumb-bar span[aria-current] { color: var(--brand-ink); font-weight: 600; }
.breadcrumb-bar span[aria-hidden] { color: var(--muted); margin: 0 .2rem; }

/* Barra CTA fija inferior — SOLO mobile (lead-gen) */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  }
  .mcta-primary { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem;
    background: var(--brand-primary); color: #fff; font-family: var(--brand-font-heading); font-weight: 700;
    font-size: .95rem; padding: .85rem; border-radius: var(--brand-radius); }
  .mcta-wa { flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
    width: 52px; background: #25d366; color: #fff; font-size: 1.4rem; border-radius: var(--brand-radius); }
  html[data-btn="pill"] .mcta-primary, html[data-btn="pill"] .mcta-wa { border-radius: 999px; }
  html[data-brand="renault"] .mcta-primary, html[data-brand="chevrolet"] .mcta-primary { color: #14140a; }
  /* dar aire para que la barra no tape el footer / floating */
  body { padding-bottom: 68px; }
  .floating-cta { display: none !important; }
  .whatsapp-btn { bottom: 5.4rem; }
  /* how + breadcrumb mobile */
  .how-section { padding: 3.25rem 0; }
  .how-grid { grid-template-columns: 1fr; gap: 1.75rem; max-width: 360px; }
  .how-trust { gap: 1rem 1.5rem; }
  .how-trust-item { flex: 0 0 44%; }
  .spot-media { padding: 1.5rem 1rem; }
  .hero-title, .spot-name, .section-title { word-break: normal; }
  .hero-content { padding-bottom: 3rem; }
}
@media (max-width: 420px) {
  .how-trust-item { flex: 0 0 100%; justify-content: center; }
  .spot-price .price-amount { font-size: 2.2rem; }
}

/* ============================================================
   ATRIBUCIÓN/CRO: honeypot + microcopy + toast de prueba social
   ============================================================ */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-microcopy { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .74rem; color: var(--muted); margin-top: .7rem; }
.form-microcopy i { color: #22c55e; }

.social-toast {
  position: fixed; left: 1rem; bottom: 1.5rem; z-index: 940;
  display: inline-flex; align-items: center; gap: .6rem; max-width: 300px;
  background: #fff; color: var(--brand-ink);
  border: 1.5px solid var(--border); border-left: 4px solid var(--brand-primary);
  border-radius: 12px; padding: .7rem .95rem; font-size: .82rem; font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.social-toast.show { opacity: 1; transform: translateY(0); }
.social-toast i { color: var(--brand-primary); font-size: 1rem; flex-shrink: 0; }
@media (max-width: 768px) {
  .social-toast { left: .6rem; right: .6rem; bottom: 5.6rem; max-width: none; font-size: .78rem; }
}
