:root {
      --azul-oscuro: #08284b;
      --azul: #087fc1;
      --azul-claro: #eaf5fc;
      --texto: #243447;
      --blanco: #ffffff;
      --fondo: #f4f8fb;
      --borde: #dce8f0;
    }

    * {
      box-sizing: border-box;
    }

/* ENCABEZADO DE OFERTAS Y SORTEOS */

header {
    background: #061d40;
    position: relative;
    width: 100%;
    z-index: 100;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
}


.navbar {
    max-width: 1500px;
    min-height: 96px;
    margin: 0 auto;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.logo img {
    display: block;
    height: auto;
    object-fit: contain;
}

.logo img:first-child {
    width: 170px;
    max-height: 110px;
}

.logo img.logo-name {
    width: 250px !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    margin-left: -12px;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    list-style: none;
}


.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    
}

.nav-links a:link,
.nav-links a:visited,
.nav-links a:hover,
.nav-links a:active {
    text-decoration: none;
}


.nav-links a:hover,
.nav-links a:focus-visible {
    color: #ffffff;
    background: #087fc1;
    border-color: #65d5ff;
    transform: translateY(-2px);
}

.nav-links a:focus-visible {
    outline: 2px solid #65d5ff;
    outline-offset: 3px;
}


/* BOTÓN DEL MENÚ MÓVIL */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: #ffffff;
}

/* ADAPTACIÓN PARA CELULARES Y TABLETAS */
@media (max-width: 760px) {
    .navbar {
        position: relative;
        flex-wrap: wrap;
        min-height: 80px;
        padding: 12px 16px;
        gap: 12px;
    }

    .logo img:first-child {
        width: 65px;
        max-height: 55px;
    }

    .logo img.logo-name {
        width: 155px;
        margin-left: -8px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% - 2px);
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        width: 250px;
        max-width: calc(100% - 32px);
        gap: 4px;
        padding: 12px;
        margin: 0;
        list-style: none;
        background: rgba(5, 31, 54, 0.97);
        border: 1px solid rgba(101, 213, 255, 0.35);
        border-radius: 18px;
        box-sizing: border-box;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

}

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--texto);
      background: var(--fondo);
      line-height: 1.6;
    }

    .pagina {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 48px;
    }

    .encabezado {
      text-align: center;
      margin-bottom: 28px;
    }

    .encabezado a {
      display: inline-block;
      margin-bottom: 12px;
      color: var(--azul);
      text-decoration: none;
      font-weight: 700;
    }

    .encabezado a:hover {
      text-decoration: underline;
    }

    h1 {
      margin: 0;
      color: var(--azul-oscuro);
      font-size: clamp(2rem, 5vw, 3rem);
      line-height: 1.15;
    }

    .subtitulo {
      max-width: 620px;
      margin: 12px auto 0;
      color: #526579;
      font-size: 1.05rem;
    }

    
.ofertas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}


    .tarjeta {
      overflow: hidden;
      background: var(--blanco);
      border: 1px solid var(--borde);
      border-radius: 18px;
      box-shadow: 0 10px 28px rgba(8, 40, 75, 0.09);
    }

    .tarjeta-cabecera {
      padding: 28px 30px;
      color: var(--blanco);
      background: var(--azul-oscuro);
    }

   
