/* ============================================
   DUOC UC - Estilos Principales (Desktop-First)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Roboto:wght@400;500;600;700&display=swap');


/* Variables CSS */
:root {
    /* Colores principales */
    --primary: #1a1a1a;
    --secondary: #ffb800;
    --white: #ffffff;
    --black: #000000;
    
    /* Grises */
    --gray: #666666;
    --gray-light: #777777;
    --gray-border: #d1d1d1;
    --gray-bg: #ececec;
    --gray-bg-light: #f8f8f8;
    --gray-faq: #d9d9d9;
    
    /* Otros colores */
    --beige: #FFEDC0;
    --red: #ff0000;
    --red-heart: #f45e50;
    --blue-focus: #0d81ab;
    
    /* Tipografías */
    --font-primary: 'Merriweather', sans-serif;
    --font-heading: 'Merriweather', serif;
    
    /* Sombras */
    --shadow-card: 0 8px 24px rgba(222, 225, 230, 0.75);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* scroll-behavior: smooth removido de html - causa re-anclaje al hash en Chrome al hacer overscroll.
   El JS (smoothScrollTo) ya maneja el scroll suave via window.scrollTo({ behavior: 'smooth' }) */

html, body {
    overscroll-behavior: none;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none !important;
    color: inherit;
}

/* Excepciones específicas donde sí queremos subrayado */
.form-checkbox label a,
.inscripcion-form .form-checkbox label a {
    text-decoration: underline !important;
}

.concurso-bases-link:hover {
    text-decoration: underline !important;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    background: var(--primary);
    position: fixed;
    top: var(--liferay-bar-height, 0px);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 500;
}

.header-placeholder {
    display: block;
}

.header-main {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-submenu {
    padding: 12px 0;
    border-bottom: 1px solid #ECECEC;
    background: #FFF;
}


.header-submenu .nav a {
    color: #1A1A1A;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    font-feature-settings: 'liga' off, 'clig' off;
}

.header-submenu .nav a.active,
.header-submenu .nav a:hover {
    font-weight: 700;
}

.header-content {
    max-width: 1044px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    max-width: 301px;
    height: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    align-items: center;
}

.nav li {
    position: relative;
}

.nav a {
    color: var(--white);
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 0;
    display: inline-block;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover {
    opacity: 0.8;
}

.header-button {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
    padding: 10px 24px;
    border-radius: 64px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.header-button:hover {
    background: transparent;
    color: var(--white);
}

.header-button-text-mobile {
    display: none;
}

.header-button-text-desktop {
    display: inline;
    font-family: 'Roboto';
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 501;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 466px;
    width: 100%;
    touch-action: pan-y;
    user-select: none;
}

.hero-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-text {
    max-width: 1044px;
    width: 100%;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-text > * {
    max-width: 60%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 16px 0;
    max-width: 100% !important;
}

.hero-title-first {
    display: block;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    margin: 0 0 24px 0;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 24px;
    border-radius: 64px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-button:hover svg path {
    fill: var(--primary);
}

.hero-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.slider-dots-section {
    padding: 16px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dot {
    width: 40px;
    max-width: 40px;
    height: 8px;
    flex-shrink: 0;
    background: #1A1A1A;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 100px;
}

.slider-dot.active {
    background: #FFB800;
}

/* ============================================
   INTRO SECTION - DUOC UC A PUERTAS ABIERTAS
   ============================================ */

.intro-section {
    background: #FFF0F5;
    padding: 64px 0;
}

.intro-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 192px;
    display: flex;
    gap: 80px;
    align-items: center;
}

.intro-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--primary);
    margin: 0;
    flex-shrink: 0;
    min-width: 300px;
}

.intro-title-first {
    display: block;
}

.intro-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--primary);
    margin: 0;
    flex: 1;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1044px;
    margin: 0 auto;
    padding: 0 60px;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 60px 0;
    scroll-margin-top: 160px;
}

/* ============================================
   ACTIVIDADES DESTACADAS
   ============================================ */

.section-header {
    margin-bottom: 40px;
}

.section-title-with-dropdown {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
}

.title-dropdown-toggle {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Merriweather', sans-serif;
    transition: opacity 0.3s ease;
    position: relative;
}

.title-dropdown-toggle:hover {
    opacity: 0.7;
}

.title-dropdown-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.title-dropdown-toggle.active svg {
    transform: rotate(180deg);
}

.title-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 67%;
    transform: translateX(-50%);
    background: #FFF;
    border: 1px solid #ECECEC;
    border-radius: 0 0 16px 16px;
    padding: 0;
    max-width: 266px;
    width: max-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    z-index: 100;
}

.title-dropdown-menu.active {
    display: block;
}

.title-dropdown-menu button {
    width: 100%;
    padding: 16px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    transition: background 0.2s ease;
    font-family: 'roboto';
    line-height: 24px;
    font-feature-settings: 'liga' off, 'clig' off;
}

.title-dropdown-menu button:hover {
    background: #F5F5F5;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.videos-section .cards-grid {
    gap: 12px;
}

.card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.card-date {
    font-family: 'roboto';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-image {
    position: relative;
    height: 250px;
    min-width: 340px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    min-height: 340px;
    object-fit: cover;
}

.card {
    display: flex;
    flex-direction: column;
    border-radius: 0px !important;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #1A1A1A;
    line-height: 32px;
    font-family: 'Merriweather', serif;
    font-feature-settings: 'liga' off, 'clig' off;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
    padding: 0;
    border-radius: 8px;
}

.card-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    color: #1A1A1A;
}

.card-info-item svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.card-info-item span {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.card-button {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    align-self: flex-start;
    font-family: 'roboto';
}

.card-button:hover {
    background: var(--primary);
    color: var(--white);
}

.card-button svg path {
    transition: fill 0.3s ease;
}

.card-button:hover svg path {
    fill: var(--white);
}

/* Ver cartelera completa button */
.view-all-btn {
    text-align: center;
    margin-top: 30px;
}

.button {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 400;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'roboto';
    width: auto;
    align-self: flex-start;
}

.button:hover {
    background: var(--primary);
    color: var(--white);
}

.button svg path {
    fill: var(--primary);
    transition: fill 0.3s ease;
}

.button:hover svg path {
    fill: var(--white);
}

.button-transparent {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-family: 'roboto';
}

.button-transparent:hover {
    background: var(--white);
    color: var(--primary);
}

.button-transparent svg path {
    fill: var(--white);
    transition: fill 0.3s ease;
}

.button-transparent:hover svg path {
    fill: var(--primary);
}

.button-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.button-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.button-dark svg path {
    fill: var(--primary);
    transition: fill 0.3s ease;
}

.button-dark:hover svg path {
    fill: var(--white);
}

.button-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.button-primary:hover {
    background: #000;
    color: var(--white);
}

.button-primary svg path {
    fill: var(--white);
}

.button-primary:hover svg path {
    fill: var(--white);
}

.button-small {
    padding: 8px 20px;
    font-size: 14px;
}

.button-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ============================================
   CONCURSO BANNER
   ============================================ */

.concurso-slider {
    position: relative;
    touch-action: pan-y;
    user-select: none;
}

.concurso-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.concurso-slide.active {
    display: block;
    position: relative;
    opacity: 1;
}

.concurso-banner {
    position: relative;
    height: 346px;
    overflow: hidden;
    margin-bottom: 20px;
}

.concurso-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: 650px 0 200px -9px rgba(0, 0, 0, 0.50) inset;
    pointer-events: none;
    z-index: 1;
}

.concurso-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.concurso-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 60px;
    color: white;
    z-index: 2;
}

