:root {
  --bg-main: #041327;
  --bg-secondary: #071a36;
  --bg-deep: #020c1c;
  --bg-card: rgba(8, 27, 58, 0.94);
  --bg-card-2: rgba(14, 37, 74, 0.98);
  --bg-soft: rgba(255, 255, 255, 0.05);
  --bg-soft-2: rgba(255, 255, 255, 0.07);
  --line: rgba(77, 132, 255, 0.18);
  --line-strong: rgba(77, 132, 255, 0.42);
  --primary: #2563eb;
  --primary-2: #3b82f6;
  --primary-dark: #1d4ed8;
  --text: #f8fbff;
  --text-soft: #d8e3f6;
  --text-muted: #9fb2d0;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.22);
  --container: 1360px;
  --transition: all 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.18), transparent 35%),
    linear-gradient(180deg, #041327 0%, #071a36 45%, #05152b 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 28px));
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

/* HEADER */
.top-nav-shell {
  position: sticky;
  top: 0;
  z-index: 150;
  backdrop-filter: blur(14px);
  background: rgba(4, 19, 39, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.brand-copy span {
  font-size: 0.84rem;
  color: #b8c7de;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.18);
}

.top-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(0,0,0,0.18);
  transition: var(--transition);
}

.top-wa:hover {
  transform: translateY(-2px);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 800;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.10);
}

.btn-lg {
  min-height: 56px;
  padding-inline: 24px;
}

.btn-full {
  width: 100%;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 800;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: rgba(255,255,255,0.12);
}

/* HERO */
.hero-pro {
  padding: 34px 0 28px;
}

.hero-pro-shell {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 0.75fr;
  gap: 22px;
  align-items: stretch;
}

.hero-left,
.hero-center,
.hero-right {
  min-width: 0;
}

.hero-left,
.hero-center,
.hero-right .advisor-card-pro {
  background:
    linear-gradient(180deg, rgba(8, 27, 58, 0.92), rgba(8, 20, 43, 0.97));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-left {
  border-radius: 28px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker,
.contact-kicker,
.modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-left h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-left h1 span {
  color: #60a5fa;
}

.hero-subtext {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 560px;
}

.hero-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-feature-row div {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-legal-row {
  margin-top: 16px;
}

.hero-legal-btn,
.legal-inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 800;
  transition: var(--transition);
}

.hero-legal-btn:hover,
.legal-inline-btn:hover {
  background: rgba(255,255,255,0.12);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hero-stat-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #fff;
}

.hero-stat-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-center {
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-vehicles-stage {
  min-height: 390px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.22), transparent 34%),
    linear-gradient(180deg, #0c2b59 0%, #081a37 100%);
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-stage-img {
  position: absolute;
  bottom: 0;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.25));
}

.hero-stage-left {
  width: 40%;
  left: 1%;
  bottom: 5%;
  opacity: 0.92;
}

.hero-stage-main {
  width: 54%;
  left: 23%;
  bottom: 3%;
  z-index: 2;
}

.hero-stage-right {
  width: 36%;
  right: 2%;
  bottom: 7%;
  opacity: 0.92;
}

.ia-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.hero-right .advisor-card-pro {
  border-radius: 28px;
  padding: 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.advisor-photo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.advisor-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 999px;
  border: 4px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 18px 28px rgba(0,0,0,0.28);
}

.advisor-info {
  text-align: center;
}

.advisor-info h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: #fff;
}

.advisor-role,
.advisor-location {
  margin: 0 0 6px;
  color: var(--text-soft);
}

.advisor-phone {
  display: inline-flex;
  margin-top: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 800;
}

.advisor-mini-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.advisor-mini-points div {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

/* TITULOS */
.section-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title-row h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  color: #fff;
  letter-spacing: -0.02em;
}

.section-line {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-2), rgba(59,130,246,0.05));
}

/* RESUMEN */
.catalog-summary-section {
  padding: 18px 0 6px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.catalog-search-wrap {
  flex: 1 1 360px;
}

.catalog-search-input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: none;
  font-size: 1rem;
  transition: var(--transition);
}

.catalog-search-input::placeholder {
  color: #9fb2d0;
}

.catalog-search-input:focus {
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

.catalog-toolbar-copy {
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.model-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.model-summary-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 33, 67, 0.97) 0%, rgba(8, 23, 50, 0.98) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  min-height: 250px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.model-summary-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.model-summary-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.08;
  font-weight: 800;
  min-height: 48px;
}

.model-summary-card img {
  width: 100%;
  height: 122px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 14px;
  background: linear-gradient(180deg, #123c74 0%, #0a2954 100%);
}

.model-summary-card span {
  display: inline-block;
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 700;
}

.model-summary-card.active {
  border-color: rgba(59, 130, 246, 0.62);
}

/* CONFIGURADOR */
#catalogo-seccion {
  padding: 18px 0 70px;
}

