/* ==========================================================
   ESTILOS GENERALES Y RESET
   ========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #ffffff; 
    --text-primary: #111111;
    --text-secondary: #666666;
    --font-primary: 'Clash Display', sans-serif;
    --ca-gradient: linear-gradient(135deg, #FF8E53 0%, #f4258c 33%, #00b8ff 66%, #00d285 100%);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background-color: #111;
    color: #fff;
}

/* ==========================================================
   CURSOR PERSONALIZADO
   ========================================================== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

body:hover .custom-cursor { opacity: 1; }

/* ==========================================================
   NAVBAR (BARRA DE NAVEGACIÓN)
   ========================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.logo a { 
    text-decoration: none; 
    color: inherit; 
    transition: opacity 0.3s ease; 
}

.logo a:hover { opacity: 0.7; }

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.btn-get-started {
    border: 2px solid var(--text-primary);
    padding: 10px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-get-started:hover {
    background: var(--ca-gradient);
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.menu-toggle { display: none; }

/* ==========================================================
   HERO SECTION (TAMAÑO 200px Y GIRO DEL LOGO)
   ========================================================== */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    perspective: 1000px;
}

.hero-logo-spin {
    width: 200px; 
    height: auto; 
    filter: drop-shadow(0px 15px 25px rgba(0,0,0,0.15));
    
}

