:root {
    --white: #FFFFFF;
    --soft-violet: #F4F0FF; /* Fondo Bio-Vitality */
    --main-violet: #8A4FFF;  /* Violeta vibrante */
    --dark-violet: #4B0082;  /* Indigo profundo para texto */
    --accent-violet: #BC9AFF;
    --font-main: 'Montserrat', sans-serif;
    --font-title: 'Playfair Display', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--dark-violet);
    background-color: var(--white);
    line-height: 1.6;
}

body.preloading {
    overflow: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(188, 154, 255, 0.28), var(--white) 62%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-core {
    position: relative;
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    animation: preloader-float 2.8s ease-in-out infinite;
}

.preloader-ring {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 4px solid rgba(138, 79, 255, 0.18);
    border-top-color: var(--main-violet);
    animation: preloader-spin 1.9s linear infinite;
}

.preloader-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 2px rgba(138, 79, 255, 0.22);
    animation: preloader-pulse 2.1s ease-in-out infinite;
}

.preloader-dot-1 {
    top: 10px;
    right: 14px;
}

.preloader-dot-2 {
    bottom: 10px;
    left: 14px;
    animation-delay: 0.55s;
}

@keyframes preloader-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloader-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(0.78);
        opacity: 0.5;
    }
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- Header --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.nav-list { display: flex; gap: 2rem; align-items: center; list-style: none; }

.nav-link { 
    text-decoration: none; 
    color: var(--dark-violet); 
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover { color: var(--main-violet); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-violet);
    margin: 5px 0;
}

/* --- Hero Section (Bio-Vitality Look) --- */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at top right, rgba(188, 154, 255, 0.42), rgba(138, 79, 255, 0.14) 45%, var(--soft-violet) 72%, var(--white));
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.text-violet { color: var(--main-violet); }

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--main-violet);
    color: white;
    box-shadow: 0 10px 20px rgba(138, 79, 255, 0.2);
}

.btn-outline {
    border: 1px solid var(--main-violet);
    color: var(--main-violet);
}

.btn-link {
    color: var(--dark-violet);
    padding: 12px 0;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(138, 79, 255, 0.3); }

.hero-image-container { position: relative; }

.hero-video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Forma orgánica Bio-Vitality */
    z-index: 2;
    position: relative;
    display: block;
}

.hero-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    background: var(--soft-violet);
    top: -10%;
    left: -10%;
    border-radius: 50%;
    z-index: 1;
    filter: blur(40px);
}

.hero-subtitle {
    max-width: 560px;
    margin-bottom: 1.75rem;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.section {
    padding: 90px 0;
}

.section-soft {
    background: var(--soft-violet);
}

.section-kicker {
    color: var(--main-violet);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.35rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-text {
    max-width: 720px;
    margin-bottom: 1rem;
}

.section-text-wide {
    max-width: 820px;
}

.services-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.service-card,
.testimonial-card,
.specialty-panel,
.about-box {
    background: var(--white);
    border: 1px solid rgba(138, 79, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 14px 30px rgba(75, 0, 130, 0.06);
}

.service-card,
.testimonial-card,
.specialty-panel,
.about-box {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover,
.testimonial-card:hover,
.specialty-panel:hover,
.about-box:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 79, 255, 0.4);
    box-shadow: 0 0 0 2px rgba(188, 154, 255, 0.16), 0 18px 30px rgba(75, 0, 130, 0.1);
}

.service-card h3,
.specialty-panel h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover .service-image {
    transform: scale(1.03);
    box-shadow: 0 14px 28px rgba(75, 0, 130, 0.16);
}

.specialty-video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(138, 79, 255, 0.18);
    margin-bottom: 1rem;
    display: block;
    background: #000;
    box-shadow: 0 10px 22px rgba(75, 0, 130, 0.12);
}

.specialty-grid,
.ozono-grid,
.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.feature-list {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.feature-list li {
    margin-bottom: 0.55rem;
}

.testimonial-card p {
    margin-bottom: 0.75rem;
}

.testimonial-card span {
    font-weight: 700;
    color: var(--main-violet);
    font-size: 0.9rem;
}

.about-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-box:hover .about-image {
    transform: scale(1.02);
    box-shadow: 0 10px 22px rgba(75, 0, 130, 0.14);
}

.contact-info p {
    margin-bottom: 0.6rem;
}

.whatsapp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.whatsapp-contact {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--main-violet);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.whatsapp-btn {
    padding: 8px 14px;
    font-size: 0.88rem;
    border-radius: 999px;
    background: #25D366;
    color: var(--white);
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.28);
}

.whatsapp-btn:hover {
    background: #1fb95a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.34);
}

.contact-map {
    margin-top: 1.1rem;
}

.contact-map iframe {
    width: 100%;
    height: 260px;
    border: 1px solid rgba(138, 79, 255, 0.22);
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(75, 0, 130, 0.08);
}

.contact-form {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(138, 79, 255, 0.2);
    padding: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid rgba(138, 79, 255, 0.35);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    font-family: inherit;
    color: var(--dark-violet);
}

.contact-form textarea {
    resize: vertical;
}

.footer {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(138, 79, 255, 0.18);
}

.footer-content {
    text-align: center;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .header {
        padding: 1rem 0;
        position: relative;
    }

    .logo-img {
        height: 82px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-list {
        position: absolute;
        right: 0;
        top: calc(100% + 10px);
        background: var(--white);
        border: 1px solid rgba(138, 79, 255, 0.2);
        border-radius: 16px;
        box-shadow: 0 20px 35px rgba(75, 0, 130, 0.1);
        padding: 1rem;
        min-width: 220px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        z-index: 10;
    }

    .nav-list.active {
        display: flex;
    }

    .hero-content,
    .specialty-grid,
    .ozono-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-video {
        max-height: 460px;
    }

    .specialty-video {
        height: 280px;
    }

    .contact-map iframe {
        height: 240px;
    }

    .whatsapp-btn {
        width: auto;
    }
}

@media (max-width: 640px) {
    .logo-img {
        height: 72px;
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 50px 0 70px;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .specialty-video {
        height: 220px;
    }

    .contact-map iframe {
        height: 220px;
    }

    .whatsapp-row {
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-btns {
        width: 100%;
    }
}