:root {
    --primary-color: #9F7DE2;     /* Color principal morado */
    --secondary-color: #8A6AD0;   /* Versión más oscura del morado principal */
    --accent-color: #E2D7F7;      /* Color lila claro para acentos */
    --text-color: #2A2A2A;        /* Color de texto oscuro */
    --light-color: #F9F6FF;       /* Color muy claro para fondos */
    --dark-color: #6A4CC3;        /* Versión aún más oscura del morado */
    --white-color: #FFFFFF;       /* Blanco puro para contraste */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--dark-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    margin-top: 10px;
}

.btn:hover {
    background-color: var(--dark-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(159, 125, 226, 0.3);
}

/* Header */
header {
    background-color: var(--white-color);
    color: var(--text-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    margin-right: 10px;
    vertical-align: middle;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(159, 125, 226, 0.95), rgba(226, 215, 247, 0.93)), url('fondo-textura-mate.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white-color);
    margin-bottom: 60px;
    margin-top: 80px;
}

.hero-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
    max-width: 600px;
}

.hero-image {
    flex: 0 0 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--white-color);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 580px;
    object-fit: cover;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--white-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 250px;
    overflow: hidden;
    background-color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-content .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.product-content p {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 14px;
}

.product-card .btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonials-slider {
    margin-top: 40px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 30px;
    padding-bottom: 40px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card .quote {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-name h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.client-name span {
    color: #999999;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 25px;
    color: var(--text-color);
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    font-size: 16px;
    background-color: #FFFFFF;
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(159, 125, 226, 0.2);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 50px 0 20px;
    border-top: 1px solid var(--accent-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--accent-color);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-column p,
.footer-column li {
    margin-bottom: 10px;
    color: var(--white-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li a {
    color: var(--accent-color);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 14px;
}

/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.float-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Schema.org structured data */
.schema-data {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-wrapper {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-image {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .hero-image img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}
    .hero h1 {
        font-size: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
    .about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .testimonial-card {
        flex: 0 0 300px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .about-text h3,
    .contact-info h3 {
        font-size: 22px;
    }
    
    .testimonial-card {
        flex: 0 0 250px;
        padding: 20px;
    }
}