/* Variables */
:root {
    --primary-color: #1E90FF;
    --accent-color: #32CD32;
    --background-color: #F5F5F5;
    --text-color: #333333;
    --light-gray: #EEEEEE;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --header-height: 80px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 15px;
}

.lead {
    font-size: 1.2em;
    margin-bottom: 30px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0b6efd;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #28a745;
    color: var(--white);
}

.btn-text {
    background: none;
    color: var(--primary-color);
    padding: 0;
    border-bottom: 2px solid transparent;
}

.btn-text:hover {
    border-bottom: 2px solid var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px;
    max-height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Mobile Menu */
#menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/KRth3.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: var(--header-height);
}

.cta-container {
    margin-top: 30px;
}

.cta-container .btn {
    margin: 0 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 20px 20px;
}

/* Order Form Section */
.order-form {
    background-color: var(--white);
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Estilo para las opciones del select */
select option {
    background-color: var(--white);
    color: var(--text-color);
    padding: 12px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 20px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
}

/* Benefits Section */
.benefits {
    background-color: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}

.benefit-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: var(--white);
    font-size: 28px;
}

.benefit-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.price-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    transform: scale(1.05);
    z-index: 2;
    border: 2px solid var(--accent-color);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px;
    text-align: center;
}

.price-card.featured .price-header {
    background-color: var(--accent-color);
}

.price {
    margin: 15px 0;
}

.amount {
    font-size: 2.5em;
    font-weight: bold;
}

.period {
    font-size: 0.8em;
    opacity: 0.8;
}

.price-features {
    list-style: none;
    padding: 25px;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.price-features li:before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.price-card .btn {
    display: block;
    margin: 20px auto 25px;
    width: 80%;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
    overflow: hidden;
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: auto;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 1.2em;
}

.contact-map {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 300px;
}

/* Policies Section */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
}

.policy-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.policy-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.policy-item p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.policy-item .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-gap: 30px;
    margin-bottom: 40px;
}

.footer-about h3, 
.footer-links h3, 
.footer-legal h3, 
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-about h3:after, 
.footer-links h3:after, 
.footer-legal h3:after, 
.footer-contact h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-links ul, 
.footer-legal ul {
    list-style: none;
}

.footer-links li, 
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, 
.footer-legal a {
    color: #ccc;
}

.footer-links a:hover, 
.footer-legal a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-right: 20px;
    margin-bottom: 0;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Thank you page */
.thank-you {
    min-height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--light-gray);
}

/* Legal pages */
.legal-page {
    padding-top: calc(120px + var(--header-height));
    padding-bottom: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-grid, 
    .pricing-grid, 
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .policies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        padding: 20px;
        transition: var(--transition);
        opacity: 0;
        overflow-y: auto;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu li {
        margin-left: 0;
        margin-bottom: 20px;
    }
    
    #menu-toggle:checked ~ .nav-menu {
        left: 0;
        opacity: 1;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .contact-grid, 
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .hero {
        padding: 120px 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.6em;
    }
    
    .services-grid, 
    .pricing-grid, 
    .testimonial-grid,
    .policies-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: none;
        margin: 20px 0;
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .cta-container .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
} 