@charset "utf-8";
/* CSS Document */

/* ===== VARIABLES DE COLOR ===== */
:root {
    --primary-blue: #3171af;
    --dark-blue: #708CC2;
    --light-blue: #b0bedc;
    --dark-green: #7BBBB0;
    --light-green: #D1E8E4;
    --dark-brown: #FAFDD6;
    --light-brown: #FBFDE6;
    --dark-gris: #1E93AB;
    --light-gris: #31BEDA;	
    --light-gray: #f5f5f5;
    --whiteDropMenu: #3171af;
    --white: #ffffff;
    --dark-gray: #333333;
    --text-gray: #666666;
    --ImaFondoPhoneBloqueMensa: url(imagesMensa/FondoGraficasPhone.jpg);
    --ImaFondoPcBloqueMensa: url(imagesMensa/FondoGraficasPc.jpg);
  	--ColorMarcoMensajeIntro: #4658FF;
}

/* ===== ESTILOS GENERALES ===== */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--light-gray);
}

html {
    scroll-behavior: smooth;
}

.button_slide {
	color: White;
	border: 2px inset #999999;
	border-radius: 8px;
	padding: 5px 10px;
	font-family: "Lucida Console", Monaco, monospace;
	font-size: 12px;
	letter-spacing: 1px;
	cursor: pointer;
	box-shadow: inset 0 0 0 0 red;
	-webkit-transition: ease-out 0.8s;
	-moz-transition: ease-out 0.8s;
	transition: ease-out 0.8s;
	background-color: Black;
}
.slide_left:hover {
  box-shadow: inset 0 0 0 50px Yellow;
  color: Black;
}
.slide_left:active {
   border: 5px outset red;
}
.BotonVer {
	width: 150px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 10px;
	}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    height: 100%;
    width: 100%;
}

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

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 113, 175, 0.3);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-content .logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.slogan {
    font-style: italic;
    margin-top: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-content h1,
.hero-content p {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

/* ===== NAVEGACIÓN Y HEADER ===== */
.w3-top {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    position: fixed;
    width: 100%;
    background-color: var(--primary-blue) !important;
}

#myNavbar {
    padding: 8px 16px;
}

.w3-bar .w3-button {
    padding: 8px 16px;
    transition: all 0.3s ease;
    color: white !important;
}

.w3-bar .w3-button:hover {
    background-color: var(--light-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: var(--dark-gray) !important;
}

.w3-bar .w3-button.active {
    background-color: var(--light-blue) !important;
    color: var(--dark-gray) !important;
}

.w3-bar .w3-button img {
    height: 30px;
    margin-right: 10px;
}

.w3-dropdown-content {
    margin-top: 0;
    border: 1px solid var(--light-blue);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1001;
    background-color: var(--whiteDropMenu);
}

.w3-dropdown-content .w3-bar-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--light-gray);
    color: var(--dark-gray);
}

.w3-dropdown-content .w3-bar-item:hover {
    background-color: var(--light-blue);
}

/* ===== SIDEBAR MÓVIL ===== */
.w3-sidebar {
    width: 200px;
    background-color: var(--light-gray);
    z-index: 1002;
}

.w3-sidebar .w3-bar-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--light-blue);
    color: var(--dark-gray);
}

.w3-sidebar .w3-bar-item:hover {
    background-color: var(--light-blue);
}

.w3-sidebar .w3-hide {
    display: none;
}

.w3-sidebar .w3-show {
    display: block;
}

.w3-sidebar .w3-bar-item.w3-small {
    padding-left: 32px;
    font-size: 14px;
}

/* ===== BOTONES ===== */
.w3-button.w3-round {
    border-radius: 20px;
}

.w3-button.w3-round-large {
    border-radius: 25px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-success {
    background-color: #4CAF50;
    color: white;
}

.w3-light-blue {
    background-color: var(--light-blue) !important;
    color: var(--dark-gray) !important;
}

/* ===== SECCIÓN ABOUT MEJORADA ===== */
.about-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.05" points="0,1000 1000,0 1000,1000"/></svg>');
}

.about-card {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: none;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--white) 0%, var(--light-gray) 100%);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.advantages-grid {
    margin-top: 20px;
}

.advantage-item {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    border-radius: 12px;
    padding: 15px;
    background: var(--light-gray);
}

.advantage-item:hover {
    border-left-color: var(--primary-blue);
    background-color: var(--white);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.advantage-icon {
    transition: all 0.3s ease;
    padding: 12px;
    color: var(--primary-blue) !important;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.3);
    color: var(--primary-blue) !important;
}

.icon-container {
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(49, 113, 175, 0.3);
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a5f95 100%);
}

.about-card:hover .icon-container {
    transform: rotate(10deg) scale(1.1);
}

