/* =========================================
   1. CONFIGURACIÓN GENERAL (RESET)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Desplazamiento suave al navegar */
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* =========================================
   2. ANIMACIONES DE SCROLL (TRANSICIONES)
   ========================================= */
.hidden-element {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    filter: blur(5px);
}

.hidden-element.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* =========================================
   3. BARRA DE NAVEGACIÓN
   ========================================= */
header {
    position: absolute;
    width: 100%;
    top: 0;
    padding-top: 40px;
    z-index: 20;
}

.navbar ul {
    display: flex;
    justify-content: center;
    gap: 6vw;
    list-style: none;
}

.navbar a {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 300;
    text-transform: capitalize;
    display: inline-block; 
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar a:hover {
    color: #a855f7; 
    transform: translateY(-3px);
    text-shadow: none;
}

/* =========================================
   4. SECCIÓN INICIO (HERO)
   ========================================= */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}

.content-wrapper {
    text-align: center;
    width: 90%;
    max-width: 1600px;
}

/* Botón TECH COMPANY (Cliqueable y encima de todo) */
.subtitle {
    font-size: 1rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
    color: #cccccc;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
    z-index: 10; 
    transition: transform 0.3s ease, color 0.3s ease;
}

.subtitle:hover {
    color: #a855f7;
    transform: translateY(-3px);
}

