/* Quienes Somos Header Styles */
.about-header {
    text-align: center;
    padding: 120px 20px 40px;
}

.about-title {
    font-size: 64px;
    margin-bottom: 20px;
    letter-spacing: -3px;
}

.about-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 20px;
    color: var(--text-color);
}

.about-hero-p {
    margin-top: 30px;
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.6;
}

/* About Page (Quienes Somos) Styles from main styles.css */
.about-hero {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-hero h2 {
    font-size: 24px;
    color: var(--primary-green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-hero .main-text {
    font-size: 32px;
    line-height: 1.4;
    color: var(--heading-color);
    font-weight: 600;
    letter-spacing: -1px;
}

.values-section {
    padding: 100px 20px;
    background: #f6f9fc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    font-size: 22px;
    color: var(--heading-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.mission-vision-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.mv-block {
    padding: 50px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(var(--primary-green-rgb), 0.1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mv-block h2 {
    font-size: 36px;
    color: var(--heading-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mv-block h2::before {
    content: '';
    width: 40px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

.mv-block p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

.team-section {
    padding: 120px 20px;
    background: var(--heading-color);
    color: #ffffff;
}

.team-header {
    text-align: center;
    margin-bottom: 80px;
}

.team-header h2 {
    font-size: 56px;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.quote-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.quote-card blockquote {
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 30px 0;
    position: relative;
    padding-left: 30px;
}

.quote-card blockquote::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    left: -10px;
    top: -20px;
    color: var(--primary-green);
    opacity: 0.5;
}

.quote-author {
    margin-top: auto;
}

.quote-author h4 {
    font-size: 20px;
    margin: 0 0 5px 0;
    color: var(--primary-green);
}

.quote-author span {
    font-size: 14px;
    opacity: 0.7;
    display: block;
}

.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item h5 {
    font-size: 15px;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.stat-item p {
    font-size: 18px;
    color: var(--heading-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .mission-vision-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-header h2 {
        font-size: 40px;
    }
}

/* 3D Experts Carousel Styles */
.experts-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    /* Indicate draggable */
}

.experts-section:active {
    cursor: grabbing;
}

.experts-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8vw;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: -5px;
    pointer-events: none;
    z-index: 1;
}

.experts-carousel-scene {
    width: 100%;
    height: 100%;
    perspective: 2000px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.experts-carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-card-3d {
    position: absolute;
    width: 280px;
    height: 380px;
    background: linear-gradient(135deg, #FF4D4D, #F9CB28);
    /* Vibrant Orange/Red */
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: white;
    cursor: pointer;
    overflow: hidden;
    backface-visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card-3d:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.expert-photo-container {
    width: 100%;
    height: 70%;
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
}

.expert-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.expert-card-3d:hover img {
    filter: grayscale(0);
}

/* Expert Card Modal Overlay */
.expert-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expert-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Expanded Expert Card */
.expert-card-expanded {
    width: 90%;
    max-width: 1000px;
    height: auto;
    max-height: 85vh;
    background: linear-gradient(135deg, #FF4D4D, #F9CB28);
    border-radius: 32px;
    padding: 50px;
    position: relative;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

/* Interaction Hint */
.experts-interaction-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--heading-color);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    pointer-events: none;
    opacity: 0;
    animation: fadeInHint 1s ease-out 1s forwards;
}

.experts-interaction-hint .hint-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes fadeInHint {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.expert-modal-overlay.active .expert-card-expanded {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Close Button */
.expert-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.expert-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.expert-modal-close::before,
.expert-modal-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
}

.expert-modal-close::before {
    transform: rotate(45deg);
}

.expert-modal-close::after {
    transform: rotate(-45deg);
}

/* Expanded Card Content Layout */
.expert-expanded-content {
    display: grid;
    grid-template-columns: 550px 1fr;
    /* Widened for better video display */
    gap: 50px;
    align-items: center;
}

.expert-expanded-photo {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 500px;
    height: 500px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-expanded-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.expert-expanded-photo video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(0.8);
    z-index: 1;
}

/* Photo destruction animation */
@keyframes photoDestroy {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px) brightness(1);
    }

    30% {
        transform: scale(1.05) rotate(2deg);
    }

    60% {
        opacity: 0.5;
        filter: blur(5px) brightness(1.2);
        transform: scale(0.95) rotate(-2deg);
    }

    100% {
        opacity: 0;
        transform: scale(0.7) rotate(5deg);
        filter: blur(15px) brightness(0);
    }
}

/* Video appearance animation */
@keyframes videoAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
        filter: blur(10px);
    }

    50% {
        opacity: 0.5;
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* Classes for triggering animations */
.expert-expanded-photo img.destroying {
    animation: photoDestroy 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.expert-expanded-photo video.appearing {
    animation: videoAppear 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.4s;
}

.expert-expanded-info {
    color: white;
}

.expert-expanded-info h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.expert-expanded-info .role {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}

.expert-expanded-info .company-logo {
    height: 35px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    margin-bottom: 30px;
}

.expert-bio {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
    margin-top: 20px;
}

/* Responsive for modal */
@media (max-width: 768px) {
    .expert-card-expanded {
        padding: 40px 25px;
        width: 92%;
        max-height: 85vh;
        border-radius: 24px;
        overflow-y: auto;
    }

    .expert-expanded-content {
        grid-template-columns: 1fr;
        gap: 25px;
        display: flex;
        flex-direction: column;
    }

    .expert-expanded-video {
        width: 100%;
        min-height: 200px;
        height: auto;
    }

    .expert-expanded-video video {
        position: relative;
        opacity: 1;
        transform: none;
        width: 100%;
        border-radius: 15px;
    }

    .expert-expanded-info h2 {
        font-size: 28px;
        text-align: center;
    }

    .expert-expanded-info .role,
    .expert-expanded-info .company-logo {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

.expert-info {
    flex: 1;
}

.expert-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 800;
}

.expert-info p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 8px;
}

.expert-company-logo {
    height: 25px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-top: 5px;
}

/* Float Animation Placeholder */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .expert-card-3d {
        width: 200px;
        height: 280px;
    }

    .experts-bg-text {
        font-size: 20vw;
    }
}

/* Methodology Section */
.methodology-section {
    padding: 100px 5%;
    background-color: #f8fafc;
    text-align: center;
}

.methodology-container {
    max-width: 1400px;
    margin: 0 auto;
}

.methodology-title {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 60px;
    font-family: var(--serif-font);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.methodology-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.methodology-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.method-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.method-content {
    padding: 24px;
}

.method-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.method-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .methodology-grid {
        grid-template-columns: 1fr;
    }
}

/* Methodology Horizontal Scroll Section */
.methodology-scroll-wrapper {
    height: 100vh;
    position: relative;
    background-color: #f8fafc;
    cursor: grab;
}

.methodology-scroll-wrapper.is-dragging {
    cursor: grabbing;
}

.methodology-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    perspective: 1000px;
}

.methodology-track {
    display: flex;
    gap: 60px;
    padding-left: 10vw;
    width: max-content;
    align-items: center;
    will-change: transform;
}

.methodology-intro-card {
    min-width: 400px;
    max-width: 500px;
    margin-right: 40px;
    z-index: 10;
}

.methodology-intro-card h2 {
    font-size: 64px;
    font-family: var(--serif-font);
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 24px;
}

.methodology-intro-card p {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.methodology-card {
    min-width: 380px;
    width: 380px;
    height: auto;
    /* Dynamic height */
    min-height: 450px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    opacity: 0;
    transform: translateX(100px) rotateY(-15deg);
}

.methodology-card:nth-child(even) {
    margin-top: 80px;
}

.methodology-card:nth-child(odd) {
    margin-top: -40px;
}

.method-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    /* Fix image cut */
    background: #fff;
    transition: transform 0.6s ease;
}

.methodology-card:hover .method-image {
    transform: scale(1.05);
}

.method-content {
    padding: 30px;
    height: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.method-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.method-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Powered By Section in Methodology */
.powered-by-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    justify-content: center;
}

.powered-by-gif {
    height: 80px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Helps integrate if white background */
}

/* Responsive Overrides */
@media (max-width: 768px) {

    /* ===== HEADER ===== */
    .about-header {
        padding: 100px 20px 30px;
    }

    .about-title {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .about-description {
        font-size: 18px;
    }

    /* ===== HERO ===== */
    .about-hero {
        padding: 60px 20px;
    }

    .about-hero h2 {
        font-size: 18px;
    }

    .about-hero .main-text {
        font-size: 24px;
    }

    /* ===== VALUES ===== */
    .values-section {
        padding: 60px 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 30px;
    }

    /* ===== MISSION/VISION ===== */
    .mission-vision-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 60px 20px;
    }

    .mv-block {
        padding: 35px;
    }

    .mv-block h2 {
        font-size: 28px;
    }

    .mv-block p {
        font-size: 16px;
    }

    /* ===== EXPERTS 3D CAROUSEL ===== */
    .experts-section {
        height: auto;
        min-height: 80vh;
        padding: 60px 0;
    }

    .experts-bg-text {
        font-size: 18vw;
        letter-spacing: -3px;
    }

    .experts-carousel-track {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 20px;
        gap: 20px;
        justify-content: flex-start;
        scrollbar-width: none;
        width: 100%;
        perspective: none;
        transform-style: flat;
    }

    .experts-carousel-track::-webkit-scrollbar {
        display: none;
    }

    .expert-card-3d {
        position: relative !important;
        width: 240px;
        min-width: 240px;
        height: 320px;
        flex-shrink: 0;
        scroll-snap-align: center;
        transform: none !important;
        left: auto !important;
        transition: transform 0.3s ease;
    }

    .expert-card-3d:hover {
        transform: scale(1.05) !important;
    }

    .expert-photo-container {
        height: 65%;
    }

    .expert-info h4 {
        font-size: 18px;
    }

    .expert-info p {
        font-size: 13px;
    }

    .expert-company-logo {
        height: 20px;
        max-width: 100px;
    }

    /* ===== EXPERT MODAL ===== */
    .expert-card-expanded {
        width: 95%;
        max-width: 100%;
        padding: 30px 20px;
        max-height: 90vh;
    }

    .expert-expanded-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .expert-expanded-photo {
        min-height: 300px;
        height: 300px;
        max-width: 100%;
    }

    .expert-expanded-info h2 {
        font-size: 28px;
    }

    .expert-expanded-info .role {
        font-size: 16px;
    }

    .expert-expanded-info .company-logo {
        height: 28px;
        max-width: 150px;
    }

    .expert-bio {
        font-size: 15px;
    }

    .expert-modal-close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }

    /* ===== INTERACTION HINT ===== */
    .experts-interaction-hint {
        bottom: 30px;
        padding: 10px 20px;
        font-size: 14px;
    }

    /* ===== TEAM SECTION ===== */
    .team-section {
        padding: 80px 20px;
    }

    .team-header h2 {
        font-size: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .quote-card {
        padding: 30px;
    }

    .quote-card blockquote {
        font-size: 16px;
        padding-left: 25px;
    }

    .quote-card blockquote::before {
        font-size: 50px;
        left: -5px;
        top: -15px;
    }

    /* ===== STATS ===== */
    .quick-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 15px;
        gap: 15px;
    }

    .stat-item {
        padding: 20px;
    }

    /* ===== METHODOLOGY SCROLL ===== */
    .methodology-scroll-wrapper {
        height: auto;
        min-height: auto;
        padding: 60px 0;
    }

    .methodology-sticky-container {
        position: relative;
        height: auto;
    }

    .methodology-track {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 40px 20px;
        /* More padding for shadows */
        gap: 20px;
        scrollbar-width: none;
        /* Hide scrollbar for cleaner look */
        position: relative;
        transform: none !important;
        perspective: none;
        width: 100%;
        box-sizing: border-box;
    }

    .methodology-track::-webkit-scrollbar {
        display: none;
    }

    .methodology-intro-card {
        min-width: 300px;
        max-width: 300px;
        width: 300px;
        margin-right: 0;
        flex-shrink: 0;
        scroll-snap-align: center;
        transform: none !important;
        opacity: 1 !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .methodology-intro-card h2 {
        font-size: 38px;
        margin-bottom: 15px;
    }

    .methodology-card {
        min-width: 280px;
        max-width: 280px;
        width: 280px;
        min-height: 400px;
        flex-shrink: 0;
        scroll-snap-align: center;
        opacity: 1 !important;
        transform: none !important;
        margin-top: 0 !important;
        top: 0 !important;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .method-image {
        max-height: 180px;
        height: auto;
    }

    .method-content {
        padding: 20px;
    }

    .method-content h3 {
        font-size: 20px;
    }

    .method-content p {
        font-size: 14px;
    }

    .powered-by-container {
        margin-top: 20px;
        font-size: 14px;
    }

    .powered-by-gif {
        height: 32px;
    }
}

@media (max-width: 425px) {
    .about-title {
        font-size: 32px;
    }

    .about-description {
        font-size: 16px;
    }

    .about-hero .main-text {
        font-size: 20px;
    }

    .mv-block {
        padding: 25px;
    }

    .mv-block h2 {
        font-size: 24px;
    }

    .expert-card-3d {
        width: 220px;
        height: 300px;
    }

    .team-header h2 {
        font-size: 32px;
    }

    .quote-card {
        padding: 25px;
    }

    .quick-stats-grid {
        grid-template-columns: 1fr;
    }

    .methodology-intro-card,
    .methodology-card {
        min-width: 260px;
        width: 260px;
    }

    .methodology-intro-card h2 {
        font-size: 36px;
    }
}


.quienes-logo-ciic {
    width: 120px;
    height: auto;
    vertical-align: middle;
}

.methodology-title {
    display: flex;
    align-items: center;
    vertical-align: middle;
    gap: 10px;
}

/* Methodology Interaction Hint */
.methodology-interaction-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--heading-color);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    pointer-events: none;
    opacity: 0;
    animation: fadeInHint 1s ease-out 1s forwards;
}

.methodology-interaction-hint .hint-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    animation: pulseIcon 2s infinite ease-in-out;
}

@media (max-width: 768px) {
    .methodology-interaction-hint {
        display: none;
    }
}

/* ============================================================
   Mute Toggle Button – Expert Modal (same logic as Itinerarios)
   ============================================================ */
.expert-expanded-photo .mute-toggle-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    padding: 0;
}

.expert-expanded-photo .mute-toggle-btn:hover {
    background: rgba(var(--primary-green-rgb), 0.8);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(var(--primary-green-rgb), 0.4);
}

.expert-expanded-photo .mute-toggle-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

/* Show/hide icons based on mute state */
.expert-expanded-photo .mute-toggle-btn.unmuted .mute-icon {
    display: none;
}

.expert-expanded-photo .mute-toggle-btn.unmuted .unmute-icon {
    display: block;
}

.expert-expanded-photo .mute-toggle-btn:not(.unmuted) .unmute-icon {
    display: none;
}

.expert-expanded-photo .mute-toggle-btn:not(.unmuted) .mute-icon {
    display: block;
}