@import url("https://fonts.googleapis.com/css?family=Montserrat|Montserrat+Alternates|Poppins&display=swap");

* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  font-family: "Montserrat Alternates", sans-serif;
}

/* Scroll suave para toda la página */
html {
  scroll-behavior: smooth;
}

/* Body */
body {
  width: 100%;
  min-height: 100vh;
  padding-top: 80px; /* Agregado: compensar header fijo */
  overflow-x: hidden; /* Prevenir scroll horizontal */
}

/* HEADER FIJO */
header {
    border: 1.5px rgb(100, 98, 96) solid;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px; /* Fijo en px para consistencia */
    position: fixed; /* Cambiado a fixed */
    top: 0;
    left: 0;
    z-index: 1100; /* Aumentado para estar sobre otros elementos */
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Agregado: sombra para separación visual */
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Animación del header al hacer scroll */
.header-scrolled {
    background:transparent;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
}

.lotipes{
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    animation: slideInLeft 1s ease-out;
}

.lotipes img{
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.menu:hover {
    transform: scale(1.1) rotate(20deg);
}

.lotipes p {
    font-size: clamp(14px, 2.5vw, 18px);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.navegacion {        
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    gap: 30px;
    font-weight: 500;
    animation: slideInDown 1s ease-out 0.3s both;
}

.navegacion li{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 120px;
    border-radius: 20px;
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
}

/* Efecto de onda en navegación */
.navegacion li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(189, 97, 97, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: -1;
}

.navegacion li:hover::before {
    width: 150%;
    height: 200%;
}

.navegacion li:hover{
    background: #bd6161;
    transform: rotate(-5deg) scale(1.05);
    transition: all 0.5s;
    box-shadow: 0 5px 15px rgba(189, 97, 97, 0.4);
}

.navegacion li.active {
    background: #bd6161;
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(189, 97, 97, 0.5);
}

.navegacion a{
    color: black;
    text-decoration: none;
    font-size: clamp(12px, 1.5vw, 16px);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.navegacion li:hover a {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.menu{
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 1s;
    transition: all 1s ease;
    object-fit: contain;
    z-index: 1001;
    position: relative;
    animation: slideInRight 1s ease-out 0.6s both;
}

.menu:hover{
    transform: rotate(90deg);
}

/* --- Carousel --- */
.carousel {
  width: 100vw;
  height: calc(100vh - 80px); /* Ajustado para header fijo */
  overflow: hidden;
  position: relative;
}

.carousel .list .item {
  width: clamp(150px, 20vw, 180px);
  height: clamp(200px, 30vh, 250px);
  position: absolute;
  top: calc(100% - clamp(220px, 35vh, 270px));
  left: clamp(60%, 70vw, 70%);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  background-position: center;
  background-size: cover;
  z-index: 100;
  transition: 1s;
}

/* Main items */
.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2) {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
}

/* Extra items on right - Responsive positioning */
.carousel .list .item:nth-child(3) { 
  left: calc(100% - clamp(170px, 25vw, 200px));
  top: calc(100% - clamp(220px, 35vh, 270px));
}
.carousel .list .item:nth-child(4) { 
  left: calc(100% - clamp(340px, 45vw, 400px));
  top: calc(100% - clamp(220px, 35vh, 270px));
}
.carousel .list .item:nth-child(5) { 
  left: calc(100% - clamp(510px, 65vw, 600px));
  top: calc(100% - clamp(220px, 35vh, 270px));
}
.carousel .list .item:nth-child(6) { 
  left: calc(100% - clamp(680px, 85vw, 800px));
  top: calc(100% - clamp(220px, 35vh, 270px));
}

/* Hide items after 6th */
.carousel .list .item:nth-child(n+7) {
  left: calc(100% - 1000px);
  top: calc(100% - clamp(220px, 35vh, 270px));
  opacity: 0;
}

/* --- Content inside active item --- */
.list .item .content {
  position: absolute;
  top: 50%;
  left: clamp(20px, 8vw, 100px);
  transform: translateY(-50%);
  width: clamp(280px, 50vw, 400px);
  text-align: left;
  color: #fff;
  display: none;
  padding: 20px;
}

.list .item:nth-child(2) .content {
  display: block;
}

.btn a{
 width: 35%;
 height: 5vh;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 20px;
 transition: all 1s;
 
}

.btn a:hover{
  background-color: #fff;
  color: #000;
  transform: rotate(5deg);
}
/* Text animations */
.content .title,
.content .name,
.content .des,
.content .btn {
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
}

.content .name {
  font-size: clamp(40px, 8vw, 100px);
  font-weight: bold;
  text-shadow: 3px 4px 4px rgba(255,255,255,0.8);
  animation-delay: 0.6s;
  line-height: 1.2;
}

.content .des {
  font-size: clamp(14px, 2.5vw, 18px);
  margin: 10px 0 20px 5px;
  animation-delay: 0.9s;
  line-height: 1.4;
}

.content .btn {
  margin-left: 5px;
  animation-delay: 1.2s;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.content .btn .button {
  padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
  font-size: clamp(12px, 2vw, 16px);
  border: 2px solid #fff;
  background: none;
  cursor: pointer;
  border-radius: 20px;
  transition: all 1s ease;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.content .btn .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.6s ease;
}

.content .btn .button:hover::before {
    left: 100%;
}

.content .btn .button:hover {
    border-color: black;
    color: #000000;
    background-color: #3174c0;
    transform: rotate(8deg) scale(1.05);
    transition: all 0.9s;
    box-shadow: 0 5px 15px rgba(49, 116, 192, 0.4);
}

.btn a{
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(12px, 2vw, 14px);
}

/* Animation keyframe */
@keyframes animate {
  from {
    opacity: 0;
    transform: translateY(100px);
    filter: blur(33px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Animaciones de entrada */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Arrows --- */
.arrows {
  position: absolute;
  top: clamp(60%, 75vh, 75%);
  right: clamp(45%, 52vw, 52%);
  display: flex;
  gap: 10px;
  width: clamp(200px, 40vw, 300px);
  max-width: 30%;
  align-items: center;
  z-index: 100;
}

.arrows button {
  width: clamp(40px, 6vw, 50px);
  height: clamp(40px, 6vw, 50px);
  border-radius: 50%;
  background: rgba(20, 255, 114, 0.1);
  color: #fff;
  font-weight: bold;
  font-size: clamp(12px, 2vw, 16px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.5s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.arrows button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.arrows button:hover::before {
    width: 100%;
    height: 100%;
}

.arrows button:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Sections styling con animaciones */
section {
    width: 100%;
    min-height: 80vh;
    text-align: center;
    position: relative;
    padding: clamp(40px, 8vw, 60px) 20px;
    color: rgb(0, 0, 0);
    margin-top: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

/* Clase para activar animación cuando la sección está visible */
section.animate {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeInUp 1s ease-out;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #aca4a4, #bd6161);
    border-radius: 2px;
    animation: expandLine 1.5s ease-out 0.5s forwards;
}

/* Seccion para el formulario de contactanos */

/* Estilos para la sección de contacto */
.contacto {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    
    font-family: 'Arial', sans-serif;
}

.contacto h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.contacto h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.container-contac {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Estilos para la información de contacto */
.contacto {
            width: 100%;
            backdrop-filter: blur(20px);
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            padding: 50px;
            animation: fadeInUp 0.8s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .contacto h2 {
            text-align: center;
            font-size: 3rem;
            color: #000000;
            margin-bottom: 50px;
            position: relative;
            font-weight: 700;
        }

        .contacto h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            border-radius: 2px;
        }

        .container-contac {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .informacion h3,
        .formulario h3 {
            font-size: 1.8rem;
            color: #2d3748;
            margin-bottom: 30px;
            font-weight: 600;
        }

        .container-conten {
            display: grid;
            gap: 25px;
        }

        .container-conten > div {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
        }

        .container-conten > div:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            border-left-color: #000000;
        }

        .container-conten img {
            width: 24px;
            height: 24px;
            filter: hue-rotate(220deg) saturate(1.5);
            margin-top: 2px;
        }

        .container-conten h4 {
            font-size: 1.1rem;
            color: #2d3748;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .container-conten p {
            color: #4a5568;
            line-height: 1.5;
            font-size: 0.95rem;
        }

        .formulario {
            background: rgba(255, 255, 255, 0.9);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .formulario input,
        .formulario select,
        .formulario textarea {
            width: 100%;
            padding: 15px 20px;
            margin-bottom: 20px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.9);
            font-family: inherit;
        }

        .formulario input:focus,
        .formulario select:focus,
        .formulario textarea:focus {
            outline: none;
            border-color: #000000;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
        }

        .formulario textarea {
            min-height: 120px;
            resize: vertical;
        }

        .formulario select {
            cursor: pointer;
        }

        .btn-enviar {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #1b1b1f 0%, #868686 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }

        .btn-enviar::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s ease;
        }

        .btn-enviar:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
        }

        .btn-enviar:hover::before {
            left: 100%;
        }

        .btn-enviar:active {
            transform: translateY(-1px);
        }

@keyframes expandLine {
    to {
        width: 100px;
    }
}



.container-sec {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: clamp(20px, 4vw, 30px);
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.info:nth-child(1) { animation-delay: 0.2s; }
.info:nth-child(2) { animation-delay: 0.4s; }
.info:nth-child(3) { animation-delay: 0.6s; }

.info:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.info h3{
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 20px;
    color: #000000;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.info img{
    width: clamp(60px, 12vw, 90px);
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.info:hover img {
    transform: scale(1.1) rotate(5deg);
}

.info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #bd6161;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.info:hover h3::after {
    width: 50px;
}

.info p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.9);
    text-align: justify;
    margin-bottom: 15px;
}

.info li {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    opacity: 0;
    animation: fadeInLeft 0.5s ease-out forwards;
}

.info li:nth-child(1) { animation-delay: 0.8s; }
.info li:nth-child(2) { animation-delay: 1.0s; }
.info li:nth-child(3) { animation-delay: 1.2s; }
.info li:nth-child(4) { animation-delay: 1.4s; }
.info li:nth-child(5) { animation-delay: 1.6s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #bd6161;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Barra lateral mejorada con animaciones */
.lateral {
    position: fixed;
    top: 0;
    right: -300px;
    width: min(280px, 80vw);
    height: 100vh;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1200;
    padding: 80px 0 20px 0;
    overflow-y: auto;
}

.lateral.active {
    right: 0;
}

.lateral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #617ebd, #4d88a0);
    z-index: -1;
}

.lateral li {
    display: block;
    padding: 18px 30px;
    color: #ffffff;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    list-style: none;
    opacity: 0;
    transform: translateX(50px);
}

/* Animación de entrada para elementos del menú lateral */
.lateral.active li {
    animation: slideInFromRight 0.6s ease-out forwards;
}

.lateral.active li:nth-child(1) { animation-delay: 0.1s; }
.lateral.active li:nth-child(2) { animation-delay: 0.2s; }
.lateral.active li:nth-child(3) { animation-delay: 0.3s; }
.lateral.active li:nth-child(4) { animation-delay: 0.4s; }
.lateral.active li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lateral li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(97, 137, 189, 0.3), transparent);
    transition: all 0.5s ease;
}

.lateral li:hover::before {
    left: 100%;
}

.lateral li:hover {
    background: rgba(91, 186, 199, 0.2);
    color: #ffffff;
    padding-left: 40px;
    border-left: 4px solid #59c5e6;
    transform: translateX(10px);
}

.lateral li:first-child {
    margin-top: 20px;
}

.lateral li:last-child {
    border-bottom: none;
}

/* Overlay para cerrar el menú */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(2px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

/* Indicador de scroll */
.scroll-indicator {
    position: fixed;
    top: 80px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #bd6161, #617ebd);
    z-index: 1000;
    transition: width 0.3s ease;
}

/* Botón para volver al inicio */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #bd6161, #617ebd);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

footer.expanded {
    margin-left: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 300px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 15px 20px;
    font-size: 14px;
}
/* --- Media Queries Mejoradas --- */

/* Tablets grandes y laptops pequeñas */
@media screen and (max-width: 1024px) {
  .navegacion {
    gap: 20px;
  }
  
  .navegacion li {
    width: 100px;
    height: 35px;
  }
  
  .carousel .list .item:nth-child(5),
  .carousel .list .item:nth-child(6) {
    opacity: 0.5;
  }
}

/* Tablets */
@media screen and (max-width: 768px) {
  body {
    padding-top: 70px;
  }

    .contacto {
        padding: 40px 15px;
    }
    
    .contacto h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .container-contac {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .informacion,
    .formulario {
        padding: 25px;
    }
    
    .container-conten > div {
        padding: 15px;
    }
    
    .container-conten > div:hover {
        transform: none;
    }
  
  header {
    height: 70px;
    padding: 0 15px;
  }
  
  .carousel {
    height: calc(100vh - 70px);
  }
  
  .navegacion {
    display: none;
  }
  
  .lotipes {
    max-width: 60%;
  }
  
  .list .item .content {
    left: 20px;
    width: calc(100% - 40px);
    padding: 15px;
  }
  
  .content .des {
    margin: 15px 0;
  }
  
  .arrows {
    top: 65%;
    right: 50%;
    transform: translateX(50%);
  }
  
  .carousel .list .item:nth-child(n+4) {
    opacity: 0;
    pointer-events: none;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Móviles grandes */
@media screen and (max-width: 480px) {
  body {
    padding-top: 60px;
  }
  
  header {
    height: 60px;
    padding: 0 10px;
  }

  .contacto h2 {
        font-size: 1.7rem;
    }
    
    .informacion h3,
    .formulario h3 {
        font-size: 1.5rem;
    }
    
    .informacion,
    .formulario {
        padding: 20px;
    }
  
  .carousel {
    height: calc(100vh - 60px);
  }
  
  .lotipes p {
    font-size: 14px;
  }
  
  .lotipes img {
    width: 18px;
    height: 18px;
  }
  
  .menu {
    width: 25px;
    height: 25px;
  }
  
  .list .item .content {
    top: 40%;
    left: 15px;
    width: calc(100% - 30px);
    padding: 10px;
  }
  
  .content .btn {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .content .btn .button {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .arrows {
    top: 60%;
    gap: 15px;
  }
  
  .carousel .list .item:nth-child(n+3) {
    display: none;
  }
  
  .container-sec {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
  }
  
  section {
    padding: 30px 15px;
    margin-top: 20px;
  }
  
  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Móviles pequeños */
@media screen and (max-width: 320px) {
  .lotipes {
    gap: 5px;
  }
  
  .lotipes p {
    font-size: 12px;
  }
  
  .list .item .content {
    top: 35%;
    padding: 8px;
  }
  
  .arrows {
    top: 55%;
  }
  
  .lateral {
    width: 90vw;
  }
}

/* Landscape móviles */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .list .item .content {
    top: 30%;
  }
  
  .content .name {
    font-size: clamp(30px, 6vw, 60px);
  }
  
  .content .des {
    font-size: clamp(12px, 2vw, 14px);
    margin: 8px 0 15px 5px;
  }
  
  .arrows {
    top: 50%;
  }
}