/* ===== SECCIÓN BUSCADOR MEJORADA ===== */
.search-section {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--light-green) 100%);
    position: relative;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="%23ffffff" fill-opacity="0.05" cx="500" cy="500" r="400"/></svg>');
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border-radius: 25px 0 0 25px !important;
    padding: 15px 20px !important;
    border: 2px solid var(--light-blue) !important;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px rgba(49, 113, 175, 0.1);
}

.search-button {
    border-radius: 0 25px 25px 0 !important;
    padding: 15px 25px !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a5f95 100%) !important;
    border: 2px solid var(--primary-blue) !important;
    transition: all 0.3s ease;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 113, 175, 0.4);
}

.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid var(--light-blue);
}

/* ===== SECCIÓN EMPRENDEDORES MEJORADA ===== */
.emprendedores-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    position: relative;
}

.emprendedores-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><rect fill="%23ffffff" fill-opacity="0.05" x="200" y="200" width="600" height="600" rx="50"/></svg>');
}

.emprendedor-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: none;
    overflow: hidden;
    background: var(--white);
    border: 2px solid var(--light-blue);
}

.emprendedor-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.emprendedor-card:hover .card-image img {
    transform: scale(1.1);
}

.placeholder-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.placeholder-image i {
    font-size: 64px;
    opacity: 0.8;
}

.card-content {
    padding: 25px;
}

.category {
    color: var(--primary-blue);
    font-weight: bold;
    margin: 10px 0;
}

.description {
    color: var(--text-gray);
    line-height: 1.6;
}

.card-actions {
    margin-top: 20px;
}

.view-button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a5f95 100%);
    border: none;
    padding: 10px 25px;
    transition: all 0.3s ease;
    color: white;
}

.view-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 113, 175, 0.4);
    background: linear-gradient(135deg, #2a5f95 0%, var(--primary-blue) 100%);
}

.empty-state {
    border-radius: 20px;
    text-align: center;
    background: var(--white);
    border: 2px solid var(--light-blue);
}

/* ===== SECCIÓN ESTADÍSTICAS MEJORADA ===== */
.stats-section {
    background: linear-gradient(135deg, var(--dark-gris) 0%, var(--light-gris) 100%);
    position: relative;
    color: var(--white);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.05" points="0,0 1000,0 500,1000"/></svg>');
}

/* ===== MEJORAS PARA SECCIÓN DE ESTADÍSTICAS ===== */

/* Grid de estadísticas mejorado */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
}

.stats-grid .w3-col {
    display: flex;
    flex-direction: column;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-card:hover::before {
    opacity: 1;
}

/* Iconos de estadísticas */
.stat-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.6);
}

.stat-icon i {
    font-size: 42px;
    color: var(--white);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon i {
    transform: scale(1.1);
}

/* Números de estadísticas */
.stat-number {
    display: block;
    font-size: 3.5em;
    font-weight: bold;
    color: white;
    margin: 15px 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    text-shadow: 4px 4px 8px rgba(0,0,0,0.4);
}

/* Etiquetas de estadísticas */
.stat-label {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Colores adicionales para los iconos */
.w3-orange {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
}

.w3-red {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%) !important;
}

.w3-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a5f95 100%) !important;
}

.w3-green {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%) !important;
}

/* Efectos de brillo al hover */
.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.stat-card:hover::after {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

/* Mejoras para el enlace de estadísticas detalladas */
.stats-section .w3-button.w3-border-white {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: white !important;
    padding: 12px 30px !important;
    font-weight: 600;
}

.stats-section .w3-button.w3-border-white:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Animaciones de entrada para las tarjetas */
.stat-card {
    animation: fadeInUp 0.6s ease-out;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* ===== SECCIÓN CONTACTO MEJORADA ===== */
.contact-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-blue) 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="%23ffffff" fill-opacity="0.05" d="M0,500 Q250,300 500,500 T1000,500 L1000,1000 L0,1000 Z"/></svg>');
}

.contact-info-card, .contact-form-card {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: var(--white);
    height: 100%;
    border: 1px solid var(--light-blue);
}

.contact-info-card:hover, .contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

.contact-description {
    font-size: 1.1em;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: var(--light-gray);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.contact-item:hover {
    background: var(--light-blue);
    transform: translateX(5px);
    border-left-color: var(--primary-blue);
}

.contact-item i {
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
    color: var(--primary-blue);
}

.form-input, .form-textarea {
    border-radius: 10px !important;
    padding: 15px !important;
    border: 2px solid var(--light-blue) !important;
    transition: all 0.3s ease;
    background-color: var(--light-gray);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px rgba(49, 113, 175, 0.1);
    background-color: var(--white);
}

.submit-button {
    border-radius: 25px !important;
    padding: 15px !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a5f95 100%) !important;
    border: none !important;
    font-size: 16px;
    transition: all 0.3s ease;
    color: white;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 113, 175, 0.4);
}

/* ===== FOOTER MEJORADO ===== */
.footer-section {
    color: var(--white);
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.03" points="0,1000 1000,500 1000,1000"/></svg>');
}

.footer-content {
    padding: 50px 0 30px;
}

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

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-link {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin: 8px 0;
}

