/* public_html/assets/css/vidriera.css  (VIDRIERA) */

/* =============== RESET / BASE =============== */
:root{
  --bg: #0f1118;
  --panel: rgba(18,22,34,.92);
  --card: rgba(18,22,34,.88);
  --line: rgba(255,255,255,.10);
  --line2: rgba(255,255,255,.08);

  --text: #e9eef8;
  --muted: rgba(233,238,248,.74);

  --accent: #2d7bff;
  --accentSoft: rgba(45,123,255,.16);
  --wa: #18c36b;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ min-height:100%; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: #13202c; /* base fija (para Safari) */
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(45,123,255,.18), transparent 60%),
    radial-gradient(1000px 600px at 80% 10%, rgba(180,190,210,.18), transparent 65%),
    linear-gradient(180deg, #1b2230, #121826);
}


a{ color: #9fb7ff; text-decoration:none; }
a:hover{ text-decoration:underline; }

.muted{ color: var(--muted); font-weight:700; margin:10px 0 16px; }

/* =============== TOPBAR =============== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;

  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line2);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);

  padding: 14px 0;
}
.card{
  background: linear-gradient(
    180deg,
    rgba(20,26,40,.96),
    rgba(18,22,34,.92)
  );
}

.topbar-inner{
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;

  position: relative;
}

.logo-autostrada{
  height: 46px;
  display:block;
  object-fit:contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
}

.topbar-title{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  letter-spacing: -.2px;
  pointer-events:none;
  white-space:nowrap;
  opacity:.92;
}

.topbar-nav{
  display:flex;
  gap: 14px;
  align-items:center;
}

.navlink{
  color: rgba(233,238,248,.88);
  font-weight: 800;
  font-size: 13px;
  opacity:.86;
}
.navlink:hover{
  opacity: 1;
  text-decoration:none;
}

/* =============== BUTTONS =============== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--text);

  font-weight: 900;
  line-height: 1;
  cursor: pointer;

  transition: transform .08s ease, filter .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover{
  filter: brightness(1.06);
  text-decoration:none;
  background: rgba(255,255,255,.07);
}
.btn:active{ transform: translateY(1px); }

.btn--wa{
  border-color: rgba(24,195,107,.28);
  background: linear-gradient(180deg, rgba(24,195,107,.95), rgba(16,160,85,.95));
  color:#06130c;
  box-shadow: 0 10px 22px rgba(24,195,107,.22);
}

/* =============== LAYOUT =============== */
.layout{
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 20px 44px;
}

/* =============== HERO (autos.php + auto.php) =============== */
.hero{
  margin: 18px 0 14px;
  padding: 22px;
  border-radius: 18px;

  background: linear-gradient(180deg, rgba(18,22,34,.96), rgba(18,22,34,.90));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}

.hero h1{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: #fff;
}

.hero p{
  margin-top: 6px;
  color: rgba(233,238,248,.78);
  font-weight: 600;
  line-height: 1.5;
}

/* Buscador / select en hero */
.hero form input[type="text"],
.hero select{
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-weight: 800;
  outline: none;
  padding: 0 14px;
}
.hero form input[type="text"]::placeholder{
  color:#64748b;
  font-weight:700;
}
.hero form select{
  padding-right: 36px;
  cursor: pointer;
}

/* =============== GRID (autos.php) =============== */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
}
@media (max-width:1100px){
  .grid{ grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}
@media (max-width:700px){
  .topbar-title{ display:none; }
  .grid{ grid-template-columns: 1fr; }
}

/* =============== CARD (autos.php) =============== */
.card{
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(20,26,40,.96),
    rgba(18,22,34,.92)
  );

  border-radius: 16px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.06);

  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.card::before{
  content: "";
  position: absolute;
  inset: -1px;               /* sale apenas de la card */
  border-radius: 18px;
  pointer-events: none;

  opacity: .0;
  transition: opacity .25s ease;

  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 0 26px rgba(255,255,255,.10);
}

.card:hover{
  transform: translateY(-4px);
}

.card:hover::before{
  opacity: 1;
}

.card a{ text-decoration:none; }

.card__img{
  width:100%;
  height: 300px;
  object-fit: cover;           /* <-- antes contain */
  object-position: center 55%;
  background: transparent;      /* <-- antes #0b0f17 */
  display:block;
}




.card__body{ padding: 14px 14px 16px; }

.card__title{
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -.2px;
  margin-bottom: 8px;
}

.card__meta{
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.pill{
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  background: rgba(45,123,255,.15);
  border: 1px solid rgba(45,123,255,.35);
  color: #9cc3ff;
}

/* Pills */
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(233,238,248,.90);
  font-weight: 750;
  font-size: 11px;
  background: rgba(255,255,255,.04);
}

