/* --- VARIABLES CSS & RESET --- */
:root {
    --primary-color: #4facfe;
    --secondary-color: #667eea;
    --accent-color: #764ba2;
    --accent-dark: #5a3272;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --whatsapp-green: #25D366;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.12);
    
    --radius: 16px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILIDADES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- BOTONES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 10px;
    width: 100%; /* Útil para tarjetas */
    max-width: 250px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}
.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
}
.btn-whatsapp:hover { background-color: #1ebc57; transform: translateY(-2px); }

/* --- HEADER --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img { height: 45px; width: auto; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--text-dark); transition: var(--transition); }
.nav-links a:hover { color: var(--accent-color); }

.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; }
#mobile-check { display: none; }

/* --- HERO SECTION --- */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
}
/*  
.hero-image-wrapper { position: relative; display: flex; justify-content: center; }
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0;
    opacity: 0.1;
    animation: blob 8s infinite;*/
}

.hero-image {
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    transform: rotate(-2deg);
    /* Borde eliminado según petición */
}

@keyframes blob {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

/* --- SERVICIOS --- */
.services { background-color: var(--white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 40px;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.icon-box {
    width: 70px; height: 70px;
    background: rgba(118, 75, 162, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: var(--accent-color); font-size: 1.8rem;
}
.service-card h3 { margin-bottom: 15px; font-size: 1.4rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* --- PRECIOS (NUEVO ESTILO TARJETAS) --- */
.pricing { background-color: var(--bg-light); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    align-items: flex-start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular:hover {
    transform: scale(1.07);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(118, 75, 162, 0.4);
}

.price-header { margin-bottom: 25px; text-align: center; }
.price-quantity {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}
.price-includes {
    font-size: 0.85rem;
    color: #a0aec0;
    background: #edf2f7;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
}

.price-options {
    flex-grow: 1;
    margin-bottom: 30px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 12px;
}
.price-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.price-label { font-size: 0.95rem; color: var(--text-dark); }
.price-value { 
    font-size: 1.25rem; 
    font-weight: 800; 
    color: var(--text-dark); 
}

.pricing-card.popular .price-value {
    color: var(--accent-color);
}

.pricing-note {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- POR QUÉ ELEGIRNOS --- */
.features { background-color: var(--white); }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px;
}
.feature-item { text-align: center; }
.feature-item i { color: var(--secondary-color); font-size: 2.5rem; margin-bottom: 15px; }
.feature-item h4 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; color: var(--text-light); }

/* --- PROCESO --- */
.process { background-color: var(--bg-light); }
.process-steps {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; position: relative;
}
.step {
    flex: 1; min-width: 220px; background: var(--white); padding: 30px 20px;
    border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; position: relative; z-index: 2;
}
.step-number {
    display: inline-block; width: 40px; height: 40px; line-height: 40px; background: var(--secondary-color); color: white; border-radius: 50%; font-weight: bold; margin-bottom: 15px;
}
.step h4 { margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--text-light); }
@media(min-width: 992px) {
    .process-steps::before {
        content: ''; position: absolute; top: 50px; left: 50px; right: 50px; height: 2px; background: #e2e8f0; z-index: 1;
    }
}

/* --- CONTACTO --- */
.contact { background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%); color: var(--white); text-align: center; }
.contact h2 { color: var(--white); }
.contact-card {
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); padding: 40px; border-radius: var(--radius); max-width: 600px; margin: 0 auto; border: 1px solid rgba(255,255,255,0.1);
}
.contact-info { margin: 30px 0; font-size: 1.1rem; }
.contact-info i { color: var(--primary-color); margin-right: 10px; }

/* --- FOOTER --- */
footer { background-color: #111; color: #718096; padding: 30px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid #2d3748; }

/* --- MEDIA QUERIES --- */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-image-wrapper { order: 2; margin-top: 20px; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute; top: 80px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 20px; box-shadow: var(--shadow-md); transform: translateY(-150%); transition: transform 0.3s ease-in-out; gap: 20px; text-align: center;
    }
    #mobile-check:checked ~ .nav-links { transform: translateY(0); }
    .hero-content h1 { font-size: 2rem; }
    .step { width: 100%; }
}