@keyframes spinY {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.massive-text {
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.sub-hero {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    font-weight: 400;
}

/* ==========================================================
   INTRO SECTION
   ========================================================== */
.intro {
    padding: 10rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 3rem;
}

.btn-more {
    display: inline-block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--text-primary);
    padding-bottom: 5px;
}

/* ==========================================================
   WORK GALLERY (PORTAFOLIO)
   ========================================================== */
.work-gallery { padding: 5rem 4rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item { cursor: zoom-in; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: translateY(-10px); }

/* ==========================================================
   SERVICES SECTION (PANELES)
   ========================================================== */
.services {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-panel {
    position: relative;
    width: 100%;
    padding: 6rem 4rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    overflow: hidden;
    background-color: #fff;
}

.service-panel:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }

.panel-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-number {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.service-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: var(--text-primary);
    transition: color 0.5s ease;
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: all 0.5s ease;
}

.service-panel:hover .panel-content { transform: translateX(30px); }
.service-panel:hover .service-title, .service-panel:hover .service-number { color: #fff; }
.service-panel:hover .panel-bg { opacity: 1; }

/* ==========================================================
   TESTIMONIALS (TESTIMONIOS)
   ========================================================== */
.testimonials { padding: 10rem 4rem; text-align: center; }
.section-label {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}
.massive-quote {
    font-size: clamp(1.5rem, 3vw, 3rem);
    line-height: 1.4;
    font-weight: 600;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

/* ==========================================================
   FOOTER (CONTACTO)
   ========================================================== */
.contact-footer {
    padding: 8rem 4rem 4rem;
    background-color: #111; 
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8rem;
    gap: 3rem;
}

.giant-cta {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -3px;
    color: #fff;
}

.btn-giant-outline {
    display: inline-block;
    padding: 20px 60px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.btn-giant-outline:hover {
    background: var(--ca-gradient);
    border-color: transparent;
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 3rem;
}

.glow-text {
    background: var(--ca-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.footer-legal { text-align: right; color: #888; font-size: 0.9rem; }

/* ==========================================================
   MODAL ( LIGHTBOX PARA AMPLIAR FOTOS )
   ========================================================== */
.modal {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
    cursor: zoom-out;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: translateY(-50%) scale(0.9); opacity: 0;}
    to {transform: translateY(-50%) scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-primary);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
}
.close-modal:hover { color: #f4258c; }

/* ==========================================================
   BANNER DE COOKIES (UN SOLO RENGLÓN)
   ========================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0 !important; 
    left: 0;
    width: 100%;
    background-color: #222 !important; border-top: 2px solid #ff6b35; 
    color: #ffffff;
    padding: 20px 2rem !important; 
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
    z-index: 9999;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
}

.cookie-banner.show { 
    bottom: 0; 
}

.cookie-banner p { 
    font-size: 1rem !important; font-weight: 600 !important; 
    margin: 0; 
    font-weight: 300; 
    white-space: normal; 
}

#accept-cookies {
    white-space: normal; 
    flex-shrink: 0; 
    padding: 6px 20px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* ==========================================================
   RESPONSIVE (MÓVILES Y TABLETS)
   ========================================================== */
@media (max-width: 1024px) {
    .navbar { padding: 1.5rem 2rem; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }
    .menu-toggle span {
        width: 30px;
        height: 2px;
        background-color: var(--text-primary);
        transition: all 0.3s;
    }
}

@media (max-width: 768px) {
    .cookie-banner { 
        padding: 15px; 
        flex-direction: column; 
        gap: 10px;
        text-align: center;
        bottom: 0 !important;
    }
    .cookie-banner p { 
        white-space: normal; 
        font-size: 0.8rem;
    }
    
    .footer-bottom { flex-direction: column; align-items: center; gap: 2rem; }
    .footer-legal { text-align: left; }
    .custom-cursor { display: none; }
    body { cursor: auto; }
}
.about-crew { padding: 4rem 2rem; text-align: center; }
.about-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.about-card { flex: 1; min-width: 280px; max-width: 350px; text-align: left; padding: 2rem; }
.contact-container { text-align: center; }
.contact-title { text-align: center; }
.footer-content { text-align: center; }
.footer-links { justify-content: center; display: flex; gap: 2rem; }


.about-crew { padding: 4rem 2rem; text-align: center; }
.about-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.about-card { flex: 1; min-width: 280px; max-width: 350px; text-align: left; padding: 2rem; }
.contact-container { text-align: center; }
.contact-title { text-align: center; }
.footer-content { text-align: center; }
.footer-links { justify-content: center; display: flex; gap: 2rem; }

.contact-form { padding: 6rem 2rem; background: #f5f5f5; text-align: center; min-height: 80vh; display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; box-sizing: border-box; }
.form-container { max-width: 600px; margin: 0 auto !important; text-align: center; width: 100%; padding: 2rem; }
.form-container h2 { font-size: 2rem; margin-bottom: 1rem; }
.form-container p { margin-bottom: 2rem; color: #666; }
.form input, .form textarea { width: 100%; padding: 1rem; margin-bottom: 1.5rem; box-sizing: border-box; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; }
.form textarea { resize: vertical; }
.btn-submit { background: var(--logo-orange); color: white; border: none; padding: 1rem 2rem; border-radius: 8px; cursor: pointer; font-weight: 600; transition: background 0.3s; }
.btn-submit:hover { background: var(--logo-pink); }

@media (max-width: 768px) {
.contact-form { padding: 4rem 1rem !important; min-height: auto !important; }
.form-container { padding: 1rem !important; }
.form input, .form textarea { width: 100% !important; box-sizing: border-box; }
}

.contact-form {
    clear: both !important;
    display: block !important;
    width: 100% !important;
    padding: 4rem 2rem !important;
    background: #f5f5f5 !important;
    box-sizing: border-box !important;
    float: none !important;
    position: relative !important;
}

.contact-form .form-container {
    clear: both !important;
    display: block !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.contact-form .form {
    clear: both !important;
    display: block !important;
    width: 100% !important;
}

.contact-form .form input,
.contact-form .form textarea {
    clear: both !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    float: none !important;
    position: relative !important;
}

.contact-form .btn-submit {
    clear: both !important;
    display: inline-block !important;
    width: auto !important;
    padding: 1rem 2rem !important;
    background: #ff6b35 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}
.service-desc { color: rgba(255,255,255,0.8); font-size: 1rem; margin-top: 0.5rem; }

.service-panel { cursor: pointer; transition: all 0.3s; }
.service-panel .service-details { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.service-panel.active .service-details { max-height: 300px; }
.service-panel .service-details ul { list-style: none; padding: 1rem 0 0 0; margin: 0; }
.service-panel .service-details li { color: rgba(255,255,255,0.8); font-size: 0.9rem; padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.service-panel .service-details li:before { content: "✓ "; color: #10b981; }

.service-panel { cursor: pointer; pointer-events: auto; }
.massive-text br { display: block; margin: 0.2rem 0; }

.footer { padding-bottom: 3rem; }


.message.user { background: #590df2; color: white; margin-left: auto; }
.message.bot { background: #333; color: white; }

