/* ==========================================================================
   We Buy Exotics — Marque landing page (Acura NSX and friends)
   Light counterpart to the dark homepage. Everything here is written against
   the tokens in styles.css so a second marque only needs new copy and photos.
   ========================================================================== */

/* Shared light-section shell. The Figma frames alternate between a plain
   white plate and the #fafafa one, both hairlined top and bottom. */
.msection{
  padding: var(--pad-y) max(var(--gutter), calc((100% - var(--maxw)) / 2));
  background:#fff;
  border-top:1px solid var(--n200);
  border-bottom:1px solid var(--n200);
}
.msection--tint{ background:var(--n50); }
.msection--flush{ border-top:0; }

.msection__inner{ max-width:var(--maxw); margin:0 auto; }

.mlede{ color:var(--n700); }

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

.mhero{
  padding: var(--pad-y) max(var(--gutter), calc((100% - var(--maxw)) / 2));
  background:var(--n50);
}
.mhero__inner{
  display:flex;
  align-items:center;
  gap:48px;
  max-width:var(--maxw);
  margin:0 auto;
}
/* Las estrellas tienen que caer a la misma altura que en el home: 87px abajo
   del nav, o sea y=167. Centrar la columna no sirve para eso, porque la
   posicion depende del alto del texto: con el titulo de dos tamanos la copy
   mide 310 y las estrellas caen en 192, pero en una pagina con la bajada mas
   larga la copy crece y las estrellas suben. Pegada arriba con 22px de
   padding dan 167 fijo en las 98 paginas, sin importar cuanto ocupe el texto.
   145 (tope del contenido del hero) + 22 = 167. */
.mhero__copy{
  flex:1 1 0;
  min-width:0;
  align-self:flex-start;
  padding-top:22px;
  display:flex;
  flex-direction:column;
  gap:32px;
}
/* El gap uniforme se reemplaza por margenes porque las dos distancias de
   adentro del intro no son iguales en el home: de las estrellas al titulo hay
   33px y del titulo al parrafo 41. Ver .hero__title / .hero__lede en
   styles.css. */
.mhero__intro{ display:flex; flex-direction:column; gap:0; }

/* Same star row as the homepage hero, restated for the light plate. */
.mhero__rating .hero__rating-text{ color:var(--ink); }

.mhero__title{
  /* 33px replican el hueco optico del home. Alla ese numero no es el margen
     (es 16) sino el resultado de que .hero__title reserve 134px para un texto
     de 100 y centre el sobrante. Aca el titulo mide 56px a 1.15 de interlinea,
     o sea 129 en dos lineas: llena la caja y no deja sobrante, asi que el
     mismo CSS daria 16 y no 33. Por eso van los opticos directo, y el
     min-height se saca para que no vuelva a aparecer sobrante al bajar el
     cuerpo a 48 o 40px en tablet y telefono. */
  margin:34px 0 0;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  max-width:552px;
  color:var(--ink);
}
/* Dos tamanos, como el titulo del home: la primera linea grande y la segunda
   mas chica. Antes el h1 era un solo tamano de 56px a 1.15 de interlinea, o
   sea 64.4px por linea; ahora son 56 + 44 y las dos lineas quedan mas juntas.
   Los -4px terminan de cerrar el hueco: 56px a interlinea 1 deja aire de
   sobra abajo de las mayusculas, que no tienen descendentes. */
.mhero__title-lg,
.mhero__title-sm{
  display:block;
  font-family:var(--font-head);
  font-weight:900;
  letter-spacing:2px;
  text-transform:uppercase;
}
.mhero__title-lg{ font-size:56px; line-height:1; }
.mhero__title-sm{ font-size:42px; line-height:44px; margin-top:-4px; }
.mhero__lede{ margin-top:40px; max-width:560px; color:var(--n700); }

.mhero__actions{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.mhero__call{ display:flex; flex-direction:column; gap:4px; }
.mhero__call b{
  font-weight:500;
  font-size:14px;
  line-height:20px;
  color:var(--ink);
}
.mhero__call a:hover{ text-decoration:underline; }
.mhero__call span{
  font-family:var(--font-head);
  font-weight:500;
  font-size:12px;
  line-height:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--n600);
}

