/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
}

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

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.header.hidden {
    transform: translateY(-100%);
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-flag-item {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}
.nav-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
    display: block;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ed1c27;
}

.btn-contact {
    background: #ed1c27;
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-contact:hover {
    background: #c41820;
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Fallback for browsers that don't support video */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ed1c27 0%, #ff4757 100%);
    z-index: 0;
    opacity: 0;
}

.hero-background:not(:has(video))::before {
    opacity: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 1200px;
    padding: 0 2rem;
    animation: heroContentFadeIn 1.5s ease-out 0.5s both;
}

@keyframes heroContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-x {
    font-size: 18rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: -3rem;
    letter-spacing: -8px;
    line-height: 0.8;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 3rem;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Buttons */
.btn-primary {
    background: #fff;
    color: #ed1c27;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Button */
.btn-hero {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.btn-hero::after {
    content: '→';
    color: #ed1c27;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.btn-hero:hover {
    background: #000;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.btn-hero:hover::after {
    transform: translateX(5px);
}

.btn-hero:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* About Section */
.about {
    background: #000;
    color: #fff;
    padding: 6rem 0;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-x {
    font-size: 3rem;
    color: #ed1c27;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.about-intro {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-mission {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: #ccc;
}

.about-commitment {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* How We Deliver Section */
.how-we-deliver {
    background: #fff;
    padding: 6rem 0;
}

.deliver-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.deliver-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
}

.deliver-header p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

/* Work Grid - Dos columnas y videos responsivos */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.work-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.2rem;
}

.work-video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.work-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #000;
    margin: 0.5rem 0 0 0;
    letter-spacing: 0.5px;
}

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

/* Clients Section */
.clients {
    background: #fff;
    padding: 4rem 0;
    border-top: 1px solid #eee;
}

.clients-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 2px;
}

.clients-list span {
    transition: color 0.3s ease;
}

.clients-list span:hover {
    color: #ed1c27;
}

/* Future Banner */
.future-banner {
    background: #000;
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.future-x-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(237, 28, 39, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(237, 28, 39, 0.1) 50%, transparent 60%);
    background-size: 100px 100px;
}

.future-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
}

.future-text {
    text-align: right;
}

.future-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.highlight {
    color: #ed1c27;
}

/* Think Beyond Section */
.think-beyond {
    background: #fff;
    padding: 6rem 0;
}

.think-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.think-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.article:hover {
    background: #f8f9fa;
}

.article-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
}

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

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.article-content p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-top {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-top h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #ccc;
    font-size: 0.9rem;
}

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

.footer-social a:hover {
    color: #ed1c27;
}

.footer-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ed1c27;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.sustainability-icon {
    width: 40px;
    height: 40px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ed1c27;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
        line-height: 1.2;
        white-space: nowrap;
    }
    
    .hero-x {
        font-size: 12rem;
        letter-spacing: -6px;
        margin-bottom: -2rem;
    }
    
    .btn-hero {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        letter-spacing: 1.5px;
        gap: 0.8rem;
    }
    
    .deliver-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .deliver-header h2 {
        font-size: 2.5rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .think-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .think-header h2 {
        font-size: 2.5rem;
    }
    
    .article {
        flex-direction: column;
        text-align: center;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-right {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .clients-list {
        font-size: 1.5rem;
        gap: 0.5rem;
    }
    
    .future-text h2 {
        font-size: 2rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .about-x {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 1.5px;
        line-height: 1.3;
        white-space: nowrap;
    }
    
    .hero-x {
        font-size: 8rem;
        letter-spacing: -4px;
        margin-bottom: -1.5rem;
    }
    
    .btn-hero {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
        gap: 0.6rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .work-video {
        aspect-ratio: 16/9;
    }
}

/* Modal de Proyecto */
.project-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}
.project-modal.active {
    display: flex;
}
.modal-content {
    background: #111;
    border-radius: 18px;
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 600px;
    width: 95vw;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalIn 0.3s cubic-bezier(.4,1.6,.6,1) both;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #ed1c27;
}
.modal-video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
#modal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    background: #000;
}
#modal-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
}
#modal-description {
    color: #eee;
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .modal-content {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        max-width: 98vw;
    }
    .modal-video-container {
        aspect-ratio: 16/9;
    }
    #modal-title {
        font-size: 1.1rem;
    }
    #modal-description {
        font-size: 0.95rem;
    }
}

