/* ============================================================
   CREDIMOTORS — MARILU VILLARREAL
   CORPORATE AUTOMOTIVE UI
   ============================================================ */

:root {
  --brand: #a51d50;
  --brand-dark: #82153e;
  --brand-soft: #f7edf1;

  --black: #111214;
  --charcoal: #23252a;
  --text: #202227;
  --text-secondary: #676b72;
  --text-light: #8c9096;

  --white: #ffffff;
  --background: #f6f6f6;
  --surface: #ffffff;

  --border: #dddddf;
  --border-dark: #c9c9cc;

  --green: #129e57;

  --container: 1260px;

  --shadow-card:
    0 1px 2px rgba(0,0,0,.03),
    0 10px 28px rgba(0,0,0,.05);
}

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--white);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: #fff;
  border-bottom: 1px solid #e2e2e4;
}

.nav {
  height: 78px;

  display: flex;
  align-items: center;

  gap: 42px;
}

.brand {
  display: flex;
  align-items: center;

  gap: 13px;

  flex-shrink: 0;
}

/* Más parecido a identidad institucional,
   menos parecido a ícono de app */

.brand-logo {
  width: 38px;
  height: 38px;

  border-radius: 2px;
  object-fit: contain;
}

.brand-logo-complete {
  width: 265px;
  height: 38px;
  object-fit: contain;
}

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

.brand-copy strong {
  color: #191a1d;

  font-size: 15px;
  font-weight: 900;

  letter-spacing: .08em;

  line-height: 1;
}

.brand-copy small {
  margin-top: 5px;

  color: #7d8086;

  font-size: 9px;
  font-weight: 600;
}

.nav-links {
  margin-left: auto;

  display: flex;
  align-items: center;

  height: 100%;

  gap: 34px;
}

