:root {
    --primary-color: #3A6044;    /* Verde clásico */
    --secondary-color: #B8AE94;  /* Beige elegante */
    --accent-color: #2C323B;     /* Gris oscuro */
    --text-dark: #2C323B;
    --text-light: #fff;
    --background-light: #fff;
    --background-dark: #2C323B;
    --background-accent: #B8AE94;
    --gray-100: #333333;         /* Darkest light gray */
    --gray-200: #2E2E2E;         /* Very dark gray */
    --gray-300: #292929;         /* Dark gray */
    --gray-400: #242424;         /* Darker gray */
    --gray-500: #1F1F1F;         /* Very dark gray */
    --gray-600: #1A1A1A;         /* Almost black gray */
    --gray-700: #151515;         /* Darker almost black */
    --gray-800: #121212;         /* Very dark almost black */
    --gray-900: #0F0F0F;         /* Nearly black */
    --black: #000000;            /* Pure black */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'HK Modular', sans-serif;
}

body {
    color: var(--text-dark);
    background: var(--background-light);
    line-height: 1.6;
}

header {
    background: var(--primary-color) !important;
    padding: 1rem 2rem;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.company-name {
    color: var(--secondary-color) !important;
    font-size: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.company-name:hover {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    position: relative;
}

.dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--gray-800);
    min-width: 200px;
    padding: 0.8rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu li {
    list-style: none;
    padding: 0.3rem 0;
}

.submenu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background-color: rgba(106, 153, 78, 0.1);
    color: var(--primary-color);
}

/* Add a small arrow indicator for the dropdown */
.dropdown > a::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 5px;
    vertical-align: middle;
    color: var(--secondary-color);
}

.nav-links a {
    color: var(--secondary-color) !important;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--text-light) !important;
    text-shadow: 0 0 8px rgba(106, 153, 78, 0.3);
}

.user-icon {
    color: var(--text-light);
    font-size: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    margin-top: 100px;
    padding: 0;
    background: var(--background-light) !important;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-600) 100%);
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color) !important;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    color: #fff !important;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-decoration .line {
    height: 3px;
    width: 100px;
    background: var(--primary-color);
}

.hero-decoration i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Company Section */
.company-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.company-text h2 {
    color: var(--primary-color) !important;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.company-text p {
    color: #B8AE94 !important;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-700);
    border-radius: 10px;
    border: 1px solid rgba(106, 153, 78, 0.1);
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
    opacity: 0.8;
}

.company-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-image i {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Mission, Vision, Values Section */
.mvp-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-600) 100%);
}

.mvp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mvp-card {
    background: var(--secondary-color) !important;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1.5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.mvp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.mvp-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.mvp-card:hover .mvp-icon {
    transform: scale(1.1);
}

.mvp-card h3 {
    color: var(--primary-color) !important;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mvp-card p {
    color: var(--accent-color) !important;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.values-list {
    list-style: none;
    text-align: left;
}

.values-list li {
    color: var(--accent-color) !important;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.values-list i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Why Choose Us Section */
.why-us-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color) !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    color: var(--accent-color) !important;
    font-size: 1.2rem;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--secondary-color) !important;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1.5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    color: var(--primary-color) !important;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--accent-color) !important;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-600) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--gray-700);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(106, 153, 78, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-card h4 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-position {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Certifications Section */
.certifications-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.certification-item {
    background: var(--gray-700);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(106, 153, 78, 0.1);
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.certification-item:hover .cert-icon {
    transform: scale(1.1);
}

.certification-item h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.certification-item p {
    color: var(--text-light);
    font-size: 1rem;
    opacity: 0.8;
}

/* Footer Styles */
.footer {
    background: var(--accent-color) !important;
    color: var(--secondary-color) !important;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section h4 {
    color: var(--primary-color) !important;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-logo h3 {
    color: var(--primary-color) !important;
    font-size: 1.4rem;
    font-weight: 600;
}

.company-description {
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-list,
.hours-list,
.links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-list a {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-list a:hover {
    color: var(--secondary-color) !important;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-list li:last-child {
    border-bottom: none;
}

.days {
    color: var(--text-light);
    font-weight: 500;
}

.hours {
    color: var(--text-light);
    opacity: 0.8;
}

.links-list a {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0;
}

.links-list a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--primary-color) !important;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-700);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.social-links a[aria-label="Facebook"]:hover {
    color: #1877F2;
    background: transparent;
    border-color: #1877F2;
}

.social-links a[aria-label="Instagram"]:hover {
    color: #E4405F;
    background: transparent;
    border-color: #E4405F;
}

.social-links a[aria-label="WhatsApp"]:hover {
    color: #25D366;
    background: transparent;
    border-color: #25D366;
}

.copyright {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .company-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mvp-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

p {
    color: #fff !important;
}

/* --- HAMBURGER MENU --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
}
.menu-toggle i {
    font-size: 2.3rem;
    color: #fff;
    transition: color 0.3s, transform 0.3s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}
.menu-toggle:hover i,
.menu-toggle:focus i {
    color: #fff;
    transform: scale(1.15) rotate(10deg);
}
.menu-toggle:active i {
    color: #fff;
    transform: scale(0.95);
}
.menu-toggle i.fa-xmark {
    color: #fff;
    transition: color 0.3s, transform 0.3s;
}
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
    .nav-right {
        display: none;
        position: absolute;
        top: 80px;
        right: 0.5rem;
        background: var(--background-light);
        width: 80vw;
        box-shadow: 0 8px 24px rgba(0,0,0,0.10);
        flex-direction: column;
        align-items: flex-end;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        z-index: 1500;
        border-radius: 0 0 12px 12px;
    }
    .nav-right.active {
        display: flex;
    }
    .nav-links {
        flex-direction: column;
        font-size: 1rem;
        gap: 1rem;
        width: 100%;
        align-items: flex-end;
    }
    .nav-links a {
        font-size: 1.05rem;
        padding: 0.7rem 0.8rem;
    }
    .logo-container {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    .logo {
        height: 75px;
        max-width: 75px;
    }
    .company-name {
        font-size: 1.5rem;
        word-break: break-word;
        max-width: 200px;
    }
    .submenu {
        position: static;
        display: none;
        background: var(--background-light) !important;
        box-shadow: none;
        min-width: 100%;
        padding: 0.2rem 0;
        margin-top: 0.2rem;
        border-radius: 8px;
        z-index: 2001;
    }
    .dropdown.active .submenu,
    .dropdown:focus-within .submenu {
        display: block;
    }
    .submenu li {
        padding: 0.2rem 0;
    }
    .submenu a {
        font-size: 0.98rem;
        padding: 0.6rem 1.2rem;
        color: var(--primary-color) !important;
    }
    .submenu a:hover {
        background: var(--primary-color) !important;
        color: var(--secondary-color) !important;
    }
}
@media (max-width: 500px) {
    .logo {
        height: 55px;
        max-width: 55px;
    }
    .company-name {
        font-size: 1.15rem;
        max-width: 120px;
    }
}
