@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

/* =========================
   VARIABLES CSS
   ========================= */
:root {
    --bg: #F3F1ED;
    --ink: #4b4a48;      /* texto principal derecha */
    --name: #6e6c69;     /* nombre grande gris */
    --muted: #a6a09b;    /* etiquetas suaves */
    --card: #4d4a47;     /* tarjeta quote */
    --white: #ffffff;

    --maxw: 1200px;
    --pad: clamp(16px, 3vw, 28px);
    --gap: clamp(22px, 3.2vw, 54px);

    --radius: 16px;

    /* Mantener compatibilidad con otras secciones */
    --text: #504E4C;
    --black: #000;
    --h1: clamp(44px, 5.2vw, 80px);
    --h2: clamp(22px, 2.3vw, 30px);
    --p: clamp(15px, 1.4vw, 16px);
    --nav: 15px;
}

/* =========================
   HERO V3 (referencia foto)
   ========================= */
.hero.hero-v3 {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    min-height: 100vh;
    background: #0b0b09;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-v3__top {
    padding: 16px 28px 24px;
    background: radial-gradient(62% 220% at 54% 0%, #6f6554 0%, #090908 62%);
    position: relative;
    z-index: 4;
}

.hero-v3__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: 46px;
    padding: 0 12px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.1);
}

.hero-v3__home,
.hero-v3__nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    opacity: 0.95;
}

.hero-v3__home:hover,
.hero-v3__nav-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.hero-v3__nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hero-v3__lang {
    border: 0;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    cursor: pointer;
    padding: 0;
    user-select: none;
}

.hero-v3__lang-label {
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.hero-v3__lang:not(.is-en) .hero-v3__lang-label--es,
.hero-v3__lang.is-en .hero-v3__lang-label--en {
    opacity: 1;
}

.hero-v3__lang-toggle {
    width: 30px;
    height: 17px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    position: relative;
}

.hero-v3__lang-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ffffff;
    transition: left 0.2s ease;
}

.hero-v3__lang.is-en .hero-v3__lang-toggle::after {
    left: calc(100% - 13px);
}

.hero-v3__title-row {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 460px);
    gap: 24px;
    align-items: start;
    margin-top: 32px;
}

.hero-v3__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(52px, 6.2vw, 85px);
    line-height: 0.94;
    letter-spacing: 0;
    font-weight: 400;
    font-family: "GFS Didot-Regular", "Times New Roman", Georgia, serif;
}

.hero-v3__summary {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 13px;
    line-height: 1.25;
}

.hero-v3__summary p {
    margin: 0 0 2px;
}

.hero-v3__summary p:last-child {
    margin-bottom: 0;
}

.hero-v3__stage {
    position: relative;
    min-height: 530px;
    padding: 56px 30px 203px;
    display: flex;
    align-items: flex-start;
    flex: 1 1 auto;
    overflow: hidden;
    z-index: 1;
}

.hero-v3__backdrop {
    position: absolute;
    inset: 0;
    background-image: url("/recursos/city-sparkles-light-streets-night%201.png");
    background-size: cover;
    background-position: center center;
    transform: scale(1.05);
    filter: blur(1.6px) brightness(0.76) saturate(0.84);
}

.hero-v3__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 20, 18, 0.05) 0%, rgba(20, 20, 18, 0.24) 64%, rgba(20, 20, 18, 0.4) 100%),
        linear-gradient(90deg, rgba(12, 12, 11, 0.47) 0%, rgba(12, 12, 11, 0.2) 48%, rgba(12, 12, 11, 0.34) 100%);
}

.hero-v3__intro,
.hero-v3__portrait {
    position: relative;
    z-index: 2;
}

.hero-v3__intro {
    width: min(470px, 100%);
    margin-top: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.hero-v3__intro h2 {
    margin: 0 0 15px;
    font-size: clamp(26px, 2.7vw, 34px);
    line-height: 1.03;
    font-weight: 700;
    font-family: "Inter", "Inter-Bold", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.hero-v3__intro p {
    margin: 0;
    font-size: 20px;
    line-height: 1.34;
    color: rgba(255, 255, 255, 0.96);
}

.hero-v3__portrait {
    position: absolute;
    left: 46%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(590px, 44vw);
    margin: 0;
    pointer-events: none;
}

.hero-v3__portrait img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.34));
}