.concurso-banner-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.concurso-banner-content p {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    max-width: 100%;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    font-family: 'roboto';
}


.concurso-slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.concurso-slider-dots .slider-dot {
    width: 40px;
    max-width: 40px;
    height: 8px;
    flex-shrink: 0;
    background: #1A1A1A;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 100px;
}

.concurso-slider-dots .slider-dot.active {
    background: #FFB800;
}

/* ============================================
   REVIVE MOMENTOS
   ============================================ */

.revive-section {
    padding: 60px 0;
}

.revive-container {
    background: var(--beige);
    display: flex;
    flex-direction: row;
    gap: 0;
    padding: 0;
    min-height: 308px;
    align-items: stretch;
}

.revive-image {
    width: 240px;
    flex-shrink: 0;
}

.revive-image img {
    width: 100%;
    height: auto;
    display: block;
}

.revive-text {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 308px;
}

.revive-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Merriweather', serif;
    line-height: 1.2;
    color: var(--primary);
}

.revive-text p {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
}

.revive-text .button {
    align-self: flex-start;
}

/* ============================================
   VIDEOS RECOMENDADOS
   ============================================ */

.videos-section {
    padding: 60px 0;
}

.video-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    width: 100%;
}

.video-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.video-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.video-badge {
    background: rgba(255, 237, 192, 1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.video-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.video-card-content {
    position: absolute;
    inset: 0;
    color: var(--white);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    max-width: 260px;
    margin: 0 auto;
    padding: 58px 0px;
}

.video-card-title {
  
    font-size: 24px;
    font-weight: 400;
    min-height: 70px;
    vertical-align: middle;
    margin-bottom: 0;
    font-family: 'Merriweather', serif;
    line-height: 130%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-badge {
    align-self: flex-start;
}

.video-card-content .card-button {
    align-self: flex-start;
}

/* ============================================
   VIDEOS RECOMENDADOS YT (YouTube Version)
   ============================================ */

.videos-section-yt {
    padding: 60px 0;
}

.videos-section-yt .cards-grid {
    gap: 24px;
    row-gap: 80px;
}

.videos-section-yt .video-card {
    position: relative;
    overflow: visible;
    width: 100%;
}

.videos-section-yt .video-card-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

/* Remove the darkening overlay for YT version */
.videos-section-yt .video-card-image::after {
    display: none;
}

.videos-section-yt .video-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.videos-section-yt .video-card-image iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Title positioned below the card */
.videos-section-yt .video-card-title {
    position: relative;
    color: var(--primary);
    font-size: 20px;
    font-weight: 400;
    padding: 12px 0 0 0;
    margin: 0;
    font-family: 'Merriweather', serif;
    line-height: 140%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter-section {
    background: #E8E8E8;
    padding: 60px 0;
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 31px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.newsletter-text {
    max-width: 514px;
    flex-shrink: 0;
}

.newsletter-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 140%;
    color: var(--primary);
}

.newsletter-text p {
    font-size: 24px;
    font-weight: 400;
    line-height: 140%;
    color: var(--primary);
}

.newsletter-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 332px;
    flex-shrink: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.newsletter-form input {
    width: 100%;
    padding: 16px;
    border: 1px solid #D9D9D9;
    border-radius: 25px;
    font-size: 14px;
    color: var(--primary);
    background: var(--white);
    font-family: 'Merriweather', sans-serif;
    font-weight: 400;
    height: 48px;
    box-sizing: border-box;
    text-align: center;
}

.newsletter-form input::placeholder {
    color: #949494;
    text-align: center;
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 25px;
    font-weight: 400;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    height: 48px;
    font-family: 'Merriweather', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.newsletter-form button:hover {
    background: #333;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0 24px;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section h3 {
    color: var(--secondary);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    padding-bottom: 8px;
    font-family: 'Merriweather', sans-serif;
    border-bottom: 1px solid var(--secondary);
    display: block;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    max-width: 100px;
    height: 7px;
    background: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    text-decoration: none;
    font-family: 'roboto';
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-social svg {
    width: auto;
    height: 24px;
    display: block;
}

.footer-social img {
    width: 100%;
    height: 100%;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-logos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-logos img {
    height: auto;
    max-height: 45px;
    max-width: 45%;
    object-fit: contain;
}

/* ============================================
   RESPONSIVE - TABLET SMALL (577px - 992px)
   ============================================ */

@media (max-width: 992px) {
    /* Header - Botón con texto corto */
    .header-button-text-desktop {
        display: none;
    }
    
    .header-button-text-mobile {
        display: inline;
    }
    
    /* Header - Menu hamburguesa */
    .menu-toggle {
        display: none;
    }
    
    .nav {
        position: static;
        width: 100%;
        height: auto;
        background: transparent;
        padding: 0;
        transition: none;
        z-index: auto;
    }
    
    .nav.active {
        right: auto;
    }
    
    .nav-close {
        display: none;
    }
    
    .nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    
    .nav li {
        width: auto;
    }
    
    .header-submenu .nav a {
        display: inline-block;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .nav a:hover {
        background: transparent;
    }
    
    .nav .button-link {
        background: var(--white);
        color: var(--primary);
        padding: 12px 24px;
        border-radius: 25px;
        margin-top: 20px;
        text-align: center;
        width: auto;
        display: inline-block;
    }
    
    .nav .button-link:hover {
        background: var(--light-gray);
        color: var(--primary);
    }
    
    /* Revive Momentos - Mantener horizontal en tablet, solo ajustar padding */
    .revive-text {
        padding: 32px 24px;
    }
    
    .revive-text h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .revive-text p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Resetear width de botones en tablet/desktop */
    .revive-text .button,
    .button {
        width: auto;
    }
}




/* ============================================
   RESPONSIVE - TABLET (577px - 1024px)
   ============================================ */

@media (min-width: 577px) and (max-width: 1024px) {
    /* Grids - 2 columnas en tablet */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    /* Containers */
    .container {
        padding: 0 24px;
    }
    
    .container-wide,
    .header-content,
    .footer-content,
    .footer-bottom,
    .newsletter-wrapper {
        padding: 0 24px;
    }
    
    /* Tipografía */
    .section-title-with-dropdown,
    .title-dropdown-toggle {
        font-size: 28px;
    }
    
    .card-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    
    .revive-content h2 {
        font-size: 28px;
    }
    
    .newsletter-text h2,
    .newsletter-text p {
        font-size: 20px;
    }
    
    /* Hero Slider */
    .hero-slider {
        height: 400px;
    }
    
    /* Grids - 2 columnas en tablet */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    
    .revive-content {
        padding: 40px 32px;
    }
    
    /* Video Cards - Alinear a la izquierda en tablet */
    .video-card-content {
        align-items: flex-start;
        justify-content: center;
        padding: 32px 24px;
        max-width: 100%;
        margin: 0;
    }
    
    .video-card-title {
        font-size: 20px;
        line-height: 120%;
    }
    
    /* Footer */
    .footer-content {
        gap: 40px;
    }
     .header-submenu{
        display: none;
    }
}


/* HERO CONCURSO */
.concurso-hero {
    width: 100%;
    aspect-ratio: 3 / 1;
    max-height: 483px;
    overflow: hidden;
}

.concurso-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* CONTENIDO PRINCIPAL */
.concurso-content {
    width: 100%;
}

.concurso-content-wrapper {
    max-width: 1044px;
    margin: 0 auto;
    text-align: left;
    padding: 40px 60px 0px;
}

.concurso-headline {
    font-size: 20px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 12px;
    font-family: 'roboto';
}

.concurso-title {
    font-family: 'Merriweather', serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.24;
    color: var(--primary);
    margin-bottom: 24px;
}

.concurso-content .button {
    margin-bottom: 24px;
}

.concurso-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: 'roboto';
}

.concurso-note {
    font-size: 20px;
    font-style: italic;
    color: #666;
    margin: 0;
    font-family: 'roboto';
}

/* BOTONES DE ACCIÓN */
.concurso-info-actions-section {
    width: 100%;
    padding: 40px 0;
    background: var(--white);
}

.concurso-info-actions {
    max-width: 1044px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.concurso-bases-link {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.concurso-bases-link:hover {
    opacity: 0.7;
}

.button-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.button-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.button-outline svg path {
    fill: var(--primary);
    transition: fill 0.3s ease;
}

.button-outline:hover svg path {
    fill: var(--white);
}

/* FORMULARIO */
.concurso-form-section {
    width: 100%;
    padding: 60px 20px;
}

.concurso-form-container {
    max-width: 576px;
    margin: 0 auto;
}

.form-main-title {
    font-family: 'Merriweather', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 120%;
    color: var(--primary);
    text-align: center;
    margin-bottom: 8px;
}

.form-main-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--primary);
    text-align: center;
    margin-bottom: 32px;
}

.concurso-form {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
}

.form-section-title {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 24px;
    margin-top: 0;
}

.form-section-title:not(:first-child) {
    margin-top: 32px;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: flex;
    height: 45px;
    padding: 16px;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    border: 1px solid #D1D1D1;
    background: #FFF;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a3a3a3;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0D81AB;
}

.form-group textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.form-helper-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #777;
    margin-top: 8px;
}

.form-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 24px;
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    background: #f5f5f5;
    margin-bottom: 24px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-upload:hover {
    border-color: var(--secondary);
}

.form-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.form-upload-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #1A1A1A;
    cursor: pointer;
}

.form-upload-link {
    color: #0D81AB;
    font-weight: 700;
}

.form-upload-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #777;
    margin: 0;
}

.form-upload input[type="file"] {
    display: none;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--secondary);
}

.form-checkbox label {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #1A1A1A;
    cursor: pointer;
}

.form-checkbox label a {
    color: #1A1A1A;
    text-decoration: underline;
}

.form-disclaimer {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 24px;
}

.concurso-form .button {
    display: flex;
    margin: 0 auto;
}

/* PREGUNTAS FRECUENTES */
.faq-section {
    padding: 60px 0;
}

.faq-container {
    max-width: 1044px;
    margin: 0 auto;
    padding: 0 60px;
}

.faq-title {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    text-align: left;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    background: var(--white);
}

.faq-item.active .faq-question {
    background: #D1D1D1;
    border-radius: 8px 8px 0 0;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Merriweather', serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #1A1A1A;
    transition: background 0.3s ease;
}

.faq-question span {
    flex: 1;
    padding-right: 16px;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-content {
    padding: 0 24px;
    min-height: 0;
    overflow: hidden;
    transition: padding 0.3s ease;
    font-family: 'roboto';
}

.faq-item.active .faq-answer-content {
    padding: 16px 24px 24px 24px;
}

.faq-answer p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #1A1A1A;
    margin: 0;
}

/* GALERÍA */
.gallery-section {
    padding: 60px 0;
    background: var(--primary);
}

.section-title-light {
    font-family: 'Merriweather', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.24;
    color: #FFB800;
    text-align: center;
    margin-bottom: 0;
}

.gallery-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--white);
    text-align: center;
    margin-bottom: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1044px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    background: transparent;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    max-height: 294px;
    object-fit: cover;
    display: block;
}

.gallery-info {
    padding: 16px 0;
}

.gallery-likes {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
}

.gallery-likes svg {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.gallery-likes .heart-filled {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

.gallery-likes.liked .heart-empty {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

.gallery-likes.liked .heart-filled {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.gallery-likes span {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--white);
}

.gallery-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--white);
    margin: 0;
}

.gallery-title strong {
    font-weight: 700;
}

/* GALERÍA V2 - GANADORES Y MENCIONES */
.gallery-v2-section {
    padding: 60px 0;
    background: var(--white);
}

.gallery-v2-category {
    margin-bottom: 60px;
}

.gallery-v2-category:last-of-type {
    margin-bottom: 0px;
}

.gallery-v2-title {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    text-align: center;
    margin-bottom: 32px;
}

.gallery-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1044px;
    margin: 0 auto;
}

.gallery-v2-item {
    background: var(--white);
}

.gallery-v2-image {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-v2-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-v2-item:hover .gallery-v2-image img {
    transform: scale(1.05);
}

.gallery-v2-caption {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--primary);
    margin: 12px 0 0 0;
    padding: 0;
}

.gallery-v2-caption span {
    font-weight: 400;
}

/* CTA DESCUBRE MÁS - SECCIÓN INDEPENDIENTE */
.gallery-v2-cta-section {
    width: 100%;
    padding: 40px 0;
    background: var(--white);
    text-align: left;
}

.gallery-v2-cta-title {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 12px;
}

.gallery-v2-cta-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--primary);
    margin-bottom: 32px;
}