.nav-links a {
  height: 100%;

  display: flex;
  align-items: center;

  position: relative;

  color: #50535a;

  font-size: 11px;
  font-weight: 750;
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -1px;

  width: 0;
  height: 2px;

  background: var(--brand);

  transition: width .2s ease;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;

  border: 1px solid transparent;
  border-radius: 3px;

  background: transparent;

  font-size: 10px;
  font-weight: 850;

  letter-spacing: .03em;

  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.btn:hover {
  transform: none;
}

.btn-sm {
  min-height: 40px;
  padding-inline: 17px;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  color: #222;
  background: #fff;
  border-color: #d6d6d9;
}

.btn-ghost:hover {
  background: #f5f5f5;
}

.btn-outline {
  color: #33353a;
  border-color: #d4d5d7;
  background: #fff;
}

.btn-outline:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.btn-whatsapp {
  color: #fff;
  background: var(--charcoal);
}

.btn-whatsapp:hover {
  background: #111;
}

.card-actions .btn-whatsapp {
  background: var(--charcoal);
}

.card-actions .btn-whatsapp:hover {
  background: #111;
}

.btn-dark {
  color: #fff;
  background: var(--charcoal);
}

.btn-dark:hover {
  background: #111;
}

.btn-block {
  width: 100%;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;

  padding: 0;

  background: #f1f1f2;
}

.hero-grid {
  width: 100%;
  max-width: none;

  min-height: 610px;

  display: grid;

  grid-template-columns:
    minmax(420px, 43%)
    minmax(0, 57%);

  gap: 0;
}

/* Quitamos sensación de "landing de startup" */

.hero-copy {
  position: relative;
  z-index: 5;

  padding:
    95px
    max(48px, calc((100vw - var(--container)) / 2))
    90px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: #fff;
}

.eyebrow {
  display: block;

  margin: 0 0 18px;

  color: var(--brand);

  font-size: 9px;
  font-weight: 900;

  letter-spacing: .2em;

  text-transform: uppercase;
}

.eyebrow::before {
  display: none;
}

.hero h1 {
  max-width: 590px;

  margin: 0 0 25px;

  color: #17181b;

  font-size: clamp(46px, 5.1vw, 74px);
  line-height: 1.01;

  font-weight: 750;

  letter-spacing: -.055em;
}

.hero h1 span {
  color: var(--brand);
}

.hero-copy > p {
  max-width: 560px;

  margin: 0;

  color: #62666d;

  font-size: 14px;
  line-height: 1.85;
}

.hero-copy > p strong {
  color: #25272b;
}

.hero-actions {
  margin: 33px 0 37px;

  display: flex;

  gap: 9px;
}

/* ============================================================
   INFORMACIÓN DE ASESORA HERO
   ============================================================ */

.advisor-chip {
  width: 100%;
  max-width: 475px;

  padding-top: 19px;

  display: grid;

  grid-template-columns: 42px 1fr auto;

  align-items: center;

  gap: 12px;

  border: 0;
  border-top: 1px solid #dadadd;

  border-radius: 0;

  background: transparent;

  box-shadow: none;

  backdrop-filter: none;
}

.advisor-chip .avatar {
  width: 38px;
  height: 38px;

  border-radius: 50%;
  object-fit: cover;
}

.advisor-chip > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.advisor-chip strong {
  color: #222328;

  font-size: 11px;
}

.advisor-chip span {
  margin-top: 3px;

  color: #898c92;

  font-size: 8px;
}

.advisor-chip > a {
  margin: 0;

  color: var(--brand);

  font-size: 10px;
  font-weight: 850;
}

/* ============================================================
   HERO VEHÍCULO
   ============================================================ */

.hero-visual {
  position: relative;

  min-height: 610px;

  background: #ebebec;

  display: block;
}

/* Eliminamos totalmente las órbitas */

.hero-orbit {
  display: none;
}

.hero-car {
  width: 100%;
  height: 100%;

  position: absolute;
  inset: 0;

  object-fit: cover;

  border-radius: 0;

  box-shadow: none;

  transform: none;
}

/* Las tarjetas dejan de "flotar".
   Se convierten en una ficha institucional inferior */

.floating-card {
  position: absolute;
  z-index: 5;

  top: auto;

  padding: 14px 17px;

  border: 0;
  border-radius: 0;

  box-shadow: none;

  backdrop-filter: none;

  background: rgba(255,255,255,.96);

  color: #202226;
}

.floating-card small {
  display: block;

  margin-bottom: 4px;

  color: #888c92;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .12em;

  text-transform: uppercase;
}

.floating-card strong {
  display: block;

  margin: 0;

  color: #202226;

  font-size: 11px;
}

.floating-card span {
  display: block;

  margin-top: 4px;

  color: var(--brand);

  font-size: 12px;
  font-weight: 900;
}

.floating-price {
  left: 0;
  bottom: 0;

  min-width: 230px;

  border-right: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

.floating-km {
  right: auto;
  left: 230px;
  top: auto;
  bottom: 0;

  min-width: 130px;

  border-right: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip {
  border-top: 1px solid #e1e1e3;
  border-bottom: 1px solid #e1e1e3;

  background: #fff;

  box-shadow: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  min-height: 100px;

  padding: 22px 28px;

  display: flex;
  align-items: center;

  gap: 13px;

  border-right: 1px solid #e4e4e6;
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-grid .icon {
  width: 32px;
  height: 32px;

  flex: 0 0 32px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--brand);

  background: transparent;

  border: 1px solid #d6d6d9;

  font-size: 11px;
  font-weight: 900;
}

.trust-grid article > div {
  display: flex;
  flex-direction: column;
}

.trust-grid strong {
  color: #292b2f;

  font-size: 10px;
  font-weight: 800;
}

.trust-grid small {
  margin-top: 4px;

  color: #8b8e94;

  font-size: 8px;
  line-height: 1.45;
}

/* ============================================================
   GENERALES
   ============================================================ */

.section {
  padding: 100px 0;
}

.section-head {
  margin-bottom: 37px;

  display: grid;

  grid-template-columns: 1fr 420px;

  align-items: end;

  gap: 50px;
}

.section-head h2,
.finance h2,
.trade h2,
.advisor h2 {
  margin: 7px 0 0;

  color: #1e2024;

  font-size: clamp(34px, 4vw, 51px);
  line-height: 1.05;

  font-weight: 750;

  letter-spacing: -.05em;
}

.section-head p {
  margin: 0;

  color: #74787f;

  font-size: 11px;
  line-height: 1.8;
}

/* ============================================================
   INVENTARIO
   ============================================================ */

.inventory {
  background: #f7f7f7;
}

.toolbar {
  margin-bottom: 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.filters {
  display: flex;
}

.filter {
  min-height: 38px;

  padding: 9px 17px;

  border: 1px solid #d5d5d7;
  border-right: 0;

  border-radius: 0;

  color: #575a60;

  background: #fff;

  font-size: 9px;
  font-weight: 800;
}

.filter:first-child {
  border-radius: 3px 0 0 3px;
}

.filter:last-child {
  border-right: 1px solid #d5d5d7;

  border-radius: 0 3px 3px 0;
}

.filter:hover {
  color: var(--brand);
}

.filter.active {
  color: #fff;

  border-color: var(--brand);

  background: var(--brand);
}

.search {
  width: 280px;
  height: 39px;

  display: flex;
  align-items: center;

  border: 1px solid #d5d5d7;
  border-radius: 3px;

  background: #fff;
}

.search span {
  padding-left: 13px;

  color: #898c92;
}

.search input {
  width: 100%;

  padding: 10px 12px;

  border: 0;
  outline: 0;

  background: transparent;

  color: #33353a;

  font-size: 9px;
}

/* ============================================================
   VEHÍCULOS
   ============================================================ */

.cars-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 20px;
}

.car-card {
  overflow: hidden;

  border: 1px solid #dedee0;
  border-radius: 4px;

  background: #fff;

  box-shadow: none;

  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.car-card:hover {
  transform: none;

  border-color: #c7c7ca;

  box-shadow: var(--shadow-card);
}

.car-card.featured {
  border-color: #d2b2be;
  box-shadow: none;
}

.car-card.featured::after {
  display: none;
}

.car-img {
  position: relative;

  height: 260px;

  overflow: hidden;

  background: #ededee;
}

.car-img::after {
  display: none;
}

.car-img img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .4s ease;
}

.car-card:hover .car-img img {
  transform: scale(1.015);
}

/* Etiqueta mucho más concesionario */

.badge {
  position: absolute;
  z-index: 4;

  top: 0;
  left: 0;

  padding: 8px 12px;

  border: 0;
  border-radius: 0;

  color: #fff;

  background: var(--brand);

  box-shadow: none;

  font-size: 7px;
  font-weight: 900;

  letter-spacing: .1em;

  text-transform: uppercase;
}

.badge-blue {
  background: #344860;
  color: #fff;
}

.car-body {
  padding: 21px 21px 19px;
}

.car-body h3 {
  margin: 0 0 7px;

  color: #202226;

  font-size: 19px;
  font-weight: 800;

  letter-spacing: -.035em;
}

.car-body > p {
  min-height: 37px;

  margin: 0 0 17px;

  color: #6e7279;

  font-size: 9.5px;
  line-height: 1.65;
}

.price-label {
  padding-top: 13px;

  border-top: 1px solid #e6e6e8;

  color: #92959a;

  font-size: 7px;
  font-weight: 800;

  letter-spacing: .1em;

  text-transform: uppercase;
}

.price {
  margin: 6px 0 17px;

  color: #1f2125;

  font-size: 26px;
  font-weight: 850;

  letter-spacing: -.045em;
}

.price small {
  margin-left: 2px;

  color: #777a80;

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0;
}

.meta {
  padding-top: 13px;

  display: flex;
  justify-content: space-between;

  border-top: 1px solid #e6e6e8;

  color: #4d5056;

  font-size: 8.5px;
  font-weight: 800;
}

.meta span {
  padding: 0;

  border-radius: 0;

  color: #92959a;

  background: transparent;

  font-size: 8px;
}

.card-actions {
  margin-top: 15px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 7px;
}

.card-actions .btn {
  min-height: 40px;

  padding: 10px;

  font-size: 8.5px;
}

/* ============================================================
   FINANCIAMIENTO
   ============================================================ */

.finance {
  position: relative;

  color: #fff;

  background: #202227;
}

.finance::before {
  display: none;
}

.finance-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(360px, .65fr);

  align-items: center;

  gap: 110px;
}

.finance .eyebrow,
.eyebrow.light {
  color: var(--brand);
}

.finance h2 {
  max-width: 640px;

  color: #fff;
}

.finance p {
  max-width: 620px;

  color: #b6b8bd;

  font-size: 11px;
  line-height: 1.85;
}

.finance ul {
  margin: 25px 0 0;

  padding-left: 17px;

  color: #dedfe2;

  font-size: 10px;
  line-height: 2;
}

/* ============================================================
   COTIZADOR
   ============================================================ */

.quote-card {
  padding: 30px;

  border: 0;
  border-radius: 4px;

  color: #202227;

  background: #fff;

  box-shadow: none;
}

.quote-card::before {
  display: none;
}

.quote-card > small {
  color: var(--brand);

  font-size: 8px;
  font-weight: 900;

  letter-spacing: .15em;
}

.quote-card h3 {
  margin: 8px 0 23px;

  font-size: 22px;
  font-weight: 750;

  letter-spacing: -.035em;
}

.quote-card label {
  margin-bottom: 15px;

  display: flex;
  flex-direction: column;

  gap: 7px;

  color: #62656b;

  font-size: 8px;
  font-weight: 850;

  letter-spacing: .04em;
}

.quote-card input,
.quote-card select {
  height: 44px;

  padding: 10px 12px;

  border: 1px solid #d7d7d9;
  border-radius: 2px;

  outline: none;

  color: #282a2f;
  background: #fff;

  font-size: 10px;
}

.quote-card input:focus,
.quote-card select:focus {
  border-color: var(--brand);

  box-shadow: none;
}

.fineprint {
  margin-top: 12px !important;

  color: #8b8e94 !important;

  font-size: 7.5px !important;
  line-height: 1.55 !important;
}

/* ============================================================
   AUTO A CUENTA
   ============================================================ */

.trade {
  padding: 0;

  background: #fff;
}

.trade-card {
  width: 100%;
  max-width: none;

  min-height: 300px;

  padding:
    60px
    max(48px, calc((100vw - var(--container)) / 2));

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 60px;

  border: 0;
  border-radius: 0;

  background: #f1f1f2;
}

.trade-card::after {
  display: none;
}

.trade-card h2 {
  max-width: 720px;

  font-size: clamp(32px, 4vw, 49px);
}

.trade-card p {
  max-width: 680px;

  color: #70737a;

  font-size: 11px;
  line-height: 1.8;
}

/* ============================================================
   MARILU
   ============================================================ */

.advisor {
  background: #fff;
}

.advisor-card {
  display: grid;

  grid-template-columns: 280px 1fr;

  align-items: center;

  gap: 75px;
}

.advisor-portrait {
  height: 300px;

  display: grid;
  place-items: center;

  border: 1px solid #dedee0;
  border-radius: 3px;

  background: #f3f3f4;
}

.advisor-portrait img {
  width: 180px;
  height: 180px;

  border-radius: 50%;

  object-fit: cover;
  object-position: center 28%;
}

.advisor-portrait::before {
  display: none;
}

.advisor-portrait span {
  width: 110px;
  height: 110px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #fff;
  background: var(--brand);

  box-shadow: none;

  font-size: 28px;
  font-weight: 850;
}

.advisor-copy p {
  max-width: 670px;

  color: #70737a;

  font-size: 11px;
  line-height: 1.85;
}

.advisor-contact {
  margin-top: 24px;

  display: flex;
  align-items: center;

  gap: 22px;
}

.advisor-contact > a:first-child {
  color: #292b30;

  font-size: 15px;
  font-weight: 850;
}

/* ============================================================
   WHATSAPP
   ============================================================ */

.wa-float {
  position: fixed;
  z-index: 90;

  right: 24px;
  bottom: 24px;

  width: 60px;
  height: 60px;

  display: block;

  border: 0;
  border-radius: 11px;

  background: transparent;

  box-shadow: 0 8px 24px rgba(0,0,0,.16);

  transition: transform .2s ease;
}

.wa-float:hover {
  transform: scale(1.05);
}

.wa-float svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  padding: 55px 0;

  color: #fff;

  background: #181a1e;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.3fr .7fr 1fr;

  gap: 70px;
}

.footer-brand {
  margin-bottom: 13px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 6px;
}

.footer-grid > div > strong {
  margin-bottom: 5px;

  color: #fff;

  font-size: 8px;
  font-weight: 900;

  letter-spacing: .12em;

  text-transform: uppercase;
}

.footer-grid p,
.footer-grid span,
.footer-grid a {
  margin: 0;

  color: #999ca2;

  font-size: 9px;
  line-height: 1.8;
}

/* ============================================================
   MODAL
   ============================================================ */

.car-modal {
  width: min(960px, calc(100% - 30px));

  padding: 0;

  border: 0;
  border-radius: 4px;

  background: #fff;

  box-shadow:
    0 35px 100px rgba(0,0,0,.35);
}

.car-modal::backdrop {
  background: rgba(12,13,15,.75);

  backdrop-filter: none;
}

.modal-close {
  position: absolute;
  z-index: 10;

  right: 15px;
  top: 15px;

  width: 37px;
  height: 37px;

  border: 1px solid #d7d7d9;
  border-radius: 50%;

  color: #222;

  background: #fff;

  box-shadow: none;

  font-size: 22px;
}

.modal-content {
  min-height: 480px;

  display: grid;

  grid-template-columns:
    1.1fr .9fr;
}

.modal-content > img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  background: #eee;
}