/* The photo plate carries the "we already bought one of these" receipt. */
.mhero__plate{
  position:relative;
  flex:1 1 0;
  align-self:flex-start;
  min-width:0;
  height:404px;
  border-radius:var(--r-xl);
  overflow:hidden;
}
.mhero__plate img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  /* Las fotos vienen en formatos muy distintos (recortes 1200x451, cuadrados
     1024, fotos 1408x768). Con "cover" el auto quedaba cortado por la mitad;
     con "contain" se ve entero venga como venga y el fondo claro tapa el resto. */
  object-fit:contain;
  object-position:center 46%;
  background:#f4f5f6;
}
/* El texto va sobre la foto, abajo a la izquierda, sin caja. Antes era una
   barra gris translucida de lado a lado; el degradado de .mhero__plate::after
   es lo que ahora le da el contraste. */
.mhero__receipt{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:24px;
  color:#fff;
}
.mhero__receipt b{
  display:block;
  font-family:var(--font-head);
  font-weight:700;
  font-size:32px;
  line-height:38px;
  color:#fff;
}
.mhero__receipt span{
  display:block;
  font-size:16px;
  line-height:24px;
  color:rgba(255,255,255,.82);
}
/* El degradado arranca a media foto y solo del lado de abajo, para no
   ensuciar el auto. Va sobre la imagen pero debajo del texto. */
.mhero__plate::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 22%, rgba(0,0,0,0) 55%);
}
.mhero__receipt{ z-index:1; }

/* Una foto de un auto real llena la caja; el recorte de estudio, no: necesita
   "contain" para verse entero sobre el fondo claro. Antes la regla listaba los
   prefijos de las fotos, y cada tanda nueva volvia a quedar afuera. Ahora es al
   reves: cubrir es el default y la excepcion son los recortes, que si tienen
   nombre fijo (wbe-std-, wbe-about-, wbe-car-, *-model-*). */
.mhero__plate img,
.bought__shot img{ object-fit:cover; }

.mhero__plate img[src*="wbe-std-"],
.mhero__plate img[src*="wbe-about-"],
.mhero__plate img[src*="wbe-car-"],
.mhero__plate img[src*="-model-"],
.bought__shot img[src*="wbe-std-"],
.bought__shot img[src*="wbe-about-"],
.bought__shot img[src*="wbe-car-"],
.bought__shot img[src*="-model-"]{ object-fit:contain; }

/* El hero de marca/modelo pasa solo de un auto al otro, sin flechas ni puntos.
   El cambio es un fundido corto: la foto y la ficha de texto bajan juntas,
   se reemplaza el contenido y vuelven a subir. */
.mhero__plate img,
.mhero__plate::after,
.mhero__receipt{ transition:opacity .45s ease; }
.mhero__plate.is-fading img,
.mhero__plate.is-fading::after,
.mhero__plate.is-fading .mhero__receipt{ opacity:0; }
@media (prefers-reduced-motion:reduce){
  .mhero__plate img,
  .mhero__receipt{ transition:none; }
}

/* ==========================================================================
   STATS STRIP — the dark homepage rail, inverted
   ========================================================================== */

.stats--light{
  padding-top:32px;
  padding-bottom:32px;
  background:#fff;
  border-bottom:1px solid var(--n200);
}
.stats--light .stat__num{ font-size:48px; line-height:48px; color:var(--ink); }
.stats--light .stat__label{ color:var(--n700); }
.stats--light{ --stat-rule:var(--n200); }
.stats--light .icon--star-lg{ fill:var(--ink); }

/* ==========================================================================
   ABOUT THE MARQUE
   ========================================================================== */

.mabout{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:120px max(var(--gutter), calc((100% - var(--maxw)) / 2));
  /* Not pure white: the plate is a shade off so the white marque silhouette
     over it actually reads (sampled 248 -> 245 across the Figma frame). */
  background:linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}
.mabout__inner{
  position:relative;
  display:flex;
  align-items:center;
  gap:64px;
  max-width:var(--maxw);
  margin:0 auto;
}
/* Figma places a 1734x561 car inside the 568px column at left:-1166, mirrored,
   and lets the section clip it — so the frame lands on the rear quarter. Those
   numbers are kept as ratios of the column so it survives a fluid layout. */
