/* ——————————————————————
   ILUMINACIÓN SUTIL EN H1 y H2 
   —————————————————————— */
h1, h2 {
  text-shadow: 0 0 4px rgba(0, 255, 200, 0.4);
  transition: text-shadow 0.3s ease, color 0.3s ease;
}
h1:hover, h2:hover {
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(0, 255, 200, 0.7);
}

  
  
    /* Botón premium para escritorio */
    .btn-premium {
      position: absolute;
      top: 20px;
      right: 20px;
      padding: 12px 25px;
      background: transparent;
      border: 2px solid var(--gold-color);
      color: var(--gold-color);
      font-family: 'Montserrat', sans-serif;
      font-size: 18px;
      font-weight: 600;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s ease, color 0.3s ease;
      z-index: 1100;
    }
    .btn-premium:hover {
      background: var(--gold-color);
      color: #003333;
    }
    @keyframes goldBlink {
      0%, 100% { color: var(--gold-color); }
      50% { color: #000; }
    }
    
    /* Contenedor para el botón premium móvil (oculto por defecto) */
    .btn-premium-mobile-container {
      display: none;
    }
    
    /* Media query para dispositivos móviles */
    @media (max-width: 768px) {
      /* Ocultar el botón premium original */
      .btn-premium {
        display: none;
      }
      /* Mostrar el contenedor para el botón premium móvil */
      .btn-premium-mobile-container {
        display: block;
        text-align: center;
        margin: 15px 0;  /* Separación debajo del encabezado */
      }
      .btn-premium-mobile-container .btn-premium {
        position: static; /* En el flujo del documento */
        padding: 8px 15px;
        font-size: 16px;
        border: 2px solid var(--gold-color);
        display: inline-block;
      }
    }
    
    /* RESET Y CONFIGURACIÓN GLOBAL */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    /* VARIABLES – Fondo degradado gris plateado y contenedores gris medio */
    :root {
      --primary-color: #808080; /* Gris medio para contenedores */
      --accent-color:  #00B3B3;
      --gradient-main: linear-gradient(to right, #C0C0C0, #808080);
      --gold-color:    #FFD700;
    }
    body.pagina-particulares {
      background: var(--gradient-main);
      color: #fff;
      font-family: 'Roboto', sans-serif;
    }

    a { color: #fff; text-decoration: none; }
    a:hover { text-decoration: underline; }
    
    /* Botón "Volver a inicio" */
    .boton-volver {
      position: absolute;
      top: 20px;
      left: 20px;
      width: 40px;
      height: 40px;
      background: transparent;
      border-radius: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      z-index: 1000;
    }
    .boton-volver a {
      display: block;
      width: 100%;
      height: 100%;
      text-align: center;
    }
    .boton-volver img {
      width: 24px;
      height: 24px;
      display: inline-block;
      margin-top: 2px;
    }
    .boton-volver:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    }
    
    /* ENCABEZADO – con imagen empresa.png */
    .encabezado {
      position: relative;
      width: 100%;
      height: 50vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      animation: moverFondo 20s infinite linear;
    }
    .encabezado::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: url('empresa.png') center/cover no-repeat;
      animation: moverFondo 20s infinite linear;
      z-index: -1;
    }
    .encabezado-contenido {
      background: rgba(0,0,0,0.6);
      color: #fff;
      padding: 20px;
      border-radius: 10px;
      width: 90%;
      max-width: 700px;
      animation: fadeIn 1.5s ease-in-out;
      position: relative;
    }
    /* Botón de enlace (Elige el servicio que necesitas) */
    .boton-scroll {
      display: inline-block;
      padding: 10px 20px;
      background: var(--gradient-main);
      color: #fff;
      text-decoration: none;
      border: 2px solid var(--accent-color);
      border-radius: 0;
      cursor: pointer;
      transition: background 0.3s ease, color 0.3s ease;
    }
    .boton-scroll:hover {
      background: var(--accent-color);
      color: #000;
    }
    @keyframes moverFondo {
      0% { transform: translateY(0); }
      50% { transform: translateY(-20px); }
      100% { transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @media (max-width: 768px) {
      .encabezado {
        height: 40vh;
      }
      .encabezado-contenido {
        width: 95%;
        font-size: 14px;
        padding: 15px;
      }
    }
    
    /* CONTENIDO PRINCIPAL */
    .contenido-particulares {
      padding: 20px 0;
    }
    .parrafo-diagonal {
      background: var(--primary-color);
      color: #fff;
      margin: 20px auto;
      padding: 30px;
      position: relative;
      clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
      max-width: 800px;
      text-align: center;
    }
    .centrado-contenido {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
      position: relative;
    }
    .tira-negra-arriba,
    .tira-negra-abajo {
      height: 3cm;
      background: #000;
      margin: 20px 0;
    }
    .tira-negra-arriba {
      clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    }
    .tira-negra-abajo {
      clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
    }
    
    /* CARRUSELES – DISEÑO EN DOS COLUMNAS */
    .doble-columna .carrusel-layout {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
    }
    .doble-columna .carrusel-servicios {
      flex: 1 1 48%;
      text-align: left;
    }
    .doble-columna .texto-explicativo {
      flex: 1 1 48%;
      background: rgba(0,0,0,0.4);
      padding: 20px;
      border: 2px solid var(--accent-color);
      border-radius: 10px;
      text-align: center;
      animation: fadeIn 1s ease-in-out;
    }
    .texto-explicativo h3 {
      font-size: 1.5rem;
      color: var(--accent-color);
      margin-bottom: 10px;
      font-family: 'Montserrat', sans-serif;
      text-align: center;
    }
    .texto-explicativo p,
    .texto-explicativo ul {
      font-size: 1rem;
      line-height: 1.6;
      text-align: center;
    }
    .texto-explicativo ul {
      margin-top: 10px;
      padding-left: 20px;
      list-style-type: square;
    }
    @media (max-width: 768px) {
      .doble-columna .carrusel-layout {
        flex-direction: column;
      }
    
        #carrusel-vinilado {
  margin-left: -10px;
}

    }
    
    /* ESTILOS PARA EL CARRUSEL */
    .carousel {
      position: relative;
      overflow: hidden;
    }
    .carousel-inner {
      display: flex;
      transition: transform 0.5s ease;
    }
    .carousel-item {
      min-width: 100%;
      text-align: left;
      padding: 20px;
      position: relative;
    }
    .carousel-item img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      display: block;
    }
    .carousel-item .image-title {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0,0,0,0.6);
      padding: 8px;
      font-size: 0.95rem;
      text-align: center;
    }
    .carousel-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.5);
      border: none;
      padding: 10px;
      font-size: 18px;
      cursor: pointer;
      z-index: 9999;
      color: #fff;
    }
    .carousel-control.prev { left: 10px; }
    .carousel-control.next { right: 10px; }
    
    /* SERVICIOS GRATUITOS */
    .servicios-gratuitos {
      width: 700px;
      max-width: 100%;
      margin: 20px auto;
      background: var(--primary-color);
      color: #fff;
      border: 2px solid var(--accent-color);
      border-radius: 5px;
      padding: 20px;
      text-align: left;
    }
    .servicios-gratuitos h2 {
      text-align: center;
      margin-bottom: 15px;
    }
    
    /* SERVICIOS DE PAGO */
    .servicios-pago {
      width: 700px;
      max-width: 100%;
      margin: 20px auto;
      background: var(--primary-color);
      color: #fff;
      border: 2px solid var(--accent-color);
      border-radius: 5px;
      padding: 20px;
      text-align: left;
    }
    .servicios-pago h2 {
      text-align: center;
      margin-bottom: 15px;
    animation: none !important;     /* anula goldBlink */
  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;

        
    }
    .servicios-pago h2:hover {
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(0,255,200,0.7);
}
.servicios-pago h2::after {
  content:""; display:block; margin:6px auto 0; width:0; height:3px;
  background:var(--accent-color); transition: width 0.3s ease;
}
.servicios-pago h2:hover::after {
  width:100%;
}
    /* FORMULARIO DE DATOS PERSONALES */
    .columna-central {
      width: 700px;
      max-width: 100%;
      margin: 20px auto;
      background: var(--primary-color);
      color: #fff;
      border: 2px solid var(--accent-color);
      border-radius: 5px;
      padding: 20px;
      text-align: left;
    }
    .columna-central input[type="text"],
    .columna-central input[type="number"],
    .columna-central input[type="tel"],
    .columna-central input[type="email"],
    .columna-central textarea {
      width: 100%;
      margin-top: 5px;
      margin-bottom: 15px;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 5px;
      color: #000;
    }
    
    /* TÍTULOS H2 INTERACTIVOS */
    .h2-personalizado {
      font-family: 'Lobster', cursive;
      font-size: 2rem;
      color: #fff;
      text-shadow: 1px 1px 2px #000;
      display: block;
      text-align: center;
      transition: transform 0.3s ease, color 0.3s ease;
      cursor: pointer;
      margin-bottom: 15px;
    }
    .h2-personalizado:hover {
      transform: scale(1.05);
      color: var(--accent-color);
    }
    .h2-personalizado::after {
      content: "";
      display: block;
      margin: 0 auto;
      width: 0;
      height: 3px;
      background: var(--accent-color);
      transition: width 0.3s ease;
    }
    .h2-personalizado:hover::after {
      width: 100%;
    }

    .h2-gold-intermitente {
      font-family: 'Lobster', cursive;
      font-size: 2rem;
      text-shadow: 1px 1px 2px #000;
      text-align: center;
      margin-bottom: 20px;
    cursor: pointer;
  position: relative;
  overflow: visible;
  /* ya no lleva animation */
  transition: color 0.3s ease, text-shadow 0.3s ease;

        
    }
  .h2-gold-intermitente::after {
  content: "";
  display: block;
  margin: 6px auto 0;
  width: 0;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}