#catalogo-principal {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.configurator-shell {
  display: grid;
  grid-template-columns: minmax(380px, 520px) minmax(420px, 1fr);
  gap: 32px;
  align-items: start;
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 28, 58, 0.98), rgba(6, 21, 43, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.config-left,
.config-right {
  min-width: 0;
}

.config-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 6px;
}

.config-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.config-title-row h3 {
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1;
  font-weight: 800;
  color: #fff;
}

.config-small-line {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59,130,246,.95), rgba(59,130,246,.08));
}

.config-visual {
  width: 100%;
  min-height: 360px;
  max-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d2c58, #081d3f);
  border: 1px solid rgba(255,255,255,0.06);
}

.config-visual img,
#imagenConfigurador {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 430px;
  object-fit: cover;
  display: block;
}

.ia-note-config {
  text-align: center;
  margin-top: 12px;
  font-size: .92rem;
  opacity: .85;
}

.config-actions-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 700;
  color: var(--text-soft);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

button.mini-pill {
  cursor: pointer;
}

.mini-pill:hover {
  background: rgba(59,130,246,0.14);
  border-color: rgba(59,130,246,0.34);
  color: #fff;
}

.version-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.version-tab {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 800;
  color: var(--text-soft);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.version-tab:hover {
  background: rgba(59,130,246,0.14);
  border-color: rgba(59,130,246,0.35);
  color: #fff;
}

.version-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border-color: transparent;
}

.version-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 4px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
}

.version-header h4 {
  margin: 0;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
}

.version-header p {
  margin: 0 0 12px;
  font-size: 1.03rem;
  line-height: 1.6;
  max-width: 680px;
  color: var(--text-soft);
}

.color-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
}

.color-label {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.color-swatch {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.86);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.20);
  flex: 0 0 58px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.color-swatch:hover {
  transform: scale(1.08);
}

.color-swatch.active {
  box-shadow:
    0 0 0 5px rgba(59,130,246,.18),
    inset 0 0 0 1px rgba(0,0,0,.18);
}

.color-name {
  font-size: 1rem;
  font-weight: 700;
  min-height: 22px;
  color: #fff;
}

.ficha-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.ficha-item {
  min-height: 86px;
  padding: 18px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, rgba(31, 56, 104, 0.84), rgba(26, 46, 88, 0.94));
  border: 1px solid rgba(255,255,255,0.05);
}

.ficha-label {
  display: block;
  margin-bottom: 8px;
  font-size: .88rem;
  opacity: .85;
  color: var(--text-muted);
  font-weight: 700;
}

.ficha-value {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.config-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}

/* QUIEN SOY */
.advisor-mini-section {
  padding: 30px 0 70px;
}

.advisor-mini-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(180deg, rgba(8,27,58,.92), rgba(8,20,43,.97));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: auto;
}

.advisor-mini-photo {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(59,130,246,.35);
}

.advisor-mini-info {
  flex: 1;
}

.advisor-mini-info strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: #fff;
}

.advisor-mini-info span {
  display: block;
  font-size: .95rem;
  color: #8eb7ff;
  margin-bottom: 8px;
  font-weight: 700;
}

.advisor-mini-info p {
  margin: 0;
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 520px;
}

.advisor-mini-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* CONTACTO */
.contact-pro-section {
  padding: 10px 0 70px;
}

.contact-pro-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.contact-copy,
.contact-form-card {
  background:
    linear-gradient(180deg, rgba(8, 27, 58, 0.92), rgba(8, 20, 43, 0.97));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.contact-copy {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #fff;
}

.contact-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.6;
}

.contact-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 16px;
}

.contact-benefits div {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-copy-actions {
  margin-top: 18px;
}

.contact-form-card {
  padding: 24px;
}

.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-grid input,
.contact-form-grid textarea,
.contact-form-grid select {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.contact-form-grid textarea {
  min-height: 110px;
  resize: none;
}

.contact-form-grid input:hover,
.contact-form-grid textarea:hover,
.contact-form-grid select:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}

.contact-form-grid input:focus,
.contact-form-grid textarea:focus,
.contact-form-grid select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.contact-form-grid input::placeholder,
.contact-form-grid textarea::placeholder {
  color: #b0bfd8;
}

.vehiculo-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.vehiculo-field-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

.vehiculo-field-help {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

#vehiculo {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all .25s ease;
  cursor: pointer;
}

#vehiculo option {
  color: #111827;
  background: #ffffff;
  font-size: 0.95rem;
}

select {
  max-height: 200px;
  overflow-y: auto;
}