.mabout__stage{
  position:relative;
  flex:1 1 0;
  min-width:0;
  height:360px;
}
.mabout__car{
  position:absolute;
  top:50%;
  right:0;
  width:250%;          /* 1734.1 / 568 */
  max-width:none;
  height:auto;
  transform:translateY(-50%) scaleX(-1);
}
/* The marque cutouts are shot facing left and the mirror turns them to face
   the copy. The service pages' cutouts already face right, so they keep the
   same crop and scale and only skip the flip — otherwise the frame lands on
   the tail instead of the nose. */
.mabout--unmirrored .mabout__car{ transform:translateY(-50%); }
/* Marque silhouette drifting off the top-right of the section. */
.mabout__watermark{
  position:absolute;
  top:-72px;
  left:838px;
  z-index:-1;
  width:680px;
  max-width:none;
  height:auto;
  pointer-events:none;
}
.mabout__copy{
  flex:1 1 0;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.mabout__head{ display:flex; flex-direction:column; gap:12px; }
.mabout__body{ display:flex; flex-direction:column; gap:16px; }
.mabout__body p:first-child{ font-weight:700; color:var(--ink); }
.mabout__body p{ color:var(--n700); }

/* ==========================================================================
   HOW IT WORKS — five steps, first one expanded
   ========================================================================== */

.mflow__inner{ display:flex; flex-direction:column; gap:48px; }
.mflow__head{ display:flex; align-items:center; justify-content:space-between; gap:48px; }
.mflow__intro{ display:flex; flex-direction:column; gap:16px; width:320px; flex:none; }
.mflow__intro .h2{ font-size:48px; }
/* El titulo de Financing es mas largo que el de las paginas de marca y a
   320px partia "Lender," en un renglon suelto. La columna se ensancha solo
   en esa pagina; el hueco sale del espacio libre de la fila, asi que la
   foto de al lado no se achica. */
.mflow__head:has(#how-financing) .mflow__intro{ width:400px; }
@media (max-width:1024px){
  .mflow__head:has(#how-financing) .mflow__intro{ width:auto; }
}
/* Fachada: la caja muestra el poster y el boton de play, y recien al tocar
   play se inserta el iframe de YouTube. Hasta ese click no se le pide nada a
   Google, asi que las 98 paginas cargan igual que antes; lo que cambia es que
   el video ahora es el oficial del canal de WBE. Why Us sigue con su mp4
   propio (.spec__video), que no lleva data-yt. */
.mflow__video{
  position:relative;
  isolation:isolate;
  flex:1 1 0;
  min-width:0;
  max-width:600px;
  height:337px;
  border-radius:var(--r-lg);
  overflow:hidden;
}
.mflow__photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
/* /financing/ todavia tiene una foto suelta en vez del video. Cuando las
   medidas de la caja se mudaron a .mflow__video esa foto se quedo sin tope y
   se iba a 1200x1183, asi que las lleva ella misma. */
.mflow__head > .mflow__photo{
  flex:1 1 0;
  min-width:0;
  max-width:600px;
  height:337px;
  border-radius:var(--r-lg);
}

.mflow__play{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  padding:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
}
.mflow__play::before{
  content:"";
  width:72px;
  height:72px;
  border-radius:50%;
  background:rgba(10,10,10,.55);
  backdrop-filter:blur(4px);
  transition:background .2s ease, transform .2s ease;
}
.mflow__play svg{ position:absolute; width:30px; height:30px; margin-left:3px; }
.mflow__play:hover::before{ background:var(--red-bright); transform:scale(1.06); }
.mflow__play:focus-visible{ outline:2px solid #fff; outline-offset:-4px; }
.mflow__video.is-playing .mflow__play{ display:none; }
/* El iframe entra despues del poster y lo tapa; hereda el radio de la caja
   porque esta tiene overflow:hidden. */
.mflow__iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  z-index:1;
}

.mflow__steps{ display:flex; align-items:stretch; min-height:471px; }

/* Only the open step carries the photo and the paragraph; the rest collapse to
   a number, a title and their timing note. Clicking one promotes it. */
.mstep{
  position:relative;
  isolation:isolate;
  flex:1 1 0;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:24px;
  padding:20px;
  border:1px solid var(--n200);
  text-align:left;
  background:linear-gradient(180deg,
    rgba(254,254,254,.8) 14%,
    rgba(255,255,255,.1) 26%,
    rgba(254,254,254,0) 41%,
    rgba(254,254,254,.1) 55%,
    rgba(252,252,252,.8) 71%,
    var(--n50) 100%);
  cursor:pointer;
  transition:flex-grow .45s cubic-bezier(.22,.61,.36,1);
}
.mstep + .mstep{ border-left:0; }
.mstep.is-open{ flex-grow:2.6; cursor:default; }

.mstep__photo{
  position:absolute;
  inset:0;
  z-index:-2;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .35s ease;
}
.mstep.is-open .mstep__photo{ opacity:1; }
/* En pantallas angostas la tarjeta se vuelve casi cuadrada y recorta la
   foto a lo ancho: centrada solo se ve el lateral liso del trailer. Se
   corre el encuadre a la derecha para que entre el Ferrari. */
.mstep__photo[src*="wbe-step-trailer-side"]{ object-position:82% 50%; }
.mstep::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:inherit;
}

.mstep__top{ display:flex; flex-direction:column; gap:12px; }
.mstep__num{
  font-family:var(--font-head);
  font-weight:700;
  font-size:30px;
  line-height:32px;
  background:linear-gradient(180deg, #faa49e 0%, var(--red) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.mstep__title{
  margin:0;
  font-family:var(--font-head);
  font-weight:700;
  font-size:30px;
  line-height:32px;
  color:var(--ink);
}
.mstep__foot{ display:flex; flex-direction:column; gap:16px; }
.mstep__body{
  font-size:14px;
  line-height:20px;
  color:var(--ink);
}
/* Collapsed cards keep the note but drop the prose. */
.mstep:not(.is-open) .mstep__body{ display:none; }
.mstep__note{
  font-family:var(--font-head);
  font-weight:700;
  font-size:14px;
  line-height:20px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:var(--red);
}

/* Segmented rail beneath the steps. Figma joins the segments with a single
   diagonal seam — each one's top edge runs ~10.76px past its bottom edge, and
   the next segment carries the matching cut — not a chevron point. */
.mflow__rail{ display:flex; height:8px; }
.mflow__rail span{
  flex:1 1 0;
  margin-left:-10.757px;
  background:var(--n200);
  clip-path:polygon(10.757px 0, 100% 0, calc(100% - 10.757px) 100%, 0 100%);
  transition:flex-grow .45s cubic-bezier(.22,.61,.36,1);
}
.mflow__rail span:first-child{
  margin-left:0;
  clip-path:polygon(0 0, 100% 0, calc(100% - 10.757px) 100%, 0 100%);
}
.mflow__rail span:last-child{
  clip-path:polygon(10.757px 0, 100% 0, 100% 100%, 0 100%);
}
/* The wide segment follows whichever step is open. */
.mflow__rail span.is-wide{ flex-grow:2.6; }
.mflow__rail span.is-on{ background:var(--red); }

/* ==========================================================================
   WHY WE BUY EXOTICS — six reasons
   ========================================================================== */

.medge__head{
  display:flex;
  align-items:flex-start;
  gap:48px;
  margin-bottom:48px;
}
.medge__head > div:first-child{ flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:12px; }
.medge__lede{ flex:0 0 375px; width:375px; color:var(--n700); }

.medge__grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  column-gap:64px;
  row-gap:48px;
}
.medge__card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  padding-top:24px;
  border-top:1px solid var(--n200);
}
.medge__card .icon{ width:28px; height:28px; color:var(--red); }
.medge__card .h3{ font-size:24px; line-height:30px; }
.medge__card p{ font-size:14px; line-height:20px; color:var(--n700); }

/* ==========================================================================
   RECENT PURCHASES
   ========================================================================== */

.mbought{ display:flex; flex-direction:column; gap:32px; }
.mbought__head{ display:flex; align-items:flex-end; gap:24px; }
.mbought__head > div:first-child{ flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:12px; }
.mbought__nav{ display:flex; gap:12px; flex:none; }

.mbought__track{
  display:flex;
  gap:20px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.mbought__track::-webkit-scrollbar{ display:none; }

/* La tarjeta ES la foto. El ano y el modelo viven encima y solo aparecen al
   pasar el mouse, sobre un degradado que les da contraste — el mismo recurso
   que usa la placa del hero. El texto nunca se saca del DOM (solo se desvanece)
   porque el sorteo del hero lee de aca el ano y el nombre. */
.bought{
  position:relative;
  flex:0 0 386px;
  width:386px;
  scroll-snap-align:start;
  border:1px solid var(--n200);
  border-radius:var(--r-lg);
  background:#fff;
  overflow:hidden;
}
.bought__shot{ position:relative; }
/* El encuadre (cover o contain) lo decide el bloque de mas arriba segun el tipo
   de imagen; aca solo va la caja. Tenerlo tambien aca lo pisaba, porque esta
   regla viene despues en la hoja. */
.bought__shot img{ width:100%; height:236px; background:#f4f5f6; display:block; }
.bought__shot::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(to top, rgba(0,0,0,.80) 0%, rgba(0,0,0,.44) 26%, rgba(0,0,0,0) 62%);
  opacity:0;
  transition:opacity .28s ease;
}
.bought__tag{
  position:absolute;
  top:12px;
  left:12px;
  padding:4px 10px;
  border-radius:var(--r-sm);
  background:rgba(10,10,10,.85);
  font-weight:500;
  font-size:13px;
  line-height:18px;
  color:var(--n50);
}
.bought__body{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:24px;
  pointer-events:none;
  opacity:0;
  transform:translateY(8px);
  transition:opacity .28s ease, transform .28s ease;
}
.bought:hover .bought__shot::after,
.bought:focus-within .bought__shot::after,
.bought:hover .bought__body,
.bought:focus-within .bought__body{ opacity:1; }
.bought:hover .bought__body,
.bought:focus-within .bought__body{ transform:none; }

/* Sin mouse no hay hover: ahi el dato va siempre a la vista. */
@media (hover:none){
  .bought__shot::after,
  .bought__body{ opacity:1; transform:none; }
}
@media (prefers-reduced-motion:reduce){
  .bought__shot::after,
  .bought__body{ transition:none; }
}
.bought__year{
  font-family:var(--font-head);
  font-weight:700;
  font-size:14px;
  line-height:20px;
  letter-spacing:1.4px;
  color:rgba(255,255,255,.82);
}
.bought__name{
  margin:0;
  font-family:var(--font-head);
  font-weight:700;
  font-size:24px;
  line-height:30px;
  color:#fff;
}
.bought__spec{ font-size:14px; line-height:20px; color:var(--n600); }
.bought__paid{
  margin-top:8px;
  font-weight:700;
  font-size:16px;
  line-height:24px;
  color:var(--red);
}

/* ==========================================================================
   REVIEWS — the homepage carousel on a light plate
   ========================================================================== */

.mreviews .reviews{ gap:32px; }
.mreviews .reviews__head{ align-items:center; }
.mreviews .reviews__score-row .h3{ color:var(--ink); }
.mreviews .reviews__verified{ color:var(--n600); }
.mreviews__score{ display:none; }

.mreviews__track{
  display:flex;
  gap:20px;
  align-items:stretch;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.mreviews__track::-webkit-scrollbar{ display:none; }

.mreview{
  flex:0 0 386px;
  width:386px;
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  gap:24px;
  padding:24px;
  border:1px solid var(--n200);
  border-radius:var(--r-lg);
  background:#fff;
}
.mreview__text{ flex:1 1 auto; color:var(--n700); }

/* Same "on hover image appears" card as the homepage: the photo sits behind a
   scrim and both fade up together, so the type inverts to light in one move. */
.mreview--photo{ position:relative; isolation:isolate; overflow:hidden; }
.mreview--photo::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:inherit;
  background:rgba(0,0,0,.55);
  opacity:0;
  transition:opacity .3s ease;
}
.mreview--photo:hover,
.mreview--photo:focus-within{ border-color:transparent; color:var(--n50); }
.mreview--photo:hover .review__photo,
.mreview--photo:focus-within .review__photo,
.mreview--photo:hover::after,
.mreview--photo:focus-within::after{ opacity:1; }
.mreview--photo:hover .mreview__text,
.mreview--photo:focus-within .mreview__text{ color:var(--n50); }
.mreview--photo:hover .mreview__foot,
.mreview--photo:focus-within .mreview__foot{ border-top-color:rgba(255,255,255,.35); }
.mreview--photo:hover .mreview__foot b,
.mreview--photo:focus-within .mreview__foot b{ color:#fff; }
.mreview--photo:hover .mreview__foot span,
.mreview--photo:focus-within .mreview__foot span{ color:var(--n300); }
.mreview__foot{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding-top:16px;
  border-top:1px solid var(--n200);
}
.mreview__foot b{ font-weight:700; font-size:14px; line-height:20px; color:var(--ink); }
.mreview__foot span{ font-size:14px; line-height:20px; color:var(--n600); }

.mreviews__more{ display:none; align-self:stretch; }

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */

.mcompare{ display:flex; align-items:flex-start; gap:48px; }
.mcompare__intro{
  flex:1 1 0;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:24px;
  padding-top:48px;
}
.mcompare__intro > div{ display:flex; flex-direction:column; gap:12px; }
.mcompare__intro p:last-child{ max-width:375px; color:var(--n700); }

.mcompare__scroll{ flex:0 0 auto; max-width:100%; overflow-x:auto; overflow-y:hidden; }
.mtable{
  border-collapse:collapse;
  width:707px;
  table-layout:fixed;
}
.mtable th,
.mtable td{
  padding:12px;
  border-bottom:1px solid var(--n200);
  font-weight:400;
  font-size:16px;
  line-height:24px;
  text-align:center;
  vertical-align:middle;
  color:var(--n700);
}
.mtable thead th{
  border-bottom:0;
  background:var(--n100);
  font-weight:500;
  font-size:14px;
  line-height:20px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  white-space:nowrap;
}
.mtable th:first-child,
.mtable td:first-child{
  width:278px;
  padding-inline:8px;
  text-align:left;
  font-weight:500;
}
/* Our column is the point of the table, so it is boxed and tinted end to end. */
.mtable .is-ours{ width:215px; background:#fff1f0; }
.mtable thead .is-ours{
  background:var(--red-bright);
  color:var(--n50);
}
.mtable tbody tr:first-child .is-ours{ border-top:1px solid #e9635d; }
.mtable tbody tr:last-child .is-ours{ border-bottom:1px solid #e9635d; }
.mtable .is-ours{ border-left:1px solid #e9635d; border-right:1px solid #e9635d; }
.mtable .icon--yes{ width:24px; height:24px; color:var(--red); }
.mtable .icon--no{ width:24px; height:24px; color:var(--n700); }
.mtable .is-risk{ color:var(--red); }

/* ==========================================================================
   FAQ — reuses .faq from styles.css, restated on the tinted plate
   ========================================================================== */

.mfaq .faq__lede{ color:var(--n700); }
.mfaq .faq__item + .faq__item{ border-top-color:var(--n200); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width:1200px){
  .mflow__intro{ width:280px; }
  .mabout{ padding-block:80px; }
  .mabout__inner{ gap:40px; }
  .medge__grid{ column-gap:40px; }
}

@media (max-width:1024px){
  .mhero__inner{ flex-direction:column; align-items:stretch; gap:32px; }
  .mhero__copy{ align-self:stretch; padding-top:0; }
  .mhero__plate{ align-self:stretch; flex:0 0 auto; height:320px; }
  .mhero__title-lg{ font-size:48px; }
  .mhero__title-sm{ font-size:36px; line-height:38px; }

  /* Stacked, the photo goes edge to edge and the copy keeps the page gutter. */
  .mabout{ padding:0 0 var(--pad-y); }
  .mabout__inner{ flex-direction:column; align-items:stretch; gap:32px; }
  .mabout__copy{ padding-inline:var(--gutter); }
  /* The crop pulls back to the whole rear quarter, mirror intact. Tying the
     stage to an aspect ratio keeps it exactly as tall as the car it holds, so
     nothing spills onto the headline underneath. */
  .mabout__stage{ flex:0 0 auto; height:auto; aspect-ratio:5 / 4; overflow:hidden; order:-1; }
  .mabout__car{ right:2%; width:230%; transform:translateY(-50%) scaleX(-1); }
  .mabout--unmirrored .mabout__car{ transform:translateY(-50%); }
  .mabout__watermark{ display:none; }

  .mflow__head{ flex-direction:column; align-items:stretch; gap:32px; }
  .mflow__intro{ width:auto; }
  /* En columna el `flex:1 1 0` de la regla base le pone basis 0 al ALTO y la
     caja colapsaba a 0. */
  .mflow__video,
  .mflow__head > .mflow__photo{ flex:0 0 auto; width:100%; max-width:100%; height:260px; }

  /* Apilados en columna, pero el acordeon sigue vivo: se abre de a uno. */
  .mflow__steps{ flex-direction:column; min-height:0; }
  .mstep{ flex:0 0 auto; }
  .mstep + .mstep{ border-left:1px solid var(--n200); border-top:0; }
  .mstep.is-open{ flex-grow:0; }

  .medge__head{ flex-direction:column; gap:16px; }
  .medge__lede{ flex:1 1 auto; width:100%; }
  .medge__grid{ grid-template-columns:repeat(2, 1fr); row-gap:32px; }

  .mcompare{ flex-direction:column; gap:32px; }
  .mcompare__intro{ padding-top:0; }
  .mcompare__scroll{ width:100%; }
}

@media (max-width:640px){
  /* Los mismos tres saltos que el home en este breakpoint: 20 / 16 / 24. */
  .mhero__copy{ gap:24px; }
  .mhero__title{ min-height:0; margin-top:21px; }
  .mhero__title-lg{ font-size:40px; letter-spacing:1px; }
  .mhero__title-sm{ font-size:30px; line-height:34px; letter-spacing:1px; margin-top:-2px; }
  .mhero__lede{ margin-top:16px; }
  .mhero__actions{ flex-direction:column; align-items:stretch; gap:16px; }
  .mhero__actions .btn{ width:100%; }
  .mhero__call{ align-items:center; text-align:center; }
  .mhero__plate{ height:240px; }
  .mhero__receipt b{ font-size:20px; line-height:24px; }



  .mflow__video,
  .mflow__head > .mflow__photo{ height:200px; }
  .mflow__intro .h2{ font-size:36px; }

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

  .mbought__head,
  .mreviews .reviews__head{ flex-direction:column; align-items:flex-start; gap:16px; }
  .mbought__nav{ display:none; }

  .bought,
  .mreview{ flex-basis:min(320px, 82vw); width:min(320px, 82vw); }
  .bought__shot img{ height:196px; }
  .bought__body{ padding:20px; }

  /* The phone frame swaps the arrows for a "view more" button. */
  .mreviews__score{ display:flex; flex-direction:column; align-items:center; gap:4px; width:100%; }
  .mreviews__more{ display:inline-flex; }
  .mreviews .reviews__nav{ display:none; }

  .mtable{ width:640px; }
}

/* ==========================================================================
   LOCAL CONTROL VARIANTS
   ========================================================================== */

/* Outline button for the light plates (the phone frame's "View more"). */
.btn--outline-dark{ border-color:var(--n200); background:#fff; color:var(--ink); }
.btn--outline-dark:hover{ border-color:var(--n400); background:var(--n50); }



/* --------------------------------------------------------------------------
   TABLA COMPARATIVA — ancho minimo
   -------------------------------------------------------------------------- */

/* En pantallas angostas la tabla se encogia por debajo de sus 707px y la
   tercera columna quedaba en 147px: "Dealership / Private" (188px, nowrap)
   se salia de la celda y se leia sobre el blanco. Con el min-width la tabla
   conserva su ancho y el scroll horizontal de .mcompare__scroll hace su
   trabajo, que es para lo que esta. */
.mtable{ min-width:707px; }

/* --------------------------------------------------------------------------
   HERO — linea de cierre
   -------------------------------------------------------------------------- */

/* La banda de stats que va abajo cierra con un borde (.stats--light) pero el
   hero no abria con ninguno, asi que el corte entre el gris del hero y el
   blanco de las stats quedaba solo por diferencia de color. */
.mhero{ border-bottom:1px solid var(--n200); }


/* ==========================================================================
   TELEFONO — dos arreglos del 31/10
   ========================================================================== */

/* 1) Pasos de "how it works" en el telefono. Antes se apilaban los cinco
   abiertos y, como la foto solo se enciende en el paso abierto, del 02 al 05
   quedaba el hueco de la foto en blanco. Vuelve el acordeon, que es el
   comportamiento que se queria: cerrados muestran numero, titulo y nota, y al
   tocar uno se expande con su foto y su texto. */
@media (max-width:1024px){
  /* Todo se mueve junto, con la misma duracion y la misma curva, como un
     smart animate: la caja, el alto del cuerpo y la foto interpolan en
     paralelo y aterrizan al mismo tiempo. */
  .mstep,
  .mstep__foot,
  .mstep__body,
  .mstep__photo{
    transition-duration:.55s;
    transition-timing-function:cubic-bezier(.32,.72,0,1);
  }
  /* min-height arranca en auto y `auto` no interpola: sin este 0px
     explicito el salto a 380 era instantaneo. */
  .mstep{ gap:16px; min-height:0px; transition-property:min-height; }
  /* Financing no carga generalbrand.css, asi que el alto de la tarjeta
     abierta tiene que venir de aca tambien: sin esto queda en 262px y la
     foto se amontona detras del titulo. */
  .mstep.is-open{ min-height:380px; }

  /* El cuerpo se pliega con grid-template-rows de 0fr a 1fr, que interpola
     hasta el alto REAL del texto. Con max-height habia que poner un techo
     fijo (240px) y como el texto mide 72 la animacion terminaba en el primer
     tercio y el resto del tiempo no pasaba nada: se sentia un tiron seco. */
  .mstep__foot{
    display:grid;
    grid-template-rows:0fr auto;
    gap:0;
    transition-property:grid-template-rows;
  }
  .mstep.is-open .mstep__foot{ grid-template-rows:1fr auto; }
  .mstep__body{
    display:block;
    overflow:hidden;
    min-height:0;
    opacity:0;
    transition-property:opacity;
  }
  .mstep.is-open .mstep__body{ opacity:1; }
  .mstep__note{ margin-top:16px; }
  .mstep__photo{ transition-property:opacity; }
}

@media (prefers-reduced-motion:reduce){
  .mstep,
  .mstep .mstep__body,
  .mstep__photo{ transition:none; }
}

/* 2) Tabla comparativa. A 390px la primera columna se comia 278 de los 358
   disponibles y de la nuestra solo entraba "WE B", sin ningun indicio de que
   la tabla scrollea. Se achican las dos primeras columnas para que la columna
   de We Buy Exotics entre completa, asoma un pedazo de la tercera (que ya
   avisa que hay mas) y el degrade del borde derecho lo confirma. */
@media (max-width:640px){
  .mtable{ width:460px; min-width:460px; }
  .mtable th:first-child,
  .mtable td:first-child{ width:160px; }
  .mtable .is-ours{ width:150px; }
  .mtable thead th{
    white-space:normal;
    font-size:12px;
    line-height:16px;
    letter-spacing:1px;
  }
  .mtable th,
  .mtable td{ padding:10px 8px; font-size:15px; }
  .mcompare__scroll{
    -webkit-mask-image:linear-gradient(to right, #000 calc(100% - 36px), rgba(0,0,0,.15) 100%);
            mask-image:linear-gradient(to right, #000 calc(100% - 36px), rgba(0,0,0,.15) 100%);
  }
}

/* --------------------------------------------------------------------------
   FINANCING — pasos sin cuerpo de texto
   Esa pagina usa la misma tarjeta .mstep que las de marca pero solo con
   numero y titulo, sin .mstep__body. Dos problemas propios de esa variante:
   el titulo a 30px se parte en cinco renglones en las tarjetas angostas, y
   el degradado blanco se vuelve casi transparente al 26% de la altura, justo
   donde cae el titulo de la tarjeta abierta, asi que el texto quedaba sobre
   la foto sin contraste.
   El :not(:has(.mstep__body)) apunta solo a esa variante; las de marca, que
   si traen cuerpo, quedan intactas.
   -------------------------------------------------------------------------- */
.mstep:not(:has(.mstep__body)) .mstep__title{
  font-size:22px;
  line-height:26px;
}
.mstep:not(:has(.mstep__body)) .mstep__num{
  font-size:26px;
  line-height:28px;
}
/* El blanco firme llega ahora al 26% en vez de al 14%, que es donde termina
   el titulo mas largo con la tipografia nueva, y recien despues abre. Como
   .mstep::before hereda este mismo background, el velo sobre la foto se
   agranda junto con el. Probado tambien con el blanco hasta el 46%: tapaba
   demasiado y las fotos quedaban lavadas, asi que gana el texto sin perder
   la foto. */
.mstep:not(:has(.mstep__body)).is-open{
  background:linear-gradient(180deg,
    rgba(255,255,255,.96) 0%,
    rgba(255,255,255,.90) 26%,
    rgba(255,255,255,.5) 38%,
    rgba(254,254,254,.08) 54%,
    rgba(253,253,253,.45) 80%,
    var(--n50) 100%);
}
