/* Variables de colores */
:root {
    --color-background: #EAF2F8;
    --color-accent: #FBC531;
    --color-secondary: #273C75;
    --color-text: #1e272e;
    --color-button: #00A8FF;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-border: #e1e1e1;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.3s ease;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-button);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-button);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-cookie {
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 8px 16px;
}

.btn-cookie:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.logo span {
    color: var(--color-accent);
}

.nav__menu {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
}

.nav__link:hover, .nav__link.active {
    color: var(--color-button);
}

.menu__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.menu__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero__content {
    flex: 1;
}

.hero__content h1 {
    margin-bottom: 1.5rem;
}

.hero__content h1 span {
    color: var(--color-secondary);
    display: block;
}

.hero__content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero__image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* About Section */
.about__content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about__text {
    flex: 1;
}

.about__image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* Benefits Section */
.benefits {
    background-color: var(--color-secondary);
    color: var(--color-white);
    position: relative;
}

.benefits h2::after {
    background-color: var(--color-accent);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.benefit__card:hover {
    transform: translateY(-5px);
}

.benefit__icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icon {
    width: 30px;
    height: 30px;
    stroke: var(--color-secondary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Services Section */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service__card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service__icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Process Section */
.process {
    background-color: var(--color-light-gray);
}

.process__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.process__step {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.step__number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial__card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.testimonial__text {
    position: relative;
    padding: 0 10px;
    margin-bottom: 20px;
}

.testimonial__text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.5;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial__author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial__author h4 {
    margin-bottom: 5px;
}

.testimonial__author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background-color: var(--color-white);
}

.contact__container {
    display: flex;
    gap: 30px;
}

.contact__info {
    flex: 1;
    background-color: var(--color-secondary);
    padding: 30px;
    border-radius: 8px;
    color: var(--color-white);
}

.contact__list {
    margin-top: 30px;
}

.contact__list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact__list svg {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    stroke: var(--color-accent);
}

.contact__form {
    flex: 1;
    background-color: var(--color-light-gray);
    padding: 30px;
    border-radius: 8px;
}

.form__group {
    margin-bottom: 20px;
}

.form__group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form__group input,
.form__group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.form__group input:focus,
.form__group select:focus {
    outline: none;
    border-color: var(--color-button);
}

.form__group--checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form__group--checkbox input {
    width: auto;
}

.form__group--checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

/* Footer */
footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 50px 0 20px;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer__col h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer__col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer__links a {
    color: var(--color-white);
    opacity: 0.8;
    margin-bottom: 10px;
    display: block;
}

.footer__links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer__copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 15px 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

.cookie-consent a {
    color: var(--color-accent);
}

.cookie-consent a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container,
    .about__content {
        flex-direction: column;
    }
    
    .contact__container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-soft);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
    }
    
    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .process__steps {
        flex-direction: column;
    }
    
    .process__step {
        min-width: auto;
    }
    
    .cookie-consent {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
} 