﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2487ce;
    --primary-blue-hover: #469fdf;
    --light-gray-bg: #f8f9fa;
    --text-dark: #444444;
    --text-light: #666666;
    --border-light: #e9ecef;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

p {
    color: var(--text-light);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue-hover);
}

.container {
    max-width: 1200px;
}

section {
    padding: 80px 0;
}

/* ===== HEADER/NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    color: var(--primary-blue) !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateX(-5px);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23000000" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    pointer-events: none;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInDown 0.8s ease-out;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section h2 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 60px;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===== FEATURE CARDS (Reemplazo de icon-boxes) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(36, 135, 206, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(36, 135, 206, 0.15);
    border-color: var(--primary-blue);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }

.feature-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(36, 135, 206, 0.1), rgba(36, 135, 206, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover .feature-card-icon {
    background: linear-gradient(135deg, var(--primary-blue), rgba(36, 135, 206, 0.8));
    color: var(--white);
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(36, 135, 206, 0.3);
}

.feature-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-card-title {
    color: var(--primary-blue);
}

.feature-card-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SECTION STYLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-title p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 30px auto 0;
}

.about-section {
    background-color: var(--light-gray-bg);
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.about-section p:nth-of-type(1) { animation-delay: 0.1s; }
.about-section p:nth-of-type(2) { animation-delay: 0.2s; }

.about-section ul {
    list-style: none;
    padding: 0;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.about-section ul li {
    color: var(--text-light);
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
}

.about-section ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.about-video-section {
    background: var(--white);
}

.about-video-section img {
    animation: slideInLeft 0.8s ease-out;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-video-section .content {
    animation: slideInRight 0.8s ease-out;
}

.about-video-section h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.about-video-section ul li {
    color: var(--text-light);
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
}

.about-video-section ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: var(--light-gray-bg);
}

.service-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
    border-left: 5px solid transparent;
}

.service-box:nth-child(1) { animation-delay: 0.1s; border-left-color: #2487ce; }
.service-box:nth-child(2) { animation-delay: 0.2s; border-left-color: #ff9500; }
.service-box:nth-child(3) { animation-delay: 0.3s; border-left-color: #d946ef; }

.service-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-box .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-box:nth-child(1) .icon { color: #2487ce; }
.service-box:nth-child(2) .icon { color: #ff9500; }
.service-box:nth-child(3) .icon { color: #d946ef; }

.service-box:hover .icon {
    transform: rotateY(360deg) scale(1.2);
}

.service-box .title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-box p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    background-color: var(--white);
}

.pricing-box {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s ease;
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.pricing-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(36, 135, 206, 0.1), transparent);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.pricing-box:hover::before {
    top: 0;
    right: 0;
}

.pricing-box:nth-child(1) { animation-delay: 0.2s; }
.pricing-box:nth-child(2) { animation-delay: 0.3s; }

.pricing-box:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(36, 135, 206, 0.15);
    transform: translateY(-15px) scale(1.02);
}

.pricing-box.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(36, 135, 206, 0.15);
    transform: scale(1.05);
}

.pricing-box .title-h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.pricing-box .title-h4 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.pricing-box .title-h4 sup {
    font-size: 1.3rem;
}

.pricing-box .title-h4 span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.pricing-box ul li {
    color: var(--text-light);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.pricing-box ul li:last-child {
    border-bottom: none;
}

.pricing-box ul li::before {
    content: '✓ ';
    color: var(--primary-blue);
    font-weight: 600;
    margin-right: 10px;
}

.btn-buy {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 40px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    position: relative;
    z-index: 1;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-buy:hover {
    background: transparent;
    color: var(--primary-blue);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--light-gray-bg);
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    animation: slideInLeft 0.6s ease-out forwards;
    opacity: 0;
}

.contact-info-item:nth-child(1) { animation-delay: 0.1s; }
.contact-info-item:nth-child(2) { animation-delay: 0.2s; }
.contact-info-item:nth-child(3) { animation-delay: 0.3s; }

.contact-info-item i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-info-item .title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.php-email-form {
    animation: slideInRight 0.6s ease-out;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background-color: var(--white);
    font-family: "Open Sans", sans-serif;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(36, 135, 206, 0.25);
    color: var(--text-dark);
    background-color: var(--white);
}

.form-control::placeholder {
    color: #aaaaaa;
}

.text-center button {
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 40px;
    border: 2px solid var(--primary-blue);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-family: "Open Sans", sans-serif;
}

.text-center button:hover {
    background: transparent;
    color: var(--primary-blue);
}

.text-center button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    color: #dc3545;
    display: none;
    margin-bottom: 15px;
    font-weight: 500;
}

.sent-message {
    color: #28a745;
    display: none;
    margin-bottom: 15px;
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #2c2c2c;
    color: var(--white);
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer .copyright {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-5px) scale(1.1);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.6s ease-out 0.5s both;
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    color: var(--white);
    font-size: 2rem;
}

/* ===== RESPONSIVE ===== */
@@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .hero-section {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section h2 {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .pricing-box.featured {
        transform: scale(1);
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .nav-link {
        margin: 5px 0;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-btn i {
        font-size: 1.8rem;
    }

    .footer {
        padding: 30px 0;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 15px;
    }
}

@@media (max-width: 576px) {
    .feature-card {
        padding: 30px 20px;
    }

    .service-box {
        padding: 30px 20px;
    }

    .pricing-box {
        padding: 40px 25px;
    }

    .about-video-section .content {
        margin-top: 30px;
    }
}