.footer-link:hover {
    color: var(--white);
    text-decoration: none;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: var(--light-blue);
}

/* ===== COMPONENTES DE TARJETAS ===== */
.emprendedor-card {
    transition: all 0.3s ease;
    border: none;
}

.emprendedor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* ===== BUSCADOR ===== */
#searchInput {
    border-radius: 25px 0 0 25px;
}

#searchForm button {
    border-radius: 0 25px 25px 0;
}

#searchResults {
    z-index: 1000;
    position: absolute;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: var(--white);
    border: 1px solid var(--light-blue);
}

.search-result {
    padding: 12px 16px;
    border-bottom: 1px solid var(--light-gray);
    cursor: pointer;
    transition: background-color 0.2s;
    color: var(--dark-gray);
}

.search-result:hover {
    background-color: var(--light-blue);
}

.search-result:last-child {
    border-bottom: none;
}

/* ===== FORMULARIOS ===== */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--light-blue);
    border-radius: 4px;
    background-color: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    background-color: var(--white);
}

/* ===== DASHBOARD ===== */
.sidebar {
    height: 100%;
    background-color: var(--light-gray);
    position: fixed;
    z-index: 1;
    overflow: auto;
    border-right: 1px solid var(--light-blue);
}

.main-content {
    margin-left: 200px;
    padding: 20px;
    background-color: var(--light-gray);
}

/* ===== GALERÍA DE PRODUCTOS ===== */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.product-item {
    border: 1px solid var(--light-blue);
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.product-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.product-item img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
}

/* ===== LANDING PAGE ===== */
.landing-header {
    background: linear-gradient(rgba(49, 113, 175, 0.8), rgba(49, 113, 175, 0.9)), url('uploads/pattern.jpg');
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-blue);
}

/* ===== SECCIONES GENERALES ===== */
section {
    scroll-margin-top: 80px;
}

/* ===== ESTADÍSTICAS ===== */
.w3-blue .w3-xxlarge {
    font-weight: bold;
    display: block;
}

/* ===== FOOTER ===== */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== ELEMENTOS COMUNES ===== */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #3C3C3C;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2em !important;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a5f95 100%);
    border: medium ridge #F2F5F7;
    padding: 15px 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    color: white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(49, 113, 175, 0.4);
    background: linear-gradient(135deg, #2a5f95 0%, var(--primary-blue) 100%);
}

/* ===== MENSAJES DE ALERTA ===== */
.w3-panel {
    animation: fadeIn 0.5s;
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-blue);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.w3-animate-top {
    position: relative;
    animation: animatetop 0.8s;
}

@keyframes animatetop {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

/* ===== MEJORAS VISUALES ===== */
.w3-ul .w3-padding-16 {
    transition: background-color 0.3s;
}

.w3-ul .w3-padding-16:hover {
    background-color: var(--light-gray);
}

.w3-text-blue {
    color: var(--primary-blue) !important;
}

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

.about-card, .emprendedor-card, .stat-card, .contact-info-card, .contact-form-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Efectos de hover para botones */
.w3-button.w3-hover-deep-purple:hover {
    background-color: var(--primary-blue) !important;
    color: white !important;
    transform: translateY(-2px);
}

.w3-white {
    background-color: var(--white) !important;
    color: var(--dark-gray) !important;
}

.w3-light-grey {
    background-color: var(--light-gray) !important;
    color: var(--dark-gray) !important;
}

.registro-btn {
    padding: 15px 25px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3) !important;
    transition: all 0.3s ease !important;
    border: 3px solid transparent !important;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%) !important;
}

.registro-btn:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 20px rgba(76, 175, 80, 0.4) !important;
    border-color: #388E3C !important;
}

.registro-btn:active {
    transform: translateY(-2px) !important;
}

/* ===== MEJORAS PARA LOGOS DE EMPRENDEDORES ===== */

/* Logo del emprendedor en tarjetas */
.emprendedor-logo {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.emprendedor-card:hover .emprendedor-logo {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Placeholder mejorado para cuando no hay logo */
.placeholder-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.emprendedor-card:hover .placeholder-image {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-blue) 100%);
    transform: scale(1.02);
}

.placeholder-image i {
    font-size: 64px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.emprendedor-card:hover .placeholder-image i {
    transform: scale(1.1);
    opacity: 1;
}

/* Contenedor de imagen mejorado */
.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 8px 8px 0 0;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* Asegurar que las imágenes se mantengan dentro de sus contenedores */
.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Efectos de hover mejorados para las tarjetas */
.emprendedor-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--light-blue);
    overflow: hidden;
}

.emprendedor-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

/* Mejoras para la galería de emprendedores */
.emprendedores-section .w3-row-padding {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.emprendedores-section .w3-col.m4 {
    display: flex;
}

.emprendedor-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Mejoras para el buscador de resultados */
.search-result-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    margin-right: 10px;
    background-color: var(--light-gray);
    padding: 5px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--light-gray);
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: var(--light-blue);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: bold;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.search-result-giro {
    color: var(--text-gray);
    font-size: 0.9em;
}

