﻿:root {
    --primary-blue: #4A90E2;
    --darker-blue: #357ABD;
    --light-gray: #F4F7F6;
    --dark-text: #3a3a3a;
    --light-text: #FFFFFF;
    --background-white: #FFFFFF;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--background-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-blue);
}

section {
    padding: 100px 20px;
}

header {
    background-color: var(--background-white);
    box-shadow: 0 4px 12px var(--shadow-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo img {
    height: 45px;
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: rotate(-10deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('header2.png') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

.hero-content {
    max-width: 850px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin: 25px 0 40px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--primary-blue);
    color: var(--light-text);
    padding: 16px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.cta-button:hover {
    background-color: var(--darker-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.5);
}

#who-we-are {
    background-color: var(--background-white);
}

#who-we-are .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.image-grid-quemsomos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.image-grid-quemsomos img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 25px var(--shadow-color);
}

#services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--background-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-card img {
    height: 80px;
    width: 150px;
    margin-bottom: 25px;
    background-color: transparent;
    border-radius: 12px;
    padding: 10px;
    align-self: center;
    border: 2px solid var(--primary-blue);
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
    font-size: 1.3rem;
}

#about {
    background-color: var(--background-white);
}

#about h2 {
    margin-bottom: 40px;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 280px;
}

.feature-item p {
    flex-grow: 1;
}

.feature-item .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1;
}

#testimonials {
    background-color: var(--light-gray);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--background-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    text-align: center;
}

.testimonial-card .stars {
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.star-filled {
    color: #f1c40f;
}

.star-empty {
    color: #e0e0e0;
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 15px;
    border: none;
    color: #555;
}

#contact {
    background-color: var(--background-white);
}

.forms-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.form-wrapper {
    flex: 1;
    max-width: 600px;
    text-align: center;
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-wrapper-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.form-wrapper .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1;
}

.form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.form-wrapper .contact-info {
    margin-top: 30px;
    line-height: 1.8;
}

.form-wrapper .contact-info a {
    color: var(--primary-blue);
    font-weight: 500;
}

.clickable-box-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.click-instruction {
    margin-top: 20px;
    font-weight: 500;
    color: var(--darker-blue);
    line-height: 1.8;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon img {
    height: 35px;
    width: auto;
    transition: opacity 0.3s;
}

.social-icon:hover img {
    opacity: 0.8;
}

.copyright-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .forms-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
    .features-grid {
        flex-direction: column;
        gap: 50px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 85px;
        left: 0;
        right: 0;
        background-color: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: 0 4px 12px var(--shadow-color);
        padding-bottom: 20px;
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 15px 0;
        display: block;
        width: 100%;
    }
    
    .nav-links a::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }
    
    #hero {
        height: 80vh;
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('header2.png') no-repeat center center/cover;
    }
}