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

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

body {
    background-color: #000;
}

/* HEADER */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 40px;
    z-index: 10;
}

.logo {
    max-width: 180px;
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    background-image: url("../imagenes/fondo.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.35)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 40px;
}

.fecha {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.trayecto {
    font-size: 1rem;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ACCIONES */

.acciones {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.btn-primary {
    background-color: #1f6fd1;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #195fb2;
}

.btn-secondary {
    background-color: #f2b705;
    color: #000;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #e0aa05;
}

/* FOOTER */

.footer {
    background-color: #0a0a0a;
    padding: 60px 20px;
    text-align: center;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    max-width: 160px;
    margin-bottom: 24px;
}

.footer p {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.85;
}

.whatsapp {
    margin-top: 16px;
    font-weight: 500;
}
.whatsapp a {
    color: white;
    text-decoration: none;
}


/**********************
Ws botón redondo con tooltip ws-tooltip
***********************/
#chat-ws-redondo.ws.tooltip {
  position: fixed;
  bottom: 13px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%!important;
  cursor: pointer;
  display: block;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(91, 91, 91, 0.5);
          box-shadow: 0px 0px 20px 0px rgba(91, 91, 91, 0.5);
  z-index: 999;
  background: #1ca550;
  padding: 8px 4px;
  opacity: 1;
}

#chat-ws-redondo.ws.tooltip img {
  padding-left: 0px;
  padding-top: 0px;
  width: 100%;
}

#chat-ws-redondo.ws.tooltip i {
  font-size: 44px;
  color: white;
}

.ws.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #1ca550;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.ws.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1ca550 transparent transparent transparent;
}

.ws.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* MOBILE */

@media (max-width: 768px) {

    .hero {
        background-image: url("../imagenes/fondo.jpg");
        align-items: flex-end;
        padding-bottom: 80px;
    }

    .hero-content {
        padding: 0 24px;
        text-align: center;
        margin-top: 40px;
    }

    .acciones {
        justify-content: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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

}


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

.animate-item {
    opacity: 0;
    transform: translateY(30px);
}

.animate-item.in {
    animation: fadeUp 0.8s ease forwards;
}

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