.price{
  color:#fff;
  font-weight: 950;
  font-size: 22px;
  letter-spacing: -.2px;
}

/* =============== HOME (index.php) - layout premium 1 grande + 2 chicas =============== */
/* Si tu index usa .home-grid y .home-card, esto se aplica. Si no, no afecta. */

.home-grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: stretch;
}

/* Card grande a la izquierda ocupa 2 filas */
.home-card:nth-child(1){
  grid-row: 1 / span 2;
}

/* Responsive */
@media (max-width: 980px){
  .home-grid{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .home-card:nth-child(1){
    grid-row: auto;
  }
}

/* Home cards (mismo look premium) */
.home-card{
  background: linear-gradient(180deg, rgba(18,22,34,.96), rgba(18,22,34,.88));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.30);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0,0,0,.42);
  border-color: rgba(45,123,255,.18);
}

/* Imagen cuadrada real (como querías) */
.home-card__img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display:block;
  background:#0b0e14;
}

.home-card__body{ padding: 14px 14px 16px; }
.home-card__title{
  color:#fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -.2px;
  margin: 0 0 8px;
}
.home-card__meta{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* =============== FOOTER (si lo usás) =============== */
.footer{
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  color: var(--muted);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
/* ====== HERO CAROUSEL (premium sobrio, altura controlada) ====== */
.btn--primary{
  background: linear-gradient(180deg, #4cc1ff, #1e86ff);
  color:#fff;
  box-shadow: 0 10px 22px rgba(30,134,255,.25);
}

.hero-carousel{
  margin: 18px 0 14px;
}

.hero-carousel__viewport{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  height: 320px;               /* ✅ NO gigante */
}

@media (max-width: 900px){
  .hero-carousel__viewport{ height: 260px; }
}

.hero-carousel__track{
  height: 100%;
  display: flex;
  transition: transform .55s ease;
  will-change: transform;
}

.hero-carousel__slide{
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.hero-carousel__slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}

/* overlay sobrio */
.hero-carousel__overlay{
  position:absolute;
  inset:0;
  padding: 22px 22px;
  display:flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.15) 65%, rgba(0,0,0,0));
}

.hero-carousel__overlay h1{
  margin:0;
  color:#fff;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -.4px;
}

.hero-carousel__overlay p{
  margin: 8px 0 0;
  color: rgba(226,232,240,.92);
  font-weight: 600;
}

.hero-carousel__actions{
  margin-top: 14px;
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

/* nav */
.hero-carousel__nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color:#fff;
  font-size: 24px;
  line-height: 1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-carousel__nav:hover{ background: rgba(0,0,0,.45); }
.hero-carousel__nav--prev{ left: 12px; }
.hero-carousel__nav--next{ right: 12px; }

.hero-carousel__dots{
  position:absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display:flex;
  gap:8px;
}

.hero-carousel__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.18);
  cursor:pointer;
}
.hero-carousel__dot.is-active{
  background: rgba(255,255,255,.95);
}
.hero-carousel__slide::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.35),
    rgba(0,0,0,.05) 60%,
    rgba(0,0,0,0)
  );
  pointer-events:none;
}
/* === FIX COLORES CARRUSEL === */
.hero-carousel img,
.hero-carousel__slide img {
  filter: none !important;
  opacity: 1 !important;
}

/* Si hay overlay arriba de la imagen */
.hero-carousel::before,
.hero-carousel::after,
.hero-carousel__slide::after {
  display: none !important;
}
/* === TAMAÑO CARRUSEL === */
.hero-carousel {
  max-width: 1600px;
  margin: 16px auto 24px;
  padding: 0 20px;
}

.hero-carousel__viewport {
  height: 320px;          /* desktop */
  border-radius: 18px;
  overflow: hidden;
  background: #0b0f17;
}