.h2-gold-intermitente:hover::after {
  width: 100%;
}
    
    /* NUEVA REGLA – Botón de enlace en los bloques a la derecha de las imágenes */
    .boton-cta {
      display: inline-block;
      padding: 10px 20px;
      background: var(--gradient-main);
      color: #fff;
      text-decoration: none;
      border: 2px solid var(--accent-color);
      border-radius: 0;
      cursor: pointer;
      transition: background 0.3s ease, color 0.3s ease;
    }
    .boton-cta:hover {
      background: var(--accent-color);
      color: #000;
    }
    
    /* Aseguramos que los labels se muestren como bloque */
    label {
      display: block;
      margin-top: 10px;
      margin-bottom: 5px;
    }
    
    /* FOOTER */
    footer {
      background: var(--primary-color);
      padding: 20px;
      text-align: center;
    }
    footer a {
      color: var(--accent-color);
      margin: 0 10px;
      text-decoration: none;
    }
    
    @media (max-width: 768px) {
      .encabezado { height: 40vh; }
      .encabezado-contenido { width: 95%; font-size: 14px; padding: 15px; }
      .parrafo-diagonal { margin: 20px 10px; }
      .carrusel-container, .servicios-gratuitos, .servicios-pago, .columna-central { width: 90%; margin: 20px auto; padding: 15px; }
    }
    
    /* PREMIUM IMAGE: Enmarcado de imágenes de servicios de pago */
    .premium-image img {
      width: 100%;
      max-width: 100%;
      border: 2px solid var(--accent-color);
      display: block;
    }
 
  @media (max-width: 768px) {
    /* — SOLO Remolques: altura fija y recorte igual que en desktop — */
    #carrusel-remolques .carousel-item img {
      width: 100% !important;
      height: 300px !important;      /* misma altura que en PC */
      object-fit: cover !important;   /* recorte idéntico */
      display: block !important;
    }
  }
      .carrusel-container {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 auto !important;
      padding: 0 !important;
    }
    /* 2) Que las imágenes ocupen todo ese ancho y mantengan su proporción */
    /* ÍNDICE DE NAVEGACIÓN */
    #indice-particulares {
      background: rgba(0, 0, 0, 0.7);
      padding: 10px;
      text-align: center;
      margin-bottom: 20px;
    }
    #indice-particulares ul {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 15px;
      flex-wrap: wrap;
      margin: 0;
      padding: 0;
    }
    #indice-particulares li a {
      color: #fff;
      text-decoration: none;
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      transition: text-decoration 0.3s ease;
    }
    #indice-particulares li a:hover {
      text-decoration: underline;
}