/* Loading state para imágenes */
.emprendedor-logo.loading {
    background: linear-gradient(90deg, var(--light-gray) 25%, var(--light-blue) 50%, var(--light-gray) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Mejoras para accesibilidad */
.emprendedor-logo:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Soporte para modo oscuro */
@media (prefers-color-scheme: dark) {
    .emprendedor-logo {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .placeholder-image {
        background: linear-gradient(135deg, #2a5f95 0%, #1e3a5f 100%);
    }
}

/* Mejoras para alta densidad de píxeles */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .emprendedor-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Prevenir desbordamiento en móviles */
.card-image {
    overflow: hidden;
}

.emprendedor-logo {
    max-width: 100%;
    height: auto;
}

/* Mejoras de rendimiento para imágenes */
.emprendedor-logo {
    will-change: transform;
    backface-visibility: hidden;
}

/* Estados de error mejorados */
.emprendedor-logo:error + .placeholder-image {
    display: flex !important;
}

.emprendedor-logo:error {
    display: none;
}

/* ===== SECCIÓN NOTICIAS MEJORADA ===== */
.news-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.05" points="0,0 1000,500 1000,1000 0,1000"/></svg>');
}

.news-card {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    overflow: hidden;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;  
    transition: transform 0.4s ease;
    background-color: var(--light-gray); 
    padding: 10px; 
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.news-title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--dark-gray);
    margin: 10px 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85em;
    color: var(--text-gray);
}

.news-date, .news-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date i, .news-author i {
    color: var(--primary-blue);
}

.news-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    align-self: flex-start;
    margin-top: auto;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 113, 175, 0.3);
}

.news-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.news-modal-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    background-color: #f9f9f9;
    padding: 5px;
}

.news-modal-content {
    line-height: 1.6;
    font-size: 0.95em;
    max-height: 350px;
    overflow-y: auto;
    padding: 10px 5px;
}

@media (max-width: 600px) {
    .news-modal-image img {
        width: 150px;
        height: 150px;
    }
}

/* Modal de noticias */
.news-modal-image {
    margin: 20px 0;
    text-align: center;
}

.news-modal-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-modal-content {
    line-height: 1.8;
    font-size: 1.1em;
    color: var(--dark-gray);
    margin: 20px 0;
}

.news-meta-modal {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.9em;
    color: rgba(255,255,255,0.9);
}

/* Estilos para la sección de redes sociales */
.social-section {
    margin-top: 20px;
}

.social-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-icon i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

/* Facebook */
.social-icon.facebook {
    background: linear-gradient(45deg, #3b5998, #4a6fbe);
}

.social-icon.facebook:hover {
    background: linear-gradient(45deg, #4a6fbe, #3b5998);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 12px rgba(59, 89, 152, 0.4);
}

/* Instagram */
.social-icon.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.social-icon.instagram:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 12px rgba(225, 48, 108, 0.4);
    animation: gradientShift 1s ease infinite;
}

/* Estilos para el icono personalizado de TikTok */
.social-icon.tiktok {
    background: #000000; /* Fondo negro */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tiktok-custom-icon {
    width: 18px;  /* Ajusta según el tamaño de tus otros iconos */
    height: 18px;
    filter: brightness(0) invert(1); /* Convierte el icono a blanco */
    transition: all 0.3s ease;
}

/* Efectos hover */
.social-icon.tiktok:hover {
    background: #69C9D0; /* Azul turquesa de TikTok */
    transform: scale(1.1);
}

.social-icon.tiktok:hover .tiktok-custom-icon {
    filter: none; /* Restaura colores originales en hover */
}

/* Si usas un PNG con fondo blanco, usa esto en lugar del filter */
.tiktok-custom-icon.white-bg {
    width: 18px;
    height: 18px;
}

.social-icon.tiktok:hover .tiktok-custom-icon.white-bg {
    filter: brightness(0) invert(1); /* Convierte a blanco en hover */
}

/* Animación para el gradiente de Instagram */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Efectos comunes para todos los iconos */
.social-icon:hover i {
    transform: scale(1.2);
}

.social-icon:active {
    transform: scale(0.95);
}

/* Efecto de pulso al hacer hover */
.social-icon:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 1s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Estilos para el icono de correo */
#LogoContacto {
    position: relative;
    max-width: 100px;
    margin: 0 auto;
}

.email-icon {
    display: block;
    position: relative;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    overflow: visible;
}

.email-icon img {
    border-radius: 50%;
    transition: all 0.3s ease;
    filter: grayscale(0.1);
    border: 3px solid transparent;
}

/* Efecto hover principal */
.email-icon:hover {
    transform: translateY(-5px) scale(1.05);
}