.hero-v3__credentials {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 4;
    margin-top: 0;
    background: rgba(15, 15, 13, 0.55);
    backdrop-filter: blur(4px);
    display: block;
    padding: 12px 0;
    min-height: 52px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-v3__cred-label {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 28px;
    opacity: 0.95;
    white-space: nowrap;
    flex: 0 0 auto;
    align-self: center;
}

.hero-v3__cred-label--section {
    margin-left: clamp(24px, 3.5vw, 56px);
}

.hero-v3__marquee--cred {
    overflow: hidden;
    width: 100%;
    min-width: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.hero-v3__marquee-track {
    display: flex;
    width: max-content;
    --marquee-dur: 58s;
    animation: hero-v3-marquee var(--marquee-dur) linear infinite;
}

.hero-v3__credentials:hover .hero-v3__marquee-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .hero-v3__marquee-group[aria-hidden="true"] {
        display: none;
    }

    .hero-v3__credentials .hero-v3__marquee-track {
        animation: none;
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .hero-v3__credentials .hero-v3__marquee-group {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }
}

@keyframes hero-v3-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.hero-v3__marquee-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    flex-shrink: 0;
    padding: 0 clamp(20px, 3vw, 40px);
}

/* Una sola altura para todos los logos: escala homogénea y alineación limpia */
.hero-v3__marquee-group img.hero-logo,
.hero-v3__marquee-group .hero-logo {
    display: block;
    width: auto;
    height: 28px;
    max-height: 28px;
    max-width: min(148px, 13vw);
    object-fit: contain;
    object-position: center center;
    filter: none;
    opacity: 0.96;
    flex: 0 0 auto;
}

@media (max-width: 1240px) {
    .hero-v3__top {
        padding: 14px 20px 20px;
    }

    .hero-v3__home,
    .hero-v3__nav-links a {
        font-size: 18px;
    }

    .hero-v3__nav-links {
        gap: 16px;
    }

    .hero-v3__title-row {
        grid-template-columns: 1fr minmax(280px, 410px);
        gap: 20px;
    }

    .hero-v3__stage {
        padding: 46px 20px 173px;
        min-height: 500px;
    }

    .hero-v3__portrait {
        left: 45%;
        width: min(520px, 47vw);
        transform: translateX(-50%);
    }

    .hero-v3__credentials {
        padding: 11px 0;
        min-height: 50px;
    }

    .hero-v3__cred-label {
        line-height: 26px;
    }

    .hero-v3__marquee-group .hero-logo {
        height: 26px;
        max-height: 26px;
        max-width: min(136px, 14vw);
    }
}

@media (max-width: 1120px) {
    .hero-v3__credentials {
        padding: 10px 0;
    }

    .hero-v3__cred-label {
        line-height: 24px;
    }

    .hero-v3__marquee-group .hero-logo {
        height: 24px;
        max-height: 24px;
        max-width: min(124px, 20vw);
    }
}

@media (max-width: 980px) {
    .hero.hero-v3 {
        min-height: 0;
    }

    .hero-v3__top {
        padding: 12px 16px 18px;
    }

    .hero-v3__nav {
        height: auto;
        padding: 10px 12px;
        background: rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-v3__nav-links {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-v3__home,
    .hero-v3__nav-links a {
        font-size: 16px;
    }

    .hero-v3__lang {
        margin-left: auto;
        font-size: 13px;
    }

    .hero-v3__title-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 16px;
    }

    .hero-v3__summary {
        font-size: 12px;
        line-height: 1.35;
        max-width: 100%;
    }

    .hero-v3__stage {
        padding: 28px 16px 16px;
        min-height: 0;
        display: grid;
        gap: 18px;
    }

    .hero-v3__intro {
        width: 100%;
        margin-top: 6px;
    }

    .hero-v3__intro p {
        font-size: 17px;
    }

    .hero-v3__portrait {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: min(450px, 94%);
        margin: 0 auto;
    }

    .hero-v3__credentials {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: auto;
        margin-top: 0;
        min-height: 48px;
        padding: 12px 0 14px;
    }

    .hero-v3__cred-label {
        line-height: 26px;
    }

    .hero-v3__marquee-group .hero-logo {
        height: 26px;
        max-height: 26px;
        max-width: min(118px, 28vw);
    }
}

@media (max-width: 560px) {
    .hero-v3__title {
        font-size: clamp(42px, 11.6vw, 62px);
    }

    .hero-v3__intro h2 {
        font-size: 24px;
    }

    .hero-v3__intro p {
        font-size: 15px;
        line-height: 1.4;
    }
}

/* =========================
  HERO V2
  ========================= */
.hero.hero-v2 {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 0;
    overflow: hidden;
    padding: 36px 0 42px;
    background: linear-gradient(180deg, #F6F5F3 0%, #F1EFEC 100%);
}

.hero-v2__shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.hero-v2__main {
    display: grid;
    grid-template-columns: minmax(420px, 1.15fr) minmax(320px, 0.85fr);
    gap: 34px;
    align-items: center;
}

.hero-v2__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-v2__eyebrow {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7A766F;
}

.hero-v2__title {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    font-weight: 800;
    color: #2E2C2A;
    letter-spacing: -0.02em;
}

.hero-v2__lead {
    margin: 0;
    max-width: 680px;
    font-size: clamp(18px, 2.1vw, 28px);
    line-height: 1.24;
    color: #44413D;
    font-weight: 600;
}

.hero-v2__meta {
    margin: 0;
    max-width: 640px;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.45;
    color: #66625B;
}

.hero-v2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.hero-v2__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero-v2__btn:hover {
    transform: translateY(-1px);
}

.hero-v2__btn--primary {
    background: #2E2C2A;
    color: #FFFFFF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.hero-v2__btn--primary:hover {
    color: #FFFFFF;
    background: #1F1D1B;
}

.hero-v2__btn--ghost {
    background: #FFFFFF;
    color: #33302C;
    border: 1px solid #D8D2CA;
}

.hero-v2__btn--ghost:hover {
    color: #33302C;
    background: #F8F6F3;
}

.hero-v2__media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: stretch;
}

.hero-v2__portrait {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #DEDBD6;
    min-height: 260px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.hero-v2__portrait img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    filter: grayscale(92%) contrast(1.05) brightness(0.95);
}

.hero-v2__quote {
    margin: 0;
    border-radius: 16px;
    background: #3F3C38;
    color: #E8E1D8;
    padding: 16px 18px 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.hero-v2__quote-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C9B7A3;
}

.hero-v2__quote p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #E8E1D8;
}

.hero-v2__cred-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hero-v2__cred-card {
    background: #FFFFFF;
    border: 1px solid #E8E2D9;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.hero-v2__cred-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.2;
    color: #413D38;
}

.hero-v2__logo-grid {
    display: grid;
    gap: 12px;
    justify-items: center;
    align-items: center;
}

.hero-v2__logo-grid--studies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-v2__logo-grid--studies > :last-child {
    grid-column: 1 / -1;
}

.hero-v2__logo-grid--prof {
    grid-template-columns: 1fr;
}

.hero-v2__logo-grid img,
.hero-v2__logo-stack img,
.hero-v2__logo-note img {
    max-width: 150px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hero-v2__logo-stack {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.hero-v2__logo-note {
    width: 100%;
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
}

.hero-v2__logo-note span {
    font-size: 12px;
    line-height: 1.3;
    color: #5D5953;
    font-weight: 600;
}

@media (max-width: 1120px) {
    .hero.hero-v2 {
        padding-top: 28px;
    }

    .hero-v2__main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-v2__media {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .hero-v2__portrait img {
        min-height: 240px;
    }

    .hero-v2__cred-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero.hero-v2 {
        padding: 22px 0 30px;
    }

    .hero-v2__shell {
        padding: 0 16px;
    }

    .hero-v2__content {
        gap: 12px;
    }

    .hero-v2__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-v2__btn {
        width: 100%;
    }

    .hero-v2__media {
        grid-template-columns: 1fr;
    }

    .hero-v2__quote p {
        font-size: 13px;
    }

    .hero-v2__cred-card {
        padding: 14px;
    }

    .hero-v2__cred-card h3 {
        font-size: 17px;
    }
}

/* =========================
   RESET Y BASE
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Fondo global fijo (sticky visual) solo para home */
body.page-home {
    background-color: #0b0b09;
    background-image: url("/recursos/city-sparkles-light-streets-night%201.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

body.page-home::before {
    content: none;
}

body.page-home::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(6, 6, 7, 0.42) 0%, rgba(6, 6, 7, 0.58) 58%, rgba(6, 6, 7, 0.68) 100%),
        linear-gradient(90deg, rgba(4, 4, 5, 0.3) 0%, rgba(4, 4, 5, 0.16) 52%, rgba(4, 4, 5, 0.3) 100%);
}

body.page-home .main-wrapper {
    position: relative;
    z-index: 1;
}

body.page-home .hero.hero-v3 {
    background: transparent;
}

body.page-home .hero-v3__backdrop,
body.page-home .hero-v3__overlay {
    display: none;
}

/* Mostrar el fondo fijo global también en secciones posteriores */
body.page-home .videos-section,
body.page-home .publications-section,
body.page-home .companies-section,
body.page-home .contact-section,
body.page-home .footer {
    background: transparent !important;
    background-color: transparent !important;
}

/* Enmarcar carrusel sobre fondo global */
body.page-home .videos-carousel {
    background: rgba(8, 9, 12, 0.56) !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(3px);
    overflow: hidden !important;
}

/* Tarjetas de videos en modo dark para home */
body.page-home .videos-section .video-card {
    background: rgba(10, 12, 16, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.page-home .videos-section .video-card:hover {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.36);
}

body.page-home .videos-section .video-thumbnail {
    background-color: rgba(255, 255, 255, 0.14);
}

body.page-home .videos-section .video-content h3 {
    color: #ffffff;
}

body.page-home .videos-section .video-content p {
    color: rgba(236, 240, 248, 0.88);
}

body.page-home .videos-section .watch-video {
    color: #cfd9ff;
    background-color: rgba(255, 255, 255, 0.08);
    border-top-color: rgba(255, 255, 255, 0.14);
}

body.page-home .videos-section .watch-video:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.14);
}

/* Mantener contraste de texto en secciones que eran claras */
body.page-home .publications-section h2,
body.page-home .publications-section .section-subtitle,
body.page-home .contact-section h2,
body.page-home .contact-section .section-subtitle {
    color: #f2f2f2;
}

body.page-home .publications-section .view-all-btn {
    color: #ffffff;
    border-color: #ffffff;
}

body.page-home .publications-section .view-all-btn:hover {
    background-color: #ffffff;
    color: #111111;
}

/* Contacto en modo dark para home */
body.page-home .contact-form {
    background: rgba(10, 12, 16, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
}

body.page-home .contact-form .form-group label {
    color: #e9edf6;
}

body.page-home .contact-form .form-group input,
body.page-home .contact-form .form-group textarea {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.07);
}

body.page-home .contact-form .form-group input::placeholder,
body.page-home .contact-form .form-group textarea::placeholder {
    color: rgba(233, 237, 246, 0.64);
}

body.page-home .contact-form .form-group input:hover,
body.page-home .contact-form .form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.36);
    background-color: rgba(255, 255, 255, 0.1);
}

body.page-home .contact-form .form-group input:focus,
body.page-home .contact-form .form-group textarea:focus {
    border-color: rgba(158, 190, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(158, 190, 255, 0.18);
}

body.page-home .contact-form .submit-btn {
    background-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

body.page-home .contact-form .submit-btn:hover {
    background-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

/* Tarjetas de publicaciones en modo dark para home */
body.page-home .publication-card {
    background: rgba(10, 12, 16, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
}

body.page-home .publication-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

body.page-home .publication-image {
    background-color: rgba(255, 255, 255, 0.14);
}

body.page-home .publication-content .category-tag {
    background-color: rgba(255, 255, 255, 0.12);
    color: #e7ebf3;
}

body.page-home .publication-content h3 {
    color: #ffffff;
}

body.page-home .publication-content p {
    color: rgba(236, 240, 248, 0.88);
}

body.page-home .publication-content .read-more {
    color: #cfd9ff;
}

body.page-home .publication-content .read-more:hover {
    color: #ffffff;
}

/* Tarjetas de empresas en modo dark para home */
body.page-home .company-card {
    background: rgba(10, 12, 16, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
}

body.page-home .company-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

body.page-home .company-card h3 {
    color: #ffffff;
}

body.page-home .company-card p {
    color: rgba(236, 240, 248, 0.84);
}

/* Contenedor principal como tarjeta centrada (como en el SVG) */
.main-wrapper {
    max-width: 1434px;
    margin: 0 auto;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    position: relative;
    width: 100%;
    padding: 0 0 40px 0; /* Solo padding inferior */
}

.container {
    max-width: 1434px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: 100%;
}

/* =========================
   HEADER / MENÚ
   ========================= */
.main-header {
    background-color: #504E4C;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(80, 78, 76, 0.2);
}

.header-container {
    max-width: 1434px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
}

.main-nav a {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s;
}

.main-nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.main-nav .nav-separator {
    margin: 0 8px;
    opacity: 0.5;
    color: #FFFFFF;
}

/* =========================
   HERO
   ========================= */
.hero {
    background: var(--bg);
    position: relative;
    overflow: visible;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    min-height: 720px; /* Altura mínima para cubrir tarjetas */
}

.hero__wrap {
    max-width: 1434px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    min-height: 700px;
    padding-bottom: 140px; /* Espacio adicional para cubrir tarjetas */
    width: 100%;
    transform: translateX(-230px);
}

/* LEFT */
.hero__left {
    position: absolute;
    left: 188px;
    top: 50px; /* Subido desde 78px */
    width: 370px;
}

.hero__name {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.5;
    font-size: 80px;
    white-space: pre-line;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    text-transform: none;
}

.hero__name--upper {
    color: #4E4B48;
    font-weight: 700;
}

.hero__name--lower {
    color: #6e6c69; /* Color claro para minúsculas */
}

.hero__tag {
    position: absolute;
    left: 8px; /* 196 - 188 = 8px desde hero__left */
    top: 297px; /* 375 - 78 = 297px desde hero__left */
    margin: 0;
    font-size: 15px;
    line-height: 0.8;
    color: #B4A3A3;
    white-space: pre-line;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    width: 263px;
}

/* CENTER */
.hero__center {
    position: absolute;
    left: 589px;
    top: 50px; /* Subido desde 72px para alinearlo con el nombre */
    display: flex;
    flex-direction: column;
    gap: 19px; /* 345 - 72 - 254 = 19px entre foto y quote */
    align-items: flex-start;
}

.hero__portrait {
    width: 220px; /* Igual al ancho de hero__quote */
    height: 254px;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
}

.hero__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05) brightness(0.95);
}

.hero__quote {
    width: 220px;
    height: 198.725px;
    background: #504E4C;
    color: #B4A3A3;
    border-radius: 0;
    padding: 20px 20px 15px 20px; /* Ajustado para que el texto quede centrado */
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
}

.hero__quote p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
    color: #B4A3A3;
    word-wrap: break-word;
}

/* RIGHT */
.hero__right {
    position: absolute;
    left: 992px;
    top: 70px; /* Subido más desde 100px */
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    width: auto;
    min-width: 500px;
    max-width: 600px;
    overflow: visible;
}

.hero__headline {
    margin: 0;
    font-weight: 700;
    color: #504E4C;
    font-size: 30px;
    line-height: 1.24;
    margin-bottom: 4px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    text-align: center;
}

.hero__headline br {
    display: block;
}

.hero__subhead {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.23;
    color: #666666;
    max-width: 100%;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    text-align: center;
}

.hero__subhead br {
    display: block;
}

/* LOGOS */
.hero__logos {
    margin-top: 16px; /* Reducido más para subir los logos */
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    column-gap: 32px;
    row-gap: 0;
    align-items: stretch;
    position: relative;
    left: 0;
    min-height: 200px; /* Asegurar altura mínima para los logos */
    width: auto;
    max-width: 100%;
}

.logos__col {
    display: grid;
    grid-template-rows: 28px auto;
    row-gap: 12px;
    align-items: start;
    justify-self: stretch;
    width: 100%;
    height: 100%;
}

.logos__card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 16px 16px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.logos__col:first-child {
    /* Estudios */
}

.logos__col--right {
    position: relative;
    left: 0;
    top: 0;
    display: grid !important;
    grid-template-rows: 28px auto;
    row-gap: 12px;
    align-items: start;
    visibility: visible !important;
    opacity: 1 !important;
}

.logos__col--columnista {
    display: grid;
    grid-template-rows: 28px auto;
    row-gap: 12px;
    align-items: start;
}

.logos__title {
    font-size: 20px;
    color: #504E4C;
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
    width: 100%;
    height: 28px;
}

.logos__grid {
    display: grid;
    grid-template-rows: repeat(5, 70px);
    row-gap: 0; /* Sin espacio entre filas */
    justify-items: center;
    align-items: center;
    margin-top: 0;
    width: 100%;
    height: 350px;
}

.logos__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.logos__item-title {
    font-size: 13px;
    font-weight: 600;
    color: #504E4C;
    line-height: 1.2;
    margin: 0;
}

.logos__item--linkedin .logos__item-title {
    margin-top: 0;
}

.logos__item--cchc .logos__item-title {
    margin-top: 0;
}

/* Estudios logos */
.logos__col:first-child .logos__grid {
    margin-top: 0;
}

.logos__col:first-child .logos__grid img:nth-child(1) {
    /* Harvard */
    width: 125px;
    height: 62px;
    object-fit: contain;
}

.logos__col:first-child .logos__grid img:nth-child(2) {
    /* UC */
    width: 105.76px;
    height: 60.98px;
    object-fit: contain;
}

.logos__col:first-child .logos__grid img:nth-child(3) {
    /* Tulane */
    width: auto;
    height: auto;
    max-width: 157px;
    object-fit: contain;
}

.logos__col:first-child .logos__grid img:nth-child(4) {
    /* Uandes */
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 70px;
    object-fit: contain;
}

.logos__col:first-child .logos__grid img:nth-child(5) {
    /* U de Chile - FEN */
    width: auto;
    height: auto;
    max-width: 170px;
    max-height: 70px;
    object-fit: contain;
}

/* Profesor logos */
.logos__col--right .logos__title:first-of-type {
    margin-bottom: 0;
}

.logos__col--right .logos__grid--prof {
    display: grid;
    grid-template-rows: repeat(5, 70px);
    row-gap: 0;
    justify-items: center;
    align-items: center;
    margin-top: 0;
    width: 100%;
    height: 350px;
}

.logos__col--right .logos__grid--prof img:nth-child(1) {
    /* UAI */
    width: 150px;
    height: 54px;
    object-fit: contain;
}

.logos__col--right .logos__grid--prof img:nth-child(2) {
    /* USS */
    width: 95px;
    height: 65px;
    object-fit: contain;
}

.logos__col--right .logos__grid--prof img:nth-child(3) {
    /* UC */
    width: 110px;
    height: 64px;
    object-fit: contain;
}

.logos__grid--columnista {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 0;
    width: 100%;
    height: auto;
    visibility: visible !important;
    opacity: 1 !important;
}

.logos__grid--columnista img {
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 70px;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.logo-linkedin {
    width: 119px !important;
    height: 36px !important;
    max-width: 119px !important;
    max-height: 36px !important;
    margin-top: 0;
}

.logo-expo {
    width: 87px !important;
    height: 90px !important;
    max-width: 87px !important;
    max-height: 90px !important;
}

.logo-cchc {
    width: 123px !important;
    height: 35px !important;
    max-width: 123px !important;
    max-height: 35px !important;
}

/* RESPONSIVE */
@media (max-width: 1434px) {
    .hero__wrap {
        padding: 0 clamp(16px, 3vw, 28px);
        max-width: 100%;
    }
    
    .hero__left {
        left: clamp(16px, 3vw, 188px);
    }
    
    .hero__center {
        left: clamp(400px, 41vw, 589px);
    }
    
    .hero__right {
        left: clamp(800px, 69vw, 992px);
    }
    
    .hero__logos {
        left: clamp(8px, calc(70vw - 992px), 8px);
    }
    
    .logos__col--right {
        left: 0;
    }
}

@media (max-width: 980px) {
    .hero {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .hero__wrap {
        min-height: auto;
        padding: 40px clamp(16px, 3vw, 28px);
        transform: none !important;
        margin: 0 auto;
    }

    .main-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero__left,
    .hero__center,
    .hero__right {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
    }
    
    .hero__left {
        margin-bottom: 30px;
    }
    
    .hero__tag {
        position: relative;
        left: auto;
        top: auto;
        margin-top: 20px;
        width: 100%;
    }
    
    .hero__center {
        margin-bottom: 30px;
        align-items: center;
        gap: 20px;
    }
    
    .hero__right {
        margin-bottom: 30px;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .videos-section .container {
        transform: none;
    }

    .videos-section {
        margin-left: 0;
        width: 100%;
    }
    
    .hero__headline {
        text-align: center;
        width: 100%;
    }
    
    .hero__subhead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    .hero__logos {
        position: relative;
        left: auto;
        top: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 30px;
        width: 100%;
        max-width: 100%;
        justify-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
    
    .logos__col {
        width: 100%;
        max-width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }
    
    .logos__col--right {
        position: relative;
        left: auto;
        top: auto;
    }
    
    .logos__title {
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .logos__grid {
        width: 100%;
        max-width: 100%;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .logos__grid img {
        margin: 0 auto;
    }
    
    .hero__name {
        font-size: clamp(44px, 8vw, 80px);
    }
    
    .hero__portrait {
        width: min(220px, 100%); /* Igual al ancho de hero__quote */
    }
    
    .hero__quote {
        width: min(220px, 100%);
        height: auto;
    }
}

@media (max-width: 640px) {
    .hero__wrap {
        padding: 30px 16px;
    }
    
    .hero__name {
        font-size: clamp(36px, 10vw, 60px);
    }
    
    .hero__headline {
        font-size: clamp(22px, 5vw, 30px);
    }
    
    .hero__subhead {
        font-size: 14px;
    }
    
    .hero__subhead br {
        display: none;
    }
    
    /* Hero right section - Mobile centering */
    .hero__right {
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    
    .hero__headline {
        text-align: center;
        width: 100%;
    }
    
    .hero__subhead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    /* Logos section - Mobile */
    .hero__logos {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
        justify-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        left: 0;
    }
    
    .logos__col {
        width: 100%;
        max-width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
    }
    
    .logos__title {
        font-size: 14px;
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .logos__grid {
        gap: 15px;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .logos__grid img {
        margin: 0 auto;
    }
    
    /* Estudios logos - Mobile */
    .logos__col:first-child .logos__grid img {
        max-width: 120px;
        max-height: 50px;
        width: auto;
        height: auto;
    }
    
    /* Profesor logos - Mobile */
    .logos__col--right .logos__grid--prof {
        gap: 20px;
    }
    
    .logos__col--right .logos__grid--prof img {
        max-width: 120px;
        max-height: 50px;
        width: auto;
        height: auto;
    }
    
    /* Columnista logos - Mobile */
    .logos__grid--columnista {
        gap: 20px;
    }
    
    .logos__grid--columnista img {
        max-width: 150px;
        max-height: 60px;
    }
    
    .hero__portrait {
        width: min(150px, 100%);
        height: auto;
        aspect-ratio: 195 / 254;
    }
    
    .hero__quote {
        width: 100%;
        max-width: 260px;
        height: auto;
        padding: 16px;
    }
}

.logo {
    display: none;
}

.btn-primary {
    display: none;
}

/* =========================
   SECCIÓN BACKGROUND
   ========================= */
.background-section {
    background-color: #F6F4F2;
    min-height: 370px;
    padding: 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
}

.background-section .container {
    position: relative;
    min-height: 370px;
    padding: 0 24px;
    max-width: 1434px;
    margin: 0 auto;
}

.background-card {
    position: absolute;
    left: 24px;
    top: 32px;
    width: 220px;
    height: 199px;
    background-color: #504E4C;
    border-radius: 0;
    padding: 20px;
    z-index: 2;
}

.background-card p {
    font-size: 14px;
    font-weight: 400;
    color: #B4A3A3;
    line-height: 1.5;
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
}

.background-main {
    position: absolute;
    left: 500px;
    top: 32px;
    z-index: 2;
    font-family: 'Inter', Arial, sans-serif;
}

.background-main h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 11px;
    line-height: 1.18;
}

.background-main p {
    font-size: 15px;
    font-weight: 400;
    color: #444444;
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

.background-studies {
    position: absolute;
    left: 845px;
    top: 18px;
    z-index: 2;
    font-family: 'Inter', Arial, sans-serif;
}

.background-studies h3 {
    font-size: 15px;
    font-weight: 400;
    color: #444444;
    margin-bottom: 20px;
}

.studies-logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.study-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.study-logo.harvard {
    width: 157px;
    height: 78px;
}

.study-logo.uc {
    width: 106px;
    height: 61px;
}

.study-logo.additional {
    width: 178px;
    height: 41px;
}

.background-academic {
    position: absolute;
    left: 1219px;
    top: 18px;
    z-index: 2;
    font-family: 'Inter', Arial, sans-serif;
}

.background-academic h3 {
    font-size: 15px;
    font-weight: 400;
    color: #444444;
    margin-bottom: 20px;
}

.academic-logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.academic-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.academic-logo.uai {
    width: 137px;
    height: 49px;
}

.academic-logo.uss {
    width: 78px;
    height: 57px;
}

.academic-logo.uc {
    width: 103px;
    height: 60px;
}

/* =========================
   EMPRESAS RELACIONADAS
   ========================= */
.companies-section {
    background-color: #31302F;
    min-height: 452px;
    padding: 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    color: #B4A3A3;
    font-family: 'Inter', Arial, sans-serif;
}

.companies-section .container {
    position: relative;
    min-height: 452px;
    padding: 0;
    overflow: visible;
    max-width: none;
    width: 100%;
}

.companies-section h2 {
    position: absolute;
    left: 260px;
    top: 29px;
    font-size: 20px;
    font-weight: 700;
    color: #B4A3A3;
    margin: 0;
    z-index: 2;
}

.companies-section .section-subtitle {
    position: absolute;
    left: 260px;
    top: 65px;
    font-size: 14px;
    font-weight: 400;
    color: #B4A3A3;
    margin: 0;
    z-index: 2;
}

.companies-grid {
    position: absolute;
    left: 50%;
    top: 120px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    grid-template-rows: auto;
    gap: 20px;
    z-index: 2;
    width: calc(100vw - 260px - 100px);
    max-width: 1800px;
}

.company-card {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    padding: 20px;
    color: #111111;
    position: relative;
    width: 100%;
    max-width: 350px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.company-logo {
    position: relative;
    width: 100%;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: 0;
    padding-top: 0;
    z-index: 1;
}

.company-logo img {
    max-width: 200px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.company-card.controllers-card {
    max-width: 350px !important;
}

.company-card .contolers-logo {
    height: 70px !important;
    min-height: 70px !important;
    width: 100% !important;
    max-width: none !important;
    align-items: center !important;
    justify-content: center !important;
}

.company-card .contolers-logo img {
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

.company-card .armas-logo {
    margin-top: 0 !important;
}

.company-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.2;
    position: relative;
    text-align: center;
    z-index: 2;
}

.company-card p {
    font-size: 11px;
    font-weight: 400;
    color: #666666;
    line-height: 1.4;
    margin: 0;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.company-link {
    font-size: 13px;
    font-weight: 400;
    color: #29557A;
    text-decoration: none;
    transition: color 0.3s;
    position: absolute;
    left: 130px;
    bottom: 16px;
    z-index: 2;
}

.company-card:not(.has-logo) .company-link {
    left: 20px;
}

.company-link:hover {
    color: #1e3f57;
}

/* =========================
   PUBLICACIONES
   ========================= */
.publications-section {
    background-color: #F3F1ED;
    padding: 60px 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0; /* Eliminado margen negativo para evitar traslape */
    margin-bottom: 0;
}

.publications-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
}

.publications-section .section-subtitle {
    color: #666666;
    margin-bottom: 40px;
}

/* Tarjeta destacada */
.publication-featured {
    width: 100%;
    min-height: 400px;
    background-color: #1a1a2e;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.publication-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.publication-featured .category-tag {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 6px 12px;
    background-color: #2D5F5D;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
    width: fit-content;
}

.publication-featured h3 {
    position: relative;
    z-index: 2;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.2;
}

.publication-featured p {
    position: relative;
    z-index: 2;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1.5;
}

.publication-featured .read-more {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: none;
    border: 1px solid #FFFFFF;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
    width: fit-content;
}

.publication-featured .read-more:hover {
    background-color: #FFFFFF;
    color: #1a1a2e;
}

/* Grilla de tarjetas */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.publication-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.publication-image {
    width: 100%;
    height: 140px;
    background-color: #D9D9D9;
    background-size: cover;
    background-position: center;
}

.publication-content {
    padding: 16px;
}

.publication-content .category-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: #F0F0F0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #555555;
    margin-bottom: 8px;
}

/* Píldoras de categoría para videos */
.video-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', Arial, sans-serif;
    text-transform: capitalize;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 15;
    white-space: nowrap;
}

.publication-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.publication-content p {
    font-size: 13px;
    color: #555555;
    margin-bottom: 12px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.read-more {
    font-size: 13px;
    color: #29557A;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.read-more:hover {
    color: #1e3f57;
}

/* =========================
   VIDEOS
   ========================= */
.videos-section {
    background-color: #504E4C;
    min-height: 572px;
    padding: 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 60px; /* Espacio adicional al final para evitar traslape */
    color: #FFFFFF;
    font-family: 'Inter', Arial, sans-serif;
}

.videos-section .container {
    position: relative;
    min-height: 572px;
    padding: 70px 16px 0;
    max-width: 1434px;
    margin: 0 auto;
    transform: none;
}

.videos-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    z-index: 2;
}

.videos-section .videos-header {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.publications-section .publications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.publications-section .publications-header h2 {
    margin-bottom: 0;
}

.publications-section .view-all-btn {
    color: #111111;
    border-color: #111111;
}

.publications-section .view-all-btn:hover {
    background-color: #111111;
    color: #FFFFFF;
}

.view-all-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 400;
    color: #FFFFFF;
    background-color: transparent;
    border: 1px solid #FFFFFF;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Inter', Arial, sans-serif;
    border-radius: 0;
}

.view-all-btn:hover {
    background-color: #FFFFFF;
    color: #504E4C;
}

.videos-section .section-subtitle {
    position: relative;
    left: auto;
    top: auto;
    font-size: 14px;
    font-weight: 400;
    color: #DDDDDD;
    margin: 0;
    z-index: 2;
    line-height: 1.4;
}

.videos-section .section-subtitle-2 {
    position: relative;
    left: auto;
    top: auto;
    font-size: 13px;
    font-weight: 400;
    color: #CCCCCC;
    margin: 0;
    z-index: 2;
    line-height: 1.4;
}

.videos-carousel {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 1181px;
    margin: 20px auto 0;
    height: 320px;
    background-color: #3F3F3F;
    border-radius: 0;
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.videos-container {
    display: flex;
    gap: 32px;
    padding: 30px 16px;
    overflow: hidden;
    height: 100%;
    align-items: center;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    position: relative;
    box-sizing: border-box;
}

.video-card {
    min-width: 210px; /* 300px * 0.7 */
    width: 210px; /* 300px * 0.7 */
    height: 196px; /* 280px * 0.7 */
    background-color: #FFFFFF;
    border-radius: 0;
    overflow: hidden;
    color: #111111;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.video-thumbnail-container {
    width: 100%;
    height: 112px; /* 160px * 0.7 */
    position: relative;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-color: #D9D9D9;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
    position: relative;
    transition: opacity 0.3s ease;
}

.video-iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: none;
    transition: all 0.3s ease;
}

.linkedin-iframe-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin-iframe-container iframe {
    width: 100%;
    height: 100%;
    min-height: 112px; /* 160px * 0.7 */
    border: none;
    border-radius: 10px 10px 0 0;
    display: block;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px; /* 50px * 0.7 */
    height: 35px; /* 50px * 0.7 */
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 14px; /* 20px * 0.7 */
    transition: all 0.2s ease;
    z-index: 2;
    opacity: 1;
    cursor: pointer;
}

.video-card:hover .video-play-button {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.15);
}

.video-content {
    padding: 14px; /* 20px * 0.7 */
    height: 70px; /* 100px * 0.7 */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.video-content h3 {
    font-size: 10px; /* 14px * 0.7 */
    font-weight: 700;
    color: #111111;
    margin: 0 0 6px 0; /* 8px * 0.7 */
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-content p {
    font-size: 8px; /* 12px * 0.7 */
    font-weight: 400;
    color: #555555;
    margin: 0 0 8px 0; /* 12px * 0.7 */
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex: 1;
}

.watch-video {
    display: block;
    padding: 8px 11px; /* 12px 15px * 0.7 */
    font-size: 8px; /* 12px * 0.7 */
    font-weight: 400;
    color: #29557A;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s;
    background-color: #F5F5F5;
    border-top: 1px solid #E0E0E0;
    margin-top: auto;
    text-align: center;
}

.watch-video:hover {
    color: #1e3f57;
    background-color: #EEEEEE;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: none;
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-family: 'Inter', Arial, sans-serif;
}

.carousel-btn:hover {
    background-color: #F0F0F0;
}

.carousel-btn.prev {
    left: 14px;
}

.carousel-btn.next {
    right: 14px;
}

/* =========================
   CONTACTO
   ========================= */
.contact-section {
    background-color: transparent;
    padding: 0;
    min-height: 502px;
    position: relative;
}

.contact-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
    text-align: center;
}

.contact-section .section-subtitle {
    font-size: 16px;
    color: #666666;
    text-align: center;
    margin-bottom: 60px;
}

.contact-content {
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
    max-width: 800px;
    width: 100%;
    overflow: visible;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    padding-bottom: 30px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    align-items: start;
    overflow: visible;
}


.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 6px;
    font-family: 'Inter', Arial, sans-serif;
}

.form-group input,
.form-group textarea {
    padding: 8px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    color: #111111;
    background-color: #FAFAFA;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #CCCCCC;
    background-color: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #29557A;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(41, 85, 122, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

/* Campo de mensaje y botón ocupan todo el ancho */
.form-group:nth-child(5),
.form-group:has(textarea) {
    grid-column: 1 / -1;
}

.submit-btn {
    grid-column: 1;
    padding: 10px 28px;
    background-color: #111111;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
    font-family: 'Inter', Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: auto;
}

.submit-btn:hover {
    background-color: #29557A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

.submit-btn:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
    transform: none;
}

#form-message {
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 16px;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow: visible;
}

/* =========================
   MODAL LANDING
   ========================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show,
.modal-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #666666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #111111;
}

.modal-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle {
    font-size: 15px;
    color: #666666;
    text-align: center;
    margin-bottom: 30px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-form .submit-btn {
    align-self: flex-start;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .modal-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================
   HUBSPOT FORM STYLING
   ========================= */
.hs-form-frame {
    max-width: 800px;
    margin: 0 auto;
}

.hs-form-frame form,
.hs-form-frame > form {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    align-items: start !important;
}

.hs-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
}

.hs-form-field label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin-bottom: 8px !important;
    font-family: Arial, sans-serif !important;
}

.hs-form-field .hs-input,
.hs-form-field input[type="text"],
.hs-form-field input[type="email"],
.hs-form-field textarea,
.hs-input {
    padding: 12px 16px !important;
    border: 1px solid #DDDDDD !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-family: Arial, sans-serif !important;
    color: #111111 !important;
    background-color: #FFFFFF !important;
    transition: border-color 0.3s !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.hs-form-field .hs-input:focus {
    outline: none !important;
    border-color: #29557A !important;
}

.hs-form-field textarea.hs-input {
    resize: vertical !important;
    min-height: 120px !important;
}

/* Campos que ocupan todo el ancho (mensaje y botón) */
.hs-form-field:nth-child(5),
.hs-form-field:nth-child(n+5),
.hs-form-field textarea,
.hs-submit {
    grid-column: 1 / -1 !important;
}

/* Botón de envío */
.hs-submit {
    grid-column: 1 !important;
    margin-top: 10px !important;
    padding: 0 !important;
}

.hs-button,
.hs-button.primary,
.hs-submit .hs-button,
input[type="submit"].hs-button,
input[type="submit"] {
    padding: 14px 32px !important;
    background-color: #111111 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
    font-family: Arial, sans-serif !important;
    width: auto !important;
    min-width: auto !important;
}

.hs-button:hover,
.hs-button.primary:hover,
input[type="submit"]:hover {
    background-color: #29557A !important;
}

@media (max-width: 768px) {
    .hs-form-frame form {
        grid-template-columns: 1fr !important;
    }
    
    .hs-form-field,
    .hs-submit {
        grid-column: 1 !important;
    }
}

/* Botón de envío */
.hs-button {
    padding: 14px 32px !important;
    background-color: #111111 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s !important;
    align-self: flex-start !important;
    margin-top: 10px !important;
    font-family: Arial, sans-serif !important;
}

.hs-button:hover {
    background-color: #29557A !important;
}

/* Ocultar mensajes de error/éxito por defecto de HubSpot si no se necesitan */
.hs-error-msgs {
    margin-top: 5px;
}

.hs-error-msgs label {
    color: #d32f2f !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

.hs-main-content-element {
    display: none !important;
}

/* Ajustar espaciado general */
.hs-form {
    max-width: 100% !important;
}

/* Estilos para campos requeridos */
.hs-form-required {
    color: #d32f2f;
}

/* Asegurar que los campos se vean bien en el layout de dos columnas */
.hs-form-field-wrapper .hs-form-field {
    width: 100%;
}

/* =========================
   FOOTER
   ========================= */
.footer {
    background-color: #111111;
    padding: 60px 0;
    color: #FFFFFF;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left h3 {
    font-size: 21px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.footer-left p {
    font-size: 18px;
    color: #CCCCCC;
    margin-bottom: 10px;
}

.copyright {
    font-size: 17px;
    color: #777777;
    margin-top: 20px;
}

.footer-links {
    margin-top: 15px;
    font-size: 17px;
    color: #CCCCCC;
}

.footer-links a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-links span {
    margin: 0 8px;
    color: #777777;
}

.footer-infrastructure {
    margin-top: 20px;
    font-size: 15px;
    color: #666666;
    font-style: italic;
}

.footer-right nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-right nav a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.footer-right nav a:hover {
    color: #FFFFFF;
}

.footer-right nav span {
    color: #CCCCCC;
    font-size: 20px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: #CCCCCC;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #FFFFFF;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* =========================
   ANIMACIONES
   ========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

section {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

section.fade-in {
    opacity: 1;
}

/* Efectos hover mejorados */
.company-card,
.publication-card,
.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover,
.publication-card:hover,
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Mejoras visuales - removidas referencias a hero-name-bg */

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1200px) {
    /* Empresas relacionadas - Tablet */
    .companies-section h2 {
        left: 20px;
    }
    
    .companies-section .section-subtitle {
        left: 20px;
    }
    
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
        width: calc(100vw - 40px);
        left: 50%;
    }
    
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-container {
        padding: 12px 20px;
    }
    
    .main-nav {
        gap: 0;
        font-size: 14px;
    }
    
    .bio-section {
        margin-top: 0;
    }
    
    .bio-content {
        flex-direction: column;
    }
    
    .bio-card {
        width: 100%;
    }
    
    .bio-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Empresas relacionadas - Responsive */
    .companies-section {
        min-height: auto;
        padding: 40px 0;
        margin-top: 0;
    }
    
    .companies-section .container {
        min-height: auto;
        padding: 0 20px;
    }
    
    .companies-section h2 {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 8px;
        padding: 0 20px;
    }
    
    .companies-section .section-subtitle {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .companies-grid {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: 100%;
        gap: 15px;
        padding: 0 20px;
    }
    
    .company-card {
        max-width: 100%;
        min-height: auto;
    }
    
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    /* Videos Section Responsive */
    .videos-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .videos-section .container {
        min-height: auto;
        padding: 0 20px;
        position: relative;
    }
    
    .videos-section .videos-header {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        margin-bottom: 20px;
    }
    
    .videos-section .section-subtitle,
    .videos-section .section-subtitle-2 {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 10px;
    }
    
    .videos-carousel {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    .videos-container {
        padding: 20px 16px;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    .video-card {
        min-width: 175px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .videos-section {
        padding: 30px 0;
        margin-top: 0;
        min-height: auto;
    }
    
    .videos-section .container {
        min-height: auto;
        padding: 0 16px;
        position: relative;
    }
    
    .videos-section h2 {
        font-size: 24px;
        position: relative;
        margin-bottom: 12px;
    }
    
    .videos-section .videos-header {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        margin-bottom: 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .videos-section .section-subtitle,
    .videos-section .section-subtitle-2 {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 8px;
        font-size: 13px;
    }
    
    .videos-carousel {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        background-color: #3F3F3F;
        border-radius: 0;
        margin-top: 20px;
    }
    
    .videos-container {
        padding: 15px 16px;
        gap: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .video-card {
        min-width: 160px;
        width: 160px;
        height: 180px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    
    .video-thumbnail-container {
        height: 100px;
    }
    
    .video-content {
        padding: 12px;
        height: 60px;
    }
    
    .video-content h3 {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .video-content p {
        font-size: 9px;
        margin-bottom: 6px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .videos-section {
        padding: 24px 0;
        margin-top: 0;
        min-height: auto;
        width: 100%;
        margin-left: 0;
    }
    
    .videos-section .container {
        min-height: auto;
        padding: 0 16px;
        position: relative;
        width: 100%;
        max-width: 100%;
    }
    
    .videos-section h2 {
        font-size: 22px;
        position: relative;
        margin-bottom: 12px;
        color: #FFFFFF;
    }
    
    .videos-section .videos-header {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
        width: 100%;
    }
    
    .videos-section .section-subtitle,
    .videos-section .section-subtitle-2 {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 8px;
        font-size: 13px;
        color: #DDDDDD;
        width: 100%;
    }
    
    .videos-section .section-subtitle-2 {
        color: #CCCCCC;
        font-size: 12px;
    }
    
    .videos-carousel {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        background-color: #3F3F3F;
        border-radius: 0;
        margin-top: 20px;
        overflow: visible;
    }
    
    .videos-container {
        padding: 16px 12px;
        gap: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        display: flex;
        align-items: stretch;
        min-height: 200px;
    }
    
    .video-card {
        min-width: 180px;
        width: 180px;
        height: auto;
        min-height: 200px;
        flex-shrink: 0;
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
    }
    
    .video-thumbnail-container {
        height: 110px;
        flex-shrink: 0;
    }
    
    .video-content {
        padding: 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 90px;
    }
    
    .video-content h3 {
        font-size: 12px;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
        color: #FFFFFF;
        font-weight: 700;
    }
    
    .video-content p {
        font-size: 10px;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
        color: #CCCCCC;
        flex: 1;
    }
    
    .watch-video {
        padding: 8px 12px;
        font-size: 10px;
        margin-top: auto;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
        z-index: 20;
        background-color: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.12);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    }
    
    .carousel-btn.prev {
        left: 8px;
    }
    
    .carousel-btn.next {
        right: 8px;
    }
    
    .video-play-button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 0;
    }
    
    .main-wrapper {
        margin: 0;
        border-radius: 8px;
        width: 100%;
    }

    .hero {
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    /* Hero logos - Mobile pequeño */
    .hero__wrap {
        padding: 20px 12px;
        transform: none !important;
    }
    
    .hero__right {
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    
    .hero__headline {
        text-align: center;
        width: 100%;
    }
    
    .hero__subhead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    .hero__logos {
        gap: 20px;
        margin-top: 15px;
        width: 100%;
        max-width: 100%;
        justify-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        left: 0;
        grid-template-columns: 1fr;
    }
    
    .logos__col {
        width: 100%;
        max-width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
    }
    
    .logos__title {
        font-size: 13px;
        margin-bottom: 12px;
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .logos__grid {
        gap: 12px;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .logos__grid img {
        margin: 0 auto;
    }
    
    /* Estudios logos - Mobile pequeño */
    .logos__col:first-child .logos__grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .logos__col:first-child .logos__grid img {
        max-width: 100px;
        max-height: 50px;
    }
    
    /* Profesor logos - Mobile pequeño */
    .logos__col--right .logos__grid--prof {
        gap: 15px;
    }
    
    .logos__col--right .logos__grid--prof img {
        max-width: 125px;
        max-height: 58px;
    }

    .logos__col--right.logos__card {
        padding: 12px 12px 16px;
    }
    
    /* Columnista logos - Mobile pequeño */
    .logos__grid--columnista {
        gap: 15px;
    }
    
    .logos__grid--columnista img {
        max-width: 130px;
        max-height: 55px;
    }
    
    /* Empresas relacionadas - Móvil pequeño */
    .companies-section {
        padding: 30px 0;
        margin-top: 0;
    }
    
    .companies-section .container {
        padding: 0 16px;
    }
    
    .companies-section h2 {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 8px;
        padding: 0;
        font-size: 18px;
    }
    
    .companies-section .section-subtitle {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 24px;
        padding: 0;
        font-size: 13px;
    }
    
    .companies-grid {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 15px;
        padding: 0;
    }
    
    .company-card {
        max-width: 100%;
        min-height: auto;
        padding: 16px;
    }
    
    .header-container {
        padding: 12px 20px;
        justify-content: center;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .main-nav .nav-separator {
        display: none;
    }
    
    .logo {
        position: static;
        margin-bottom: 10px;
    }
    
}