.mensaje {
  margin-top: 8px;
  font-size: 0.9rem;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.mensaje.success {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.mensaje.error {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.admin-panel-card {
  background:
    linear-gradient(180deg, rgba(8, 27, 58, 0.92), rgba(8, 20, 43, 0.97));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
}

/* CTA FINAL */
.cta-final-section {
  padding: 0 0 80px;
}

.cta-final-card {
  background:
    linear-gradient(135deg, rgba(10, 37, 76, 0.98), rgba(8, 25, 52, 0.98));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-final-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #fff;
}

.cta-final-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 760px;
}

.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* LEGAL */
.legal-note{
  margin:18px 4px 0;
  padding:14px 16px;
  border-radius:16px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
  color:var(--text-muted);
  font-size:.92rem;
  line-height:1.7;
}

.contact-note{
  margin:18px 0 0;
  padding:14px 16px;
  border-radius:16px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.06);
  color:var(--text-soft);
  font-size:.95rem;
  line-height:1.7;
}

.legal-section {
  padding: 0 0 62px;
}

.legal-box {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(9, 29, 59, 0.96), rgba(7, 20, 40, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.legal-box h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  color: #fff;
}

.legal-box p {
  margin: 0 0 10px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: .96rem;
}

.legal-box p:last-child {
  margin-bottom: 0;
}

/* MODAL */
.modal-aviso {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 10, 22, 0.72);
  backdrop-filter: blur(8px);
}

.modal-aviso.open {
  display: flex;
}

.modal-aviso-dialog {
  width: min(720px, 100%);
  background: linear-gradient(180deg, rgba(9, 28, 57, 0.98), rgba(7, 20, 43, 0.99));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.38);
  position: relative;
  overflow: hidden;
}

.modal-close,
.modal-aviso-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.modal-aviso-body {
  padding: 32px 28px 28px;
}

.modal-aviso-body h3 {
  margin: 0 0 18px;
  font-size: 2rem;
  color: #fff;
}

.modal-aviso-body p {
  margin: 0 0 14px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1rem;
}

.modal-actions,
.modal-aviso-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* FOOTER */
.footer-dark {
  padding: 26px 0 42px;
  background: rgba(2, 8, 18, 0.65);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-content strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.footer-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* BOTON FLOTANTE */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 180;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 28px rgba(0,0,0,0.28);
  transition: var(--transition);
}

.wa-float:hover {
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .hero-pro-shell,
  .contact-pro-shell,
  .configurator-shell,
  .cta-final-card {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
  }

  .cta-final-actions {
    justify-content: flex-start;
  }

  .config-visual,
  .config-visual img,
  #imagenConfigurador {
    min-height: 320px;
    max-height: 400px;
  }
}

@media (max-width: 860px) {
  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
  }

  .main-nav {
    width: 100%;
  }

  .hero-left,
  .hero-center,
  .hero-right .advisor-card-pro,
  .contact-copy,
  .contact-form-card,
  .configurator-shell {
    border-radius: 24px;
  }

  .hero-vehicles-stage {
    min-height: 300px;
  }

  .model-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
  }

  .ficha-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .top-nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .top-actions {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-aviso-body {
    padding: 22px 18px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 64px;
    height: 64px;
    padding: 7px;
  }

  .hero-left {
    padding: 24px 20px;
  }

  .hero-left h1 {
    font-size: 2.1rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-cta-row,
  .config-bottom-actions,
  .cta-final-actions,
  .modal-actions,
  .modal-aviso-actions,
  .advisor-mini-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-cotizar-version,
  .btn-whatsapp,
  .cta-final-actions .btn,
  .modal-actions .btn,
  .modal-aviso-actions .btn {
    width: 100%;
  }

  .hero-vehicles-stage {
    min-height: 250px;
  }

  .hero-stage-left {
    width: 42%;
    left: -2%;
  }

  .hero-stage-main {
    width: 58%;
    left: 20%;
  }

  .hero-stage-right {
    width: 38%;
    right: -2%;
  }

  .model-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .configurator-shell,
  .contact-form-card,
  .contact-copy,
  .cta-final-card,
  .modal-aviso-body,
  .legal-box {
    padding: 20px;
  }

  .mini-pill,
  .version-tab {
    width: 100%;
    justify-content: center;
  }

  .color-swatch {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .contact-form-grid input,
  .contact-form-grid textarea,
  .contact-form-grid select,
  #vehiculo {
    min-height: 52px;
    font-size: 0.9rem;
  }

  .contact-form-grid textarea {
    min-height: 100px;
  }

  .advisor-mini-card {
    flex-direction: column;
    text-align: center;
  }

  .legal-note,
  .contact-note {
    font-size: .9rem;
  }
}

@media (max-width: 480px) {
  .model-summary-grid {
    grid-template-columns: 1fr;
  }

  .brand-block {
    width: 100%;
    justify-content: center;
  }

  .top-wa {
    width: 100%;
  }

  .hero-feature-row {
    flex-direction: column;
  }

  .config-visual,
  .config-visual img,
  #imagenConfigurador {
    min-height: 260px;
    max-height: 320px;
  }
}