.email-icon:hover img {
    filter: grayscale(0) brightness(1.1);
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

/* Efecto de pulso continuo */
.email-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #2196F3;
    border-radius: 50%;
    animation: emailPulse 2s infinite;
    opacity: 0;
}

@keyframes emailPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Efecto de onda al hacer hover */
.email-icon:hover .email-pulse {
    animation: emailPulseHover 1s ease-out;
}

@keyframes emailPulseHover {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Efecto de brillo */
.email-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.email-icon:hover::before {
    opacity: 1;
}

/* Efecto de click */
.email-icon:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Efecto de carga al hacer hover */
.email-icon:hover img {
    animation: emailBounce 0.6s ease;
}

@keyframes emailBounce {
    0%, 20%, 60%, 100% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.1);
    }
    80% {
        transform: scale(1.05);
    }
}

/* Efecto de sombra dinámica */
.email-icon {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.email-icon:hover {
    filter: drop-shadow(0 8px 20px rgba(33, 150, 243, 0.6));
}

/* ===== MEDIA QUERIES CONSOLIDADAS ===== */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    #noticiasPagina {
        background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    }
    
    .tituloObjetivo, .tituloEmprende, .tituloNuevos, .tituloNoticias {
        text-align: center;
        font-style: italic;
        font-size: 2.5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 3px 3px 6px rgba(0,0,0,0.1),
                     0 0 30px rgba(52, 152, 219, 0.2);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    
    .tituloObjetivo::after, .tituloEmprende::after, .tituloNuevos::after, .tituloNoticias::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloRegistro {
        text-align: center;
        font-style: italic;
        font-size: 3em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 3px 3px 6px rgba(0,0,0,0.1),
                     0 0 30px rgba(52, 152, 219, 0.2);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloRegistro::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloCostos {
        text-align: center;
        font-style: italic;
        font-size: 4em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #F4F3F3 0%, #BFC1C1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloCostos::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #D2D7DB, #565759, transparent);
        border-radius: 2px;
    }
    
    .hero-section {
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 2.5em !important;
    }
    
    .w3-col.m4 {
        margin-bottom: 20px;
    }
    
    #searchInput {
        border-radius: 25px;
        margin-bottom: 10px;
    }
    
    #searchForm button {
        border-radius: 25px;
        width: 100%;
    }
    
    .w3-top .w3-bar-item {
        padding: 8px 12px;
    }
    
    .w3-sidebar {
        width: 100%;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .section-header h2 {
        font-size: 2em;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .hero-video {
        object-fit: cover;
    }
    
    .video-overlay {
        background: rgba(49, 113, 175, 0.4);
    }
    
    .emprendedor-logo {
        height: 150px;
        padding: 10px;
    }
    
    .placeholder-image {
        height: 150px;
    }
    
    .placeholder-image i {
        font-size: 48px;
    }
    
    .card-image {
        height: 150px;
    }
    
    .stats-grid .w3-col {
        width: 100% !important;
    }
    
    .stat-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
    
    .stats-section .w3-button.w3-border-white {
        padding: 10px 20px !important;
        font-size: 14px;
    }
    
    .registro-btn {
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon i {
        font-size: 20px;
    }
    
    #LogoContacto {
        max-width: 80px;
    }
    
    .email-pulse {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.2em;
    }
 #BloqueMensa {
	background-image: var(--ImaFondoPhoneBloqueMensa);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 650px;
	width: 100%;
	background-attachment: fixed;
	border-top-width: 10px;
	border-top-style: ridge;
	border-top-color: #A97D0B;
	border-bottom-width: 10px;
	border-bottom-style: ridge;
	border-bottom-color: #A97D0B;
	}
#MensajeIntro {
	margin-top: 130px;
	height: auto;
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	padding: 7px;
	border: medium ridge var(--ColorMarcoMensajeIntro);
	border-radius: 15px;
	box-shadow: 5px 5px 5px 3px #000;
	background: url("imagesMensa/FondoPapelViejoBN.png") repeat;
	opacity: 1; /* Opacidad inicial: 1 (visible) */
  	transition: opacity 0.5s ease; /* Duración y tipo de transición */
 	}
