:root {
    --primary-color: #0900b9;
    --accent-color: #3a72f6;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --gray-color: #7f8c8d;
    --transition: all 0.3s ease;
}

html,
body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

body {
    background-color: #fff;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* ===== COOKIES ===== */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 360px;
    background: #111;
    color: #eee;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

#cookie-banner a {
    color: #3a72f6;
}

#cookie-banner button {
    background: #3a72f6;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* ===== LOADER ===== */
#page-loader {
    position: fixed;
    inset: 0;
    background: #0b0b0b;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-content img {
    width: 120px;
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-content span {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}




/* ===== HEADER ===== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0)
    );
    backdrop-filter: blur(4px);
}

.logo img {
    height: 4rem;
}

/* ===== NAVEGACIÓN ===== */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav ul li > a {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

nav ul li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #1e90ff;
    transition: width 0.25s ease;
}

nav ul li > a:hover::after {
    width: 100%;
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    width: 190px;
    background: #0b0b0b;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 9999;
}

.dropdown-menu a {
    display: block;
    padding: 14px 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-menu a:not(:last-child) {
    border-bottom: 1px solid #1e90ff;
}

.dropdown-menu a:hover {
    background: rgba(30,144,255,0.12);
}

@media (min-width: 769px) {
    .dropdown-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ===== TOGGLES Y MENÚ MÓVIL ===== */
.menu-toggle {
    display: none;
    font-size: 1.6rem;
    color: white;
    cursor: pointer;
}

.close-menu {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #0b0b0b;
        padding: 80px 30px;
        transition: 0.3s ease;
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0 0 25px 0;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 2rem;
        color: white;
        cursor: pointer;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        margin-top: 10px;
        width: 100%;
    }

    .dropdown-item.open .dropdown-menu {
        display: block;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    color: white;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    padding: 0 5%;
    padding-top: 5%;
    max-width: 1200px;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
}

.animated-title {
    height: 10rem;
    width: fit-content;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.word-container {
    display: flex;
    flex-direction: column;
    animation: slideWords 12s infinite;
}

.word {
    font-size: 7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #e0dfdc;
    text-shadow:
        0 -1px 0 #fff,
        0 1px 0 #2e2e2e,
        0 2px 0 #2c2c2c,
        0 3px 0 #2a2a2a,
        0 4px 0 #282828,
        0 5px 0 #262626,
        0 6px 0 #242424,
        0 7px 0 #222,
        0 8px 0 #202020,
        0 9px 0 #1e1e1e,
        0 10px 0 #1c1c1c,
        0 11px 0 #1a1a1a,
        0 12px 0 #181818,
        0 13px 0 #161616,
        0 14px 0 #141414,
        0 15px 0 #121212,
        0 22px 30px rgba(0, 0, 0, 0.9);
    margin: 0;
    padding: 0;
    line-height: 1;
    height: 10rem;
    display: flex;
    align-items: center;
}

@keyframes slideWords {
    0%, 22% { transform: translateY(0); }
    25%, 47% { transform: translateY(-10rem); }
    50%, 72% { transform: translateY(-20rem); }
    75%, 97% { transform: translateY(-30rem); }
    100% { transform: translateY(0); }
}

.hero-content > p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* ===== SOCIAL ICONS ===== */
.hero-socials {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
}

.hero-socials a {
    color: white;
    font-size: 1.3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-socials a:hover {
    opacity: 1;
    transform: translateX(-6px);
    color: var(--primary-color);
}

.hero-socials::before {
    content: '';
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    align-self: center;
}

/* ===== ALIADOS SECTION ===== */
.aliados-section {
    position: relative;
    padding: 80px 5%;
    padding-bottom: 0;
    background-color: var(--light-color);
    background-image: url(assets/img/fondos/fondo1-index.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.section-title {
    text-align: left;
    color: white;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.aliados-slider {
    padding: 10px 0;
}

.aliados-slider img {
    mix-blend-mode: multiply;
}

.aliados-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.aliados-slider .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: var(--transition);
}

.aliados-slider .swiper-slide:hover img {
    filter: grayscale(0);
}

/* ===== AMCI HOY SECTION ===== */
.overlay-content {
    position: relative;
    z-index: 4;
    max-width: 65%;
    margin-bottom: 4rem;
}

.titulo {
    font-size: 10rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 30px;
    text-shadow: 4px 4px 0 #204dd3, 8px 8px 20px rgba(32, 77, 211, 0.6);
}

.beneficios {
    list-style: none;
    padding: 0;
}

.beneficios li {
    background: rgba(0, 45, 160, 0.9);
    color: #fff;
    padding: 14px 20px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    width: fit-content;
    border-radius: 4px;
}

.beneficios li::before {
    content: "+";
    margin-right: 10px;
    font-weight: bold;
}

.amcihoy {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    top: 40%;
}

.inges {
    height: 38rem;
    display: block;
}

/* ===== ABOUT SECTION ===== */
.about-amci {
    padding: 80px 20px;
    background-color: #f7f9fc;
}

.about-amci .container {
    max-width: 1200px;
    margin: 0 auto;
    margin-left: 3%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: transparent;
    -webkit-text-stroke: 1.5px #204dd3;
    text-transform: uppercase;
}

.about-text p {
    font-size: 15px;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.about-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

/* ===== REVISTAS SECTION ===== */
.revistas-section {
    padding: 80px 5%;
    background: linear-gradient(0deg, rgba(9, 0, 185, 1) 0%, rgba(58, 114, 246, 1) 25%, rgba(245, 245, 245, 1) 68%);
}

.revistas-section .section-title h2 {
    padding-top: 1rem;
    color: #1f1f1f;
}

.revistas-section .section-title span {
    color: #1f1f1f;
    font-weight: 400;
}

.revistas-section .section-title p {
    display: inline-block;
    padding: 10px 28px;
    border: 1.5px solid #1f1f1f;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f1f1f;
    background: transparent;
}

.carrusel-adaptable {
    padding: 30px 0;
}

.carrusel-adaptable .swiper-slide {
    height: 250px;
    width: auto;
    border-radius: 10px;
    border: 1.5px solid #1f1f1f;
    overflow: hidden;
    transition: var(--transition);
}

.carrusel-adaptable .swiper-slide:hover {
    transform: scale(1.05);
}

.carrusel-adaptable .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.revista-slide {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.revista-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.revista-overlay p {
    color: #fff;
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.3;
}

.revista-overlay span {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.revista-slide:hover .revista-overlay {
    opacity: 1;
}

/* ===== BENEFICIOS SECTION ===== */
.beneficios-section {
    background: #0900B9;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

.beneficios-section-title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;
}

.beneficios-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.beneficio-card {
    padding: 35px 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficio-card.white {
    background: #fff;
    color: #111;
}

.beneficio-card.blue {
    background: transparent;
    color: #fff;
}

.beneficio-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.beneficio-card ul {
    list-style-type: none;
}

.beneficio-card li {
    font-size: 15px;
    margin-bottom: 10px;
}

.icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.beneficio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 80px 5%;
    background-image: url(assets/img/fondos/fondo-stats.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    background-attachment: fixed;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-card i {
    color: #fff;
    font-size: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #cfcfcf;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== AFILIATE BANNER ===== */
.afiliate-banner {
    padding: 80px 5%;
    background: linear-gradient(125deg, rgba(9, 0, 185, 1) 0%, rgba(41, 42, 43, 1) 48%);
    color: white;
    text-align: center;
}

.afiliate-banner span {
    font-weight: 700;
    color: #3a72f6;
}

.afiliate-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.afiliate-banner p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-afiliate {
    background-color: var(--accent-color);
    font-size: 1.1rem;
    padding: 18px 50px;
}

.btn-afiliate:hover {
    background-color: #0900b9;
}

/* ===== BANNERS SECTION ===== */
.banners-section {
    padding: 80px 0;
    background-image: url(assets/img/fondos/textura.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.carrusel-banners-proveedores {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.banner-slide {
    width: 100%;
    aspect-ratio: 800 / 300;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
    color: #646464;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (hover: hover) {
    .carrusel-banners-proveedores:hover .swiper-button-next,
    .carrusel-banners-proveedores:hover .swiper-button-prev {
        opacity: 1;
    }
}

/* ===== FORM SECTION ===== */
.formulario-section {
    padding: 80px 5%;
    background-image: url(assets/img/fondos/camiones.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: row;
}

.formulario-section h2 {
    padding-top: 18%;
    text-align: center;
    font-size: 3rem;
    padding-right: 4%;
    font-weight: 500;
    color: #292A2B;
}

.formulario-section span {
    font-weight: 800;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #292A2B;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-item input {
    width: auto;
}

.form-nota {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 20px;
    font-style: italic;
    text-align: center;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    background-color: var(--primary-color);
}

.btn-submit:hover {
    background-color: #1a1a1a;
}

/* ===== FOOTER ===== */
.footer {
    background: radial-gradient(circle at top, #1a1a1a, #0b0b0b);
    color: #d6d6d6;
    padding: 80px 6% 30px;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 60px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 25px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #bdbdbd;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-links i {
    color: #555;
    font-size: 0.9rem;
}

.footer-links a {
    color: #cfcfcf;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 4%;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact a {
    color: #d6d6d6;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 4px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* ================= BOTÓN VOLVER ARRIBA ================= */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0a0fb3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  z-index: 10000; /* Más alto que otros elementos */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(10, 15, 179, 0.3);
  cursor: pointer;
  border: none;
  outline: none;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #090da8;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(10, 15, 179, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
}

/* Asegurar que otros elementos no tapen el botón */
.swiper-button-next,
.swiper-button-prev,
.md-hero-scroll {
  z-index: 9999; /* Menor que el botón scroll-to-top */
}

/* ===== RESPONSIVE ===== */

/* Tablet y menores */
@media (max-width: 1200px) {
    .animated-title {
        height: 7rem;
    }

    .word {
        font-size: 6rem;
        height: 7rem;
    }

    @keyframes slideWords {
        0%, 22% { transform: translateY(0); }
        25%, 47% { transform: translateY(-7rem); }
        50%, 72% { transform: translateY(-14rem); }
        75%, 97% { transform: translateY(-21rem); }
        100% { transform: translateY(0); }
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .titulo {
        font-size: 6rem;
    }

    .overlay-content {
        max-width: 100%;
    }

    .inges {
        height: 28rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-gallery img {
        height: 180px;
    }

    .formulario-section {
        flex-direction: column;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .animated-title {
        height: 4rem;
    }

    .word {
        font-size: 3.5rem;
        height: 4rem;
    }

    @keyframes slideWords {
        0%, 22% { transform: translateY(0); }
        25%, 47% { transform: translateY(-4rem); }
        50%, 72% { transform: translateY(-8rem); }
        75%, 97% { transform: translateY(-12rem); }
        100% { transform: translateY(0); }
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-socials {
        flex-direction: row-reverse;
        right: 20px;
        bottom: 20px;
    }

    .amcihoy {
        position: relative;
        text-align: center;
        margin-top: 40px;
    }

    .inges {
        height: 22rem;
        margin: auto;
    }

    .aliados-slider .swiper-slide {
        height: 70px;
        padding: 2%;
    }

    .carrusel-adaptable .swiper-slide {
        height: 25rem !important;
    }

    .carrusel-adaptable .swiper-slide:hover {
        transform: scale(0.95);
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .afiliate-banner h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .form-container {
        padding: 25px 20px;
    }
}