/* Estilos globales */
:root {
    --color-text: #1a1a1a;
    --color-bg: #ffffff;
    --color-gray: #6b7280;
    --color-blue: #3b82f6;
    --color-purple: #8b5cf6;
    --color-red: #ef4444;
    --color-yellow: #f59e0b;
    --color-green: #10b981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
}

/* Utilidades */
.container {
    max-width: 1200px!important;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.text-gray { color: var(--color-gray); }

/* Componentes */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn--primary-white {
    background: #fff;
    color: #000;
}

.btn--primary-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem;
    background: #000;
    color: #fff;
}
.hero .topbar-logo {
    position: absolute;
    top: 2rem;
    z-index: 1;
    width: 180px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
}

/* Media query para desktop y tablet */
@media (min-width: 768px) {
    .hero .topbar-logo {
        left: auto;
        right: 2rem;
        transform: none;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

/* Hero Background Elements */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
    z-index: 1;
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.hero__gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

.hero__gradient-2 {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

/* Hero Content Elements */
.hero__tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem 0.75rem 0.75rem;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 9999px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-left: -1rem;
}

.hero__tag i {
    color: #fff!important;
    width: 1.25rem;
    height: 1.25rem;
}

.hero__tag span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero__description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
}

.hero__scroll-icon {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 2;
}

/* Animaciones */
@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) translateX(100px);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
}

.section-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-header h4 {
  font-size: 1.6rem;
  font-weight: 700;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.about__text {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.4;
}

.about__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.about__card {
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    background: #fff;
    transition: all 0.3s ease;
}

.about__card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.about__card i {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.about__card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.about__image-container {
    position: relative;
}

.about__image {
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 1;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__experience {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: #000;
    color: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
}

.about__experience-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about__experience-text {
    color: rgba(255, 255, 255, 0.7);
}

/* Stats Section */
.stats {
    padding: 3rem 0 6rem;
    background: #f9fafb;
    color: #000;
    position: relative;
    overflow: hidden;
}

.stats__header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats__header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stats__header p {
    color: var(--color-gray);
    font-size: 1.25rem;
    max-width: 42rem;
    margin: 0 auto;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.stat-card i[data-lucide="trophy"] { color: var(--color-yellow); }
.stat-card i[data-lucide="users"] { color: var(--color-blue); }
.stat-card i[data-lucide="heart"] { color: var(--color-red); }

.counter {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--color-gray);
    font-size: 1.25rem;
}

/* Academic Section */
.academic {
    padding: 2em 0 2rem;
    background: #f9fafb;
}

.accordion__item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    width: 100%;
    background: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}

.accordion__header:hover {
    background-color: #f9fafb;
}

.accordion__title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.accordion__icon {
    width: 24px;
    height: 24px;
    color: #666;
    margin-top: 0.2rem;
    transition: transform 0.3s ease;
    background-color: #ececec;
    border-radius: 50%;
    padding: 0.2rem;
}

.accordion__item.active .accordion__icon {
    color: #000;
}

.accordion__title div {
    text-align: left;
}

.accordion__title h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.accordion__title p {
    font-size: 0.875rem;
    color: #666;
    margin: 0.25rem 0 0;
}

.year {
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: #fff;
}

.accordion__item.active .accordion__content {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion__content > p {
    padding: 2rem 2rem 0;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.accordion__docs,
.accordion__achievements,
.accordion__publications {
    padding: 1rem 2rem;
}

.accordion__docs h4,
.accordion__achievements h4,
.accordion__publications h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    margin: 0 0 1rem;
}

.accordion__docs h4 i {
    color: #ef4444;
}

.accordion__achievements h4 i {
    color: #fbbf24;
}

.accordion__publications h4 i {
    color: #3b82f6;
}

.accordion__docs ul,
.accordion__achievements ul,
.accordion__publications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion__docs li,
.accordion__achievements li,
.accordion__publications li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.accordion__docs li::before,
.accordion__achievements li::before,
.accordion__publications li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.accordion__docs li::before {
    background-color: #ef4444;
}

.accordion__achievements li::before {
    background-color: #fbbf24;
}

.accordion__publications li::before {
    background-color: #3b82f6;
}

/* Experience Section */
.experience {
    padding: 8rem 0;
    background: #000;
    color: white;
    position: relative;
    overflow: hidden;
}

.experience h3 {
  color: #000;
}

.experience__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.experience-card__image {
    height: 12rem;
    border-radius: 0.75rem;
    overflow: hidden;
    margin: -2rem -2rem 2rem;
}

.experience-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.experience-card i[data-lucide="trending-up"] { color: var(--color-green); }
.experience-card i[data-lucide="brain"] { color: var(--color-purple); }

.experience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.experience-card p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.experience-card ul {
    list-style: none;
}

.experience-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-gray);
}

.experience-card li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: #000;
    border-radius: 50%;
}

/* Partners Section */
.partners {
    padding: 6rem 0 2rem;
    background: #f9fafb;
    position: relative;
    text-align: center;
}

.partners h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.partners p {
    color: var(--color-gray);
    margin-bottom: 3rem;
}

.marquee {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee__content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}
.marquee__content img {
    width: 100%;
    min-height: 70px;
    object-fit: contain;
    mix-blend-mode: multiply;
    background: white;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
}

.marquee__item {
    flex-shrink: 0;
    padding: 0 2rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Services Section */
.services {
    padding: 3rem 0;
    background: #fff;
    position: relative;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card i[data-lucide="users"] { color: var(--color-blue); }
.service-card i[data-lucide="brain"] { color: var(--color-purple); }
.service-card i[data-lucide="heart"] { color: var(--color-red); }

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-gray);
}

