/* SOLUTIONS PAGES SPECIFIC STYLES
   These styles extend the base style.css and apply the Vicarious-inspired alternating layout
   with a clean, minimalist, med-tech aesthetic.
*/

:root {
    --bg-white: #ffffff;
    --text-main: #1f2937; /* Dark slate for high contrast but not pure black */
    --text-soft: #4b5563; /* Medium gray for descriptions */
    --accent-blue: #1276b0;
    --accent-orange: #e76f51;
}

/* Override body for Solutions pages */
body.solutions-page {
    background-color: var(--bg-white);
    color: var(--text-main);
    position: relative;
    overflow-x: hidden;
}

/* Subtle background glows (Celeste to Naranjo) */
body.solutions-page::before,
body.solutions-page::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

/* Celeste glow top left */
body.solutions-page::before {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

/* Naranjo glow bottom right */
body.solutions-page::after {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
}

/* NAVBAR ADJUSTMENTS FOR LIGHT BACKGROUND
   We keep the exact HTML from the original, but force the "hover" state colors permanently
   so it is visible on a white background. */
body.solutions-page .navbar {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.solutions-page .nav-item > a {
    color: #64748b;
}

body.solutions-page .nav-item > a:hover,
body.solutions-page .nav-item > a.active {
    color: #0f172a;
}

body.solutions-page .btn-outline {
    color: var(--text-main);
    border-color: #cbd5e1;
}

body.solutions-page .btn-outline:hover {
    background: rgba(0,0,0,0.05);
    color: var(--text-main);
}

/* HERO SECTION (Clean White Background) */
.hero-clean {
    padding-top: 180px; /* Space for navbar */
    padding-bottom: 80px;
    background-color: var(--bg-white);
    text-align: center;
}

.hero-clean-content {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.hero-clean-title {
    font-size: 42px;            /* más chico para que cada frase quepa en una línea */
    font-weight: 500;           /* título con más peso: jerarquía clara sobre el copy */
    line-height: 1.15;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-clean-desc {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-soft);
    max-width: 720px;
    margin: 0 auto;
}

.hero-clean-placeholder {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ALTERNATING ROWS (VICARIOUS SURGICAL STYLE) */
.alt-section {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.alt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 80px;
}

/* Reverse row for alternating pattern */
.alt-row.reverse {
    flex-direction: row-reverse;
}

.alt-content {
    flex: 1;
    max-width: 500px;
}

.alt-visual {
    flex: 1.2;
}

.alt-title {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.alt-desc {
    font-size: 16.5px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-soft);
    margin-bottom: 26px;
}

/* IMÁGENES REALES en filas alternadas y heros */
.alt-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(10, 17, 24, 0.10);
}
.alt-img-169 {
    aspect-ratio: 16 / 9;
}
.alt-row:hover .alt-img {
    transform: translateY(-6px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* PLACEHOLDERS & IMAGES (With dynamic hover) */
.placeholder-box {
    width: 100%;
    background-color: rgba(248, 250, 252, 0.7);
    border: 1px solid rgba(203, 213, 225, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 40px rgba(58, 155, 220, 0.02);
}

.alt-row:hover .placeholder-box {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(58, 155, 220, 0.08);
    border-color: rgba(58, 155, 220, 0.2);
}

.placeholder-16-9 {
    aspect-ratio: 16 / 9;
}

.placeholder-4-3 {
    aspect-ratio: 4 / 3;
}

/* CLEAN LINKS / CTAS */
.clean-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.clean-link svg {
    transition: transform 0.3s ease;
}

.clean-link:hover {
    color: #1276b0;
}

.clean-link:hover svg {
    transform: translateX(5px);
}

.clean-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background-color: var(--accent-blue);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.clean-btn:hover {
    background-color: #1276b0;
}

/* FINAL CTA SECTION */
.bottom-cta {
    padding: 150px 20px;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(58, 155, 220, 0.03) 100%);
    position: relative;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.bottom-cta-title {
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.bottom-cta-desc {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.bottom-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* FOOTER FIX FOR LIGHT PAGES */
body.solutions-page .site-footer {
    border-top: 1px solid #e2e8f0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .alt-row, .alt-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .alt-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-clean-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .hero-clean {
        padding-top: 120px;
        padding-bottom: 48px;
    }
    .hero-clean-title {
        font-size: 29px;
        letter-spacing: -0.5px;
    }
    .hero-clean-desc {
        font-size: 16px;
    }
    .alt-section {
        padding: 56px 0;
    }
    .alt-row, .alt-row.reverse {
        padding: 0 22px;
        gap: 26px;
    }
    .alt-title {
        font-size: 24px;
    }
    .alt-desc {
        font-size: 15.5px;
    }
    .placeholder-box {
        padding: 24px;
        font-size: 12.5px;
    }
    .bottom-cta {
        padding: 80px 20px;
    }
    .bottom-cta-title {
        font-size: 27px;
    }
    .bottom-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .bottom-cta-buttons .clean-link {
        margin-left: 0 !important;
    }
}
