section {
    margin: 0;
    padding: 0;
}

.alignfull,.alignwide,.entry-content .alignwide,.entry-content .alignfull {
    padding: 0;
}

.hero-section {
    scale: 1.40;
}

/* Flecha animada en el hero */
.hero-section svg,
.hero-section .arrow-down {
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-section svg:hover,
.hero-section .arrow-down:hover {
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* Tarjetas de módulos con hover */
.module-item {
    padding: 40px 30px;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    transition: all 0.4s ease;
    text-align: center;
}

.module-item:hover {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

/* Iconos con animación hover */
.module-item svg,
.module-item img {
    transition: transform 0.4s ease;
}

.module-item:hover svg,
.module-item:hover img {
    transform: scale(1.15) rotate(5deg);
}

/* Títulos de módulos */
.module-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 20px 0 15px !important;
}

/* Textos descriptivos */
.module-description {
    font-size: 1.05rem !important;
    color: #cbd5e1 !important;
    line-height: 1.6 !important;
}

/* Tarjetas de módulos con hover */
.work-item {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.5);
    transition: all 0.4s ease;
    text-align: center;
}

.work-item:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.5);
}

/* Iconos con animación hover */
.work-item svg,
.work-item img {
    transition: transform 0.4s ease;
}

.work-item:hover svg,
.work-item:hover img {
    transform: scale(1.15) rotate(5deg);
}

/* Títulos de módulos */
.work-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    margin: 20px 0 15px !important;
}

/* Textos descriptivos */
.work-description {
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
}

/* Tarjetas de módulos con hover */
.why-item {
    background: rgba(168, 85, 247, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    transition: all 0.4s ease;
    text-align: center;
}

.why-item:hover {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-20px);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.2);
}

/* Títulos de módulos */
.why-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 20px 0 15px !important;
}

/* Textos descriptivos */
.why-description {
    font-size: 1.15rem !important;
    color: #cbd5e1 !important;
    line-height: 1.7 !important;
}

.modules-section {
    background-attachment: fixed;
    scale: 1;
}

.how-it-works {
    background-attachment: fixed;
}


/* Subtítulos/párrafos más grandes */
.modules-section p,
.how-it-works p,
.why-barsoft p {
    font-size: 25px;
}

/* Textos en general del body */
body {
    font-size: 15px;
}

/* Aprovechar mejor el ancho de la pantalla */
.modules-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* ============================================
   SECCIÓN DE CONTACTO
   ============================================ */
.contact-section {
    padding: 80px 40px;
    position: relative;
    z-index: 10;
    background: url('https://www.barsoft.net/wp-content/uploads/2025/11/background_contact.png') center/cover no-repeat;
    background-attachment: fixed; /* Efecto parallax */
}

/* NUEVO: Patrón decorativo opcional */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative; /* Para que esté sobre el ::before */
    z-index: 2;
}

.contact-section h2 {
    padding-top: 40px;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    color: #e6f5ff; /* Blanco con tono azul muy claro */
    text-shadow: 0 3px 10px rgba(0, 62, 73, 1);
    margin-bottom: 15px;
}

.contact-section .subtitle {
    text-align: center;
    color: #e6f5ff; /* Blanco con tono azul muy claro */
    text-shadow: 0 6px 10px rgba(0, 62, 73, 1);
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.contact-form {
    background: #ffffff; /* CAMBIADO: blanco sólido para destacar */
    border: none; /* Quitar borde */
    border-radius: 24px; /* Más redondeado */
    padding: 40px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

.form-group {
    margin-top: 10px;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #f8fafc; /* Fondo gris muy claro */
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    color: #1e293b;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B5CF6; /* Color morado de tu marca */
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

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

.submit-button {
    display: flex;
    padding: 16px 50px;
    margin: 20px auto 0;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); /* Gradiente morado */
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

.submit-button:active {
    transform: translateY(0px);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

/* Mensaje de éxito/error */
.form-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    opacity: 1;
    visibility: visible;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 30px 25px;
    }
    .contact-section {
        padding: 60px 20px;
    }
    .contact-section h2 {
        font-size: 2.5rem;
    }
}

/* ========================================
   SCROLL SNAP - Configuración global
======================================== */

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* NO tocar el body original */
body {
    /* Quita cualquier margin: 0 que hayas puesto */
    overflow-x: hidden;
}

/* Cada sección ocupa toda la pantalla */
.seccion-completa {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    
    /* QUITA ESTOS SI LOS PUSISTE */
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: center; */
}

/* Si quieres centrar contenido, hazlo solo donde lo necesites */
.seccion-completa.centrado {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ========================================
   INDICADORES DE SCROLL
======================================== */

.scroll-indicators {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dot {
    width: 2px;
    height: 20px;
    background: rgba(102, 126, 234, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(102, 126, 234, 0.7);
    transform: scale(1.2);
}

.dot.active {
    background: #667eea;
    border-color: #667eea;
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Ocultar en móvil */
@media (max-width: 768px) {
    .scroll-indicators {
        display: none;
    }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #f8fafc;
    padding: 60px 40px 30px;
    text-align: center;
    border-top: 2px solid #e2e8f0;
    position: relative;
    z-index: 10;
}

footer p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ========================================
   NAVBAR GLASSMORPHISM - BARSOFT
======================================== */

/* Header principal con efecto glass */
#masthead.site-header {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Asegurar que el contenedor interno también sea transparente */
#main-header,
.site-header-inner-wrap,
.site-main-header-wrap {
    background: transparent !important;
}

/* Más padding vertical para que respire */
.site-main-header-inner-wrap {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Enlaces del menú con más espaciado */
#primary-menu > li {
    margin-left: 2.5rem;
}

#primary-menu > li:first-child {
    margin-left: 0;
}

/* Estilo de los enlaces */
#primary-menu a {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #ffffff;
}

/* Efecto hover - cambio de color */
#primary-menu a:hover {
    color: #8B5CF6;
}

/* Subrayado animado en hover */
#primary-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B5CF6;
    transition: width 0.3s ease;
}

#primary-menu a:hover::after {
    width: 100%;
}

/* Asegurar que el logo no tenga el efecto de subrayado */
.site-branding a::after {
    display: none !important;
}

/* OPCIONAL: Navbar más sólida al hacer scroll */
/* Descomenta esto si quieres que se vuelva más opaca al hacer scroll */
/*
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
*/

/* Mobile - mantener fondo sólido en móvil para mejor legibilidad */
@media (max-width: 1024px) {
    #mobile-header.site-mobile-header-wrap {
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}