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

:root {
    /* Base: 1rem = 16px */
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.backdrop-conocenos {
    background-color: #0b1324;
    position: relative;
    width: 100%;
    min-height: 155.875rem; /* 2494px */
    height: auto;
    margin: 0 auto;
    overflow-x: hidden;
}

#footer-container {
    position: relative;
    width: 100%;
    z-index: 10;
}

/* Navigation Bar styles are in navbar.css */

/* Hero Section */
.hero-section-conocenos {
    position: relative;
    width: 100%;
    min-height: 30.0625rem; /* 481px */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-conocenos {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image-conocenos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-conocenos {
    position: absolute;
    left: 0;
    top: 3.75rem; /* 60px */
    width: 100%;
    height: 26.3125rem; /* 421px */
    background-color: rgba(11, 19, 36, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem; /* 10px */
}

.hero-title-conocenos {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 5vw, 2.8125rem); /* 45px */
    line-height: normal;
    letter-spacing: 0.084375rem; /* 1.35px */
    background: linear-gradient(to right, #a7becf 0%, #d9d9d9 134.17%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 90%;
    white-space: pre-wrap;
    text-align: left;
}

/* Subtitle Section */
.subtitle-text-conocenos {
    position: relative;
    margin-top: 5%;
    padding-left: 2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(1.125rem, 4vw, 2rem); /* 32px */
    line-height: normal;
    letter-spacing: 0.06rem; /* 0.96px */
    color: #66a0cb;
}

/* Profiles Section - Responsive */
.profiles-section-conocenos {
    position: relative;
    margin-top: 5%;
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* allow profiles to stack on small screens */
    justify-content: center;
    align-items: center;
    gap: 5rem; /* spacing between profiles */
    padding: 0 2rem; /* top/bottom padding */
    background-color: #0b1324; /* optional background */
}

.profile-container-conocenos {
    position: relative;
    max-width: 42rem; /* limit card width */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Profile Image */
.profile-image-blur-conocenos {
    position: relative;
    width: 50%;
    height: auto;
    overflow: hidden;
}

.profile-image-blur-conocenos img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom-only blur overlay */
.profile-image-blur-conocenos::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; /* only bottom portion */
    background: linear-gradient(to top, rgba(11,19,36,1), transparent);
    pointer-events: none;
}

/* Profile Name */
.profile-name-conocenos {
    margin-top: 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    line-height: 1.2;
    text-align: center;
    background: linear-gradient(to right, #a7becf 0%, #0857a0 134%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Profile Role */
.profile-role-conocenos {
    margin-top: 0.5rem;
    font-family: 'Afacad', sans-serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    color: #a7becf;
    text-align: center;
}

/* Profile Bio */
.profile-bio-conocenos {
    margin-top: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.5;
    letter-spacing: 0.055rem;
    color: #d9d9d9;
    text-align: center;
    text-shadow: 0 0 0.625rem #000000;
}

.profile-bio-conocenos strong {
    font-weight: 700;
}

/* Responsive adjustments */
@media screen and (max-width: 64rem) {
    .profiles-section-conocenos {
        gap: 2rem;
        padding: 2rem 1rem;
    }
}

@media screen and (max-width: 48rem) {
    .profiles-section-conocenos {
        flex-direction: column;
        align-items: center;
    }
    .profile-container-conocenos {
        max-width: 90%;
    }
}

/* FAQ Section */
.faq-section-conocenos {
    position: relative;
    margin: clamp(4rem, 7vw, 6rem) 0;
    padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem);
    background-image: url("../assets/preguntas_frecuentes.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.faq-section-conocenos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.faq-title-conocenos {
    margin-top: 5%;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.125rem; /* 50px */
    line-height: normal;
    letter-spacing: 0.09375rem; /* 1.5px */
    color: #f2f2f2;
    margin-bottom: 5%; /* 113px */
}

.faq-title-conocenos,
.faq-container-conocenos {
    position: relative;
    z-index: 1;
    margin-top: 5%;
    margin-bottom: 5%;
}

.faq-container-conocenos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* 24px */
}

.faq-item-conocenos {
    position: relative;
    width: 100%;
    border-radius: 0.625rem; /* 10px */
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question-conocenos {
    width: 100%;
    background-color: #a7becf;
    border: none;
    border-radius: 0.625rem; /* 10px */
    padding: 1.3125rem 2.125rem; /* 21px 34px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.3125rem; /* 69px */
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question-conocenos:hover {
    opacity: 0.9;
}

.faq-question-conocenos p {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 1.25rem; /* 20px */
    line-height: normal;
    letter-spacing: 0.0375rem; /* 0.6px */
    color: #0b1324;
    text-align: center;
    margin: 0;
}

.faq-icon-conocenos {
    width: 1.5625rem; /* 25px */
    height: 1.5625rem; /* 25px */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-icon-conocenos svg {
    width: 100%;
    height: 100%;
}

/* Active state - expanded with transparency */
.faq-item-conocenos.active {
    background-color: rgba(217, 217, 217, 0.7); /* 0.5 = 50% opacity */
}


.faq-item-conocenos.active .faq-icon-conocenos {
    transform: rotate(180deg);
}

/* FAQ Answer Container */
.faq-answer-conocenos {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-sizing: border-box;
}

.faq-item-conocenos.active .faq-answer-conocenos {
    max-height: 31.25rem; /* 500px - fallback, JS will override */
}

/* FAQ Answer: Text Type */
.faq-answer-text {
    padding: 0;
    transition: padding 0.3s ease;
}

.faq-item-conocenos.active .faq-answer-text {
    padding: 1.4375rem 1.5625rem; /* 23px 25px */
    backdrop-filter: blur(3.125rem); /* 50px */
}

.faq-answer-text p {
    font-family: 'Afacad', sans-serif;
    font-weight: 500;
    font-size: 1.5rem; /* 24px */
    line-height: normal;
    letter-spacing: 0.045rem; /* 0.72px */
    color: #0f2336;
    margin: 0;
    width: 85.75rem; /* 1372px */
    max-width: 100%;
}

/* FAQ Answer: Badges Type */
.faq-answer-badges {
    padding: 0;
    transition: padding 0.3s ease;
}

.faq-item-conocenos.active .faq-answer-badges {
    padding: 2rem 2.125rem; /* 32px 34px */
}

.faq-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, auto)); /* 200px */
    gap: 0.9375rem; /* 15px */
    justify-content: start;
}

.faq-badge {
    background-color: #a7becf;
    backdrop-filter: blur(3.125rem); /* 50px */
    border-radius: 1.25rem; /* 20px */
    padding: 0.625rem; /* 10px */
    font-family: 'Afacad', sans-serif;
    font-weight: 500;
    font-size: 1.5rem; /* 24px */
    line-height: normal;
    letter-spacing: 0.045rem; /* 0.72px */
    color: #194860;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 3.25rem; /* 52px */
    white-space: normal;
}

/* FAQ Answer: Table Type */
.faq-answer-table {
    position: relative;
    padding: 0;
    transition: padding 0.3s ease;
}

.faq-item-conocenos.active .faq-answer-table {
    padding: clamp(1.25rem, 4vw, 2.5rem);
}

.faq-table-bg {
    display: none;
}

.faq-table {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.faq-table-headers,
.faq-table-content {
    display: contents;
}

.faq-table-headers h3,
.faq-table-column {
    background: rgba(15, 35, 54, 0.6);
    border-radius: 18px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.faq-table-headers h3 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: normal;
    letter-spacing: 0.08em;
    color: #f7f2e4;
    margin: 0;
    text-align: center;
}

.faq-table-column {
    display: grid;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    color: #0f2336;
    background: rgba(246, 250, 255, 0.9);
}

.faq-table-column p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    line-height: 1.5;
    letter-spacing: 0.0375rem; /* 0.6px */
    color: #0f2336;
    margin: 0;
    text-align: center;
}

@media screen and (max-width: 48rem) {
    .faq-table {
        grid-template-columns: 1fr;
    }

    .faq-table-headers h3:first-of-type {
        order: 1;
    }

    .faq-table-content .faq-table-column:first-of-type {
        order: 2;
    }

    .faq-table-headers h3:last-of-type {
        order: 3;
    }

    .faq-table-content .faq-table-column:last-of-type {
        order: 4;
    }
}

@media screen and (min-width: 64rem) {
    .faq-table {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
}

/* Quote Section */
.quote-section-conocenos {
    position: relative;
    margin-top: 5%;
    padding: 0 2rem;
    margin-bottom: 5%;
}

.quote-text-conocenos {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1rem, 5vw, 2.1875rem); /* 35px */
    line-height: 1.5;
    letter-spacing: 0.065625rem; /* 1.05px */
    color: #d9d9d9;
    text-align: center;
    width: 79.5rem; /* 1272px */
    max-width: 90%;
    margin: 0 auto;
    white-space: pre-wrap;
}

/* Footer styles are in footer.css */

/* ====================
   RESPONSIVE ADAPTATIONS
   ==================== */

@media screen and (max-width: 90rem) {
    /* Tablet adjustments */
    .backdrop-conocenos {
        max-width: 100%;
    }
    
    .hero-section-conocenos,
    .subtitle-text-conocenos,
    .profiles-section-conocenos,
    .faq-section-conocenos,
    .quote-section-conocenos {
        position: relative;
        width: 100%;
        height: auto;
        left: auto;
        top: auto;
        margin: 2rem auto;
        padding: 0 2rem;
    }
    
    .hero-section-conocenos {
        margin: 0;
        padding: 0;
    }
    
    .profiles-section-conocenos {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    
    .profile-container-conocenos {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
    }
    
    .profile-image-blur-conocenos,
    .profile-name-conocenos,
    .profile-role-conocenos,
    .profile-bio-conocenos {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
}

@media screen and (max-width: 48rem) {
    /* Mobile adjustments */
    .hamburger {
        display: block;
        width: 1.5625rem;
        height: 1.125rem;
        cursor: pointer;
    }
    
    .hamburger img {
        width: 100%;
        height: 100%;
    }
    
    /* Navigation styles are in navbar.css */
    
    .hero-title-conocenos {
        font-size: clamp(1.5rem, 5vw, 2.8125rem);
    }
    
    .subtitle-text-conocenos {
        font-size: clamp(1.125rem, 4vw, 2rem);
    }
    
    .profile-name-conocenos {
        font-size: clamp(1.5rem, 5vw, 2.8125rem);
    }
    
    .profile-role-conocenos {
        font-size: clamp(1.125rem, 4vw, 2rem);
    }
    
    .profile-bio-conocenos {
        font-size: clamp(1rem, 3.5vw, 1.375rem);
    }
    
    .faq-title-conocenos {
        font-size: clamp(1.75rem, 6vw, 3.125rem);
    }
    
    .faq-question-conocenos {
        padding: 1rem;
    }
    
    .faq-question-conocenos p {
        font-size: clamp(0.875rem, 4vw, 1.25rem);
        text-align: left;
    }
    
    .quote-text-conocenos {
        font-size: clamp(1.25rem, 5vw, 2.1875rem);
    }
    
    .faq-answer-text p {
        font-size: clamp(0.875rem, 4vw, 1.5rem);
    }
    
    .faq-item-conocenos.active .faq-answer-text {
        padding: 1rem;
    }
    
    .faq-item-conocenos.active .faq-answer-badges {
        padding: 1rem;
    }
    
    .faq-badges-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-badge {
        font-size: clamp(0.875rem, 4vw, 1.5rem);
        padding: 0.5rem;
        min-height: 2.5rem;
    }
    
    .faq-item-conocenos.active .faq-answer-table {
        padding: 1rem;
    }
    
    .faq-table-bg {
        display: none;
    }
    
    .faq-item-conocenos.active .faq-answer-conocenos {
        max-height: 62.5rem; /* 1000px for mobile with more content */
    }
}
