    /* Variables */
    :root {
        --rojo: #ff4454;
        --negro: #000;
        --gris: #1a1a1a;
        --blanco: #f5f5f5;
    }

    /* Reset */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Roboto', sans-serif;
        background-color: var(--negro);
        color: var(--blanco);
        overflow-x: hidden;
    }

    h1, h2, h3 {
        font-family: 'Bangers', cursive;
        color: var(--rojo);
    }

    /* Header */
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 12px 20px;
        border-bottom: 2px solid var(--rojo);
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        transition: background 0.3s ease;
    }

    /* SCROLL BAR SUPERIOR */
    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        height: 4px;
        background-color: var(--rojo);
        width: 0%;
        z-index: 2000;
    }
    .header .logo {
        display: flex;
        align-items: center;
    }

    .header .logo img {
        width: 40px;
        margin-right: 10px;
    }

    .header h1 {
        font-size: 22px;
    }

    .hamburger {
        font-size: 26px;
        color: var(--rojo);
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    .hamburger.open {
        transform: rotate(90deg);
        color: var(--rojo);
    }

/* Menú móvil */
.mobile-menu {
    display: flex;
    flex-direction: column;
    background-color: var(--gris);
    width: 100%;
    position: sticky;
    top: 64px;
    left: 0;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-menu.active {
    max-height: 500px; /* Ajusta según el número de enlaces */
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu a {
    padding: 15px;
    text-decoration: none;
    color: var(--blanco);
    border-bottom: 1px solid #333;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}


/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero .video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 1;
}


.hero .overlay {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    animation: slideUp 1s ease;
}
    

    .hero h2 {
        font-size: 42px;
        margin-bottom: 15px;
        color: var(--rojo);
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .btn-wsp {
        background-color: var(--rojo);
        color: white;
        padding: 12px 30px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: bold;
        box-shadow: 0 0 20px var(--rojo);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .btn-wsp:hover {
        transform: scale(1.05);
        box-shadow: 0 0 30px var(--rojo);
    }

    /* Servicios */
    .servicios {
        padding: 40px 20px;
        text-align: center;
    }

    .titulo-seccion {
        margin-bottom: 20px;
        font-size: 28px;
        position: relative;
    }

    .servicio {
        background-color: var(--gris);
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 0 10px #000;
        transition: transform 0.3s;
    }

    .servicio:hover {
        transform: scale(1.03);
    }

    .servicio img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .servicio h3 {
        margin-bottom: 5px;
    }

    .servicio p {
        color: #ccc;
        font-size: 14px;
    }

    /* Contacto */
    .contacto {
        padding: 40px 20px;
        text-align: center;
    }


    /* Footer */
    .footer {
        background-color: var(--negro);
        text-align: center;
        padding: 15px;
        font-size: 12px;
        color: #777;
        border-top: 2px solid var(--rojo);
    }

    /* Animaciones */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes fadeOut {
        from { opacity: 1; transform: translateY(0); }
        to { opacity: 0; transform: translateY(-10px); }
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Adaptación a escritorio */
    @media (min-width: 768px) {
        .header h1 {
            font-size: 28px;
        }
        .hero h2 {
            font-size: 40px;
        }
        .servicio {
            max-width: 500px;
            margin: 0 auto 20px;
        }
        .btn-wsp {
            font-size: 18px;
        }
    }

    /* Centrar textos de todas las secciones */
    /* Carrusel */
    .carrusel {
        padding: 50px 20px;
        background-color: var(--gris);
        border-radius: 15px;
        margin: 40px 20px;
        box-shadow: 0 0 15px rgba(0,0,0,0.7);
    }

    .carrusel-contenedor {
        position: relative;
        max-width: 900px;
        margin: 0 auto;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slide {
        display: none;
        transition: opacity 0.5s ease-in-out;
        width: 100%;
    }

    .slide.active {
        display: block;
    }

    .slide img {
        width: 100%;
        max-height: 500px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    }

    /* Botones del carrusel */
    .carrusel-btn {
        background-color: rgba(0, 0, 0, 0.7);
        color: var(--rojo);
        border: none;
        font-size: 40px;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: background 0.3s, transform 0.3s;
        z-index: 2;
    }

    .carrusel-btn:hover {
        background-color: var(--rojo);
        color: var(--blanco);
        transform: translateY(-50%) scale(1.1);
    }

    .carrusel-btn.izq {
        left: -10px;
    }

    .carrusel-btn.der {
        right: -10px;
    }

    /* Animación al pasar */
    .slide.deslizar-izquierda {
        animation: deslizarIzquierda 0.5s ease;
    }

    .slide.deslizar-derecha {
        animation: deslizarDerecha 0.5s ease;
    }

    @keyframes deslizarIzquierda {
        0% {
            transform: translateX(100%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes deslizarDerecha {
        0% {
            transform: translateX(-100%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .ubicacion {
        padding: 40px 20px;
        text-align: center;
    }

    .ubicacion p {
        max-width: 600px;
        margin: 0 auto 20px;
        color: #ccc;
    }

    .ubicacion .mapa {
        max-width: 800px;
        margin: 0 auto;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    }

    .ubicacion .titulo-seccion {
        margin-bottom: 20px;
        font-size: 28px;
    }

    .redes {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 20px;
    }

    .redes a {
        width: 60px;
        height: 60px;
        background-color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ff4454;
        font-size: 28px;
        border: 2px solid #ff4454;
        transition: all 0.3s ease;
    }

    .redes a:hover {
        background-color: #ff4454;
        color: #fff;
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    @media (max-width: 600px) {
        .redes a {
            width: 50px;
            height: 50px;
            font-size: 24px;
        }
    }

    /* Animación general de aparición */
    @keyframes fadeSlideUp {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .aparecer {
        animation: fadeSlideUp 0.8s ease forwards;
    }

    /* Fondo del overlay */
    .overlay {
        transform: scale(0.95);
        animation: aparecerFondo 0.6s ease forwards;
        animation-delay: 0.2s;
    }

    @keyframes aparecerFondo {
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Texto dentro del overlay */
    .overlay h2,
    .overlay p,
    .overlay a {
        transform: translateY(20px);
        animation: aparecerTexto 0.6s ease forwards;
    }

    .overlay h2 {
        animation-delay: 0.8s;
    }

    .overlay p {
        animation-delay: 1.2s;
    }

    .overlay a {
        animation-delay: 1.6s;
    }

    @keyframes aparecerTexto {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Estado inicial */
    .scroll-hidden {
        opacity: 0;
        transform: translateY(60px);
        transition: opacity 1.5s ease, transform 1.5s ease;
    }

    /* Estado al aparecer */
    .scroll-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .tarjeta-tarifa {
  position: relative;
  background-color: #222;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px #00000088;
  transition: transform 0.3s ease;
}

.tarjeta-tarifa:hover {
  transform: scale(1.015);
}

.tarjeta-tarifa::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(
    60deg,
    #000,
    #ff4454,
    #d4af37,
    #000
  );
  background-size: 400% 400%;
  animation: borderFlow 6s linear infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}

.tarjeta-tarifa > * {
  position: relative;
  z-index: 2;
}

@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Ocultar flechas por defecto en todas las pantallas */
.carrusel-btn {
  display: none;
}

  /* --------- ESTILOS SOLO PARA ESCRITORIO (≥1000 px) --------- */
@media (min-width: 1000px) {
  /* ---------- 1. PROMOCIONES Y GALERÍA ---------- */
.carrusel .titulo-seccion {
  /* ‑‑ centra levemente hacia la derecha ‑‑ */
  margin-left: 6%;          /* ajusta a tu gusto (≈115 px en 1920 px) */
  text-align: left;         /* queremos que el texto arranque donde empiece la barra */
  position: relative;
}

.carrusel .titulo-seccion::before,
.carrusel .titulo-seccion::after{
  content:'';
  position:absolute;
  top:50%;
  width:90px;               /* largo de las barras */
  height:3px;
  background:#ff4454;
}

.carrusel .titulo-seccion::before{
  right:100%;               /* barra izquierda pegada al inicio del texto */
  margin-right:20px;        /* separación texto‑barra */
}

.carrusel .titulo-seccion::after{
  left:100%;                /* barra derecha después del texto */
  margin-left:20px;
}

/* ---------- 2. TARIFARIO ---------- */
.tarifario .titulo-seccion{
  margin-left:6%;           /* mismo desplazamiento */
  text-align:left;
  position:relative;
}

.tarifario .titulo-seccion::before,
.tarifario .titulo-seccion::after{
  content:'';
  position:absolute;
  top:50%;
  width:90px;
  height:3px;
  background:#ff4454;
}

.tarifario .titulo-seccion::before{
  right:100%;
  margin-right:20px;
}

.tarifario .titulo-seccion::after{
  left:100%;
  margin-left:20px;
}

/* 1️⃣  Nada puede medir más que la pantalla */
*,
*::before,
*::after{
  box-sizing:border-box;        /* evita que el padding sume ancho extra */
}

/* 2️⃣  Cortamos cualquier desbordamiento horizontal */
html,body{
  max-width:100%;
  overflow-x:hidden;
}
    /* Carrusel de promociones solo en PC */
.carrusel-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carrusel-contenedor {
  display: flex;
  transition: transform 0.5s ease;
  align-items: center;
}

.slide {
  min-width: 100%;
  transition: opacity 0.5s ease;
  display: none;
  justify-content: center;
  align-items: center;
}

.slide.active {
  display: flex;
}

.slide img {
  width: 90%;            /* Aumenta el tamaño (puedes poner 100% si quieres que ocupe todo el slide) */
  max-height: 550px;     /* Puedes ajustar este valor según el diseño */
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

      .carrusel-btn {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0,0,0,0.6);
    color: white;
    font-size: 2.5rem;
    border: none;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 10px;
    transition: background-color 0.3s;
  }

  .carrusel-btn:hover {
    background-color: rgba(255, 68, 84, 0.8);
  }

  .carrusel-btn.prev {
    left: 20px;
  }

  .carrusel-btn.next {
    right: 20px;
  }
  .servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); /* ⬅️ Aumentamos de 360px a 500px */
    gap: 50px; /* ⬅️ Un poco más de espacio entre tarjetas */
    padding: 100px 8%;
    background-color: #111;
    justify-items: center;
    align-items: start;
    position: relative;
  }

.servicios .titulo-seccion {
  grid-column: 1 / -1;
  text-align: left; /* alineación izquierda */
  margin-left: 6%; 
  font-family: 'Bangers', cursive;
  font-size: 60px;
  color: #ff4454;
  letter-spacing: 2px;
  text-shadow: 2px 2px 1px #000;
  margin-bottom: 40px;
  position: relative;
}

.servicios .titulo-seccion::before,
.servicios .titulo-seccion::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 90px;
  height: 3px;
  background: #ff4454;
}

.servicios .titulo-seccion::before {
  right: 100%;
  margin-right: 20px;
}
.servicios .titulo-seccion::after {
  left: 100%;
  margin-left: 20px;
}


  .servicio {
    background: #1a1a1a;
    padding: 45px 35px; /* ⬅️ Más espacio interno */
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
    width: 100%;
    max-width: 600px; /* ⬅️ Ampliamos el tamaño máximo */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 68, 84, 0.3);
  }

  .servicio img {
    width: 100%;
    height: auto;
    max-height: 350px; /* ⬅️ Más alto si lo deseas */
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 30px;
  }

  .servicio h3 {
    font-size: 42px; /* ⬅️ Más grande */
    margin-bottom: 20px;
  }

  .servicio p {
    font-size: 20px; /* ⬅️ Texto más visible */
    line-height: 1.8;
  }
  /* ----------- TARIFARIO ----------- */
  .tarifario {
    background-color: #111;
    padding: 80px 10%;
  }

  .tarifario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .tarjeta-tarifa {
    background: linear-gradient(145deg, #1c1c1c, #222);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: 1px solid #333;
  }

  .tarjeta-tarifa:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 68, 84, 0.2);
    border-color: #ff4454;
  }

  .tarjeta-tarifa h3 {
    font-size: 24px;
    font-family: 'Bangers', cursive;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 2px 2px 2px #000;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
  }

  .tarjeta-tarifa h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff4454;
    border-radius: 3px;
  }

  .tarjeta-tarifa ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
  }

  .tarjeta-tarifa li {
    font-size: 16px;
    color: #eee;
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    padding: 8px 0;
    border-bottom: 1px dashed #444;
  }

  .tarjeta-tarifa li:last-child {
    border-bottom: none;
  }

  .tarjeta-tarifa li strong {
    color: #ff4454;
    font-weight: 700;
  }

  .tarjeta-tarifa small {
    font-size: 14px;
    color: #bbb;
    display: block;
    margin-top: 5px;
    line-height: 1.4;
  }

  .titulo-seccion {
    font-family: 'Bangers', cursive;
    font-size: 60px;
    text-align: center;
    color: #ff4454;
    letter-spacing: 2px;
    text-shadow: 2px 2px 1px #000;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
  }

  .titulo-seccion::before,
  .titulo-seccion::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 3px;
    background: #ff4454;
  }

  .titulo-seccion::before {
    left: -100px;
  }

  .titulo-seccion::after {
    right: -100px;
  }

  /* Ajustes generales para PC */
  .hero .overlay h2 {
    font-size: 3.5rem;
  }

  .hero .overlay p {
    font-size: 1.5rem;
  }

  .btn-wsp {
    padding: 15px 30px;
    font-size: 1.2rem;
  }

  .redes a {
    margin: 0 15px;
    font-size: 2rem;
  }

  .mapa {
    max-width: 900px;
    margin: 0 auto;
  }
}


/* 3️⃣  En pantallas chicas quitamos los adornos que se salen */
@media(max-width:600px){
  /* Las barritas decorativas de los títulos son las que
     más se “desbordan” (miden 90 px hacia cada lado)      */
  .titulo-seccion::before,
  .titulo-seccion::after{
    display:none;               /* las ocultamos en móvil */
  }

  /* Los márgenes que empujan el título a la derecha
     (margin-left:6%) también generan anchura extra      */
  .carrusel .titulo-seccion,
  .tarifario .titulo-seccion{
    margin-left:0;              /* centrado normal en móvil */
    text-align:center;
  }
}