.TituloMensaje {
	font-family: 'Kaushan Script', cursive;
	font-size: 26px;
	text-align: center;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-shadow: 0px 3px 3px rgba(255,255,255,0.5),0px -1px 1px rgba(0,0,0,.3);
	}	
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    #noticiasPagina {
        background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    }
    
    .tituloObjetivo, .tituloNuevos {
        text-align: center;
        font-style: italic;
        font-size: 2.5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 3px 3px 6px rgba(0,0,0,0.1),
                     0 0 30px rgba(52, 152, 219, 0.2);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloEmprende {
        text-align: center;
        font-style: italic;
        font-size: 2.5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #119C0B 0%, #032D0B 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 3px 3px 6px rgba(0,0,0,0.1),
                     0 0 30px rgba(52, 152, 219, 0.2);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloObjetivo::after, .tituloEmprende::after, .tituloNuevos::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloRegistro {
        text-align: center;
        font-style: italic;
        font-size: 4em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 3px 3px 6px rgba(0,0,0,0.1),
                     0 0 30px rgba(52, 152, 219, 0.2);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloRegistro::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloCostos {
        text-align: center;
        font-style: italic;
        font-size: 4.3em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #F4F3F3 0%, #BFC1C1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloCostos::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #D2D7DB, #565759, transparent);
        border-radius: 2px;
    }
    
    .hero-section {
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 2.2em !important;
    }
    
    .product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .footer-column {
        text-align: left;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
    
    .stats-grid .w3-col {
        width: 50% !important;
        margin-bottom: 20px;
    }
    
    .stat-card {
        padding: 30px 15px;
    }
    
    .stat-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .stat-icon i {
        font-size: 36px;
    }
    
    .stat-number {
        font-size: 2.8em;
    }
    
    .stat-label {
        font-size: 1.1em;
    }
#BloqueMensa {
	background-image: var(--ImaFondoPhoneBloqueMensa);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 650px;
	width: 100%;
	background-attachment: fixed;
	border-top-width: 10px;
	border-top-style: ridge;
	border-top-color: #A97D0B;
	border-bottom-width: 10px;
	border-bottom-style: ridge;
	border-bottom-color: #A97D0B;
	}
#MensajeIntro {
	margin-top: 130px;
	height: auto;
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	padding: 7px;
	border: medium ridge var(--ColorMarcoMensajeIntro);
	border-radius: 15px;
	box-shadow: 5px 5px 5px 3px #000;
	background: url("imagesMensa/FondoPapelViejoBN.png") repeat;
	opacity: 1; /* Opacidad inicial: 1 (visible) */
  	transition: opacity 0.5s ease; /* Duración y tipo de transición */
 	}
.TituloMensaje {
	font-family: 'Kaushan Script', cursive;
	font-size: 28px;
	text-align: center;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-shadow: 0px 3px 3px rgba(255,255,255,0.5),0px -1px 1px rgba(0,0,0,.3);
	}	
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    #about, #emprendedores, #noticias, #noticiasPagina {
        background-image: url("images/FondoAzulPagPrinciPc.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: auto;
        width: 100%;
        background-attachment: fixed;
    }
    
    #about {
        border-top-width: 10px;
        border-top-style: ridge;
        border-top-color: #A97D0B;
    }
    
    #buscador, #estadistica {
        background-image: url("images/FondoVerdePagPrinciPc.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: auto;
        width: 100%;
        background-attachment: fixed;
    }
    
    #pricing {
        background-image: url("images/FondoGrisPagPrinciPc.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: auto;
        width: 100%;
        background-attachment: fixed;		
    }
    
    .tituloObjetivo, .tituloNuevos {
        text-align: center;
        font-style: italic;
        font-size: 3.5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloEmprende {
        text-align: center;
        font-style: italic;
        font-size: 3.5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #119C0B 0%, #032D0B 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloObjetivo::after, .tituloEmprende::after, .tituloNuevos::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloRegistro {
        text-align: center;
        font-style: italic;
        font-size: 5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloRegistro::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloCostos {
        text-align: center;
        font-style: italic;
        font-size: 5.3em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #F4F3F3 0%, #BFC1C1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloCostos::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #D2D7DB, #565759, transparent);
        border-radius: 2px;
    }
    
    .hero-section {
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 2.5em !important;
    }
    
    .w3-sidebar {
        width: 200px;
    }
    
    .sidebar {
        width: 200px;
        height: 100%;
        position: fixed;
    }
    
    .main-content {
        margin-left: 200px;
    }
    
    .product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .footer-column {
        text-align: left;
    }
    
    .emprendedor-logo {
        height: 180px;
    }
    
    .placeholder-image {
        height: 180px;
    }
    
    .card-image {
        height: 180px;
    }
#BloqueMensa {
	background-image: var(--ImaFondoPcBloqueMensa);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 650px;
	width: 100%;
	background-attachment: fixed;
	border-top-width: 10px;
	border-top-style: ridge;
	border-top-color: #A97D0B;
	border-bottom-width: 10px;
	border-bottom-style: ridge;
	border-bottom-color: #A97D0B;
	}
#MensajeIntro {
	margin-top: 130px;
	height: auto;
	width: 55%;
	margin-right: auto;
	margin-left: auto;
	padding: 7px;
	border: medium ridge var(--ColorMarcoMensajeIntro);
	border-radius: 15px;
	box-shadow: 5px 5px 5px 3px #000;
	background: url("imagesMensa/FondoPapelViejoBN.png") repeat;
	opacity: 1; /* Opacidad inicial: 1 (visible) */
  	transition: opacity 0.5s ease; /* Duración y tipo de transición */
 	}
.TituloMensaje {
	font-family: 'Kaushan Script', cursive;
	font-size: 30px;
	text-align: center;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-shadow: 0px 3px 3px rgba(255,255,255,0.5),0px -1px 1px rgba(0,0,0,.3);
	}	
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #about, #emprendedores, #noticias {
        background-image: url("images/FondoAzulPagPrinciPc.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: auto;
        width: 100%;
        background-attachment: fixed;
    }
    
    #about {
        border-top-width: 10px;
        border-top-style: ridge;
        border-top-color: #A97D0B;
    }
    
    #buscador, #estadistica {
        background-image: url("images/FondoVerdePagPrinciPc.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: auto;
        width: 100%;
        background-attachment: fixed;
    }
    
    #pricing {
        background-image: url("images/FondoGrisPagPrinciPc.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: auto;
        width: 100%;
        background-attachment: fixed;		
    }
    
    .tituloObjetivo {
        text-align: center;
        font-style: italic;
        font-size: 5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloEmprende {
        text-align: center;
        font-style: italic;
        font-size: 4.5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #119C0B 0%, #032D0B 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloNuevos {
        text-align: center;
        font-style: italic;
        font-size: 4.5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloObjetivo::after, .tituloEmprende::after, .tituloNuevos::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloRegistro {
        text-align: center;
        font-style: italic;
        font-size: 5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloRegistro::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloCostos {
        text-align: center;
        font-style: italic;
        font-size: 7em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #F4F3F3 0%, #BFC1C1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloCostos::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #D2D7DB, #565759, transparent);
        border-radius: 2px;
    }
    
    .hero-section {
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 3em !important;
    }
    
    .section-header h2 {
        font-size: 2.8em;
    }
    
    .product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-info-card, .contact-form-card {
        padding: 40px;
    }
#BloqueMensa {
	background-image: var(--ImaFondoPcBloqueMensa);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 650px;
	width: 100%;
	background-attachment: fixed;
	border-top-width: 10px;
	border-top-style: ridge;
	border-top-color: #A97D0B;
	border-bottom-width: 10px;
	border-bottom-style: ridge;
	border-bottom-color: #A97D0B;
	}
#MensajeIntro {
	margin-top: 130px;
	height: auto;
	width: 58%;
	margin-right: auto;
	margin-left: auto;
	padding: 7px;
	border: medium ridge var(--ColorMarcoMensajeIntro);
	border-radius: 15px;
	box-shadow: 5px 5px 5px 3px #000;
	background: url("imagesMensa/FondoPapelViejoBN.png") repeat;
	opacity: 1; /* Opacidad inicial: 1 (visible) */
  	transition: opacity 0.5s ease; /* Duración y tipo de transición */
 	}
.TituloMensaje {
	font-family: 'Kaushan Script', cursive;
	font-size: 34px;
	text-align: center;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-shadow: 0px 3px 3px rgba(255,255,255,0.5),0px -1px 1px rgba(0,0,0,.3);
	}	
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    #about, #emprendedores, #noticias {
        background-image: url("images/FondoAzulPagPrinciPc.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: auto;
        width: 100%;
        background-attachment: fixed;
    }
    
    #about {
        border-top-width: 10px;
        border-top-style: ridge;
        border-top-color: #A97D0B;
    }
    
    #buscador, #estadistica {
        background-image: url("images/FondoVerdePagPrinciPc.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: auto;
        width: 100%;
        background-attachment: fixed;
    }
    
    #pricing {
        background-image: url("images/FondoGrisPagPrinciPc.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        height: auto;
        width: 100%;
        background-attachment: fixed;		
    }
    
    .tituloObjetivo {
        text-align: center;
        font-style: italic;
        font-size: 6em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloEmprende {
        text-align: center;
        font-style: italic;
        font-size: 5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #119C0B 0%, #032D0B 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloNuevos {
        text-align: center;
        font-style: italic;
        font-size: 5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloObjetivo::after, .tituloEmprende::after, .tituloNuevos::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloRegistro {
        text-align: center;
        font-style: italic;
        font-size: 7em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloRegistro::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #3498db, #2c3c50, transparent);
        border-radius: 2px;
    }
    
    .tituloCostos {
        text-align: center;
        font-style: italic;
        font-size: 8em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #F4F3F3 0%, #BFC1C1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
    
    .tituloCostos::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 3px;
        background: linear-gradient(90deg, transparent, #D2D7DB, #565759, transparent);
        border-radius: 2px;
    }
    
    .hero-section {
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 3.5em !important;
    }
    
    .section-header h2 {
        font-size: 3em;
    }
    
    .product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
#BloqueMensa {
	background-image: var(--ImaFondoPcBloqueMensa);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	height: 650px;
	width: 100%;
	background-attachment: fixed;
	border-top-width: 10px;
	border-top-style: ridge;
	border-top-color: #A97D0B;
	border-bottom-width: 10px;
	border-bottom-style: ridge;
	border-bottom-color: #A97D0B;
	}
#MensajeIntro {
	margin-top: 130px;
	height: auto;
	width: 800px;
	margin-right: auto;
	margin-left: auto;
	padding: 7px;
	border: medium ridge var(--ColorMarcoMensajeIntro);
	border-radius: 15px;
	box-shadow: 5px 5px 5px 3px #000;
	background: url("imagesMensa/FondoPapelViejoBN.png") repeat;
	opacity: 1; /* Opacidad inicial: 1 (visible) */
  	transition: opacity 0.5s ease; /* Duración y tipo de transición */
 	}
.TituloMensaje {
	font-family: 'Kaushan Script', cursive;
	font-size: 40px;
	text-align: center;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-shadow: 0px 3px 3px rgba(255,255,255,0.5),0px -1px 1px rgba(0,0,0,.3);
	}	
}