.modal-content > div {
  padding: 45px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-content h2 {
  margin: 8px 0;

  color: #202227;

  font-size: 31px;
  font-weight: 800;

  letter-spacing: -.045em;
}

.modal-content p {
  color: #74777d;

  font-size: 10px;
  line-height: 1.7;
}

.modal-meta {
  padding-top: 15px;

  border-top: 1px solid #e1e1e3;
}

.hidden {
  display: none !important;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .nav-links {
    display: none;
  }

  .nav > .btn {
    margin-left: auto;
  }

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

  .hero-copy {
    padding: 70px 40px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid article:nth-child(2) {
    border-right: 0;
  }

  .cars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .finance-grid {
    grid-template-columns: 1fr 380px;

    gap: 55px;
  }

  .advisor-card {
    grid-template-columns: 230px 1fr;

    gap: 45px;
  }

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

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 680px) {

  .container {
    width: calc(100% - 24px);
  }

  .site-header .nav {
    height: 66px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;

    font-size: 16px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy small {
    display: none;
  }

  .site-header .btn-sm {
    width: auto;
    height: 38px;

    min-height: 38px;

    padding: 8px 12px;

    font-size: 8px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    padding: 52px 22px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy > p {
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .advisor-chip {
    grid-template-columns: 38px 1fr;

    max-width: none;
  }

  .advisor-chip > a {
    grid-column: 2;

    margin-top: -5px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-car {
    height: 330px;
  }

  .floating-card {
    padding: 10px 12px;
  }

  .floating-price {
    min-width: 190px;
  }

  .floating-km {
    left: 190px;
    min-width: 120px;
  }

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

  .trust-grid article {
    min-height: 82px;

    padding: 15px 11px;
  }

  .trust-grid small {
    display: none;
  }

  .section {
    padding: 65px 0;
  }

  .section-head {
    margin-bottom: 25px;
  }

  .section-head h2,
  .finance h2,
  .trade h2,
  .advisor h2 {
    font-size: 33px;
  }

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

  .filters {
    overflow-x: auto;

    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
  }

  .search {
    width: 100%;
  }

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

  .car-img {
    height: 260px;
  }

  .finance-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .quote-card {
    padding: 23px;
  }

  .trade-card {
    padding: 42px 24px;

    align-items: flex-start;
    flex-direction: column;
  }

  .trade-card .btn {
    width: 100%;
  }

  .advisor-card {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .advisor-portrait {
    height: 190px;
  }

  .advisor-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .advisor-contact .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .wa-float {
    right: 15px;
    bottom: 15px;

    width: 52px;
    height: 52px;
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-content > img {
    height: 250px;
  }

  .modal-content > div {
    padding: 25px 21px;
  }
}

/* =========================================================
   AJUSTE CORPORATIVO FINAL
   Hero 100vh + crema + rojo vino + escalón negro
   ========================================================= */

:root {
  /* Rojo vino más serio y más rojo */
  --brand: #a5162d;
  --brand-dark: #7f1023;
  --brand-soft: #f4e9e5;

  /* Blanco crema */
  --white: #f7f3ec;
  --background: #f3efe8;
  --surface: #faf7f1;

  --text: #1b1b1d;
  --text-secondary: #68655f;

  --black: #111111;
  --charcoal: #191919;
}

/* Fondo general crema */
body {
  background: var(--white);
}

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

.site-header {
  background: rgba(247, 243, 236, 0.97);
  border-bottom: 1px solid #ddd7ce;
}

.brand-mark {
  background: var(--brand);
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-links a::after {
  background: var(--brand);
}

/* =========================================================
   HERO ADAPTADO A LA PANTALLA
   ========================================================= */

/*
  HEADER = 78px
  ESCALÓN = 92px

  Entonces el hero ocupa:
  100vh - header - escalón

  Así el usuario ve el hero completo + beneficios
  sin tener que hacer scroll.
*/

.hero {
  min-height: calc(100svh - 78px - 92px);
  padding: 0;
  background: var(--white);
}

.hero-grid {
  min-height: calc(100svh - 78px - 92px);
  max-height: calc(100svh - 78px - 92px);

  grid-template-columns:
    minmax(410px, 42%)
    minmax(0, 58%);
}

/* =========================================================
   TEXTO HERO
   ========================================================= */

.hero-copy {
  min-height: 100%;
  padding-top: clamp(40px, 6vh, 76px);
  padding-bottom: clamp(35px, 5vh, 65px);

  background: var(--white);
}

.hero .eyebrow {
  color: var(--brand);
}

.hero h1 {
  margin-bottom: clamp(14px, 2vh, 24px);

  font-size: clamp(
    42px,
    min(5vw, 8vh),
    70px
  );

  color: #191919;
}

.hero h1 span {
  color: var(--brand);
}

.hero-copy > p {
  max-width: 550px;

  color: #625f59;

  font-size: clamp(11px, 1.1vw, 14px);
  line-height: 1.75;
}

.hero-copy > p strong {
  color: #202020;
}

.hero-actions {
  margin-top: clamp(18px, 3vh, 32px);
  margin-bottom: clamp(20px, 3vh, 34px);
}

/* =========================================================
   ASESORA EN HERO
   ========================================================= */

.advisor-chip {
  border-top-color: #d6d0c8;
}

.advisor-chip .avatar {
  background: #181818;
}

.advisor-chip strong {
  color: #202020;
}

.advisor-chip span {
  color: #858078;
}

.advisor-chip > a {
  color: var(--brand);
}

/* =========================================================
   FOTO HERO
   ========================================================= */

.hero-visual {
  min-height: 100%;
  height: 100%;

  background: #e8e3dc;
}

.hero-car {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: 0;
}

/* =========================================================
   FICHA INFERIOR DEL AUTO
   ========================================================= */

.floating-card {
  background: rgba(247, 243, 236, 0.97);
  color: #1e1e1e;
}

.floating-card strong {
  color: #1d1d1d;
}

.floating-card span {
  color: var(--brand);
}

.floating-price,
.floating-km {
  border-color: #d6d0c8;
}

/* =========================================================
   ESCALÓN NEGRO
   ========================================================= */

.trust-strip {
  height: 92px;

  display: flex;
  align-items: stretch;

  background: #111111;

  border: 0;

  box-shadow: none;
}

.trust-grid {
  width: min(var(--container), calc(100% - 64px));

  margin-inline: auto;

  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  min-height: 92px;

  padding: 18px 25px;

  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid .icon {
  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.27);

  background: transparent;
}

.trust-grid strong {
  color: #ffffff;

  font-size: 10px;
}

.trust-grid small {
  color: #999999;

  font-size: 8px;
}

/* =========================================================
   BOTONES
   ========================================================= */

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-whatsapp {
  background: var(--charcoal);
}

/* =========================================================
   INVENTARIO EN CREMA
   ========================================================= */

.inventory {
  background: #f3efe8;
}

.car-card {
  background: #faf7f1;
  border-color: #ddd7ce;
}

.car-body {
  background: #faf7f1;
}

.car-body h3 {
  color: #1c1c1c;
}

.price {
  color: #181818;
}

.price-label,
.meta {
  border-color: #ddd7ce;
}

/* El rojo se usa con más moderación */
.badge {
  background: var(--brand);
}

/* =========================================================
   AUTO A CUENTA
   ========================================================= */

.trade-card {
  background: #ebe6de;
}

/* =========================================================
   FINANCIAMIENTO
   ========================================================= */

.finance {
  background: #191919;
}

/* Formulario crema en vez de blanco puro */

.quote-card {
  background: #f7f3ec;
}

.quote-card input,
.quote-card select {
  background: #fcf9f4;
}

/* =========================================================
   MARILU
   ========================================================= */

.advisor {
  background: var(--white);
}

.advisor-portrait {
  background: #ebe6df;
  border-color: #d8d2ca;
}

.advisor-portrait span {
  background: var(--brand);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: #111111;
}

/* =========================================================
   PANTALLAS BAJAS
   Ej. laptop 1366x768
   ========================================================= */

@media (min-width: 1051px) and (max-height: 800px) {

  .hero-copy {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(40px, 4.5vw, 58px);
    margin-bottom: 15px;
  }

  .hero-copy > p {
    font-size: 11px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 19px;
    margin-bottom: 20px;
  }

  .btn {
    min-height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .advisor-chip {
    padding-top: 14px;
  }
}

/* =========================================================
   PANTALLAS MUY BAJAS
   ========================================================= */

@media (min-width: 1051px) and (max-height: 680px) {

  .trust-strip {
    height: 78px;
  }

  .trust-grid article {
    min-height: 78px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .trust-grid small {
    display: none;
  }

  .hero,
  .hero-grid {
    min-height: calc(100svh - 78px - 78px);
    max-height: calc(100svh - 78px - 78px);
  }

  .hero h1 {
    font-size: 48px;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  /*
    En tablet dejamos de forzar 100vh porque el hero
    se vuelve vertical y sería demasiado apretado.
  */

  .hero,
  .hero-grid {
    min-height: auto;
    max-height: none;
  }

  .hero-copy {
    padding: 65px 40px;
  }

  .hero-visual {
    min-height: 470px;
    height: 470px;
  }

  .trust-strip {
    height: auto;
  }

  .trust-grid {
    width: min(var(--container), calc(100% - 40px));
  }

  .trust-grid article {
    min-height: 86px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

  .hero-copy {
    padding: 46px 22px;
  }

  .hero h1 {
    font-size: 41px;
  }

  .hero-visual {
    height: 330px;
    min-height: 330px;
  }

  .trust-grid {
    width: 100%;

    grid-template-columns: 1fr 1fr;
  }

  .trust-grid article {
    min-height: 78px;

    padding: 13px 15px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .trust-grid article:first-child {
    border-left: 0;
  }

  .trust-grid strong {
    font-size: 9px;
  }
}

/* =========================================================
   LEGIBILIDAD
   ========================================================= */

.nav-links a {
  font-size: 13px;
}

.brand-copy small {
  display: block;
  color: #625f59;
  font-size: 11px;
}

.eyebrow,
.hero .eyebrow {
  font-size: 11px;
}

.hero-copy > p,
.section-head p,
.finance p,
.trade-card p,
.advisor-copy p {
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions .btn {
  font-size: 15px;
}

.site-header .brand-copy small {
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .site-header .brand-copy small {
    font-size: 10px;
  }
}

.advisor-chip strong {
  font-size: 14px;
}

.advisor-chip span,
.advisor-chip > a {
  font-size: 12px;
}

.floating-card small {
  font-size: 10px;
}

.floating-card strong,
.floating-card span {
  font-size: 14px;
}

.trust-grid strong {
  font-size: 14px;
}

.trust-grid small {
  font-size: 12px;
}

.filter,
.search input {
  font-size: 13px;
}

.badge {
  font-size: 11px;
}

/* Hero: ficha premium del vehículo destacado */
.hero-specs {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 22px;
  display: flex;
  align-items: center;
  overflow: visible;
  border: 0;
  border-left: 4px solid #4c8fbd;
  border-radius: 0;
  background: rgba(220, 237, 248, .95);
  box-shadow: 0 8px 24px rgba(24, 62, 88, .14);
}

.hero-specs .floating-card {
  position: static;
  min-width: 0;
  padding: 10px 17px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #173b56;
}

.hero-specs .floating-price {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 14px;
  align-items: center;
  border-right: 1px solid rgba(38, 91, 127, .22);
}

.hero-specs .floating-card small {
  margin: 0 0 2px;
  color: #527b97;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
}

.hero-specs .floating-card strong {
  color: #12344e;
  font-size: 13px;
  line-height: 1.25;
}

.hero-specs .floating-card span {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: #164f78;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .hero-specs {
    left: 0;
    right: auto;
    bottom: 14px;
    max-width: calc(100% - 14px);
  }

  .hero-specs .floating-card {
    padding: 9px 11px;
  }

  .hero-specs .floating-price {
    column-gap: 9px;
  }

  .hero-specs .floating-card small {
    font-size: 8px;
  }

  .hero-specs .floating-card strong,
  .hero-specs .floating-card span {
    font-size: 11px;
  }
}

.car-body > p {
  font-size: 14px;
  line-height: 1.55;
}

.price-label {
  font-size: 11px;
}

.price small {
  font-size: 12px;
}

.meta {
  font-size: 13px;
}

.meta span {
  font-size: 12px;
}

.card-actions .btn {
  font-size: 13px;
}

.finance ul {
  font-size: 14px;
}

.quote-card > small {
  font-size: 11px;
}

.quote-card label {
  font-size: 13px;
}

.quote-card input,
.quote-card select {
  font-size: 14px;
}

.fineprint {
  font-size: 11px !important;
}

/* Tipografia uniforme para acciones */
.btn,
.filter {
  font-size: 13px;
}

.hero h1,
.section-head h2,
.finance h2,
.trade h2,
.advisor h2,
.car-body h3,
.quote-card h3 {
  font-family: "Lora", Georgia, serif;
  letter-spacing: -0.02em;
}

.hero h1 span {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
}

/* Etiquetas independientes estilo catálogo digital */
.hero-tags {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
}

.hero-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 3px;
  color: #7f1023;
  background: #f4e1e5;
  box-shadow: 0 5px 16px rgba(127, 16, 35, .16);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-tag-featured {
  top: 24px;
  left: 24px;
  border-left: 3px solid var(--brand);
  color: #fff;
  background: #171719;
}

.hero-tag-km {
  top: 24px;
  right: 24px;
  color: #fff;
  background: var(--brand);
}

.hero-car-caption {
  position: absolute;
  z-index: 5;
  left: 26px;
  bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #2b2021;
  text-shadow: 0 1px 8px rgba(255, 255, 255, .9);
}

.hero-car-caption strong {
  font-size: 15px;
  font-weight: 850;
}

.hero-car-caption span {
  padding-left: 12px;
  border-left: 1px solid rgba(127, 16, 35, .32);
  color: var(--brand);
  font-size: 14px;
  font-weight: 850;
}

@media (max-width: 700px) {
  .hero-tag-featured {
    top: 14px;
    left: 14px;
  }

  .hero-tag-km {
    top: 14px;
    right: 14px;
  }

  .hero-tag {
    min-height: 27px;
    padding: 6px 9px;
    font-size: 8px;
  }

  .hero-car-caption {
    left: 14px;
    bottom: 15px;
    gap: 8px;
  }

  .hero-car-caption strong,
  .hero-car-caption span {
    font-size: 11px;
  }

  .hero-car-caption span {
    padding-left: 8px;
  }
}

.trust-grid .icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;

  border: 0;
  border-radius: 0;

  font-size: 18px;
}

/* Beneficios limpios bajo el hero */
.trust-strip {
  height: 92px;
  display: flex;
  align-items: stretch;
  border: 0;
  border-bottom: 1px solid #e5dfd7;
  background: #fff;
}

.trust-grid {
  width: min(var(--container), calc(100% - 64px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.trust-grid article {
  min-height: 92px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: transparent;
}

.trust-grid .icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.trust-grid strong {
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.trust-grid .icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 700px) {
  .trust-strip {
    height: auto;
  }

  .trust-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-grid article {
    min-height: 66px;
    padding: 12px 20px;
    border-bottom: 1px solid #ece7e0;
  }

  .trust-grid .icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 18px;
  }

  .trust-grid strong {
    font-size: 14px;
  }

  .trust-grid .icon svg {
    width: 18px;
    height: 18px;
  }
}

/* =========================================================
   EXPERIENCIA MÓVIL FINAL
   ========================================================= */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 64px;
  }

  body {
    min-width: 0;
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 56px 0;
  }

  /* Header */
  .site-header .nav {
    width: calc(100% - 24px);
    height: 64px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    gap: 0;
  }

  .brand-logo-complete {
    width: clamp(150px, 46vw, 185px);
    max-width: 100%;
    height: auto;
  }

  .site-header .brand-copy {
    display: none;
  }

  .site-header .btn-sm {
    min-height: 40px;
    padding: 9px 13px;
    flex: 0 0 auto;
    font-size: 11px;
  }

  /* Hero */
  .hero,
  .hero-grid {
    min-height: 0;
    max-height: none;
  }

  .hero-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    min-height: 0;
    padding: 42px 20px 34px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: .17em;
  }

  .hero h1 {
    max-width: 340px;
    margin: 15px 0 17px;
    font-size: clamp(39px, 12vw, 50px);
    line-height: .98;
  }

  .hero-copy > p {
    max-width: 440px;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    margin: 24px 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn {
    min-height: 48px;
    font-size: 14px;
  }

  .advisor-chip {
    width: 100%;
    padding-top: 16px;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 11px;
  }

  .advisor-chip .avatar {
    width: 42px;
    height: 42px;
  }

  .advisor-chip > a {
    grid-column: 2;
    margin-top: 2px;
    font-size: 12px;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    height: auto;
    min-height: 310px;
    aspect-ratio: 4 / 3;
  }

  .hero-car {
    width: 100%;
    height: 100%;
    object-position: center;
  }

  .hero-tag {
    min-height: 28px;
    padding: 7px 9px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
    font-size: 8px;
  }

  .hero-tag-featured {
    top: 12px;
    left: 12px;
  }

  .hero-tag-km {
    top: 12px;
    right: 12px;
  }

  .hero-car-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-content: space-between;
    gap: 8px;
  }

  .hero-car-caption strong,
  .hero-car-caption span {
    font-size: 11px;
    white-space: nowrap;
  }

  /* Beneficios */
  .trust-grid article {
    min-height: 64px;
    padding: 12px 18px;
    gap: 13px;
  }

  /* Inventario */
  .section-head {
    margin-bottom: 25px;
    gap: 12px;
  }

  .section-head h2,
  .finance h2,
  .trade h2,
  .advisor h2 {
    margin-top: 8px;
    font-size: clamp(31px, 9vw, 38px);
    line-height: 1.08;
  }

  .section-head p,
  .finance p,
  .trade-card p,
  .advisor-copy p {
    font-size: 14px;
    line-height: 1.65;
  }

  .toolbar {
    margin-bottom: 24px;
    gap: 12px;
  }

  .filters {
    width: calc(100vw - 16px);
    margin-right: -16px;
    padding-right: 16px;
    gap: 7px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .filter {
    min-height: 40px;
    padding: 9px 15px;
    scroll-snap-align: start;
  }

  .search {
    width: 100%;
    min-height: 46px;
  }

  .cars-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .car-card {
    min-width: 0;
  }

  .car-img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .car-body {
    padding: 20px;
  }

  .car-body h3 {
    font-size: 24px;
  }

  .car-body > p,
  .meta {
    overflow-wrap: anywhere;
  }

  .price {
    font-size: 25px;
  }

  .card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .card-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding-inline: 9px;
    font-size: 12px;
  }

  /* Financiamiento */
  .finance-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .finance ul {
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
  }

  .quote-card {
    min-width: 0;
    padding: 24px 20px;
  }

  .quote-card h3 {
    font-size: 25px;
    line-height: 1.2;
  }

  .quote-card input,
  .quote-card select {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .quote-card .btn {
    min-height: 48px;
    white-space: normal;
  }

  /* Auto a cuenta y asesora */
  .trade-card {
    width: calc(100% - 32px);
    padding: 32px 22px;
    gap: 24px;
  }

  .trade-card .btn,
  .advisor-contact .btn {
    width: 100%;
    min-height: 48px;
  }

  .advisor-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .advisor-portrait {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .advisor-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
  }

  .advisor-contact {
    width: 100%;
    gap: 16px;
  }

  /* Footer y modal */
  footer {
    padding: 42px 0 88px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-brand .brand-logo-complete {
    width: 190px;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .car-modal {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    overflow-y: auto;
  }

  .modal-content {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .modal-content > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .modal-content > div {
    padding: 25px 20px;
  }

  .modal-content h2 {
    padding-right: 38px;
    font-size: 28px;
  }
}

@media (max-width: 380px) {
  .brand-logo-complete {
    width: 142px;
  }

  .site-header .btn-sm {
    padding-inline: 10px;
    font-size: 10px;
  }

  .hero-copy {
    padding-inline: 17px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-tag {
    font-size: 7px;
  }

  .hero-car-caption strong,
  .hero-car-caption span {
    font-size: 10px;
  }
}

/* Retrato editorial de la asesora */
@media (min-width: 701px) {
  .advisor-card {
    grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
    gap: clamp(55px, 6vw, 90px);
  }

  .advisor-portrait {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .advisor-portrait picture,
  .advisor-portrait img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .advisor-portrait img {
    border-radius: 0;
    object-fit: cover;
    object-position: center 57%;
  }
}

@media (max-width: 700px) {
  .advisor-portrait {
    border: 1px solid #d8d2ca;
    border-radius: 3px;
    background: #ebe6df;
  }

  .advisor-portrait picture {
    width: 145px;
    height: 145px;
    display: block;
  }

  .advisor-portrait img {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
  }
}

/* Navegación activa y menú móvil */
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--brand);
}

.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.menu-toggle,
.menu-backdrop {
  display: none;
}

.advisor-chip,
.advisor-card,
.footer-grid > div:nth-child(2),
.car-card {
  cursor: pointer;
}

@media (max-width: 700px) {
  .site-header {
    z-index: 120;
  }

  .site-header .nav {
    gap: 8px;
  }

  .site-header .nav > .btn {
    order: 2;
    margin-left: auto;
  }

  .menu-toggle {
    position: relative;
    z-index: 132;
    order: 3;
    width: 42px;
    height: 42px;
    padding: 10px;
    display: inline-flex;
    flex: 0 0 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #d8d1c9;
    border-radius: 3px;
    color: #222;
    background: transparent;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
    transition: transform .22s ease, opacity .18s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    z-index: 131;
    top: 64px;
    right: 0;
    width: min(82vw, 330px);
    height: calc(100dvh - 64px);
    margin: 0;
    padding: 28px 22px;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    background: #f7f3ec;
    box-shadow: -18px 20px 45px rgba(0, 0, 0, .16);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .24s ease, visibility .24s ease;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 14px 4px;
    border-bottom: 1px solid #ded7cf;
    font-size: 15px;
  }

  .nav-links a::after {
    left: 0;
    bottom: -1px;
    height: 2px;
  }

  .menu-backdrop {
    position: fixed;
    z-index: 119;
    inset: 64px 0 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: rgba(12, 12, 14, .62);
    transition: opacity .22s ease, visibility .22s ease;
  }

  .menu-backdrop.open {
    visibility: visible;
    opacity: 1;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Retrato con la misma proporción visual que escritorio */
  .advisor-portrait {
    width: 100%;
    height: 230px;
    aspect-ratio: auto;
  }

  .advisor-portrait img {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 28%;
  }
}

@media (max-width: 380px) {
  .site-header .nav > .btn {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .advisor-portrait {
    border: 1px solid #d8d2ca;
    border-radius: 3px;
    background: #ebe6df;
  }

  .advisor-portrait picture {
    width: 145px;
    height: 145px;
    display: block;
  }

  .advisor-portrait img {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
  }
}