.button-outline-arrow {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 400;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'roboto';
}

.button-outline-arrow:hover {
    background: var(--primary);
    color: var(--white);
}

.button-outline-arrow svg path {
    fill: var(--primary);
    transition: fill 0.3s ease;
}

.button-outline-arrow:hover svg path {
    fill: var(--white);
}

/* CTA FINAL */
.cta-section {
    padding: 40px 0 100px;
    text-align: left;
}

.cta-title {
    font-family: 'Merriweather', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.24;
    color: var(--primary);
    margin-bottom: 0;
}

.cta-subtitle {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 24px;
}


/* ============================================
   LANDING CONCURSO - RESPONSIVE MOBILE
   ============================================ */


/* ============================================
   FORMULARIO INSCRIPCIÓN CARTELERA
   ============================================ */

.inscripcion-section {
    min-height: calc(100vh - 80px - 269px);
    padding: 64px 20px;
    background: #F8F8F8;
}

.inscripcion-container {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(222, 225, 230, 0.75);
}

.inscripcion-title {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
    text-align: center;
    margin-bottom: 16px;
}

.inscripcion-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--primary);
    text-align: center;
    margin-bottom: 8px;
}

.inscripcion-note {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #666;
    text-align: center;
    margin-bottom: 32px;
}

.inscripcion-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.inscripcion-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    width: 100%;
    max-width: 400px;
}

