:root {
    --primary-color: #0056b3;
    --primary-dark: #003d7a;
    --primary-light: #4d8eff;
    --secondary-color: #00a896;
    --accent-color: #ff7d00;
    --dark-color: #2b2d42;
    --medium-color: #8d99ae;
    --light-color: #edf2f4;
    --white-color: #ffffff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: var(--white-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-contact {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
}

.btn-contact:hover {
    background-color: #008a7a;
}

/* Secciones */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto;
    border-radius: 2px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
}

.logo-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-right: 10px;
}

.logo h1 {
    margin: 0;
    font-size: inherit;
}

.logo h1 span {
    color: var(--primary-color);
    font-weight: 600;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    font-weight: 500;
    position: relative;
}

nav a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav a:hover:not(.btn-contact)::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Banner */
.hero-banner {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/banner.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white-color);
    margin-top: 80px;
    width: 100%;
    overflow: hidden;
}

.hero-overlay {
    width: 100%;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Intro Section */
.intro-section {
    background-color: var(--white-color);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* About Section */
.about-section {
    background-color: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content h3 {
    color: var(--primary-dark);
    font-size: 28px;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.icon-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 18px;
    margin-top: 3px;
}

.about-features {
    display: grid;
    gap: 20px;
}

.feature-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

/* Mission & Vision */
.mission-vision-section {
    padding: 0;
}

.mv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.mv-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;
    color: var(--white-color);
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.mission-card {
    background: url('img/mission-bg.jpg') center center / cover no-repeat;
}

.vision-card {
    background: url('img/vision-bg.jpg') center center / cover no-repeat;
}

.mv-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.mv-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--white-color);
}

/* Services Section */
.services-section {
    background-color: var(--white-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-number {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 24px;
    font-weight: 700;
    padding: 15px 25px;
    display: inline-block;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.service-details h4 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: var(--primary-dark);
}

.service-details ul {
    margin-bottom: 20px;
}

.service-details li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-details li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding-right: 30px;
}

.contact-methods {
    margin-top: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
}

.method-content h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.method-content a {
    color: var(--dark-color);
}

.method-content a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo .logo {
    margin-bottom: 20px;
}

.footer-logo .logo h3 {
    font-size: 24px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    font-size: 14px;
    opacity: 0.8;
}

.legal-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

/* WhatsApp Button */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* About Banner - IMAGEN QUE OCUPA TODO EL ANCHO */
.about-banner,
.about-image {
    width: 100%;
    overflow: hidden;
}

.about-banner img,
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 992px) {
    .mv-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }
    
    nav ul.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .mv-card {
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .service-card {
        grid-column: 1 / -1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        gap: 15px;
        justify-content: center;
    }
}