.etiqueta {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 13px;
  border: 1px solid #e4c477;
  border-radius: 999px;
  color: #fff4d2;
  background: #8b1822;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
    
.tarjeta h2 {
  margin: 0;
  color: #fff4d2;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tarjeta-cabecera {
  padding: 38px 30px;
  color: #ffffff;
  background-color: #08284b;
  background-image: url("assets/images/fondo-navideno.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 4px solid #d9ad55;
  position: relative;
  overflow: hidden;
}


.tarjeta-cabecera p {
  margin: 10px auto 0;
  max-width: 420px;
  color: #fff4d2;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85);
}

.tarjeta-contenido {
  padding: 28px 30px 45px;
  background-color: #eaf5fc;
  background-image: url("assets/images/FondoCombo1.png");
  background-position: center bottom;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;

}



    .tarjeta h3 {
      margin: 0 0 14px;
      color: var(--azul-oscuro);
      font-size: 1.15rem;
    }

    .servicios {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .servicios li {
      position: relative;
      margin: 0 0 12px;
      padding-left: 28px;
    }

    .servicios li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--azul);
      font-weight: 800;
    }

    .beneficio {
      margin: 22px 0;
      padding: 14px 16px;
      border-left: 4px solid var(--azul);
      border-radius: 8px;
      background: var(--azul-claro);
    }

    .beneficio strong {
      color: var(--azul-oscuro);
    }
   

.bloque-precio {
  display: inline-block;
  max-width: 100%;
  margin: 22px 0 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #8b1822, #c51f2b);
  border: 2px solid #e4c477;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(80, 15, 20, 0.2);
}

.precio {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
}

.nota-precio {
  margin: 6px 0 0;
  color: #fff4d2;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}


.fecha-especial {
  margin: 20px 0 24px;
  padding: 13px 16px;
  color: #8b1822;
  background: #fff4d2;
  border: 1px solid #d9ad55;
  border-left: 5px solid #b51f2a;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.5;
}


    .boton-whatsapp {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 13px 22px;
      border-radius: 8px;
      color: var(--blanco);
      background: var(--azul);
      text-align: center;
      text-decoration: none;
      font-weight: 700;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .boton-whatsapp:hover,
    .boton-whatsapp:focus-visible {
      background: var(--azul-oscuro);
      transform: translateY(-1px);
    }

    .pie {
      margin-top: 28px;
      color: #647587;
      text-align: center;
      font-size: 0.9rem;
    }

    @media (max-width: 600px) {
      .pagina {
        width: min(100% - 20px, 700px);
        padding-top: 22px;
      }

      .tarjeta-cabecera,
      .tarjeta-contenido {
        padding: 22px 20px;
      }

      .boton-whatsapp {
        width: 100%;
      }
    }

    .titulo-combo {
    display: block;
    width: 75%;
    max-width: 340px;
    height: auto;
    margin: -35px auto 8px;
    object-fit: contain;
}


/* Combo #2 */
.tarjeta-combo2 {
  margin-top: 0px;
}

.tarjeta-combo2 .tarjeta-cabecera {
  text-align: center;
}

.tarjeta-combo2 .etiqueta {
  display: table;
  margin: 0 auto 12px;
}

.tarjeta-combo2 .titulo-combo {
  margin: 0 auto;
  width: 75%;
  max-width: 340px;
  height: auto;
}

/* Precios de carros y motos */
.precios-combo2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.precio-vehiculo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 18px 10px;
  border: 2px solid #e4c477;
  border-radius: 12px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 12px rgba(8, 40, 75, 0.15);
}

.precio-carro {
  background: linear-gradient(135deg, #8b1822, #c51f2b);
}

.precio-moto {
  background: linear-gradient(135deg, #08284b, #087fc1);
}

.tipo-vehiculo {
  font-size: 1rem;
  font-weight: 700;
}

.valor-vehiculo {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 420px) {
  .precios-combo2 {
    gap: 10px;
  }

  .precio-vehiculo {
    padding: 14px 6px;
  }
}
.tarjeta-combo1 {
  grid-column: 1 / -1;
}

/* Combo #3 */
.tarjeta-combo3 .tarjeta-cabecera {
  text-align: center;
}

.tarjeta-combo3 .etiqueta {
  display: table;
  margin: 0 auto 12px;
}

.tarjeta-combo3 .titulo-combo {
  display: block;
  width: 90%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}
.premio-combo3 {
  margin: 24px 0;
  padding: 20px 14px;
  background: #315eaa;
  border-radius: 12px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 12px rgba(8, 40, 75, 0.2);
}

.premio-combo3 p {
  margin: 0;
}

.premio-titulo {
  color: #ffeb00;
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premio-cantidad {
  color: #ffeb00;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.premio-detalle {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
}
/* Tarjetas inferiores simétricas */
.tarjeta-combo2,
.tarjeta-combo3 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tarjeta-combo2 .tarjeta-contenido,
.tarjeta-combo3 .tarjeta-contenido {
  flex: 1;
}

/* Mantener las tarjetas apiladas en móviles */
@media (max-width: 760px) {
  .ofertas {
    grid-template-columns: 1fr;
  }

  .tarjeta-combo2,
  .tarjeta-combo3 {
    height: auto;
  }
}
.tarjeta-combo3 .beneficio {
  margin: 20px 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tarjeta-combo2 .tarjeta-cabecera,
.tarjeta-combo3 .tarjeta-cabecera {
  height: 275px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tarjeta-combo2 .titulo-combo,
.tarjeta-combo3 .titulo-combo {
  width: 90%;
  max-width: 420px;
  max-height: 170px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .tarjeta-combo2 .tarjeta-cabecera,
  .tarjeta-combo3 .tarjeta-cabecera {
    height: 220px;
    padding: 16px;
  }

  .tarjeta-combo2 .titulo-combo,
  .tarjeta-combo3 .titulo-combo {
    max-height: 140px;
  }
}

.tarjeta-contenido {
  font-size: 1.1rem;
}

.tarjeta-contenido h3 {
  font-size: 1.3rem;
}

.tarjeta-contenido p {
  font-size: 1.1rem;
}

.servicios li {
  font-size: 1.1rem;
}

.precio {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.nota-precio {
  font-size: 1rem;
}

.tipo-vehiculo {
  font-size: 1.1rem;
}

.valor-vehiculo {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

/* Restaurar el tamaño de las letras en los rectángulos */
.bloque-precio .precio {
  font-size: clamp(2rem, 5vw, 2.6rem);
}

.bloque-precio .nota-precio {
  font-size: 1rem;
}

.precios-combo2 .tipo-vehiculo {
  font-size: 1.1rem;
}

.precios-combo2 .valor-vehiculo {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.premio-combo3 .premio-titulo {
  font-size: 1.6rem;
}

.premio-combo3 .premio-cantidad {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.premio-combo3 .premio-detalle {
  font-size: 1.2rem;
}
.tarjeta-combo3 .descripcion-combo3 {
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  margin-bottom: 24px;
}

.tarjeta-combo3 .tarjeta-contenido {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Distribución vertical de los contenidos */
.tarjeta-combo2 .tarjeta-contenido,
.tarjeta-combo3 .tarjeta-contenido {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* El premio ocupa el espacio inferior del Combo #3 */
.tarjeta-combo3 .premio-combo3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  

  width: 100%;
  min-height: 50px;
  padding: 5px 10px;
  margin-top: 83px;

  background: linear-gradient(135deg, #4a7bd0 0%, #244477 100%);
  border: 2px solid #e4c477;
  border-radius: 12px;
  color: #ffffff;
  text-align: center;

  box-shadow: 0 4px 12px rgba(8, 40, 75, 0.15);
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Separación de la descripción */
.tarjeta-combo3 .descripcion-combo3 {
  margin-bottom: 24px;
}
.tarjeta-combo3 .tarjeta-contenido h3 {
  text-align: center;
}

/* TÍTULO PRINCIPAL DE OFERTAS */
.encabezado-ofertas {
    text-align: center;
    margin: 0 auto 32px;
    padding: 12px 20px 0;
}


/* ENCABEZADO DE OFERTAS */
.encabezado-ofertas {
    text-align: center;
    margin: 0 auto 32px;
    padding: 12px 20px 0;
}

.encabezado-ofertas h1 {
    margin: 50px 0 0;
    color: #08284b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
}

.encabezado-ofertas p {
    margin: 12px auto;
    color: #526579;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}
.site-footer {
    background: #061d40;
    color: #fff;
    padding: 55px 24px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 42px;
}

.footer-brand img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.footer-brand p,
.footer-column p {
    color: #d6e4f3;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-column h3 {
    color: #65d5ff;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.footer-column p {
    margin-bottom: 18px;
}

.footer-label {
    display: block;
    color: #65d5ff;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #65d5ff;
}

.footer-instagram,
.footer-whatsapp {
    display: block;
    margin-bottom: 16px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.footer-bottom p {
    color: #d6e4f3;
    font-size: 0.88rem;
}

@media (max-width: 800px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .site-footer {
        padding: 42px 20px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
     .footer-social {
        margin-top: 0;
        justify-content: flex-start;
    }

    .footer-brand {
        grid-column: auto;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo img:first-child {
    width: 155px;
    height: auto;
    max-height: 110px;
    object-fit: contain;
}

.logo img.logo-name {
    width: 280px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo {
        gap: 10px;
    }

    .logo img:first-child {
        width: 100px;
        max-height: 75px;
    }

    .logo img.logo-name {
        width: 190px;
        max-height: 55px;
    }
}

@media (max-width: 380px) {
    .logo img:first-child {
        width: 78px;
        max-height: 60px;
    }

    .logo img.logo-name {
        width: 150px;
        max-height: 45px;
    }
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    width: 100px;
    height: 100px;
    display: block;
    transition: transform 0.25s ease;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
    }
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin: 0 0 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.footer-social a:hover {
    transform: scale(1.12);
}

.footer-social img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.back-to-top {
    position: fixed;
    right: 49px;
    bottom: 150px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(101, 213, 255, 0.6);
    border-radius: 50%;
    background: #087fc1;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #05649a;
}

@media (max-width: 760px) {
    .back-to-top {
        right: 16px;
        bottom: 88px;
        width: 46px;
        height: 46px;
        font-size: 27px;
    }
}

/* =================================
   ENLACES LEGALES DEL FOOTER
================================= */

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 16px;
    padding-bottom: 10px;
}

.footer-legal a {
    color: #65d5ff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}
/* =================================
   MENÚ DESPLEGABLE NOSOTROS
================================= */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 190px;
    margin: 0;
    padding: 8px 0;

    list-style: none;
    background: #08284b;
    border: 1px solid rgba(101, 213, 255, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 9999;
}

.submenu li {
    list-style: none;
    width: 100%;
}

.submenu li a {
    display: flex;
    width: 100%;
    padding: 12px 16px;
    justify-content: center;

    color: #ffffff;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}

.submenu li a:hover {
    background: #087fc1;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
/* CORRECCIÓN DE ENLACES DEL MENÚ */

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links > li {
    list-style: none;
}

.nav-links > li::marker {
    content: "";
}

.nav-links > li > a,
.nav-links > li > a:visited {
    color: #ffffff;
    text-decoration: none;
}

.nav-links > li > a:hover {
    color: #65d5ff;
}