/* Acerca de dentsu X - HERO centrado y compacto */
.acerca-hero {
    background: #000;
    color: #fff;
    padding: 7rem 0 4rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.acerca-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/bg.svg') left center no-repeat;
    background-size: auto 100%;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}
.acerca-hero > .container, .acerca-hero > *:not(::before) {
    position: relative;
    z-index: 1;
}
.acerca-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 2.2rem;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.acerca-text {
    max-width: 700px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #fff;
    margin: 0 auto;
    text-align: left;
}
.acerca-text p {
    margin-bottom: 1.2rem;
}

/* Números destacados: grid de 3, bordes rectos */
.acerca-numeros {
    background: #fff;
    padding: 4rem 0 2.5rem 0;
}
.acerca-numeros-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #111;
    text-align: center;
}
.numeros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-items: stretch;
    align-items: stretch;
    max-width: 1600px;
    margin: 0 auto;
}
.numero-box {
    background: #ed1c27;
    color: #fff;
    border-radius: 0;
    padding: 3.2rem 2.2rem 2.2rem 2.2rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: none;
    height: 100%;
    justify-content: flex-end;
}
.numero-main {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}
.numero-desc {
    font-size: 1.15rem;
    font-weight: 400;
    color: #fff;
    opacity: 0.98;
}

/* Subtítulo "en el Mundo" / "en Chile" en encabezados de números */
.acerca-numeros-sub {
    font-weight: 400;
    font-size: 1.3rem;
    color: #555;
    margin-left: 0.5rem;
}
.acerca-numeros-chile {
    padding-top: 0.5rem;
}

/* Bloque Scopen 2025/2026 */
.acerca-scopen {
    background: #fff;
    padding: 4rem 0 5rem 0;
}
.acerca-scopen-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.7rem;
    line-height: 1.15;
}
.acerca-scopen-sub {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
}
.acerca-scopen-sub strong {
    color: #ed1c27;
}
.acerca-scopen-intro {
    font-size: 1.1rem;
    color: #222;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 900px;
}
.acerca-scopen-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    max-width: 900px;
}
.acerca-scopen-list li {
    position: relative;
    padding: 0.9rem 1rem 0.9rem 2.2rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #222;
    background: #f7f7f7;
    border-left: 4px solid #ed1c27;
}
.acerca-scopen-list li::before {
    content: '✓';
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ed1c27;
    font-weight: 800;
}
.acerca-scopen-list li strong {
    color: #111;
}

@media (max-width: 900px) {
    .acerca-scopen-title {
        font-size: 1.5rem;
    }
    .acerca-numeros-sub {
        font-size: 1rem;
        display: block;
        margin-left: 0;
        margin-top: 0.3rem;
    }
}

/* Premios más ancha y legible */
.acerca-premios {
    background: #fff;
    padding: 4rem 0 4rem 0;
}
.acerca-premios-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #111;
    text-align: left;
}
.premios-table-wrapper {
    overflow-x: auto;
}
.premios-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.25rem;
    background: #fff;
    color: #222;
    min-width: 800px;
}
.premios-table th, .premios-table td {
    padding: 1.5rem 2rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.premios-table th {
    background: #f7f7f7;
    color: #ed1c27;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.7px;
}
.premios-table tr:last-child td {
    border-bottom: none;
}

/* Leadership más grande y espacioso */
.acerca-leadership {
    background: #fff;
    padding: 5rem 0 4rem 0;
}
.leadership-flex {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap;
}
.leadership-img {
    flex: 0 0 340px;
    max-width: 340px;
}
.leadership-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    display: block;
}
.leadership-info {
    flex: 1 1 420px;
    min-width: 320px;
    color: #222;
    padding-top: 1.5rem;
}
.leadership-title {
    color: #ed1c27;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    letter-spacing: 0.7px;
}
.leadership-info h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #111;
}
.leadership-info p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #222;
    line-height: 2.1;
}

