/* Reset & Variables */
:root {
    --primary-color: #9f184e;
    /* Deep Pink */
    --primary-dark: #7a103a;
    --yellow-accent: #fbba14;
    --yellow-hover: #e0a30b;
    --white: #ffffff;
    --black: #222222;
    --text-color: #333333;
    --gradient-bg: linear-gradient(135deg, #a41950 0%, #e68d18 100%);
    --card-bg-dark: #821c43;
    --bg-light: #fdfafb;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.highlight-yellow {
    color: var(--yellow-accent);
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1.5rem;
}

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

.rounded-xl {
    border-radius: 20px;
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: var(--transition);
}

.btn-warning {
    background-color: var(--yellow-accent);
    color: var(--primary-dark);
}

.btn-warning:hover {
    background-color: var(--yellow-hover);
    transform: translateY(-2px);
}

.btn-yellow {
    background-color: var(--yellow-accent);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 30px;
}

.btn-red {
    background-color: rgba(220, 53, 69, 0.9);
    color: var(--white);
    border-radius: 8px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-red:hover {
    background-color: rgb(220, 53, 69);
}

.btn-pink-outline {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 12px 20px;
    margin: 5px;
    font-size: 0.9rem;
}

.btn-pink-outline:hover {
    background-color: var(--primary-dark);
}

.btn-large {
    padding: 15px 50px;
    font-size: 1.2rem;
}

/* Header */
.navbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a.active {
    color: var(--yellow-accent);
    border-bottom: 2px solid var(--yellow-accent);
}

.nav-links a:hover {
    color: var(--yellow-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons a {
    color: var(--white);
    margin: 0 5px;
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--yellow-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../Imagenes/imagen%20portada.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.top-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: -15px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-partners {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-marcas-img {
    height: 120px;
    object-fit: contain;
    transition: var(--transition);
}

.hero-marcas-img:hover {
    transform: scale(1.05);
}

.hero-back-btn {
    margin-top: 40px;
}

/* Historia Section */
.historia {
    background: var(--gradient-bg);
    padding: 80px 0;
    color: var(--white);
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.title-primary {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
}

.subtitle-primary {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.info-card {
    background-color: var(--card-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: #a41950;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.image-wrapper {
    position: relative;
    height: 600px;
}

.marca-agua {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 2px;
}

/* Trayectorias Section */
.trayectorias {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.trayectoria-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    white-space: nowrap;
}

.trayectoria-carousel::before,
.trayectoria-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trayectoria-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(245, 245, 245, 1) 0%, rgba(245, 245, 245, 0) 100%);
}

.trayectoria-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(245, 245, 245, 1) 0%, rgba(245, 245, 245, 0) 100%);
}

.trayectoria-track {
    display: inline-flex;
    width: max-content;
    gap: 30px;
    animation: scrollTrayectorias 25s linear infinite;
    padding-left: 15px;
    /* Offset to make it look balanced initially */
}

.trayectoria-track:hover {
    animation-play-state: paused;
}

.trayectoria-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 4px;
    background: linear-gradient(90deg, rgba(251, 186, 20, 0.2) 0%, rgba(251, 186, 20, 0.8) 50%, rgba(251, 186, 20, 0.2) 100%);
    z-index: 0;
    pointer-events: none;
    transform: translateY(-50%);
}

.card-trayectoria {
    background: linear-gradient(145deg, #ffffff, #fdfbf7);
    border-radius: 12px;
    padding: 35px 20px 20px;
    text-align: center;
    position: relative;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 250px;
    max-width: 250px;
    flex-shrink: 0;
    white-space: normal;
    border: 1px solid rgba(251, 186, 20, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

@keyframes scrollTrayectorias {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.card-trayectoria:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 15px rgba(251, 186, 20, 0.3);
    border-color: rgba(251, 186, 20, 0.8);
    z-index: 5;
}

.card-trayectoria.highlight {
    border: 2px solid var(--yellow-accent);
    box-shadow: 0 0 25px rgba(251, 186, 20, 0.4);
    background: linear-gradient(145deg, #fffdf8, #fff8eb);
}

.card-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 50%;
    padding: 6px;
    width: 55px;
    height: 55px;
    border: 2px solid var(--yellow-accent);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 2;
}

.card-trayectoria:hover .card-icon {
    transform: translateX(-50%) rotate(10deg) scale(1.1);
}

.circle-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.card-year {
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

.card-trayectoria.highlight .card-year {
    color: var(--yellow-accent);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.card-img-container {
    background-color: transparent;
    padding: 10px;
    margin-bottom: 15px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img.shape-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(251, 186, 20, 0.5);
    padding: 4px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: all 0.4s ease;
}

.card-footer-text {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* Mundial Section */
.mundial {
    padding: 100px 0;
    background-color: #f4f6f9;
}

.mundial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.mundial .title-primary {
    color: var(--primary-color);
    font-size: 4.5rem;
    line-height: 1;
}

.mundial .title-year {
    font-size: 6rem;
}

.mundial .subtitle-light {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 40px;
}

.box-card {
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    color: var(--white);
}

.pink-box {
    background-color: var(--primary-color);
}

.yellow-box {
    background-color: #f1c40f;
    color: var(--text-color);
}

.box-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.underline-red {
    border-bottom: 2px solid red;
    font-weight: 700;
}

.image-layered {
    position: relative;
    height: 600px;
    margin-bottom: 30px;
}

.dark-overlay-box {
    position: absolute;
    bottom: -20px;
    left: 5%;
    width: 90%;
    background-color: #2c2c2c;
    color: var(--yellow-accent);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.overlay-logo {
    height: 40px;
    margin: 0 auto 10px;
}

.dark-overlay-box h5 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.info-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.thumb-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 120px;
}

.thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thumb-card:hover img {
    transform: scale(1.1);
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(159, 24, 78, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.thumb-card:hover .thumb-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(251, 186, 20, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.thumb-overlay i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--yellow-accent);
    transition: all 0.3s ease;
}

.thumb-card:hover .thumb-overlay i {
    color: var(--primary-dark);
    transform: scale(1.1) translateY(-3px);
}

.thumb-overlay span {
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-align: center;
}

/* Experiencias Section Dynamic Grid */
.experiencias-section {
    background-color: var(--primary-color);
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}

.experiencias-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--yellow-accent) 0%, transparent 70%);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

.experiencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    aspect-ratio: 1 / 1;
    perspective: 1500px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card.single-card:hover .flip-card-inner {
    transform: translateY(-10px) scale(1.02);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    background-color: #ffffff;
}

.flip-card-front img,
.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flip-card-front:hover img {
    transform: scale(1.03);
}

.flip-card-back {
    transform: rotateY(180deg);
    background-color: #000;
}

.flip-overlay-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
}

.flip-card:hover .flip-overlay-btn {
    opacity: 1;
}

.static-btn {
    opacity: 1;
}

.ultra-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--yellow-accent);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .experiencias-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        padding: 0 20px;
    }
}

/* Footer */
.footer {
    background-color: var(--yellow-accent);
    color: var(--white);
    padding: 50px 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: flex-start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
    object-fit: contain;
    object-position: left;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    background-color: transparent;
    border: 2px solid var(--white);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--white);
    color: var(--yellow-accent);
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.footer-form input[type="email"] {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.policy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
}

.policy-check input {
    margin-top: 3px;
}

.policy-check a {
    text-decoration: underline;
    font-weight: 700;
}

.btn-pink {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    padding: 12px 20px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
}

.btn-pink:hover {
    background-color: var(--primary-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-header h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-right: 30px;
}

.modal-body {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 15px;
    color: var(--text-color);
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.modal-body h3 {
    color: var(--primary-dark);
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.modal-footer {
    margin-top: 20px;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 991px) {

    .historia-grid,
    .mundial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .image-wrapper,
    .image-layered {
        height: auto;
        min-height: 400px;
        margin-bottom: 20px;
    }

    .experiencias-grid {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
    }

    .nav-links,
    .nav-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        margin-top: 15px;
        gap: 15px;
    }

    .nav-links.active-menu,
    .nav-actions.active-menu {
        display: flex;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        color: white;
        border: none;
        font-size: 1.8rem;
        cursor: pointer;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .title-primary {
        font-size: 2.8rem;
    }

    .mundial .title-year {
        font-size: 4rem;
    }

    .ultra-title {
        font-size: 2.2rem;
    }

    .footer {
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .btn-pink {
        align-self: center;
    }

    .btn-yellow,
    .btn-warning,
    .btn-pink-outline {
        display: inline-block;
        width: 100%;
        max-width: 300px;
        margin: 5px auto;
    }

    .modal-content {
        width: 95%;
        margin: 15% auto;
        padding: 20px 15px;
    }

    .card-trayectoria {
        min-width: 230px;
        max-width: 230px;
        padding: 30px 15px 15px;
    }

    .info-thumbnails {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .thumb-card {
        height: 160px;
    }
}

/* Tooltips for Icons out of gradient bars */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    /* Outside the bar */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-weight: 500;
}

[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: 140%;
}

.whatsapp-float[data-tooltip]::before {
    bottom: 110%;
    background: var(--primary-color);
}

.whatsapp-float[data-tooltip]:hover::before {
    bottom: 120%;
}

.btn-volver-gold {
    background: transparent;
    color: var(--yellow-accent);
    border: 2px solid var(--yellow-accent);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-volver-gold:hover {
    background: var(--yellow-accent);
    color: var(--primary-color);
    box-shadow: 0 0 20px var(--yellow-accent);
}

/* Experience Modal Styles */
.exp-modal-content {
    max-width: 900px;
    padding: 0;
    overflow: hidden;
}

.exp-modal-body {
    padding: 30px;
    text-align: center;
}

.exp-main-img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.exp-main-img:hover {
    transform: scale(1.02);
}

.exp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.exp-gal-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.exp-gal-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

.exp-close-modal {
    top: 15px;
    right: 25px;
    color: var(--primary-color);
    z-index: 10;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.exp-close-modal:hover {
    transform: rotate(90deg);
    color: var(--yellow-accent);
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.8);
    color: white;
}

/* GLOW AND DYNAMIC ANIMATIONS */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.animate-pulse-glow {
    animation: pulseGlow 2s infinite;
}

/* Card Glow Enhancements */
.flip-card-inner:hover {
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.3);
}

.box-card {
    transition: all 0.3s ease;
}

.box-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(203, 21, 81, 0.4);
}

/* Animated Info Layer on Flip Cards back */
.flip-card-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.flip-card:hover .flip-card-back::before {
    opacity: 1;
}

.flip-card-back::after {
    content: 'MÁS INFORMACIÓN';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow-accent);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    white-space: nowrap;
}

.flip-card:hover .flip-card-back::after {
    opacity: 1;
    bottom: 30px;
}

/* Global Button Hover Enhancements */
.btn-warning {
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--yellow-accent);
}

.btn-pink:hover,
.btn-pink-outline:hover {
    box-shadow: 0 0 20px var(--primary-color);
}

/* Dynamic Image Hover and Glows */
.dynamic-img-hover {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
    cursor: default;
}

.image-layered:hover .dynamic-img-hover,
.image-wrapper:hover .dynamic-img-hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.glow-hover {
    transition: all 0.4s ease;
}

.image-layered:hover .glow-hover {
    background-color: rgba(203, 21, 81, 0.9);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    transform: translateY(-5px);
}

.card-img-container {
    overflow: hidden;
}

.card-trayectoria:hover .card-img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.pink-box,
.yellow-box {
    transition: all 0.4s ease;
}

.pink-box:hover,
.yellow-box:hover {
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
    transform: scale(1.03);
}