* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e1a2f;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* PALETA DE COLORES */
:root {
    --primary-dark: #3f2a63;
    --primary: #603c9f;
    --primary-medium: #7a55b5;
    --primary-light: #ede7f6;
    --primary-soft-bg: #f5f2fc;
    --secondary: #c9a87b;
    --accent-gold: #e0b354;
    --gray-light: #faf9fe;
    --gray-medium: #e6e2f0;
    --text-dark: #231f36;
    --text-soft: #544d6b;
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 20px 25px -12px rgba(0, 0, 0, 0.08);
}

/* Utilidades */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.text-center {
    text-align: center;
}

.section-subhead {
    color: var(--text-soft);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 1rem auto 2rem auto;
}

/* Header / Nav */
.navbar {
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.logo-img {
    max-width: 150px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-contact-nav {
    padding: 0.5rem 1.2rem;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
    background: none;
    border: none;
}

/* Overlay para menú móvil */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Botones */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(96, 60, 159, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(96, 60, 159, 0.25);
}

.btn-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.btn-block {
    display: inline-block;
    width: 100%;
    text-align: center;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #faf7ff 0%, #f0ebfa 100%);
    padding: 4rem 0 5rem 0;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    background: rgba(96, 60, 159, 0.12);
    color: var(--primary-dark);
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-soft);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-img {
    flex: 0.9;
    text-align: center;
}

.hero-main-img {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
}

/* Sección Nosotros Box */
.about-box {
    max-width: 900px;
    margin: 2rem auto 0;
    background: var(--primary-light);
    padding: 2rem;
    border-radius: 36px;
}

.about-box p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-box p:first-child {
    margin-bottom: 1.2rem;
}

/* Tarjetas valores */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 1.8rem 1.2rem;
    text-align: center;
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
    border: 1px solid var(--gray-medium);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.value-icon {
    font-size: 2.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.value-card p {
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* Misión Visión */
.mission-vision {
    background-color: var(--primary-soft-bg);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
}

.mv-card {
    background: white;
    padding: 2rem;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
    border-bottom: 3px solid var(--primary-light);
}

.mv-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mv-card i {
    color: var(--primary);
    font-size: 1.6rem;
}

.mv-card p {
    color: var(--text-soft);
    line-height: 1.6;
}

/* SINC Sección */
.sinc-section {
    background: linear-gradient(120deg, #ffffff 0%, #fbf9ff 100%);
    border-top: 1px solid var(--gray-medium);
    border-bottom: 1px solid var(--gray-medium);
}

.sinc-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.sinc-text {
    flex: 1.2;
}

.sinc-text h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.icon-title {
    color: var(--primary);
    margin-right: 10px;
}

.sinc-text p {
    margin-bottom: 1rem;
    color: var(--text-soft);
}

.sinc-highlight {
    background: var(--primary-light);
    padding: 1.2rem;
    border-radius: 28px;
    border-left: 5px solid var(--primary);
    font-weight: 500;
    margin-top: 1.5rem;
    color: var(--primary-dark);
}

.sinc-highlight i {
    margin-right: 8px;
}

.sinc-icon {
    flex: 0.8;
    text-align: center;
}

.sinc-icon i {
    font-size: 8rem;
    color: var(--primary-medium);
    opacity: 0.8;
}

/* Cita / propuesta */
.proposition {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 3.5rem 2rem;
    border-radius: 48px;
    margin: 2rem 0;
}

.proposition p {
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.proposition strong {
    font-weight: 700;
    color: var(--accent-gold);
}

/* Contacto Sección */
.contact-section {
    padding-top: 1rem;
}

.contact-card {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    border-radius: 36px;
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    border: 1px solid var(--gray-medium);
}

.contact-info-list {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

.icon-contact {
    color: var(--primary);
    width: 30px;
}

.contact-action {
    margin-top: 1.8rem;
}

/* Footer */
footer {
    background: #251e36;
    color: #ddd6f0;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.footer-logo span {
    color: #b794f4;
}

.footer-tagline {
    font-size: 0.85rem;
}

.footer-web {
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ddd6f0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #41365c;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-planet {
    margin-top: 0.5rem;
}

/* Botón flotante de WhatsApp */
.float-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.95;
}

.float-whatsapp:hover {
    transform: scale(1.08);
    background-color: #25D366;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: white;
}

.float-whatsapp i {
    font-size: 32px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.7s ease forwards;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 75%;
        height: 100vh;
        padding: 6rem 2rem 2rem 2rem;
        gap: 2rem;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease-in-out;
        z-index: 99;
        align-items: flex-start;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-grid {
        flex-direction: column-reverse;
    }

    .hero-main-img {
        height: 300px;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .proposition p {
        font-size: 1.1rem;
    }

    .sinc-wrapper {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        gap: 1.5rem;
    }

    .float-whatsapp {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .float-whatsapp i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
    }
}