/* Responsive mejorado */
@media (max-width: 1200px) {
    .acerca-main-img {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 900px) {
    .acerca-title {
        font-size: 2.2rem;
        max-width: 95vw;
    }
    .acerca-text {
        font-size: 1rem;
        max-width: 95vw;
    }
    .numeros-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .numero-box {
        padding: 2rem 1.2rem 1.2rem 1.2rem;
    }
    .numero-main {
        font-size: 2rem;
    }
    .acerca-premios-title {
        font-size: 1.3rem;
    }
    .premios-table {
        font-size: 1rem;
        min-width: 500px;
    }
    .premios-table th, .premios-table td {
        padding: 0.8rem 0.7rem;
    }
    .leadership-flex {
        flex-direction: column;
        gap: 2.5rem;
        align-items: stretch;
    }
    .leadership-img {
        max-width: 180px;
        margin: 0 auto 1.5rem auto;
    }
    .leadership-info h3 {
        font-size: 1.3rem;
    }
    .leadership-info p {
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    .acerca-hero {
        padding: 2.2rem 0 1.2rem 0;
    }
    .acerca-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    .acerca-text {
        font-size: 0.98rem;
    }
    .acerca-main-img {
        min-height: 180px;
        max-height: 220px;
        border-radius: 0;
    }
    .acerca-numeros {
        padding: 1.2rem 0 0.7rem 0;
    }
    .numero-box {
        padding: 1rem 0.7rem 0.5rem 0.7rem;
        min-width: 100px;
    }
    .numero-main {
        font-size: 1.1rem;
    }
    .premios-table th, .premios-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.92rem;
    }
    .leadership-img {
        max-width: 100px;
    }
    .leadership-info h3 {
        font-size: 1rem;
    }
    .leadership-info p {
        font-size: 0.92rem;
    }
}

.acerca-main-img {
    width: 100%;
    min-height: 420px;
    max-height: 600px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    margin: 0;
    box-shadow: none;
}

@media (max-width: 900px) {
    .acerca-main-img {
        min-height: 180px;
        max-height: 220px;
    }
}

/* Servicios Hero */
.servicios-hero {
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0 4.5rem 0;
}
.servicios-hero-bg {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/bg.svg') left center no-repeat;
    background-size: auto 100%;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}
.servicios-hero-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 4rem;
}
.servicios-hero-left {
    flex: 0 0 44%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.servicios-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0.5px;
    text-align: left;
    margin: 0;
    max-width: 420px;
}
.servicios-hero-right {
    flex: 1 1 56%;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #fff;
    text-align: left;
    max-width: 600px;
}
.servicios-hero-right p {
    margin-bottom: 1.3rem;
}

/* Ecosistemas */
.servicios-ecosistemas {
    background: #fff;
    padding: 4.5rem 0 2.5rem 0;
}
.ecosistemas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
    align-items: flex-start;
    max-width: 1800px;
    margin: 0 auto;
}
.ecosistemas-title-col {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 0.5rem;
}
.ecosistemas-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #111;
    text-align: left;
    margin: 0;
    line-height: 1.1;
}
.ecosistemas-list-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ecos-row {
    width: 100%;
}
.ecos-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2.2rem 0 2.2rem 0;
}
.ecos-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 0.2rem;
    border-radius: 4px;
}
.ecos-info {
    flex: 1 1 auto;
    min-width: 0;
}
.ecos-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.7rem;
    text-align: left;
}
.ecos-desc {
    font-size: 1.15rem;
    color: #222;
    line-height: 1.7;
    text-align: left;
}
.ecos-sep {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0 0 0 140px;
}

