@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;1,800&display=swap');
:root{--primary-color:#007BFF;--dark-bg:#1a1a2e;--card-bg:#1f1f3a;--footer-bg:#0c0c1a;--text-color:#FFFFFF;--text-muted:#a0a0c0}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Rubik',sans-serif;background-color:var(--dark-bg);color:var(--text-color);font-weight:400;cursor:url('../img/cursor.png'),auto}
a,button{cursor:url('../img/cursor.png'),auto}
a{text-decoration:none;color:var(--text-color)}
h1,h2,h3,h4{font-weight:800;font-style:italic}
p{font-weight:400;font-size:1rem;line-height:1.6}
.header{background-color:rgba(26,26,46,0.8);backdrop-filter:blur(10px);position:fixed;width:100%;top:0;z-index:1000;border-bottom:1px solid #333}
.navbar{display:flex;justify-content:space-between;align-items:center;padding:1rem 5%;height:90px}
.logo{height:80px;width:auto}
.nav-menu{display:flex;align-items:center;gap:2rem}
.nav-menu a{font-weight:800;font-style:italic;font-size:1.1rem;transition:color 0.3s ease;display:flex;align-items:center;gap:0.5rem}
.nav-menu a:hover{color:var(--primary-color)}
#hero{background-image:url('../img/background.jpg');background-size:cover;background-position:center center;height:100vh;display:flex;justify-content:center;align-items:center;text-align:center;padding:0 5%;position:relative}
#hero::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(26,26,46,0.8);z-index:1}
#hero::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:150px;background:linear-gradient(to top,var(--dark-bg),transparent);z-index:2}
.hero-content{position:relative;z-index:2;max-width:800px;color:var(--text-color);text-shadow:0 0 8px rgba(0,0,0,0.7)}
.hero-subtitle{color:var(--primary-color);font-weight:700;margin-bottom:1rem;font-style:italic}
.hero-content h1{font-size:5rem;font-weight:800;margin-bottom:1rem}
.hero-content p{font-size:1.2rem;line-height:1.6;color:#e0e0ff;font-weight:400;max-width:700px;margin:0 auto 2rem auto}
.btn{padding:0.8rem 2.5rem;border-radius:5px;font-weight:700;font-size:1rem;margin:0.5rem;transition:all 0.3s ease;display:inline-block;font-style:italic;border:none}
.btn-primary{background-color:var(--primary-color);color:var(--text-color)}
.btn-primary:hover{transform:scale(1.05)}
.btn-secondary{background-color:#333;color:var(--text-color)}
.btn-secondary:hover{background-color:#444}
section{padding:6rem 10%;text-align:center}
h2{font-size:2.5rem;margin-bottom:3rem;color:var(--text-color)}
.section-subtitle{display:inline-flex;align-items:center;gap:0.5rem;background-color:rgba(0,123,255,0.1);border:1px solid rgba(0,123,255,0.2);padding:0.5rem 1rem;border-radius:20px;margin-bottom:1rem}
.section-subtitle span{color:var(--primary-color);font-weight:800;font-style:italic;font-size:0.9rem}
.features-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}
.feature-card{background-color:var(--card-bg);padding:2rem;border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,0.2)}
.icon-container{font-size:2.5rem;color:var(--primary-color);margin-bottom:1rem}
.feature-card h3{font-size:1.5rem;margin-bottom:1rem;color:var(--text-color)}
.feature-card p{color:var(--text-muted);line-height:1.5;font-weight:400}
.portfolio-item{margin-bottom:5rem;text-align:left;background-color:var(--card-bg);padding:2rem;border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,0.2)}
.portfolio-item h3{text-align:center;margin-bottom:1rem;font-size:1.8rem}
.portfolio-item p{max-width:800px;margin:0 auto 2rem auto;text-align:center;color:var(--text-muted)}
.portfolio-item h4{text-align:center;margin-top:2rem;margin-bottom:1rem;font-size:1.2rem;color:var(--primary-color)}
.portfolio-cta{text-align:center;margin-top:2.5rem}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}
.grid-thumbnail{width:100%;height:180px;object-fit:cover;border-radius:10px;transition:transform 0.3s ease,opacity 0.3s ease}
.grid-thumbnail:hover{transform:scale(1.05);opacity:0.8}
.video-gallery{display:block;margin:0 auto}
.video-gallery video{width:100%;max-width:100%;height:auto;border-radius:10px}
.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.9);z-index:2000;display:flex;align-items:center;justify-content:center;padding:2rem;opacity:0;visibility:hidden;transition:opacity 0.3s ease,visibility 0.3s ease}
.modal-overlay.active{opacity:1;visibility:visible}
.modal-content{background-color:var(--dark-bg);width:100%;height:100%;max-width:1200px;border-radius:10px;padding:2rem;position:relative;display:flex;flex-direction:column}
.modal-close-button{position:absolute;top:1rem;right:1.5rem;background:none;border:none;color:var(--text-color);font-size:2.5rem;font-weight:bold;line-height:1}
.modal-gallery-body{display:flex;height:100%;flex-grow:1}
.modal-main-image{flex:1}
.modal-main-image img{width:100%;height:100%;object-fit:contain;border-radius:10px}
#reviews{padding-top:4rem}
.reviews-summary{display:flex;justify-content:center;align-items:center;gap:0.5rem;margin-top:1rem;margin-bottom:3rem}
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;text-align:left}
.review-card{background-color:var(--card-bg);padding:2rem;border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,0.2)}
.review-author{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.review-author img{width:50px;height:50px;border-radius:50%;object-fit:cover}
.review-card p{color:var(--text-muted);line-height:1.6;font-style:italic;font-weight:400}
.stars{color:var(--primary-color)}
#contacto{background-color:var(--card-bg)}
.contact-methods{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap;margin-top:2rem}
.contact-card{background-color:var(--dark-bg);padding:2rem;border-radius:10px;text-align:center;transition:transform 0.3s ease;flex-basis:300px}
.contact-card:hover{transform:translateY(-10px)}
.contact-card i{font-size:3rem;color:var(--primary-color);margin-bottom:1rem}
.contact-card span{display:block;font-size:1.5rem;font-weight:800;font-style:italic}
.contact-card p{color:var(--text-muted);font-weight:400}
.logo-scroller-section{padding:4rem 0;overflow:hidden;white-space:nowrap;position:relative}
.logo-scroller-section .partners-track{display:flex;width:calc(300px * 20);animation:scroll 40s linear infinite}
.logo-scroller-section .partners-track img{height:100px;width:300px;object-fit:contain;filter:grayscale(1) brightness(2);opacity:0.6}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
footer{background-color:var(--footer-bg);padding:4rem 10% 2rem;font-weight:400}
.footer-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:3rem}
.footer-logo{height:120px;width:auto}
.footer-column h4{font-size:1.2rem;margin-bottom:1rem;color:var(--primary-color)}
.footer-column ul{list-style:none}
.footer-column ul li{margin-bottom:0.8rem}
.footer-column a{color:var(--text-muted);transition:color 0.3s ease;font-weight:400}
.footer-column a:hover{color:var(--primary-color)}
.footer-bottom{text-align:center;color:var(--text-muted);border-top:1px solid #333;padding-top:2rem;font-size:0.9rem}
@media (max-width:992px){section{padding:5rem 5%}.hero-content h1{font-size:3.5rem}.nav-toggle{display:block;z-index:999}.nav-menu{position:fixed;top:0;right:-100%;width:60%;height:100vh;background-color:var(--card-bg);flex-direction:column;justify-content:center;transition:right 0.4s ease-in-out}.nav-menu.nav-menu_visible{right:0}.nav-right{display:none}}
@media (max-width:768px){h2{font-size:2rem}.hero-content h1{font-size:2.8rem}.hero-content p{font-size:1rem}.reviews-grid{grid-template-columns:1fr}.footer-container{grid-template-columns:1fr;text-align:center}.footer-column{align-items:center}.nav-menu{width:80%}.logo{height:50px}}


/* --- Estilos para el Selector de Idioma --- */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #333;
}

.language-switcher a {
    font-weight: 800;
    font-style: italic;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.language-switcher a:hover {
    color: var(--text-color);
}

.language-switcher a.active {
    color: var(--primary-color);
}

.language-switcher span {
    color: #444;
}

/* Ajuste para móvil */
@media (max-width: 992px) {
    .navbar {
        position: relative;
    }
    .language-switcher {
        position: absolute;
        right: 4rem; 
}