.inscripcion-form .form-group label {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #1A1A1A;
    margin-bottom: 4px;
    text-align: left;
}

.inscripcion-form .form-group input,
.inscripcion-form .form-group select {
    width: 100%;
    max-width: 400px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #D1D1D1;
    background: #FFF;
    color: #777;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    min-height: 56px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.inscripcion-form .form-group input {
    color: #1A1A1A;
}

.inscripcion-form .form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="5" viewBox="0 0 8 5" fill="none"><path d="M6.30833 0.195L3.72167 2.78167L1.135 0.195C0.875 -0.065 0.455 -0.065 0.195 0.195C-0.065 0.455 -0.065 0.875 0.195 1.135L3.255 4.195C3.515 4.455 3.935 4.455 4.195 4.195L7.255 1.135C7.515 0.875 7.515 0.455 7.255 0.195C6.995 -0.0583333 6.56833 -0.065 6.30833 0.195Z" fill="%23777777"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.inscripcion-form .form-group select:not([value=""]) {
    color: #1A1A1A;
}

.inscripcion-form .form-group input::placeholder {
    color: #777;
}

.inscripcion-form .form-group input:focus,
.inscripcion-form .form-group select:focus {
    outline: none;
    border-color: #0D81AB;
}

.inscripcion-form .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    width: 100%;
    max-width: 400px;
}

