/* 
* Gestión Clara - Main Stylesheet
* Colors:
* - Main: #14C7C5 (turquoise)
* - Accent: #F7D002 (bright yellow)
* - Text: #2B2B2B (dark gray)
* - Background: #F5F8FA (ice white)
* - Buttons: #FF6F61 (salmon) with gradients
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2B2B2B;
    background-color: #F5F8FA;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #14C7C5, #F7D002);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

section {
    padding: 90px 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    min-height: 48px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6F61, #FF9671);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 111, 97, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #FF6F61;
    border: 2px solid #FF6F61;
}

.btn-secondary:hover {
    background: rgba(255, 111, 97, 0.1);
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.logo {
    max-width: 180px;
    height: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: #2B2B2B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.nav-menu a:hover {
    color: #14C7C5;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #14C7C5;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none !important;
    font-size: 24px;
    cursor: pointer;
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(20, 199, 197, 0.1), rgba(247, 208, 2, 0.1));
    padding: 120px 0 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: 40px;
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 2.8rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
}

.about-text {
    flex: 1;
    padding-right: 40px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.advantages {
    background-color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    padding: 30px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    margin-bottom: 20px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.service-card h3, .service-card p, .service-card a {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
}

.service-card a {
    display: inline-block;
    margin: 20px;
}

/* Process Section */
.process {
    background: linear-gradient(135deg, rgba(20, 199, 197, 0.1), rgba(247, 208, 2, 0.1));
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    margin: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #14C7C5, #F7D002);
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Testimonials Section */
.testimonials {
    background: #fff;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    padding: 20px 0;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 auto;
    width: 80%;
    max-width: 500px;
    scroll-snap-align: start;
    padding: 30px;
    margin: 0 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(20, 199, 197, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: -1;
}

.author {
    font-weight: bold;
    color: #14C7C5;
}

/* Contact Form Section */
.contact-form {
    background: white;
}

.form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #F5F8FA;
    font-size: 1rem;
    min-height: 48px;
    font-family: 'Arial', sans-serif;
}

.form-errors {
    background-color: rgba(255, 111, 97, 0.1);
    border-left: 4px solid #FF6F61;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.error-message {
    color: #FF6F61;
    margin-bottom: 10px;
}

.error-message:last-child {
    margin-bottom: 0;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    min-height: 25px;
    min-width: 25px;
}

.form-group.checkbox label {
    display: inline;
    margin-bottom: 0;
}

/* Contact Info Section */
.contact-info {
    background: linear-gradient(135deg, rgba(20, 199, 197, 0.1), rgba(247, 208, 2, 0.1));
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 15px;
}

.contact-item svg {
    margin-right: 15px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: #2B2B2B;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #F7D002;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #14C7C5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2B2B2B;
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 10px 20px 10px 0;
    flex: 1;
}

.cookie-content a {
    color: #14C7C5;
    text-decoration: underline;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        margin-left: 0;
        margin-top: 40px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .process-steps {
        flex-direction: column;
    }

    .step:not(:last-child)::after {
        transform: rotate(90deg);
        bottom: -40px;
        right: auto;
        left: 50%;
        margin-left: -10px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .hero h1{
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }

    .nav-menu {
        position: fixed;
        display: none;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease;
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: none
    }

    .contact-details {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .advantages-grid, .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial {
        width: 85%;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-content button {
        margin-top: 10px;
    }
} 