@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
}


@media (max-width: 768px) {
  #carrusel-adaptaciones .carrusel-layout {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  #carrusel-adaptaciones .carrusel-servicios,
  #carrusel-adaptaciones .texto-explicativo {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}
@media (max-width: 768px) {
  /* El contenedor del carrusel siempre al 100% */
  #carrusel-adaptaciones .carousel {
    width: 100% !important;
    overflow: hidden !important;
  }
  /* Inner ocupa siempre sólo el ancho visible */
  #carrusel-adaptaciones .carousel-inner {
    width: 100% !important;
    display: flex !important;
  }
  /* Cada ítem flexiona a 100% del contenedor, no más */
  #carrusel-adaptaciones .carousel-item {
    flex: 0 0 100% !important;
    min-width: 100% !important; /* o bien sólo flex:0 0 100% */
  }
  /* Evita alturas fijas si provocan problemas: */
  #carrusel-adaptaciones .carousel-item img {
    width: 100% !important;
    height: auto !important;
  }
}
 /* Botón flotante Vesabot (WhatsApp) */
    .vesabot-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #25D366;
      color: white;
      padding: 12px 16px 12px 14px;
      border-radius: 50px;
      font-weight: bold;
      text-decoration: none;
      display: flex;
      align-items: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
      z-index: 999;
      font-family: sans-serif;
      font-size: 16px;
    }

    .vesabot-icon {
      width: 28px;
      height: 28px;
      margin-right: 8px;
    }

    @media screen and (max-width: 768px) {
      .header-text h1 { font-size: 1.5em; }
      .text-box h1 { font-size: 2em; }
      .text-box h2 { font-size: 1.4em; }
      .text-box p { font-size: 1em; }
    }

    @media screen and (max-width: 480px) {
      .vesabot-btn {
        padding: 10px 12px;
        font-size: 14px;
      }
      .vesabot-icon {
        width: 24px;
        height: 24px;
        margin-right: 6px;
      }
    }
    /* — Encabezado con vídeo: anula fondo antiguo y coloca capas — */
.encabezado{
  background: none !important;
  animation: none !important;               /* quitamos la animación del fondo */
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.encabezado::before{
  content: none !important;                 /* elimina la imagen empresa.png del pseudo-elemento */
}

.encabezado .bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;                               /* debajo de todo */
}

.encabezado .overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);               /* oscurece para leer bien el texto */
  z-index: -1;                                /* entre vídeo y contenido */
}

.encabezado-contenido{
  position: relative;
  z-index: 1;                                 /* por encima de overlay y vídeo */
}

/* Ajuste responsive como ya tenías */
@media (max-width: 768px){
  .encabezado{ height: 40vh; }
}
/* Oculta el índice en pantallas pequeñas */
@media (max-width: 768px){
  #indice-particulares{
    display: none !important;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
}
footer {
  background-color: #111;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
}

footer nav {
  margin-top: 10px;
}

footer nav a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
}

footer nav a:hover {
  text-decoration: underline;
  color: #fff;
}

   