.inscripcion-form .form-checkbox input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

.inscripcion-form .form-checkbox label {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #1A1A1A;
    cursor: pointer;
    margin-bottom: 0;
}

.inscripcion-form .form-checkbox label a {
    color: #1A1A1A;
    text-decoration: underline;
}

.inscripcion-form .button-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    height: 48px;
    padding: 16px 24px;
    border-radius: 64px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: center;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inscripcion-form .button-primary:hover {
    background: #000;
}

.exito-section {
    min-height: calc(100vh - 80px - 269px);
    padding: 64px 20px;
    background: #F8F8F8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exito-container {
    max-width: 1000px;
    width: 100%;
    background: var(--white);
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(222, 225, 230, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.exito-title {
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 52px;
    color: var(--primary);
    margin: 0;
}

.exito-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exito-description p {
    margin: 0;
}

.exito-button {
    background: #1A1A1A;
    color: white;
    text-decoration: none;
    border: none;
    height: 48px;
    padding: 16px 24px;
    border-radius: 64px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.exito-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Éxito */





/* Tablets */
@media (max-width: 1024px) {
    .hero-slider {
        height: 400px;
    }
    
    .hero-text {
        max-width: 100%;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 14px;
        margin: 0 0 20px 0;
    }
    
    .hero-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .intro-container {
        gap: 60px;
    }
    
    .intro-title {
        font-size: 40px;
        min-width: 250px;
    }

    .concurso-content-wrapper {
        text-align: left;
        padding: 32px 24px 0px;
    }
    .faq-container{
        padding: 0 24px;
    }
    .concurso-info-actions{
        padding: 0 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .intro-section {
        padding: 48px 0;
    }
    
    .intro-container {
        padding: 0 40px;
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .intro-title {
        font-size: 32px;
        min-width: auto;
    }
    
    .intro-description {
        font-size: 14px;
    }

       .video-card-content {
        margin: 0;
        padding: 32px 24px;
    }
     .concurso-title {
        font-size: 36px;
        line-height: 1.25;
    }
    
    .form-main-title {
        font-size: 36px;
        line-height: 1.25;
    }
    
    .faq-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .section-title-light {
        font-size: 36px;
        line-height: 1.25;
    }
    
    .cta-title {
        font-size: 36px;
        line-height: 1.25;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-v2-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-v2-title {
        font-size: 28px;
    }
    
    .gallery-v2-cta-title {
        font-size: 28px;
    }

     .inscripcion-container {
        padding: 32px 24px;
    }
    
    .inscripcion-title {
        font-size: 24px;
    }
    
    .inscripcion-description {
        font-size: 14px;
    }
}


@media (max-width: 640px) {
    /* Containers */
    .container {
        padding: 0 24px;
    }
    
    .container-wide,
    .header-content,
    .footer-content,
    .footer-bottom,
    .newsletter-wrapper {
        padding: 0 16px;
    }
    
    /* Tipografía */
    .section-title-with-dropdown {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .title-dropdown-toggle {
        font-size: 24px;
    }
    
    .title-dropdown-menu {
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
    }
    
    .card-title {
        font-size: 18px;
        line-height: 26px;
    }
    
    
    .revive-content h2 {
        font-size: 24px;
        line-height: 32px;
    }
    
    .revive-content p {
        font-size: 14px;
    }
    
    .newsletter-text h2,
    .newsletter-text p {
        font-size: 18px;
        line-height: 130%;
    }
    
    .footer-section h3 {
        font-size: 14px;
    }
  
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav li {
        width: 100%;
    }
    
    .nav a {
        display: block;
        padding: 15px 0;
        border-radius: 0;
        text-align: center;
    }
    .nav .button-link {
        width: 100%;
    }
    
    /* Hero Slider */
    .hero-slider {
        height: 300px;
    }
    
    .slider-dot,
    .concurso-slider-dots .slider-dot {
        width: 32px;
        height: 4px;
    }
    
    /* Grids - 1 columna solo en mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-image {
        height: 340px;
    }
    
    /* Concurso Banner - Padding vertical importante */
    .concurso-banner {
        height: auto;
        min-height: 350px;
    }
    
    .concurso-banner-content {
        width: 100%;
        padding: 30px 20px;
    }
    
    .concurso-banner-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .concurso-banner-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    
    /* Revive Momentos - Ocultar imagen y padding vertical */
    .revive-banner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    /* Revive Momentos - Cambiar a vertical en mobile */
    .revive-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .revive-image {
        width: 100%;
    }

    .revive-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .revive-text {
        padding: 24px 16px;
    }

    .revive-text h2 {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .revive-text p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    /* Botones - Ancho completo en mobile */
    .button,
    .button-primary,
    .button-outline,
    .button-dark,
    .button-transparent,
    .button-outline-arrow,
    .card-button,
    .revive-text .button {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-self: stretch !important;
        font-size: 14px !important;
    }
    
    /* Video Cards - Mantener altura fija para grilla consistente */
    .video-card {
        height: 300px;
    }
    
    .video-card-content {
        padding: 40px 24px;
        max-width: 100%;
    }
    
    .video-card-title {
        font-size: 20px;
        line-height: 120%;
    }
    
    /* Newsletter - Stack vertical */
    .newsletter-wrapper {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .newsletter-text {
        max-width: 100%;
    }
    
    .newsletter-form-wrapper {
        width: 100%;
        min-width: auto;
    }
    
    /* Footer - Stack vertical */
    .footer {
        padding: 32px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    
    .footer-logos img {
        max-height: 40px;
        max-width: 48%;
    }
    
    /* Spacing entre secciones */
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 24px;
    }
    
    /* Logo mobile */
    .logo {
        max-width: 200px;
    }

    h2{
        font-size: 18px;
        font-weight: 700;
    }
    .header-submenu{
        display: none;
    }
    .hero-title{
        font-size: 20px;
        font-weight: 900;
    }

    .revive-section {
        padding-bottom: 32px;
    }

     .concurso-hero {
        max-height: 131px;
    }
    
    
    .concurso-content {
        padding: 32px 0px 0px;
    }
    
    
    .concurso-content-wrapper {
        text-align: left;
        padding: 0 24px 0px;
    }
    
    .concurso-content .button {
        width: 100% !important;
        font-size: 14px !important;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .concurso-headline {
        font-size: 14px;
    }
    
    .concurso-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .concurso-description {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .concurso-note {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .concurso-info-actions-section {
        padding: 32px 24px;
    }
    
    .concurso-info-actions {
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }
    
    .concurso-bases-link {
        text-align: center;
        font-size: 14px;
    }
    
    .concurso-info-actions .button,
    .concurso-info-actions .button-outline,
    .concurso-info-actions .button-primary {
        width: 100%;
        justify-content: center;
    }
    
    .concurso-form-section {
        padding: 32px 24px;
    }
    
    .form-main-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .form-main-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .concurso-form {
        padding: 24px 16px;
    }
    
    .form-section-title {
        font-size: 18px;
        line-height: 1.35;
    }
    
    .faq-section {
        padding: 32px 24px;
    }
    
    .faq-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .faq-question {
        font-size: 14px;
        line-height: 1.4;
        padding: 16px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .faq-item.active .faq-answer-content {
        padding: 12px 20px 20px 20px;
    }
    
    .gallery-section {
        padding: 32px 24px;
    }
    
    .section-title-light {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .gallery-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 10px;
    }
    
    .gallery-item img {
        max-height: 250px;
    }
    
    .gallery-v2-section {
        padding: 0;
    }
    
    .gallery-v2-section .container {
        padding: 0 24px;
    }
    
    .gallery-v2-category {
        margin-bottom: 40px;
    }
    
    .gallery-v2-category:last-of-type {
        margin-bottom: 0px;
    }
    
    .gallery-v2-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .gallery-v2-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-v2-image img {
        height: 340px;
    }
    
    .gallery-v2-cta-section {
        padding: 0px 0 32px 0;
    }
    
    .gallery-v2-cta-section .container {
        padding: 0 24px;
    }
    
    .gallery-v2-cta-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .gallery-v2-cta-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .gallery-v2-cta-section .button-outline-arrow {
        width: 100%;
        justify-content: center;
    }
    
    .cta-section {
        padding:36px 0 92px 0;
        max-height: none;
        display: block;
    }
    
    .cta-section .container {
        padding: 0 24px;
    }
    
    .cta-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
    .faq-container{
        padding: 0;
    }

      .inscripcion-section {
        padding: 40px 16px;
    }
    
    .inscripcion-container {
        padding: 24px 16px;
    }
    
    .inscripcion-title {
        font-size: 20px;
    }

       .exito-container {
        padding: 32px 24px;
    }
    
    .exito-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .exito-description {
        font-size: 14px;
    }


}


/* Small Mobile */
@media (max-width: 480px) {
    .hero-slider {
        height: 350px;
    }
    
    .hero-text {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 24px;
        margin: 0 0 12px 0;
        line-height: 26px;
    }
    
    .hero-description {
        font-size: 14px;
        margin: 0 0 16px 0;
    }
    
    .hero-button {
        padding: 8px 16px;
        font-size: 14px;
        line-height: 20px;
    }
    
    .hero-button svg {
        width: 14px;
        height: 14px;
    }
    
    .intro-section {
        padding: 40px 0;
    }
    
    .intro-container {
        padding: 0 24px;
        gap: 20px;
    }
    
    .intro-title {
        font-size: 32px;
    }
    
    .intro-description {
        font-size: 13px;
    }
}

@media (max-width: 375px) {
    /* Ajustes adicionales para pantallas muy pequeñas */
    .logo {
        max-width: 180px;
    }
    
    .section-title-with-dropdown,
    .title-dropdown-toggle {
        font-size: 22px;
    }
    
    .card-title {
        font-size: 16px;
        line-height: 24px;
    }
    
    .revive-content h2 {
        font-size: 22px;
        line-height: 30px;
    }
    
    .newsletter-text h2,
    .newsletter-text p {
        font-size: 16px;
    }
    
    .hero-slider {
        height: 280px;
    }
    
    .concurso-banner {
        height: 320px;
    }
    
    .concurso-banner-content {
        width: 100%;
        padding: 25px 16px;
    }
    
    .concurso-banner-content h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .button.button-transparent {
        font-size: 14px;
    }
    
    .concurso-banner-content p {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .video-card {
        height: 240px;
    }
}


.concurso-description ul,
.concurso-description ol {
  margin: 16px 0;
  padding-left: 24px;
  list-style-position: outside;
}

.concurso-description li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.concurso-description li::marker {
  color: var(--primary);
}
