/* Importar fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Colores Base */
:root {
    --primary-color: #3498db; /* Azul vibrante */
    --secondary-color: #e74c3c; /* Rojo intenso */
    --accent-color: #2ecc71; /* Verde esmeralda */
    --dark-bg: #2c3e50; /* Azul oscuro para fondos */
    --light-bg: #ecf0f1; /* Gris claro para fondos */
    --text-color: #333;
    --light-text: #fff;
    --border-color: #ddd;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

/* Estilos Generales */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-bg);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.2;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.8em; color: var(--primary-color); }
h3 { font-size: 2.2em; color: var(--secondary-color); }

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    margin: 10px;
}

.btn-hero {
    background-color: var(--secondary-color);
    color: var(--light-text);
    box-shadow: 0 4px 8px var(--shadow-light);
}

.btn-hero:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 8px var(--shadow-light);
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--light-text);
    box-shadow: 0 4px 8px var(--shadow-light);
}

.btn-secondary:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
    text-decoration: none;
}

.btn-contact {
    background-color: #f39c12; /* Naranja */
    color: var(--light-text);
    box-shadow: 0 4px 8px var(--shadow-light);
}
.btn-contact:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
    text-decoration: none;
}

.button-group {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}
.button-group .btn i {
    margin-right: 8px;
}

/* Header */
header {
    background: linear-gradient(to right, var(--dark-bg), #34495e);
    color: var(--light-text);
    padding: 20px 0;
    box-shadow: 0 3px 10px var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
header .logo i {
    font-size: 3em;
    margin-right: 15px;
    color: var(--accent-color);
}
header h1 {
    margin: 0;
    font-size: 3.2em;
    color: var(--light-text);
    text-align: center;
}
header .tagline {
    text-align: center;
    font-size: 1.3em;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

header nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 25px;
}
header nav ul li {
    display: inline-block;
    margin: 0 18px;
}
header nav ul li a {
    color: var(--light-text);
    font-weight: 600;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1em;
}
header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease-out;
}
header nav ul li a:hover::after {
    width: 100%;
}
header nav ul li a:hover {
    text-decoration: none;
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: url('img/img (7).jpg') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.hero-section h2 {
    font-size: 4em;
    margin-bottom: 25px;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-section p {
    font-size: 1.6em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    background-color: var(--light-text);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
}
.content-section.light-bg {
    background-color: var(--light-bg);
}
.content-section h2 {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.section-intro {
    font-size: 1.2em;
    font-style: italic;
    text-align: center;
    margin-bottom: 50px;
    color: #555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.content-section h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--dark-bg);
    text-align: left; /* Alineación a la izquierda para el contenido */
}
.content-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: left; /* Alineación a la izquierda para el contenido */
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(to right, #6dd5ed, #2193b0); /* Un degradado azul-celeste */
    color: var(--light-text);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
}
.benefits-section h2 {
    color: var(--light-text);
    border-bottom: 3px solid var(--light-text);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.benefit-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.benefit-item:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.25);
}
.benefit-item .icon-large {
    font-size: 3.5em;
    color: var(--light-text);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.benefit-item h3 {
    color: var(--light-text);
    font-size: 1.8em;
    margin-bottom: 15px;
}
.benefit-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05em;
}

/* Solution Details Grid */
.solution-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}
.detail-item {
    background-color: var(--light-text);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: transform 0.3s ease;
}
.detail-item:hover {
    transform: translateY(-5px);
}
.detail-item img {
    max-width: 100%;
    height: 220px; /* Altura fija para las imágenes */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.detail-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.8em;
}
.detail-item p {
    font-size: 1.05em;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
    color: var(--light-text);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
}
.gallery-section h2 {
    color: var(--light-text);
    border-bottom: 3px solid var(--accent-color);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}
.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Document List */
.document-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}
.document-item {
    background-color: var(--light-text);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: all 0.3s ease;
}
.document-item:hover {
    background-color: #f5f5f5;
    box-shadow: 0 6px 18px var(--shadow-medium);
    transform: translateY(-5px);
}
.document-item .icon-doc {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.document-item span {
    font-weight: 700;
    color: var(--dark-bg);
    font-size: 1.2em;
    margin-bottom: 5px;
}
.document-item small {
    color: #666;
    font-size: 0.9em;
}

/* CTA Section (Contact) */
.cta-section {
    background: linear-gradient(to right, #4CAF50, #8BC34A); /* Degradado verde */
    color: var(--light-text);
    text-align: center;
    padding: 80px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px var(--shadow-light);
}
.cta-section h2 {
    color: var(--light-text);
    margin-bottom: 25px;
    border-bottom: 3px solid var(--light-text);
    display: inline-block;
    padding-bottom: 10px;
}
.cta-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}
.cta-section .contact-info {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 40px;
}
.cta-section .contact-info a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}
.cta-section .contact-info a:hover {
    color: #eee;
}
.cta-section .contact-info i {
    margin-right: 10px;
    color: #ffe082; /* Un amarillo suave */
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #aaa;
    text-align: center;
    padding: 30px 0;
    font-size: 0.95em;
    border-top: 5px solid var(--primary-color);
}
footer p {
    margin: 8px 0;
    color: #ccc;
}
footer a {
    color: #fff;
}
footer a:hover {
    color: var(--primary-color);
}

/* Media Queries para Responsividad */
@media (max-width: 992px) {
    .hero-section h2 {
        font-size: 3.5em;
    }
    .hero-section p {
        font-size: 1.4em;
    }
    h1 { font-size: 3em; }
    h2 { font-size: 2.4em; }
    h3 { font-size: 1.8em; }
    header nav ul li {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 0;
    }
    header h1 {
        font-size: 2.5em;
    }
    header .logo {
        flex-direction: column;
    }
    header .logo i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    header nav ul li {
        display: block;
        margin: 10px 0;
    }
    .hero-section {
        padding: 80px 20px;
    }
    .hero-section h2 {
        font-size: 2.8em;
    }
    .hero-section p {
        font-size: 1.2em;
    }
    .content-section, .benefits-section, .gallery-section, .cta-section {
        padding: 50px 0;
    }
    .benefits-grid, .solution-details-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .document-item {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }
    .hero-section h2 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .section-intro, .content-section p, .benefit-item p, .detail-item p {
        font-size: 0.95em;
    }
    .cta-section p {
        font-size: 1.1em;
    }
}