.title-box {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.main-title {
    font-family: 'Oswald', sans-serif;
    font-size: 14vw;
    text-transform: uppercase;
    line-height: 0.9;
    margin: 0;
    letter-spacing: -2px;
}

.header-icons {
    position: absolute;
    top: -35px;
    left: 5px;
    display: flex;
    gap: 20px;
    z-index: 15;
}

.header-icons a {
    color: #fff;
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.header-icons a:hover {
    color: #a855f7;
    transform: translateY(-3px);
}

/* =========================================
   CLASES COMPARTIDAS
   ========================================= */
.section-title-large {
    font-family: 'Oswald', sans-serif;
    font-size: 14vw;
    color: #fff;
    line-height: 0.8;
    text-transform: uppercase;
    margin: 0;
}

.contact-link-top {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    border-bottom: 3px solid #fff;
    padding-bottom: 5px;
    margin-bottom: 2vw;
    transition: color 0.3s, border-color 0.3s;
    white-space: nowrap;
}

.contact-link-top:hover {
    color: #a855f7;
    border-color: #a855f7;
}

/* =========================================
   5. SECCIÓN NOSOTROS
   ========================================= */
.about-section {
    background-color: #000;
    padding: 100px 5%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-container {
    display: flex;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 60px;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 20px;
}

.social-icons-about {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons-about a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons-about a:hover { color: #a855f7; }

.about-description {
    color: #cccccc;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
    max-width: 95%;
    margin-bottom: 60px;
}

.about-title {
    font-family: 'Oswald', sans-serif;
    font-size: 13vw;
    line-height: 0.8;
    margin: 0;
    margin-left: -8px;
    text-transform: uppercase;
}

.about-images {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-content: center;
}

.img-card {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.8;
}

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

/* =========================================
   6. SECCIÓN TRABAJOS
   ========================================= */
.works-section {
    background-color: #000;
    padding: 50px 5% 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.works-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.works-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.works-content {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.works-image-box {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
}

.works-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.works-image-box:hover img { transform: scale(1.05); }

.works-text-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.works-description {
    color: #e0e0e0;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 30px;
}

.social-icons-works {
    display: flex;
    gap: 20px;
    align-self: flex-end;
}

.social-icons-works a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons-works a:hover { color: #a855f7; }

/* =========================================
   7. SECCIÓN BLOGS
   ========================================= */
.blogs-section {
    background-color: #000;
    padding: 50px 5% 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.blogs-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.blogs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.blogs-title-group {
    display: flex;
    flex-direction: column;
}

.blogs-breadcrumb {
    font-family: 'Roboto', sans-serif;
    color: #999;
    font-size: 1.2rem;
    margin-top: 10px;
    margin-left: 5px;
    font-weight: 300;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.5s ease, filter 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.blog-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-date {
    color: #888;
    font-size: 0.9rem;
    font-weight: 300;
}

.blog-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}

.blog-excerpt {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 300;
}

/* =========================================
   8. SECCIÓN CONTACTANOS
   ========================================= */
.contact-section {
    background-color: #000;
    padding: 50px 5% 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.contact-header-row {
    text-align: right;
    margin-bottom: 50px;
}

.contact-title-giant {
    font-family: 'Oswald', sans-serif;
    font-size: 12vw;
    color: #fff;
    line-height: 0.8;
    text-transform: uppercase;
    margin: 0;
}

.contact-content-split {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.contact-form-wrapper {
    flex: 1;
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pill-input {
    width: 100%;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 15px 25px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.pill-input:focus {
    border-color: #a855f7;
}

.pill-textarea {
    width: 100%;
    height: 200px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 20px 25px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
}

.pill-textarea:focus {
    border-color: #a855f7;
}

.form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.social-icons-footer-left {
    display: flex;
    gap: 15px;
}

.social-icons-footer-left a {
    color: #fff;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.social-icons-footer-left a:hover {
    color: #a855f7;
}

.pill-button {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50px;
    padding: 10px 40px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pill-button:hover {
    background-color: #fff;
    color: #000;
}

.contact-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 400px;
}

.faq-container {
    text-align: center;
    margin-bottom: 50px;
}

.faq-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 20px;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 5px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #fff;
    padding: 20px 0;
    text-align: center;
}

/* --- ESTILOS INTERACTIVOS PARA FAQ (HOVER) --- */
.faq-question {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
    color: #a855f7;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #999;
    font-weight: 300;
    line-height: 1.5;
    transition: all 0.5s ease;
}

.faq-item:hover .faq-answer {
    max-height: 150px;
    opacity: 1;
    margin-top: 10px;
}
/* ------------------------------------------- */

.footer-data {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 40px;
}

.data-col h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.data-col p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #ccc;
    font-weight: 300;
}

/* =========================================
   9. RESPONSIVIDAD GENERAL
   ========================================= */
@media (max-width: 1024px) {
    .navbar ul { gap: 3vw; }
    
    .about-container, .works-content, .contact-content-split { 
        flex-direction: column; 
    }
    
    .about-title, .section-title-large, .contact-title-giant { 
        font-size: 16vw; 
        text-align: center; 
        margin-left: 0; 
    }
    
    .works-header, .blogs-header { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    
    .contact-header-row {
        text-align: center;
    }
    
    .contact-info-wrapper {
        width: 100%;
        margin-top: 50px;
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar ul { flex-wrap: wrap; gap: 15px; font-size: 0.9rem; }
    
    .header-icons { position: relative; justify-content: center; top: 0; left: 0; margin-bottom: 10px; }
    
    .main-title { font-size: 18vw; }
    
    .about-images { grid-template-columns: 1fr; }
    
    .blogs-grid { grid-template-columns: 1fr; }
    
    .footer-data {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    /* Ajustes para la página de Tech Company en móvil */
    .info-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .info-page {
        padding: 50px 5%;
    }

    .studios-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* =========================================
   10. ESTILOS PÁGINAS EXTRA (TECH, BLOGS)
   ========================================= */
.info-page {
    min-height: 100vh;
    padding: 50px 10%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a855f7;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
    color: #fff;
}

.info-header {
    margin-bottom: 60px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.info-content {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.text-block {
    flex: 1;
}

.text-block h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.text-block p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    font-weight: 300;
    text-align: justify;
}

.info-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.info-image:hover {
    filter: grayscale(0%);
}

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

/* =========================================
   11. ESTILOS NUEVOS: ECOSYSTEM (3 STUDIOS)
   ========================================= */
.intro-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 300;
    max-width: 800px;
    margin-top: 20px;
    line-height: 1.6;
}

.studios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.studio-card {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.studio-card:hover {
    transform: translateY(-10px);
    border-color: #a855f7;
}

.icon-box {
    font-size: 3rem;
    color: #a855f7;
    margin-bottom: 25px;
}

.studio-card h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 2px;
}

.studio-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.studio-tags {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.studio-tags li {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    background-color: #1a1a1a;
    padding: 5px 15px;
    border-radius: 50px;
    color: #888;
    border: 1px solid #333;
}