@media (max-width: 1200px) {
    .ecosistemas-title {
        font-size: 2.1rem;
    }
    .ecos-img {
        width: 80px;
        height: 80px;
    }
    .ecos-title {
        font-size: 1.1rem;
    }
    .ecos-desc {
        font-size: 1rem;
    }
}
@media (max-width: 900px) {
    .ecosistemas-grid {
        grid-template-columns: 1fr;
        gap: 2rem 0;
    }
    .ecosistemas-title-col {
        padding-bottom: 1.5rem;
        justify-content: center;
    }
    .ecosistemas-title {
        text-align: center;
        font-size: 1.5rem;
    }
    .ecos-row {
        width: 100%;
    }
    .ecos-item {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.2rem 0 1.2rem 0;
        align-items: flex-start;
    }
    .ecos-img {
        width: 60px;
        height: 60px;
        margin-top: 0;
    }
    .ecos-sep {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .servicios-hero {
        padding: 2.5rem 0 1.2rem 0;
    }
    .servicios-hero-title {
        font-size: 1.2rem;
    }
    .ecosistemas-title {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    .ecos-title {
        font-size: 1rem;
    }
    .ecos-desc {
        font-size: 0.92rem;
    }
}

/* Contacto - bloque para servicios */
.contacto {
    background: #fff;
    color: #111;
}
.contacto-hero {
    background: #000;
    color: #fff;
    padding: 4rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}
.contacto-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/bg.svg') right center no-repeat;
    background-size: auto 110%;
    opacity: 0.18;
    pointer-events: none;
}
.contacto-hero-flex {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}
.contacto-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.5px;
    margin: 0;
}
.contacto-hero-info {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}
.contacto-hero-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.contacto-hero-label {
    color: #ed1c27;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.contacto-hero-block a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}
.contacto-hero-block a:hover {
    color: #ed1c27;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 5rem 20px;
    align-items: flex-start;
}
.contacto-subtitle {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 1.8rem 0;
    line-height: 1.1;
}
.contacto-pais {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid #ddd;
    padding: 0.9rem 1.2rem;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    max-width: 320px;
}
.contacto-pais-flag {
    font-size: 1.3rem;
    line-height: 1;
}
.contacto-pais-nombre {
    font-weight: 600;
    color: #111;
}
.contacto-oficina h4 {
    color: #ed1c27;
    font-size: 1.1rem;
    font-weight: 800;
    border-left: 3px solid #ed1c27;
    padding-left: 0.8rem;
    margin-bottom: 1.2rem;
}
.contacto-oficina-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #777;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}
.contacto-oficina-dir {
    font-size: 1rem;
    color: #222;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-row label {
    font-size: 0.95rem;
    color: #222;
    font-weight: 500;
}
.form-row input,
.form-row textarea {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #fff;
    color: #111;
    transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #ed1c27;
}
.form-row textarea {
    resize: vertical;
    min-height: 110px;
}
.btn-form {
    align-self: flex-start;
    background: #ed1c27;
    color: #fff;
    border: none;
    padding: 0.95rem 2.2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: 'Raleway', sans-serif;
}
.btn-form:hover {
    background: #c41820;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .contacto-hero {
        padding: 2.5rem 0 2.5rem 0;
    }
    .contacto-hero-title {
        font-size: 2rem;
    }
    .contacto-hero-info {
        gap: 1.5rem;
    }
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 20px;
    }
    .contacto-subtitle {
        font-size: 1.4rem;
    }
}

/* Grilla de Trabajos */
.trabajos-main {
    background: #fff;
    padding: 2.5rem 0 0 0;
}
.trabajos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
    max-width: 1400px;
    margin: 0 auto 3rem auto;
}
.trabajo-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
}
.trabajo-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block;
}
.trabajo-info {
    margin-top: 0.5rem;
}
.trabajo-title {
    font-size: 1.15rem;
    color: #111;
    font-weight: 400;
    letter-spacing: 0.1px;
}
.trabajo-title strong {
    font-weight: 700;
    color: #111;
}
@media (max-width: 900px) {
    .trabajos-grid {
        grid-template-columns: 1fr;
        gap: 2rem 0;
    }
    .trabajo-title {
        font-size: 1rem;
    }
}

/* Hero de Trabajos */
.trabajos-hero {
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0 4.5rem 0;
}
.trabajos-hero-bg {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/bg.svg') left center no-repeat;
    background-size: auto 100%;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}
.trabajos-hero-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 4rem;
}
.trabajos-hero-left {
    flex: 0 0 50%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.trabajos-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0.5px;
    text-align: left;
    margin: 0;
    max-width: 520px;
}
.trabajos-hero-right {
    flex: 1 1 50%;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #fff;
    text-align: left;
    max-width: 600px;
}
.trabajos-hero-right p {
    margin-bottom: 1.3rem;
}

/* Grilla de Trabajos (videos) */
.trabajos-main {
    background: #fff;
    padding: 2.5rem 0 0 0;
}
.trabajos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
    max-width: 1400px;
    margin: 0 auto 3rem auto;
}
.trabajo-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
}
.trabajo-video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block;
    background: #000;
}
.trabajo-info {
    margin-top: 0.5rem;
}
.trabajo-title {
    font-size: 1.15rem;
    color: #111;
    font-weight: 400;
    letter-spacing: 0.1px;
}
.trabajo-title strong {
    font-weight: 700;
    color: #111;
}
@media (max-width: 900px) {
    .trabajos-hero-flex {
        flex-direction: column;
        gap: 2.5rem;
    }
    .trabajos-hero-left, .trabajos-hero-right {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .trabajos-hero-title {
        font-size: 2.1rem;
        max-width: 100%;
        text-align: left;
    }
    .trabajos-hero-right {
        font-size: 1rem;
    }
    .trabajos-grid {
        grid-template-columns: 1fr;
        gap: 2rem 0;
    }
    .trabajo-title {
        font-size: 1rem;
    }
} 