* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #ffeaa7;
    --accent-color: #fd79a8;
    --dark-color: #2d3436;
    --light-color: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gradient: linear-gradient(135deg, #ff6b9d 0%, #fd79a8 100%);
    --shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--light-color);
}

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

/* Header */
.header {
    background: var(--light-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 50px;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light-color);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

/* Secciones generales */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header {
    background: var(--gradient);
    color: var(--light-color);
    text-align: center;
    padding: 120px 0 60px;
    margin-top: 70px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.main-content {
    padding: 60px 0;
}

/* Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

/* Cards base */
.feature-card,
.service-preview,
.mv-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-preview {
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    text-align: left;
}

.feature-card:hover,
.service-preview:hover {
    transform: translateY(-10px);
}

.service-preview:hover {
    transform: translateY(-5px);
}

/* Service Cards */
.service-card {
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-content {
    padding: 1.5rem;
}

.service-image {
    height: 220px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 3rem;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Pricing Cards */
.pricing-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.duration {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Títulos de cards */
.feature-card h4,
.service-card h4,
.pricing-card h4,
.service-preview h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card h4,
.service-preview h4,
.pricing-card h4 {
    font-size: 1.5rem;
}

.service-card h4 {
    font-size: 1.3rem;
}

.mv-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

/* Textos de cards */
.feature-card p,
.service-description,
.service-preview p,
.pricing-card p {
    color: var(--gray-medium);
    line-height: 1.6;
}

.mv-card p {
    color: var(--gray-medium);
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: justify;
}

/* Secciones específicas */
.features {
    padding: 80px 0;
    background: var(--gray-light);
}

.highlights {
    padding: 80px 0;
}

/* Historia */
.history-section {
    background: var(--gray-light);
    padding: 3rem;
    border-radius: 15px;
}

.history-section h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.history-section p {
    color: var(--gray-medium);
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    text-align: justify;
}

/* Contacto */
.contact-info {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
}

.contact-text {
    color: var(--dark-color);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 50px 0 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #bbb;
}

/* Utilidades */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 50px;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title { font-size: 2.5rem; }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-image img {
        max-width: 300px;
        max-height: 250px;
    }
    
    .features-grid,
    .services-preview,
    .services-grid,
    .pricing-grid,
    .contact-grid,
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .section-title { font-size: 2rem; }
    .page-title { font-size: 2.5rem; }
    
    .hero-buttons { justify-content: center; }
    .service-image { height: 180px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 1.8rem; }
    .page-title { font-size: 2rem; }
    
    .hero-image img {
        max-width: 250px;
        max-height: 200px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .container { padding: 0 15px; }
    .service-image { height: 150px; }
}