@media (max-width: 768px) {
  .hero-carousel__viewport {
    height: 220px;        /* mobile */
  }
}
.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* NO cover */
  background: #0b0f17;   /* fondo limpio */
}
/* HERO / CARRUSEL */
.hero-slide {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* ===== TICKER FULL BLEED (de punta a punta real) ===== */
body{ overflow-x:hidden; } /* evita scroll horizontal */

.ticker-wrap{
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: 10px;
}

.ticker{
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  padding: 10px 0;

  background: linear-gradient(
    90deg,
    rgba(2,6,23,.85),
    rgba(9,18,38,.9),
    rgba(2,6,23,.85)
  );

  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ticker__track{
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  white-space: nowrap;
  animation: tickerMove 30s linear infinite;
  padding-left: 20px;
}

.ticker__item{
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.ticker__sep{
  color: rgba(255,255,255,.25);
  font-weight: 900;
}

@keyframes tickerMove{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker:hover .ticker__track{ animation-play-state: paused; }
.ticker__track{
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: tickerMove 36s linear infinite;
}

.ticker__group{
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.ticker__gap{
  width: 10cm;   /* 👈 ACÁ el espacio entre vueltas */
  flex-shrink: 0;
}

@keyframes tickerMove{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.topbar-title{ display:none !important; }
.topbar-social{
  display:flex;
  align-items:center;
  gap:10px;
}

.iconbtn{
  width: 42px;
  height: 42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}

.iconbtn svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.iconbtn:hover{
  transform: translateY(-1px);
}

/* Colores por marca */
.iconbtn--wa:hover{
  background:#18c36b;
  color:#06130c;
  box-shadow: 0 8px 18px rgba(24,195,107,.45);
}

.iconbtn--fb:hover{
  background:#1877f2;
  color:#fff;
  box-shadow: 0 8px 18px rgba(24,119,242,.45);
}

.iconbtn--ig:hover{
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
  color:#fff;
  box-shadow: 0 8px 18px rgba(214,41,118,.45);
}

/* ===== LIMPIEZA HOME (ocultar módulos/pastillas actuales) ===== */

/* Hero grande (título + texto + botones) */
.hero,
.hero-carousel,
.hero-slide{
  display: none !important;
}

/* Las 3 cards del medio */
.home-grid,
.home-card{
  display: none !important;
}

/* Bloque “Destacados” (si existe) */
.destacados,
.destacados-wrap,
.featured,
.featured-wrap{
  display: none !important;
}

.iconbtn:active{ transform: translateY(1px); }
/* ===== BUSCADOR HOME (finder) ===== */
.finder{
  max-width: 1600px;
  margin: 22px auto 0;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(18,22,34,.96), rgba(18,22,34,.88));
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}

.finder__title{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 950;
  color: #fff;
  letter-spacing: -.2px;
}

.finder__form{
  display:grid;
  grid-template-columns: 1.1fr 1.4fr .9fr 1.2fr auto auto;
  gap: 10px;
  align-items:center;
}

.finder__form select,
.finder__form input{
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-weight: 800;
  outline: none;
  padding: 0 14px;
}

.finder__form input::placeholder{
  color:#64748b;
  font-weight:700;
}

/* botones dentro del finder (que no sean gigantes) */
.finder__form .btn{
  height: 46px;
  padding: 0 16px;
}

/* Responsive */
@media (max-width: 980px){
  .finder{
    margin-top: 16px;
  }
  .finder__form{
    grid-template-columns: 1fr 1fr;
  }
  .finder__form .btn{
    width: 100%;
    justify-content:center;
  }
}

/* ===== HOME RESULTS ===== */
.home-results{
  max-width: 1600px;
  margin: 22px auto 0;
  padding: 0 20px;
}

.home-results__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.home-results__title{
  color:#fff;
  font-size: 18px;
  font-weight: 950;
  margin: 0;
}
/* ===== Cards home: imagen 75% / texto 25% ===== */

.home-results .card{
  display: flex;
  flex-direction: column;
  height: 100%;
}



/* TEXTO MÁS COMPACTO */
.home-results .card__body{
  padding: 12px 14px;
}

/* TÍTULO un poco más chico */
.home-results .card__title{
  font-size: 14px;
  margin-bottom: 6px;
}

/* Pills más finas */
.home-results .card__meta{
  gap: 6px;
  margin-bottom: 6px;
}

/* Precio más protagonista */
.home-results .price{
  font-size: 18px;
  font-weight: 800;
  margin: 6px 0 8px;
}

/* Botones más compactos */
.home-results .card .btn{
  padding: 6px 10px;
  font-size: 13px;
}
/* ===============================
   REFUERZO NOMBRE + PRECIO
   =============================== */

/* Nombre del auto */
.card__title{
  font-size: 18px;          /* más grande */
  font-weight: 800;         /* bien sólido */
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 8px;
  color: #ffffff;
}

/* Precio */
.price{
  font-size: 22px;          /* protagonista */
  font-weight: 900;
  color: #d1d5db;           /* verde venta */
  margin: 6px 0 10px;
}

/* Pills (año, km, moneda) un poco más chicas */
.card__meta .pill{
  padding: 8px 16px !important;
  font-size: 12px !important;
  font-weight: 500;
  opacity: 1;
}

.price{
  text-shadow: 0 0 8px rgba(255,255,255,.35);
}
.card__body{
  padding-top: 10px;
}
/* Precio alineado a la derecha */
.card__body .price{
  text-align: right;
  font-size: 22px;
  font-weight: 900;
  color: #d1d5db;
  margin: 6px 0 10px;
}
.price .desde{
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  margin-right: 6px;
}
.card__img-wrap{
  position: relative;
}

.badge-destacado{
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg,#ff8a00,#ffb15a);
  color: #2a1400;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255,138,0,.35);
  z-index: 2;
}
.card__title{
  transition: color .25s ease, transform .25s ease;
  cursor: pointer;
}

.card:hover .card__title{
  color: #38bdf8;      /* azul marca */
  transform: translateX(2px);
}
/* Nombre del auto más protagonista */
.card__title{
  font-size: 26px;        /* antes estaba chico */
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .3px;
  margin-bottom: 8px;
  color: #ffffff;
  text-transform: uppercase;
}

/* FORZAR tamaño del nombre del auto */
.card__title{
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1.3;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  overflow: visible !important;
  white-space: normal !important;
}
/* Compactar parte inferior de la card */
.card__body{
  padding-bottom: 14px; /* antes seguro era mayor */
}

/* Subir botones */
.card__body .btn{
  margin-top: 6px;
}

/* Contenedor de botones (si existe wrapper) */
.card__body > div:last-child{
  margin-top: -20px !important;
  margin-bottom: 0 !important;
}

/* Evitar espacio fantasma abajo */
.card{
  padding-bottom: 0;
}
/* Subir y centrar visualmente el precio */
.price{
  margin-top: 88px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .3px;
}
/* Forzar mover el precio hacia arriba aunque esté dentro de un flex */
.card .price{
  position: relative;
  top: -38px;          /* probá -6 / -10 según gusto */
  margin: 0 !important;
}
.home-card .price{
  position: relative;
  top: -8px;
  margin: 0 !important;
}
/* Ficha auto: foto grande */

/* ===== FICHA AUTO (solo esta pantalla) ===== */
.auto-card{ overflow: visible !important; }           /* que no recorte */
.auto-card .card__body{ height:auto !important; }     /* sin alto fijo */
.auto-card .card__meta{ flex-wrap: wrap; gap:8px; }   /* que no se pisen las pills */

/* ===== FICHA AUTO: SIN BARRAS LATERALES ===== */
.auto-hero-img{
  width: 100%;
  height: 70vh;             /* ajustable */
  max-height: 700px;
  object-fit: cover;        /* ← CLAVE */
  object-position: center;  /* centra el encuadre */
  border-radius: 18px 18px 0 0;
  display: block;
  background: transparent;
}


/* miniaturas */
.auto-thumbs{
  display:flex;
  gap:10px;
  padding:12px;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid rgba(255,255,255,.06);
}

.auto-thumb{
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.auto-thumb img{
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  display:block;
}
/* subir el precio en la ficha */
.auto-card .price{
  margin-top: -12px !important;  /* sube */
  margin-bottom: 10px !important;
  display: block;
}
.auto-obs{
  padding: 0 12px 12px;
  color: rgba(233,238,248,.9);
  font-size: 14px;
  line-height: 1.45;
  opacity: .95;
}
/* Miniaturas: 1 sola fila horizontal */
.thumbs{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:nowrap;          /* clave: NO baja a otra fila */
  overflow-x:auto;           /* si hay muchas, scrollea */
  padding:10px 12px;
  max-width: 520px;          /* ajustá si querés más ancho */
}

.thumbs::-webkit-scrollbar{ height:8px; }
.thumbs::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.18);
  border-radius: 999px;
}

.thumb{
  width:92px;
  height:62px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  flex: 0 0 auto;            /* clave: no se achican */
  border:1px solid rgba(255,255,255,.14);
  transition: transform .15s ease, border-color .15s ease;
}
.thumb:hover{
  transform: translateY(-1px);
  border-color: rgba(45, 255, 170, .45);
}

/* =========================
   FICHA PREMIUM (auto.php)
   ========================= */
.auto-specs{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
}

.auto-specs__title{
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(233,238,248,.92);
  margin-bottom: 12px;
}

.auto-specs__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

@media (max-width: 900px){
  .auto-specs__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.spec{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.spec__ico{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(45,123,255,.12);
  border: 1px solid rgba(45,123,255,.18);
  flex: 0 0 auto;
}

.spec__ico svg{
  width: 18px;
  height: 18px;
  fill: rgba(233,238,248,.95);
  opacity:.95;
}

.spec__lbl{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(233,238,248,.72);
  margin-bottom: 2px;
}

.spec__val{
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
/* Observaciones más fuertes y vistosas */
.auto-obs{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.auto-obs .lbl{
  display:block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 8px;
  font-weight: 900;
}
.btn--wa{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.btn--wa .wa-ico{
  width:18px;
  height:18px;
  fill: currentColor; /* toma el color del texto del botón */
  opacity:.95;
}
/* ===== HOME: logo centrado sin romper layout ===== */
.topbar--center .topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo centrado REAL: lo posicionamos al centro absoluto */
.topbar--center .logo-link{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Social siempre a la derecha */
.topbar--center .topbar-social{
  margin-left: auto;
}

/* Nav si existiera, no molesta; pero en home lo ocultás con $hideTopNav=true */
.topbar--center .topbar-nav{
  display: none;
}

/* Evitar que el logo centrado choque en pantallas chicas */
@media (max-width: 720px){
  .topbar--center .logo-link{
    position: static;
    transform: none;
    margin: 0 auto;
  }
  .topbar--center .topbar-social{
    margin-left: 0;
  }
}
.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, #020617, #000);
  color: #e5e7eb;
  font-size: 14px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #9ca3af;
}

.site-footer h4 {
  margin-bottom: 10px;
  font-size: 15px;
  color: #fff;
}

.site-footer a {
  color: #22c55e;
  text-decoration: none;
}

.footer-map iframe {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  border: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  padding: 15px;
  color: #6b7280;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-map iframe {
    height: 220px;
  }
}
.ticker-wrap {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255,140,0,0.15),
    rgba(0,0,0,0.0) 20%,
    rgba(0,0,0,0.0) 80%,
    rgba(255,140,0,0.15)
  );
  border-top: 1px solid rgba(255,140,0,0.35);
  border-bottom: 1px solid rgba(255,140,0,0.35);
}
/* CONTENEDOR TICKER */
.ticker-wrap {
  position: relative;
  background: #020617;
  overflow: hidden;
}

/* LINEAS NARANJA BASE */
.ticker-wrap::before,
.ticker-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(255,140,0,0.15),
    rgba(255,170,60,0.6),
    rgba(255,140,0,0.15)
  );
  animation: glowMove 10s linear infinite;
}

.ticker-wrap::before {
  top: 0;
}

.ticker-wrap::after {
  bottom: 0;
  animation-delay: 3s;
}

/* ANIMACIÓN DE LUZ */
@keyframes glowMove {
  0% {
    background-position: 0% 50%;
    opacity: 0.4;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    background-position: 200% 50%;
    opacity: 0.4;
  }
}
/* ===== CARD: VOLUMEN SUTIL PREMIUM (BLANCO / GRIS) ===== */
.card{
  position: relative;
  border-radius: 16px;
  overflow: hidden;

  background: linear-gradient(
    180deg,
    rgba(20,26,40,.96),
    rgba(18,22,34,.92)
  );

  /* Contorno apenas visible */
  border: 1px solid rgba(255,255,255,.08);

  /* Volumen */
  box-shadow:
    0 10px 28px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.04);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}
.card:hover{
  transform: translateY(-4px);

  border-color: rgba(255,255,255,.14);

  box-shadow:
    0 18px 44px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* Si el negro viene del WRAPPER */
.card__img-wrap,
.home-results .card__img-wrap{
  background: transparent !important;
}
/* =========================
   HOME: Fotos SIN RECORTE
   (muestra la foto completa)
   ========================= */
.home-results .card__img{
  width: 100% !important;
  height: 340px !important;          /* + alto (ajustá 320/360/400) */
  object-fit: contain !important;     /* <-- clave: NO recorta */
  object-position: center !important;
  background: #13202c !important;     /* fondo prolijo en “barras” */
  display: block !important;
}

/* Responsive */
@media (max-width: 900px){
  .home-results .card__img{
    height: 320px !important;
  }
}

/* ===== DETALLE AUTO: FOTO GRANDE SIN BARRAS ===== */
.auto-card .card__img,
.auto-card img.card__img,
.auto-hero-img{
  width: 100% !important;
  height: 72vh !important;
  max-height: 720px !important;
  object-fit: cover !important;
  object-position: center 55% !important;
  background: transparent !important;
  display: block !important;
}


/* Destacados (chips) */
.auto-highlights{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.hl{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 850;
  font-size: 12px;
  color: rgba(233,238,248,.92);
}
.hl svg{ width: 16px; height: 16px; fill: currentColor; opacity:.92; }
.pill{
  padding: 28px 36px;
  font-size: 20px;
  font-weight: 800;
  border-radius: 30px;
}

.pill:nth-child(1){
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #dce6f2;
}

.pill:nth-child(2){
  background: rgba(45,123,255,.18);
  border: 1px solid rgba(45,123,255,.4);
  color: #9cc3ff;
}
/* ============================
   REDES: COLOR SIEMPRE ACTIVO
   ============================ */

/* Base un poquito más "glass" */
.iconbtn{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* WHATSAPP siempre */
.iconbtn--wa{
  background: rgba(24,195,107,.16) !important;
  border-color: rgba(24,195,107,.35) !important;
  color: #bff7d9 !important;
  box-shadow: 0 10px 22px rgba(24,195,107,.18) !important;
}

/* FACEBOOK siempre */
.iconbtn--fb{
  background: rgba(24,119,242,.16) !important;
  border-color: rgba(24,119,242,.35) !important;
  color: #cfe3ff !important;
  box-shadow: 0 10px 22px rgba(24,119,242,.18) !important;
}

/* INSTAGRAM siempre */
.iconbtn--ig{
  background: radial-gradient(circle at 30% 30%,
    rgba(254,218,117,.25),
    rgba(214,41,118,.18),
    rgba(150,47,191,.18),
    rgba(79,91,213,.18)
  ) !important;
  border-color: rgba(214,41,118,.30) !important;
  color: #ffe0ef !important;
  box-shadow: 0 10px 22px rgba(214,41,118,.16) !important;
}

/* Hover: solo “premium boost” */
.iconbtn--wa:hover,
.iconbtn--fb:hover,
.iconbtn--ig:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Active */
.iconbtn:active{ transform: translateY(1px); }
.iconbtn svg{ fill: rgba(255,255,255,.92) !important; }
/* ===== CAMBIAR BARRA AZUL IZQUIERDA (FICHA TECNICA) ===== */
.auto-card .spec-row{
  border-left: 3px solid rgba(255,140,0,.9) !important;
}

/* Si usa pseudo-elemento */
.auto-card .spec-row::before{
  background: rgba(255, 140, 0, 0.40) !important;
}
/* ===== FIX MOBILE: fotos de cards sin recorte ===== */
@media (max-width: 520px){
  .card img,
  .card__img{
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    background: #0b1220;      /* para que no quede “blanco” si sobra espacio */
    aspect-ratio: 4 / 3;      /* podés probar 1/1 si te gusta más */
  }
}
/* ===== FIX MOBILE: header y redes no cortadas ===== */
@media (max-width: 520px){
  header,
  .topbar,
  .navbar{
    height: auto !important;
    min-height: 64px;
    overflow: visible !important;
    padding: 10px 12px !important;
  }

  .social,
  .social-icons,
  .nav-social{
    display:flex;
    align-items:center;
    gap:10px;
  }

  .social a,
  .social-icons a,
  .nav-social a{
    width: 40px;
    height: 40px;
  }
}
/* =========================
   HOME MOBILE LIMPIO
   ========================= */
@media (max-width: 768px){

  .home-results .card__img{
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #0b0f17;
    display:block;
  }

  .home-results .card{
    overflow: visible;
  }

}
/* ===== FIX MOBILE: que NO se pise precio con pills ===== */
@media (max-width: 520px){

  /* anulamos los "moves" viejos del precio */
  .card .price{
    position: static !important;
    top: auto !important;
    margin: 10px 0 0 !important;
    text-align: left !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
  }

  /* pills hacen wrap y bajan prolijas */
  .card__meta{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
  }

  .pill{
    white-space: nowrap !important;
  }
}
@media (max-width: 520px){
  .card__body{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .card .price{
    align-self:flex-end;
    text-align:right;
  }
}
/* ===== MOBILE: sacar botones "Ver ficha" y "WhatsApp" en las cards ===== */
@media (max-width: 520px){

  /* tu contenedor de botones en index.php es: <div style="margin-top:10px; display:flex; ..."> */
  .card__body > div[style*="display:flex"]{
    display: none !important;
  }

}
/* ===== MOBILE: foto llena sin barras negras ===== */
@media (max-width: 520px){

  .home-results .card__img{
    width: 100% !important;
    height: 260px !important;     /* podés probar 240 / 280 */
    object-fit: cover !important;  /* ← esto elimina las barras */
    object-position: center 52% !important; /* baja un poco el encuadre */
    background: transparent !important;
  }

}
/* ============================
   FIX SOLO MOBILE (NO TOCA WEB)
   ============================ */
@media (max-width: 520px){

  /* anula los "hacks" de subir precio SOLO en teléfono */
  .price{
    margin-top: 10px !important;
  }

  .card .price{
    position: static !important;
    top: auto !important;
    margin: 10px 0 0 !important;
    width: 100% !important;
    text-align: right !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  /* meta en 2 filas si hace falta */
  .card__meta{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    margin-bottom: 6px !important;
  }

  .pill{
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
}
/* =========================
   FIX MOBILE REDES HEADER
   ========================= */
@media (max-width: 520px){

  .topbar-social{
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .iconbtn{
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .iconbtn svg{
    width: 18px !important;
    height: 18px !important;
  }

  /* Centrar mejor el header */
  .topbar-inner{
    align-items: center !important;
  }

}
@media (max-width: 520px){

  .iconbtn{
    width: 34px !important;
    height: 34px !important;
  }

  .iconbtn svg{
    width: 16px !important;
    height: 16px !important;
  }

}
/* =========================
   TOPBAR MOBILE: LOGO IZQ + ICONOS DER
   ========================= */

@media (max-width: 768px){

  .topbar-inner{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    padding: 0 12px !important;
  }

  /* Logo más chico y que no empuje */
  .logo-autostrada{
    height: 36px !important;
    max-width: 220px;
  }

  /* Íconos a la derecha y sin cortar */
  .topbar-social{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    margin-left:auto !important;
  }

  .topbar-social .iconbtn{
    width: 36px !important;
    height: 36px !important;
  }

  /* Si el logo estaba centrado con absolute, lo anulamos en mobile */
  .topbar--center .logo-link{
    position: static !important;
    transform: none !important;
    margin: 0 !important;
  }
}
@media (max-width: 768px){
  .topbar-social{ 
    display:none !important;
  }
}
.footer-social{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  gap:12px;
}
.footer-social .iconbtn{
  width: 44px;
  height: 44px;
}
.footer-social{
  margin: 14px 0 0;
  display:flex;
  justify-content:center;
  gap:12px;
  padding-bottom: 10px;
}

.footer-social .iconbtn{
  width: 46px;
  height: 46px;
}

.footer-social .iconbtn svg{
  width: 22px;
  height: 22px;
  display:block;
  fill: rgba(255,255,255,.92);
}
.footer-social .iconbtn--wa svg{
  transform: translateY(1px); /* lo centra ópticamente */
}
/* ===== FOOTER SOCIAL: centrado SIEMPRE ===== */
.site-footer .footer-social{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* achica un toque en móvil */
@media (max-width: 520px){
  .site-footer .footer-social{
    gap: 12px;
    padding: 16px 0 24px;
  }
  .site-footer .footer-social .iconbtn{
    width: 46px;
    height: 46px;
  }
}
/* ===== ICONOS HEADER DESKTOP ===== */
.topbar-social{
  display:flex;
  align-items:center;
  gap:12px;
}

@media (max-width: 768px){
  .topbar-social{
    display:none !important;
  }
}
/* ===== FOOTER SOCIAL SOLO MOBILE ===== */

.footer-social{
  display:none; /* oculto por defecto */
}

@media (max-width: 768px){
  .footer-social{
    display:flex !important;
    justify-content:center;
    gap:14px;
    padding:20px 0;
    border-top:1px solid rgba(255,255,255,.08);
  }
}
/* ==============================
   HEADER DESKTOP: logo centrado + iconos derecha
   (tu wrapper es .mobile-social)
   ============================== */
@media (min-width: 769px){

  header.topbar .mobile-social{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 0 20px !important;   /* igual que el resto */
    position: relative !important;
  }

  /* logo centrado real */
  header.topbar .logo-link{
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* redes a la derecha */
  header.topbar .topbar-social{
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  /* nav queda a la izquierda (si la usás) */
  header.topbar .topbar-nav{
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
  }
}
/* ==============================
   MOBILE HEADER
   ============================== */
@media (max-width: 768px){

  header.topbar .mobile-social{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  header.topbar .logo-link{
    position: static !important;
    transform: none !important;
    margin: 10px 0;
  }

  /* ocultar redes del header en móvil */
  header.topbar .topbar-social{
    display: none !important;
  }

  /* ocultar nav superior si querés */
  header.topbar .topbar-nav{
    display: none;
  }
}
/* ==============================
   FOOTER SOCIAL MOBILE
   ============================== */
.mobile-only{
  display: none;
}

@media (max-width: 768px){

  .mobile-only{
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 20px 0 10px;
  }

  .mobile-only .iconbtn{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
  }

  .iconbtn--wa{ background:#25D366; }
  .iconbtn--fb{ background:#1877F2; }
  .iconbtn--ig{
    background: radial-gradient(circle at 30% 30%, #fdf497, #fd5949, #d6249f, #285AEB);
  }
}
/* =========================
   DESKTOP: quitar barras negras arriba (sin tocar móvil)
   ========================= */
@media (min-width: 769px){

  /* Si esas cards están dentro de .home-results */
  .home-results .card__img{
    object-fit: cover !important;      /* llena el cuadro */
    background: transparent !important;/* sin negro */
    object-position: center 55% !important;
  }

  /* Por las dudas, si alguna vista usa .card__img normal */
  .card__img{
    object-fit: cover;
    background: transparent;
  }
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
  background: transparent;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* Hover elegante */
.footer-social a:hover {
  border-color: #1f3cff;
  color: #1f3cff;
  box-shadow: 0 0 12px rgba(31, 60, 255, 0.6);
  transform: translateY(-3px);
}
/* ============ Footer social (PRO) ============ */
.site-footer .footer-brand .footer-social{
  display:flex;
  gap:14px;
  margin-top:16px;
}

.site-footer .footer-brand .footer-social a{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;

  background: rgba(255,255,255,.04);
  color:#fff;

  text-decoration:none;
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}

.site-footer .footer-brand .footer-social a svg{
  width:18px;
  height:18px;
  display:block;
}

/* Hover elegante “agencia” */
.site-footer .footer-brand .footer-social a:hover{
  transform: translateY(-2px);
  border-color: rgba(31,60,255,.9);
  background: rgba(31,60,255,.12);
  box-shadow: 0 0 14px rgba(31,60,255,.45);
  color:#fff;
}

/* (Opcional) micro ajuste para que no se vea gigante en mobile */
@media (max-width: 520px){
  .site-footer .footer-brand .footer-social a{ width:38px; height:38px; }
  .site-footer .footer-brand .footer-social a svg{ width:17px; height:17px; }
}
.site-footer .footer-social a svg{
  width: 20px;
  height: 20px;
  display:block;
}

.site-footer .footer-social a.social-wsp svg{
  width: 22px;
  height: 22px;
}
/* ===== Footer Social PRO ===== */

.site-footer .footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.site-footer .footer-social a {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: all .3s ease;
}

/* Íconos más grandes */
.site-footer .footer-social a svg {
  width: 24px;
  height: 24px;
}

/* ===== Colores oficiales ===== */

.site-footer .footer-social a:nth-child(1) {
  background: #1877F2; /* Facebook */
}

.site-footer .footer-social a:nth-child(2) {
  background: radial-gradient(circle at 30% 30%, 
    #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); /* Instagram */
}

.site-footer .footer-social a:nth-child(3) {
  background: #25D366; /* WhatsApp */
}

/* Hover elegante */
.site-footer .footer-social a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
/* Ajuste fino de tamaños individuales */

.site-footer .footer-social a:nth-child(1) svg {
  width: 28px;
  height: 28px;   /* Facebook más grande */
}

.site-footer .footer-social a:nth-child(2) svg {
  width: 28px;
  height: 28px;   /* Instagram más grande */
}

.site-footer .footer-social a:nth-child(3) svg {
  width: 22px;
  height: 22px;   /* WhatsApp un poco más chico */
}
/* ===== Shine pro (sin bloque, sin duplicar logo) ===== */
.logo-wrapper{
  position: relative;
  display: inline-block;
  overflow: hidden;      /* recorta el brillo */
}

.logo-autostrada{
  display:block;
  position: relative;
  z-index: 1;
}

/* brillo: NO es un bloque blanco, es luz que se mezcla */
.logo-wrapper::after{
  content:"";
  position:absolute;
  inset:-20% -40%;       /* más grande para que el barrido sea suave */
  z-index: 2;
  pointer-events:none;

  /* “haz” finito, con bordes suaves */
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,.22) 50%,
    rgba(255,255,255,0) 60%
  );

  transform: translateX(-120%) skewX(-18deg);
  mix-blend-mode: screen; /* clave: parece luz, no barra */
  opacity: .65;
  filter: blur(0.6px);

  animation: logoSweep 7s infinite;
}

@keyframes logoSweep{
  0%   { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  10%  { opacity: .65; }
  45%  { opacity: .65; }
  60%  { transform: translateX(120%) skewX(-18deg); opacity: 0; }
  100% { transform: translateX(120%) skewX(-18deg); opacity: 0; }
}
.logo-wrapper{ display:inline-block; }
.logo-svg{ height: 64px; width: auto; display:block; }

.shine-rect{
  animation: shineMove 4.8s infinite ease;
  opacity: .9;
}

@keyframes shineMove{
  0%   { transform: translateX(0); }
  60%  { transform: translateX(400%); }
  100% { transform: translateX(400%); }
}
.logo-wrapper{
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.logo-autostrada{
  display:block;
  position: relative;
  z-index: 1;
}

.logo-wrapper::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255,255,255,.35) 50%,
    transparent 60%
  );

  transform: translateX(-120%);
  animation: shineMove 5s infinite ease;
  mix-blend-mode: overlay; /* clave */
}

@keyframes shineMove{
  0%   { transform: translateX(-120%); }
  60%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}