/* --- RESET Y VARIABLES GLOBALES --- */
:root {
    --primary-color: #005A9C; /* Azul corporativo */
    --secondary-color: #00AEEF; /* Azul más claro */
    --dark-color: #5a5a5a;
    --gray-color: #f4f4f4;
    --blue-color: #005A9C;
    --brigth-color: #f4f4f4;
    --text-color: #333;
    --light-text-color: #FFFFFF;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
    /*box-sizing: border-box;*/
}

*, *::before, *::after { box-sizing: inherit; }

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

h1, h2 {
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
p.section-intro { max-width: 700px; margin: 0 auto 40px auto; opacity: 0.9; }

/* --- ENCABEZADO Y NAVEGACIÓN --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo { height: 40px; }
.nav-links { list-style: none; display: flex; align-items: center; margin:0; padding:0; }
.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 700; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-color); }
.btn-support { background-color: var(--primary-color); color: var(--light-text-color); padding: 8px 15px; border-radius: 5px; transition: background-color 0.3s ease; }
.btn-support:hover { background-color: var(--secondary-color); color: var(--light-text-color); }

/* --- MENÚ HAMBURGUESA (MÓVIL) --- */
.hamburger { display: none; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px 0; background-color: var(--dark-color); transition: all 0.3s ease-in-out; }

/* --- ESTILO DE SECCIÓN DE PANTALLA COMPLETA --- */
.fullscreen-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--header-height) 20px; /* Padding para header y bordes */
    position: relative;
}

/* --- SECCIÓN HERO (INICIO) --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('colores/pwbkg.png') no-repeat center center/cover;
    color: var(--light-text-color);
}
.hero-content { max-width: 800px; text-align: center; }
.hero h1, .hero h2 { color: var(--light-text-color); }
.hero .subtitle { font-size: 1.4rem; font-weight: 300; margin-bottom: 20px; }
.hero .slogan { font-size: 1.2rem; font-style: italic; opacity: 0.9; margin-bottom: 30px; }

.btn { display: inline-block; background-color: var(--secondary-color); color: var(--light-text-color); padding: 12px 25px; text-decoration: none; border-radius: 5px; font-weight: 700; border: none; cursor: pointer; transition: transform 0.3s ease, background-color 0.3s ease; }
.btn:hover { background-color: #0095c7; transform: translateY(-2px); }

/* --- COLORES DE SECCIÓN --- */
.section-bright {background-color: var(--brigth-color);}
.section-blue {background-color: var(--blue-color); color: var(--light-text-color);}
.section-gray { background-color: var(--gray-color); }
.section-dark { background-color: var(--dark-color); color: var(--light-text-color); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--light-text-color); }

/* --- PRODUCTOS --- */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; text-align: left; }
.product-card { background: #fff; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); overflow: hidden; }
.product-card img { width: 100%; height: 180px; object-fit: cover; }
.product-card h3 { padding: 15px 20px 0 20px; color: var(--primary-color); }
.product-card ul { list-style: none; padding: 10px 20px 20px 20px; margin: 0; }
.product-card li { margin-bottom: 8px; }

/* --- SERVICIOS --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.service-item { background-color: rgba(0,0,0,0.15); padding: 20px; border-radius: 8px; }
.service-item img { width: 100%; height: 180px; object-fit: cover; }

/* --- NOSOTROS --- */
.about-us-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; text-align: justify; }
.about-us-image img { width: 100%; border-radius: 8px; }
.about-us-content h3 { margin-top: 25px; color: var(--primary-color); }

/* --- CONTACTO Y SOPORTE --- */
.contact-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; text-align: justify; }
.contact-contact-img img{width: 70%; border-radius: 8px; }
.contact-image img { width: 89%; border-radius: 8px; }
.contact-content h3{ margin-top: 25px; color: var(--primary-color); }

.support-container, .contact-form form { width: 89%; max-width: 450px; }
.contact-form input, .contact-form textarea, .support-form input { width: 89%; padding: 12px; margin-bottom: 15px; border: 1px solid #cccccc; border-radius: 5px; }
/*.captcha-placeholder { padding: 15px; background: #e0e0e0; border: 1px dashed #ccc; text-align: center; color: #777; border-radius: 5px; margin-bottom: 15px; }*/
/*.support-form { display: flex; flex-direction: column; gap: 15px; }
*/
.support-form a { color: var(--secondary-color); display: block; margin-top: 15px; text-align: center; }

/* --- INDICADOR DE SCROLL --- */
.scroll-down-indicator { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); }
.scroll-down-indicator a { display: block; padding-top: 40px; position: relative; }
.scroll-down-indicator span {
    position: absolute; top: 0; left: 50%; width: 24px; height: 40px;
    margin-left: -12px; border: 2px solid #fff; border-radius: 50px;
    box-sizing: border-box;
}
.scroll-down-indicator span::before {
    position: absolute; top: 10px; left: 50%; content: ''; width: 6px; height: 6px;
    margin-left: -3px; background-color: #fff; border-radius: 100%;
    animation: scroll-anim 2s infinite; box-sizing: border-box;
}
@keyframes scroll-anim { 0% { transform: translate(0, 0); opacity: 0; } 40% { opacity: 1; } 80% { transform: translate(0, 15px); opacity: 0; } 100% { opacity: 0; } }

/* --- MEDIA QUERIES PARA RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-us-container { grid-template-columns: 1fr; text-align: center; }
    .about-us-image { max-width: 500px; margin: 0 auto 30px auto; }
    .contact-image { max-width: 500px; margin: 0 auto 30px auto; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .fullscreen-section { padding-top: 100px; padding-bottom: 40px; min-height: auto; height: auto; }
    .hero { min-height: 80vh; }
    
    /* Menú Móvil */
    .nav-links { position: fixed; top: var(--header-height); right: -100%; width: 100%; height: calc(100vh - var(--header-height)); background-color: #fff; flex-direction: column; justify-content: center; transition: right 0.4s ease-in-out; }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }
    .hamburger { display: block; }
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .products-grid, .services-grid, .contact-container, .support-container { grid-template-columns: 1fr; }
    .product-card { margin-bottom: 20px; }
    .contact-info { text-align: center; margin-bottom: 30px; }
}