/* Títulos responsivos para noticias */
@media (min-width: 601px) and (max-width: 768px) {
    .tituloNoticias {
        text-align: center;
        font-style: italic;
        font-size: 5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 3px 3px 6px rgba(0,0,0,0.1),
                     0 0 30px rgba(52, 152, 219, 0.2);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .tituloNoticias {
        text-align: center;
        font-style: italic;
        font-size: 6em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
}

@media (min-width: 993px) {
    .tituloNoticias {
        text-align: center;
        font-style: italic;
        font-size: 6.5em;
        font-family: "Roboto Slab", serif !important;
        font-weight: 600;
        background: linear-gradient(135deg, #0C549C 0%, #041C2D 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px rgba(238,238,238,0.70);
        text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
        letter-spacing: 2px;
        position: relative;
        margin-bottom: 20px;
    }
}

/* ===== MEDIA QUERIES ESPECIALES ===== */

/* Prevenir que el video se reproduzca en modo low-power */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    
    .hero-background {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    }
    
    .hero-background img {
        display: block;
    }
    
    .stat-card,
    .stat-icon,
    .stat-number,
    .stat-card::after {
        transition: none;
        animation: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
    
    .about-card:hover,
    .emprendedor-card:hover,
    .contact-info-card:hover,
    .contact-form-card:hover {
        transform: none;
    }
    
    .hero-video {
        display: none;
    }
}

/* Mejoras de accesibilidad para las estadísticas */
.stat-card:focus-within {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Soporte para modo de alto contraste */
@media (prefers-contrast: high) {
    .stat-card {
        border: 3px solid white;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .stat-number {
        text-shadow: 2px 2px 0 #000;
    }
}

/* Optimizaciones para carga de imágenes */
.card-image img {
    loading: lazy;
}

/* Mejoras de rendimiento para animaciones */
.stat-card,
.about-card,
.emprendedor-card {
    will-change: transform;
}

/* Correcciones para Safari */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        height: -webkit-fill-available;
    }
}

/* Mejoras de impresión */
@media print {
    .hero-video,
    .video-overlay,
    .w3-top,
    .social-icons,
    .registro-btn {
        display: none !important;
    }
    
    .stat-card {
        break-inside: avoid;
        border: 1px solid #000 !important;
        background: white !important;
        color: black !important;
    }
    
    .stat-number {
        color: black !important;
        text-shadow: none !important;
    }
}




/* ===== ESTILOS RESPONSIVOS PARA ESTADÍSTICAS ===== */

/* Grid de estadísticas - Responsivo por defecto */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
}

.stats-grid .w3-col {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

/* Para móviles: una columna */
@media only screen and (max-width: 600px) {
    .stats-grid .w3-col {
        width: 100% !important;
        min-width: 100%;
    }
    
    .stat-card {
        margin: 10px 0;
        padding: 30px 20px;
    }
    
    .stat-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .stat-icon i {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
    
    .stat-label {
        font-size: 1.2em;
    }
}

/* Para tablets y desktop: 3 columnas en fila */
@media only screen and (min-width: 601px) {
    .stats-grid .w3-col {
        width: 31.333% !important;
        min-width: 31.333%;
        margin: 0 1%;
    }
    
    .stat-card {
        padding: 40px 20px;
    }
    
    .stat-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .stat-icon i {
        font-size: 42px;
    }
    
    .stat-number {
        font-size: 3.5em;
    }
}

/* Asegurar que las cards mantengan proporción en todos los dispositivos */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-card:hover::before {
    opacity: 1;
}

/* Iconos de estadísticas */
.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.6);
}

.stat-icon i {
    color: var(--white);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon i {
    transform: scale(1.1);
}

/* Números de estadísticas */
.stat-number {
    display: block;
    font-weight: bold;
    color: white;
    margin: 15px 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    line-height: 1.1;
}

.stat-card:hover .stat-number {
    text-shadow: 4px 4px 8px rgba(0,0,0,0.4);
}

/* Etiquetas de estadísticas */
.stat-label {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.2;
}

/* Efectos de brillo al hover */
.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.stat-card:hover::after {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

/* Asegurar que el contenedor se centre correctamente */
.stats-section .w3-content {
    max-width: 1200px;
    margin: 0 auto;
}
/* Fin del archivo CSS */