/* ========================================
   INDEX - capa de diseño profesional
   Se carga al final: sobrescribe landing-styles.css, modern-minimal-theme.css
   y landing-mobile-2026.css sin tocar la estructura de la página.
   Marca: #754B6D -> #5E6987 -> #1A9A97
   ======================================== */

:root {
    --mfp-a: #754B6D;
    --mfp-b: #5E6987;
    --mfp-c: #1A9A97;
    --mfp-grad: linear-gradient(135deg, #754B6D 0%, #5E6987 52%, #1A9A97 100%);
    --mfp-ink: #2b2f45;
    --mfp-muted: #6b7290;
}

html {
    scroll-padding-top: 84px;
}

/* ---------- Barra de navegación (escritorio) ---------- */
@media (min-width: 969px) {
    nav.navbar .nav-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        line-height: 1;
        background: var(--mfp-grad) !important;
        box-shadow: 0 8px 20px rgba(94, 105, 135, 0.35);
    }

    nav.navbar .nav-btn i {
        position: static;
        margin: 0;
        transform: none;
        font-size: 0.95em;
        line-height: 1;
    }
}

/* ---------- Hero ---------- */
.hero .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
}

.hero-eyebrow i {
    color: #9ff0e6;
}

.hero .hero-title {
    font-weight: 800;
    letter-spacing: -0.025em;
}

.hero .hero-title .gradient-text {
    display: inline-block;
    background: linear-gradient(90deg, #ffffff 0%, #c9f6ef 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-shadow: none;
}

.hero .btn-primary {
    color: var(--mfp-a) !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 12, 35, 0.28);
}

.hero .btn-secondary {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.hero .btn-secondary:hover {
    background: #ffffff !important;
    color: var(--mfp-a) !important;
}

@media (min-width: 769px) {
    .hero {
        padding-bottom: 96px;
        box-sizing: border-box;
    }

    .hero .hero-content {
        max-width: 940px !important;
        padding: 44px 52px 48px !important;
        border-radius: 28px !important;
    }

    .hero .hero-title {
        font-size: clamp(2.5rem, 4.6vw, 3.7rem) !important;
        line-height: 1.1 !important;
    }

    .hero .hero-scroll {
        display: none;
    }
}

@media (max-width: 768px) {
    html body .hero {
        padding-bottom: 5.5rem !important;
    }

    .hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
        padding: 6px 12px;
        margin-bottom: 12px;
    }

    .hero .hero-scroll {
        display: none;
    }
}

/* ---------- Franja de puntos fuertes (bajo el hero) ---------- */
.hero-highlights {
    position: relative;
    z-index: 6;
    margin-top: -64px;
    padding: 0 20px;
}

.hh-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border: 1px solid #e9ecf5;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(31, 27, 58, 0.16);
    overflow: hidden;
}

.hh-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 22px;
    position: relative;
}

.hh-item + .hh-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: #e9ecf5;
}

.hh-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #ffffff;
    background: var(--mfp-grad);
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(94, 105, 135, 0.3);
}

.hh-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hh-text strong {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--mfp-ink);
}

.hh-text span {
    margin-top: 2px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--mfp-muted);
}

@media (max-width: 900px) {
    .hero-highlights {
        margin-top: -44px;
        padding: 0 14px;
    }

    .hh-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 20px;
    }

    .hh-item {
        padding: 18px 16px;
    }

    .hh-item + .hh-item::before {
        display: none;
    }

    .hh-item:nth-child(n + 3) {
        border-top: 1px solid #e9ecf5;
    }

    .hh-item:nth-child(even) {
        border-left: 1px solid #e9ecf5;
    }
}

@media (max-width: 520px) {
    .hh-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 14px;
    }

    .hh-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .hh-text strong {
        font-size: 0.95rem;
    }

    .hh-text span {
        font-size: 0.76rem;
    }
}

.objetivo {
    padding-top: 120px !important;
}

/* ---------- Títulos de sección ---------- */
.section-header h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem) !important;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--mfp-muted) !important;
}

/* ---------- Tarjetas y textos ---------- */
.mv-card,
.servicio-card,
.directora-card,
.fundadores-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card {
    border-radius: 24px !important;
}

.mv-card:hover,
.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 56px rgba(31, 27, 58, 0.14) !important;
}

/* El texto justificado dejaba huecos enormes entre palabras */
.mv-card p,
.directora-main-info p,
.ainhoa-coco-text p {
    text-align: left !important;
    hyphens: none;
}

.mv-card p {
    line-height: 1.85;
    color: #4a5069;
}

/* ---------- Instalaciones ---------- */
.instalaciones-grid-premium img {
    transition: transform 0.5s ease;
}

.instalaciones-grid-premium .instalacion-item-premium {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instalaciones-grid-premium .instalacion-item-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(31, 27, 58, 0.18);
}

.instalaciones-grid-premium .instalacion-item-premium:hover img {
    transform: scale(1.04);
}

/* ---------- Pie de página ---------- */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--mfp-grad);
}

@media (prefers-reduced-motion: reduce) {
    .mv-card,
    .servicio-card,
    .instalaciones-grid-premium img,
    .instalaciones-grid-premium .instalacion-item-premium {
        transition: none;
    }
}
