

/* ============================================
   FORZAR ANCHO COMPLETO (QUITAR MÁRGENES)
   ============================================ */

/* Remover márgenes del tema Astra */
body.page-template-home .site-content,
body.page-template-home .ast-container,
body.page-template-home .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Hacer que el main ocupe todo el ancho */
body.page-template-home #primary,
body.page-template-home .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remover padding del content */
body.page-template-home .ast-separate-container .ast-article-single,
body.page-template-home .ast-separate-container .ast-article-post {
    padding: 0 !important;
}

/* Remover contenedor */
body.page-template-home .ast-container {
    padding: 0 !important;
}

/* Asegurar que squid-home ocupe todo */
.squid-home {
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: #000000;
}

/* ============================================
   FIN DE AJUSTES DE ANCHO COMPLETO
   ============================================ */

/* ============================================
   SECCIÓN HERO (IMAGEN)
   ============================================ */

.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 80px;
    background: #000000;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Ajustes para imagen portrait en móvil */
.hero-portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* En móvil, ajustar para imágenes muy anchas (portrait) */
@media screen and (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: auto;
        max-height: none;
        margin-top: 60px;
        background: #000000;
    }
    
    .hero-image {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        background: #000000;
        height: auto;
        min-height: auto;
    }
    
    .hero-portrait-image {
        object-fit: contain;
        object-position: center top;
        width: 100%;
        height: auto;
        max-height: none;
        display: block;
    }
}

/* En tablets */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero-portrait-image {
        object-fit: cover;
        object-position: center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.black-spacer {
    width: 100%;
    height: 120px;
    background: #000000;
}

.black-spacer-neon {
    width: 100%;
    height: 100px;
    background: #000000;
    position: relative;
    overflow: visible;
}

/* Línea de neón solo en la parte inferior */
.black-spacer-neon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #d93b69;
    box-shadow: 
        0 0 20px rgba(217, 59, 105, 0.6),
        0 0 40px rgba(217, 59, 105, 0.4),
        0 0 60px rgba(217, 59, 105, 0.3),
        0 10px 30px rgba(217, 59, 105, 0.5);
    animation: neon-glow-pink 2s ease-in-out infinite alternate;
}

@keyframes neon-glow-pink {
    from {
        box-shadow: 
            0 0 20px rgba(217, 59, 105, 0.5),
            0 0 40px rgba(217, 59, 105, 0.3),
            0 10px 40px rgba(217, 59, 105, 0.4);
        background: #d93b69;
    }
    to {
        box-shadow: 
            0 0 30px rgba(225, 113, 145, 0.8),
            0 0 60px rgba(225, 113, 145, 0.6),
            0 15px 60px rgba(225, 113, 145, 0.6);
        background: #e17191;
    }
}

/* ============================================
   SECCIÓN BIENVENIDA (FONDO NEGRO)
   ============================================ */

.welcome-section {
    background: #000000;
    padding: 80px 20px;
    text-align: center;
}

.welcome-container {
    max-width: 900px;
    margin: 0 auto;
}

.welcome-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #d93b69, #e17191);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(217, 59, 105, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(3, 123, 132, 0.8));
    }
}

.welcome-subtitle {
    font-size: 20px;
    line-height: 1.8;
    color: #cccccc;
    margin: 0;
    font-weight: 300;
}

/* ============================================
   SECCIÓN DE TARJETAS (FONDO BLANCO)
   ============================================ */

.cards-section {
    background: #ffffff;
    padding: 100px 20px;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Tarjetas con efecto neón */
.squid-card {
    background: #000000;
    border: 3px solid #d93b69;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 
        0 0 20px rgba(217, 59, 105, 0.5),
        inset 0 0 20px rgba(217, 59, 105, 0.1);
    animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
    from {
        box-shadow: 
            0 0 20px rgba(217, 59, 105, 0.5),
            0 0 30px rgba(217, 59, 105, 0.3),
            inset 0 0 20px rgba(217, 59, 105, 0.1);
    }
    to {
        box-shadow: 
            0 0 30px rgba(225, 113, 145, 0.8),
            0 0 50px rgba(225, 113, 145, 0.5),
            inset 0 0 30px rgba(225, 113, 145, 0.2);
    }
}

.squid-card:hover {
    transform: translateY(-10px);
    border-color: #e17191;
    box-shadow: 
        0 0 40px rgba(225, 113, 145, 0.8),
        0 0 60px rgba(225, 113, 145, 0.5),
        inset 0 0 30px rgba(225, 113, 145, 0.2);
}

.card-icon {
    font-size: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(217, 59, 105, 0.8));
}

.card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(217, 59, 105, 0.5));
    transition: all 0.3s ease;
}

.squid-card:hover .card-icon img {
    filter: drop-shadow(0 0 5px rgba(225, 113, 145, 1));
    transform: scale(1.1);
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(217, 59, 105, 0.8);
}

.card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
    margin: 0 0 30px 0;
}

.card-button {
    display: inline-block;
    background: #037b84;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(3, 123, 132, 0.5);
}

.card-button:hover {
    background: #ffffff;
    color: #037b84;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,255,255, 0.3);
}

/* ============================================
   SECCIÓN CTA (CALL TO ACTION)
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #d93b69 0%, #037b84 100%);
    padding: 80px 20px;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-text {
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 40px 0;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #000000;
    color: #00ff00;
    padding: 18px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 3px solid #00ff00;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.6);
}

.cta-button:hover {
    background: #00ff00;
    color: #000000;
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 255, 0, 1);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .welcome-title {
        font-size: 36px;
    }
    
    .welcome-subtitle {
        font-size: 18px;
    }
    
    .black-spacer {
        height: 60px;
    }
    
    .black-spacer-neon {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: auto;
    }
    
    .welcome-section {
        padding: 60px 20px;
    }
    
    .welcome-title {
        font-size: 28px;
    }
    
    .welcome-subtitle {
        font-size: 16px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cards-section {
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-text {
        font-size: 18px;
    }
    
    .black-spacer {
        height: 60px;
    }
    
    .black-spacer-neon {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .welcome-subtitle {
        font-size: 15px;
    }
    
    .card-title {
        font-size: 24px;
    }
    
    .card-description {
        font-size: 14px;
    }
    
    .squid-card {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 26px;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 16px;
    }
    
    .black-spacer {
        height: 50px;
    }
    
    .black-spacer-neon {
        height: 50px;
    }
}