/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    color: #555;
}

.hero-description {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #2c3e50;
}

.body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Video Card */
.video-card {
    border-radius: 16px;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* Ratio 16:9 (9/16 = 0.5625) */
    background: #000;

}

/* Iframe responsivo */
.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-thumbnail:hover {
    transform: scale(1.02);
}


/* Texto del mensaje */
.video-message {
    font-size: 1rem;
    line-height: 1.6;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.play-button {
    background: rgba(255, 87, 34, 0.9) !important;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(255, 87, 34, 1) !important;
    transform: scale(1.1);
}

.video-text {
    margin-top: 20px;
    max-width: 600px;
}

.video-message {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #2c3e50;
}

.apoyo-section {
    background: white;
}

/* Recursos Section */
.recursos-section {
    background: #f5f5f5;
}

.recurso-card {
    border-radius: 12px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.recurso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.recurso-image {
    position: relative;
}

.recurso-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 87, 34, 0.95));
    padding: 40px 20px 20px;
}

.recurso-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 87, 34, 0.9),
            rgba(230, 74, 25, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.recurso-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.recurso-title-full {
    font-size: 1.5rem;
}

.list-number {
    background: #ff5722;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
}

/* Contacto Section */
.contacto-section {
    background: white;
}

.contacto-card {
    border-radius: 16px;
    overflow: hidden;
}

.contacto-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Portales Section */
.portales-section {
    background: #f5f5f5;
}

.portal-card {
    border-radius: 12px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.portal-card .v-card-title {
    color: white;
}

/* Footer */
.footer {
    padding-top: 60px;
    padding-bottom: 30px;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}


/* Responsive para móviles */
@media (max-width: 600px) {
    .video-message {
        font-size: 0.9rem;
    }
}


