:root {
    --bg-color: #ffffff;
    --text-color: #000000;

    --section-light-bg: #ffffff;
    --section-dark-bg: #ffffff;

    --header-bg: #ffffff;
    --header-scrolled-bg: transparent;

    --nav-text: #000000;

    --btn-border: #000000;
    --btn-text: #000000;
    --btn-hover-bg: #000000;
    --btn-hover-text: #ffffff;

    --form-bg: #ffffff;
    --form-input-border: #000000;
    --form-text: #000000;

    --card-bg: #ffffff;

    --footer-bg: #ffffff;
    --footer-text: #000000;

    --icon-accent: #000000;
    --icon-secondary: #000000;
    
    --transition-speed: 0.3s;
}

body, section, div, p, h1, h2, h3, h4, h5, h6, span, a {
    background-color: transparent;
    color: #000000;
}

.aliados-carousel-container { width: 100%; max-width: 1200px; margin: 0 auto; position: relative; }
.aliados-carousel { display: flex; gap: 40px; overflow-x: auto; padding: 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.aliados-carousel::-webkit-scrollbar { display: none; }
.aliados-bubble-wrapper { display: flex; flex-direction: column; align-items: center; min-width: 250px; scroll-snap-align: center; cursor: pointer; transition: transform 0.3s ease; }
.aliados-bubble-wrapper:hover { transform: translateY(-10px); }
.aliados-bubble { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; border: 4px solid #000000; box-shadow: 0 10px 25px rgba(0,0,0,0.08); margin-bottom: 20px; transition: all 0.3s ease; position: relative; background-color: #ffffff; }
.aliados-bubble-wrapper:hover .aliados-bubble { border-color: #000000; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); }
.aliados-bubble img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: grayscale(100%); }
.aliados-bubble-wrapper:hover .aliados-bubble img { transform: scale(1.1); filter: grayscale(0%); }
.aliados-name { font-family: 'Cinzel', serif; font-weight: 800; font-size: 1.3rem; color: #000000; margin-bottom: 5px; transition: color 0.3s ease; text-transform: uppercase; }
.aliados-bubble-wrapper:hover .aliados-name { color: #000000; text-decoration: underline; }
.aliados-role { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; color: #000000; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.aliados-modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.aliados-modal-overlay.active { opacity: 1; pointer-events: auto; }
.aliados-modal-content { width: 90%; max-width: 1100px; height: 75vh; background: #ffffff; border-radius: 0px; border: 2px solid #000000; overflow: hidden; display: flex; box-shadow: 0 25px 50px rgba(0,0,0,0.3); transform: translateY(50px) scale(0.95); transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); position: relative; }
.aliados-modal-overlay.active .aliados-modal-content { transform: translateY(0) scale(1); }
.close-modal { position: absolute; top: 25px; right: 25px; background: #ffffff; border: 2px solid #000000; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; color: #000000; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.close-modal:hover { background: #000000; border-color: #000000; color: #ffffff; transform: rotate(90deg); }
.modal-left { width: 50%; height: 100%; position: relative; border-right: 2px solid #000000; }
.modal-left img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(100%); }
.modal-right { width: 50%; height: 100%; padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; background-color: #ffffff; }
.modal-role { display: inline-block; color: #000000; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; text-decoration: underline; }
.modal-name { font-family: 'Cinzel', serif; font-size: 3rem; font-weight: 800; color: #000000; line-height: 1.1; margin-bottom: 30px; text-transform: uppercase; }
.modal-bio p { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; color: #000000; margin-bottom: 20px; line-height: 1.8; text-align: justify; }
.modal-social { margin-top: 40px; display: flex; gap: 20px; }
.social-link { text-decoration: none; color: #ffffff; background-color: #000000; border: 1px solid #000000; font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; padding: 10px 20px; transition: all 0.3s ease; display: inline-block; }
.social-link:hover { color: #000000; background-color: #ffffff; }

@media (max-width: 1024px) {
    .modal-right { padding: 60px 40px; }
    .modal-name { font-size: 2.4rem; }
}
@media (max-width: 768px) {
    .aliados-carousel { gap: 20px; }
    .aliados-bubble { width: 150px; height: 150px; }
    .aliados-bubble-wrapper { min-width: 200px; }
    .aliados-modal-content { flex-direction: column; height: 90vh; overflow-y: auto; }
    .modal-left { width: 100%; height: 40%; flex-shrink: 0; border-right: none; border-bottom: 2px solid #000000; }
    .modal-right { width: 100%; height: auto; padding: 40px 25px; }
    .modal-name { font-size: 2rem; }
    .close-modal { top: 15px; right: 15px; background: #ffffff; }
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.form-control {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 500;
    overflow-x: hidden;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    border-bottom: 1px solid #000000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nav-text);
    position: relative;
    text-decoration: none;
    font-weight: 600;
}

.btn-nav {
    border: 1px solid var(--nav-text);
    padding: 10px 20px;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    text-align: center;
    border-bottom: 1px solid #000000;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.center-text {
    text-align: center;
}

.paragraph {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: justify;
}

.about-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid #000000;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    width: 100%;
    border: 1px solid #000000;
    filter: grayscale(100%);
    transition: filter var(--transition-speed) ease;
}

.about-img:hover {
    filter: grayscale(0%);
}

.services-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 50px 30px;
    border: 1px solid #000000;
    text-align: center;
}

.service-icon-wrapper {
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.strategy-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid #000000;
}

.strategy-columns {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.strategy-col {
    flex: 1;
}

.strategy-heading {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.partners-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid #000000;
    overflow: hidden;
}

/* ANIMACIÓN CARRUSEL ALIADOS */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    padding: 40px 0;
}

.carousel-container::before, .carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scrollCarousel 25s linear infinite;
    gap: 60px;
    align-items: center;
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo-box {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 100px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.partner-logo-box:hover {
    transform: scale(1.15);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.partner-logo-box:hover .partner-logo {
    filter: grayscale(0%);
}

.cta-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid #000000;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #000000;
    background-color: transparent;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
}

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-heading {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #000000;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: 'Cinzel', serif;
    border: 1px solid #000000;
    cursor: pointer;
    text-decoration: none;
}

.btn-block {
    display: block;
    width: 100%;
}