/* 
* Main Stylesheet for domain.com
* Colors: #ffffff (white), #8e44ad (purple), #1abc9c (mint), #2c3e50 (graphite)
* Fonts: 'Poppins', 'Roboto Slab'
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #8e44ad, #1abc9c);
    left: 0;
    bottom: -10px;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #8e44ad;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1abc9c;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(142, 68, 173, 0.2);
    text-align: center;
}

.btn:hover {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(142, 68, 173, 0.3);
    color: #fff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 500;
    color: #2c3e50;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, #8e44ad, #1abc9c);
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 30px;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    transform: translateY(-2px);
}

.nav-cta:after {
    display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #8e44ad;
    margin: 3px 0;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay ul {
    text-align: center;
}

.mobile-menu-overlay li {
    margin: 15px 0;
}

.mobile-menu-overlay a {
    font-size: 1.2rem;
    font-weight: 600;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #8e44ad;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.95);
    color: #fff;
    z-index: 1010;
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-content a {
    color: #1abc9c;
    text-decoration: underline;
}

.cookie-btn {
    background-color: #1abc9c;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 20px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.cookie-btn:hover {
    background-color: #16a085;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(142, 68, 173, 0.8)), url('img/LVx3Nt.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 160px 0 100px;
    margin-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    align-items: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.service-card h3, .service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
}

.service-card p {
    margin-bottom: 20px;
}

/* Process Section */
.process {
    background-color: #f9f9f9;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

.step {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
}

.testimonial {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote {
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.quote:before {
    content: '"';
    font-size: 3rem;
    color: #8e44ad;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.client {
    font-weight: 600;
    text-align: right;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #8e44ad;
}

.client span {
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 30px;
}

.price-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
    border: 2px solid #8e44ad;
}

.price-card.featured:before {
    content: 'Recomendado';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #8e44ad;
    margin: 20px 0;
}

.price-card ul {
    text-align: left;
    margin: 30px 0;
}

.price-card ul li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.price-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1abc9c;
    font-weight: 700;
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
}

form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #8e44ad;
}

.radio-group {
    display: grid;
    grid-gap: 10px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.radio-group input,
.checkbox-group input {
    margin-right: 10px;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 40px;
    margin-bottom: 40px;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: #1abc9c;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Legal Pages Styling */
.legal-page {
    padding: 160px 0 100px;
    margin-top: 80px;
}

.legal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-page h1 {
    margin-bottom: 30px;
    color: #2c3e50;
}

.legal-page h2 {
    color: #8e44ad;
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.legal-page h3 {
    color: #1abc9c;
    margin: 25px 0 10px;
    font-size: 1.3rem;
}

.legal-page p, .legal-page ul {
    margin-bottom: 15px;
}

.legal-page ul {
    margin-left: 20px;
    list-style: disc;
}

.legal-page ul li {
    margin-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .price {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    section {
        padding: 60px 0;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-btn {
        margin: 20px 0 0;
    }
    
    .services-grid, .testimonials-grid, .pricing-grid, .process-steps {
        grid-template-columns: 1fr;
    }
    
    form {
        padding: 30px 20px;
    }
    
    .client {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .client-img {
        margin-right: 0;
        margin-bottom: 8px;
    }
} 