/* ===== VARIABLES CORPORATIVAS ALTURIA ===== */
:root {
    --primary-color: #185534;
    --secondary-color: #F2C94C;
    --gray-color: #555555;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --montserrat: 'Montserrat', sans-serif;
    --roboto: 'Roboto', sans-serif;
}

/* ===== RESET Y ESTILOS GLOBALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--roboto);
    color: var(--text-color);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--montserrat);
    font-weight: 700;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-right: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--montserrat);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(24, 85, 52, 0.7), rgba(24, 85, 52, 0.7)), 
                url('fondo-hero.png') center/cover no-repeat;
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(242,201,76,0.05)"/></svg>');
    background-size: cover;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease;
    font-family: var(--montserrat);
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-content .slogan {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 14px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--montserrat);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(242, 201, 76, 0.3);
}

.cta-button:hover {
    background-color: #e0b83a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242, 201, 76, 0.4);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 20px;
    background-color: var(--light-bg);
}

.about h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
}
.about .section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-family: 'Montserrat', sans-serif;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
  
}

.about-box {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary-color);
}

.about-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-box p {
    color: var(--gray-color);
    line-height: 1.8;
    text-align: justify;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
}

.stat h3 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray-color);
    font-size: 1rem;
}

/* ===== VALUES SECTION ===== */
.values {
    padding: 100px 20px;
    background-color: var(--white);
}

.values h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-family: var(--montserrat);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--gray-color);
    line-height: 1.7;
    text-align: justify;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 20px;
    background-color: var(--light-bg);
}

.services h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}

.services-tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--montserrat);
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.service-item p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* ===== CLIENTS SECTION ===== */
.clients {
    padding: 100px 20px;
    background-color: var(--white);
}

.clients h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.client-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.client-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.client-card ul {
    list-style: none;
    margin: 1rem 0;
    color: var(--gray-color);
}

.client-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.client-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.client-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* ===== PROCESS SECTION ===== */
.process {
    padding: 100px 20px;
    background-color: var(--light-bg);
}

.process h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.step {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-family: var(--montserrat);
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.step p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 20px;
    background-color: var(--white);
}

.contact h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
}

.contact-section {
    background-color: var(--light-bg);
    padding: 80px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== FORMULARIO ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: var(--roboto);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(242, 201, 76, 0.2);
}

/* ===== INFORMACIÓN DE CONTACTO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid var(--secondary-color);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.info-item p {
    color: var(--text-color);
    font-size: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3626 100%);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
}

.footer p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .slogan {
        font-size: 1.4rem;
    }

    .hero-content .hero-subtitle {
        font-size: 1.1rem;
    }

    .about h2,
    .services h2,
    .clients h2,
    .process h2,
    .contact h2,
    .values h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 100px 20px;
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content .slogan {
        font-size: 1.1rem;
    }

    .hero-content .hero-subtitle {
        font-size: 0.95rem;
    }

    .about h2,
    .services h2,
    .clients h2,
    .process h2,
    .contact h2,
    .values h2 {
        font-size: 1.5rem;
    }

    .about-content,
    .services-grid,
    .clients-grid,
    .process-steps,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        width: 100%;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }
}