.service-card li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.service-card:nth-child(1) li::before { background: var(--color-blue); }
.service-card:nth-child(2) li::before { background: var(--color-purple); }
.service-card:nth-child(3) li::before { background: var(--color-red); }

/* CTA Section */
.cta {
    padding: 6rem 1.2rem;
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta .text-cta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 45rem;
    margin: 0 auto 3rem;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 3;
}

.btn:hover {
    transform: scale(1.05);
}

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

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

.btn--outline {
    border: 2px solid #000;
    color: #000;
}

.btn--outline:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn--white {
    background: #fff;
    color: #000;
}

.btn--outline-white {
    border: 2px solid #fff;
    color: #fff;
}

.btn--outline:hover {
    background: #000;
    color: #fff;
}

.btn--outline-white:hover {
    background: #fff;
    color: #000;
}

.scroll-to-top-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-to-top-button:hover {
    background-color: #333;
}

.content-legal p,
.content-legal ul,
.content-legal ol,
.content-legal li {
    margin-bottom: 1rem;
}

.content-legal p:last-child {
    margin-bottom: 0;
}





/* Footer */
.footer {
    background: #f9fafb;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer__info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer__info p {
    color: #666;
    margin-bottom: 2rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer__social a:hover {
    transform: translateY(-3px);
}

.footer__contact h3,
.footer__nav h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact__item i {
    color: #000;
    width: 1.5rem;
    height: 1.5rem;
}

.contact__item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact__item a,
.contact__item p {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact__item a:hover {
    color: #000;
}

.footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav li {
    margin-bottom: 0.75rem;
}

.footer__nav a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-left: 0;
}

.footer__nav a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

.footer__nav a:hover::before,
.footer__nav a.active::before {
    width: 100%;
}

.footer__nav a:hover,
.footer__nav a.active {
    color: #000;
}

.footer__nav a:hover {
    transform: translateY(-3px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer__links {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1rem;
    font-size: 0.875rem;
    text-decoration: none;
}

.footer__links a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.footer__links a:hover {
    color: #444;
    text-decoration: underline;
}

.footer__bottom p {
    color: #666;
    font-size: 0.875rem;
}

.awards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.award__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.award__item i {
    color: #fbbf24;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.award__item h4 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
    color: #000;
}

.award__item p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .award__item {
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer__grid {
        gap: 2rem;
    }

    .footer__info,
    .footer__contact,
    .footer__nav {
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .contact__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Animaciones */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }
  
    .hero__subtitle {
        font-size: 1.25rem;
    }
  
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
  
    .btn {
        width: 100%;
        justify-content: center;
    }
  
    .stats__grid,
    .services__grid,
    .experience__grid {
        grid-template-columns: 1fr;
    }
  
    .about__image-container {
        margin-top: 2rem;
    }
  
    .about__experience {
        position: relative;
        bottom: auto;
        left: auto;
        display: inline-block;
        margin-top: -2rem;
    }
}

.content-hero-scroller {
  padding: 8rem 4rem;
  background: rgba(0, 0, 0, 0.7);
}

.hero-scroller {
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.hero-scroller h2 {
    font-family: "Inter", sans-serif;
    font-size: 3rem;
    font-weight: 300;
    margin: 0;
}

.hero-scroller__rotator {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 60px;
    margin: 0 0.5rem;
    padding: 0 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    vertical-align: middle;
}

.hero-scroller__list {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    font-weight: 600;
    transform: translateY(-50%);
}

.hero-scroller__item {
    display: block;
    padding: 4px 0;
    border: 0;
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.3s ease;
}

.hero-scroller__item.slick-current + .slick-active {
    color: rgba(255, 255, 255, 0.5);
}

.hero-scroller__item.slick-current + .slick-active + .slick-active {
    color: white;
}

/* Estilos para el Modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Ancho del modal */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos para el Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f1f1f1;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
}

@media (max-width: 1024px) {
    .hero {
        min-height: 550px!important;
    }
    .about__grid {
        grid-template-columns: 1.5fr 1fr;
    }
    .about__experience {
        position: relative;
        margin-left: 2rem;
    }
    .stats__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .experience {
        padding: 4rem 2rem;
    }
    .footer__bottom {
        flex-wrap: wrap;
    }
    .services__grid,
    .experience__grid {
        grid-template-columns: 1fr;
    }
    .services__grid {
        grid-template-columns: 1fr;
    }
    .footer__nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats__grid {
        grid-template-columns: 1fr;  
    }
    .experience {
        padding: 2rem 1rem;
    }
    .hero {
        min-height: 550px!important;
    }
    .about {
        padding: 2rem 0;
    }
    .about__grid {
        display: flex;
        flex-direction: column-reverse;
    }
    .about__experience {
        margin-left: 25px;
    }
    .hero-scroller h2 {
        font-size: 2rem;
    }

    .hero-scroller__rotator {
        width: 200px;
        height: 50px;
    }
    .content-hero-scroller {
        display: none;
    }
    .partners h3,
    .partners p {
        padding: 0 2rem;
    }
    .accordion__header {
        flex-direction: column; 
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .year {
        margin-left: 1.5rem;
        background: #eee!important;
        color: #1a1a1a!important;
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -ms-transform: scale(0.8);
        -o-transform: scale(0.8);
    }
    .footer__info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .footer__grid {
        text-align: center;
    }
    .footer__nav {
        display: none;
    }
    .footer__bottom {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    .footer__bottom p {
        font-size: 0.75rem;
    }
}