/* Color palette */
:root {
    --main-color: #1D3557;      /* dark blue */
    --accent-color: #F4A261;    /* warm amber */
    --secondary-color: #2A9D8F; /* sea green */
    --bg-color: #FAF9F6;        /* light beige */
    --text-color: #333333;      /* text color */
}

/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--main-color);
    margin-bottom: 1rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

button, .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

button:hover, .btn:hover {
    background-color: var(--main-color);
}

/* Header styles */
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;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--main-color);
    cursor: pointer;
}

/* Hero section */
.hero {
    background-color: var(--main-color);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Services section */
.services {
    padding: 80px 0;
    background-color: white;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-top: 10px;
    text-align: center;
}

.service-card ul {
    margin-top: 15px;
    padding-left: 20px;
}

.service-card ul li {
    margin-bottom: 5px;
}

/* Benefits section */
.benefits {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Testimonials section */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonial-slider {
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: bold;
}

/* Calculator section */
.calculator {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.calculator-form {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.calculated-price {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: var(--main-color);
    margin-top: 20px;
}

/* Order form section */
.order-form {
    padding: 80px 0;
    background-color: white;
}

.form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--accent-color);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-col {
    width: 100%;
}

textarea#mensaje {
    width: 100%;
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
}

/* FAQ section */
.faq {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    background-color: white;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    background-color: white;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #f5f5f5;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    padding: 20px;
    max-height: 500px;
}

/* CTA section */
.cta {
    padding: 80px 0;
    background-color: var(--main-color);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-align: left;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ddd;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.contact-info {
    margin-top: 15px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    max-width: 1000px;
    margin: 0 auto;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-text {
    margin-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 140px 0 80px;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Policy pages */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 160px 20px 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    margin-bottom: 30px;
}

.policy-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.policy-content h3 {
    text-align: left;
}

.policy-content p {
    margin-bottom: 20px;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: left 0.3s ease;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px;
    }

    .services, .benefits, .testimonials, .calculator, .order-form, .faq, .cta {
        padding: 60px 0;
    }

    .service-card, .benefit-item {
        padding: 20px;
    }

    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
} 