/* ============================================================
   Solutions Elementor — Global Styles
   Design System: "The Clinical Concierge"
   ============================================================ */

/* ---- Google Fonts & Material Symbols ---- */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* ---- CSS Custom Properties ---- */
:root {
    --sol-primary: #2357ba;
    --sol-primary-container: #4370d5;
    --sol-secondary: #4a5f80;
    --sol-tertiary: #676000;
    --sol-tertiary-fixed: #f5e600;
    --sol-surface: #f9f9ff;
    --sol-surface-low: #f0f3ff;
    --sol-surface-lowest: #ffffff;
    --sol-surface-container: #e7eeff;
    --sol-surface-high: #dee8ff;
    --sol-surface-highest: #d5e3ff;
    --sol-on-surface: #021c39;
    --sol-on-primary: #ffffff;
    --sol-outline-variant: #c3c6d5;
    --sol-gold: #b8972a;
    --sol-font-headline: 'Manrope', sans-serif;
    --sol-font-body: 'Inter', sans-serif;
    --sol-radius-md: 0.75rem;
    --sol-radius-lg: 1rem;
    --sol-radius-xl: 2rem;
    --sol-shadow-ambient: 0 20px 40px rgba(2, 28, 57, 0.06);
}

/* ============================================================
   WIDGET: Solutions Nav Bar
   ============================================================ */
.solutions-navbar {
    position: relative;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(2, 28, 57, 0.06);
    font-family: var(--sol-font-headline);
    z-index: 999;
    width: 100%;
}

.solutions-navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.solutions-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.solutions-navbar__brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--sol-on-surface);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.solutions-navbar__links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.solutions-navbar__links a {
    font-family: var(--sol-font-headline);
    font-weight: 500;
    color: rgba(2, 28, 57, 0.65);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.solutions-navbar__links a:hover,
.solutions-navbar__links a.active {
    color: #4875da;
}

.solutions-navbar__links a.active {
    font-weight: 700;
    border-bottom: 2px solid var(--sol-gold);
    padding-bottom: 2px;
}

.solutions-navbar__cta {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--sol-primary) 0%, var(--sol-primary-container) 100%);
    color: var(--sol-on-primary) !important;
    padding: 0.5rem 1.5rem;
    border-radius: var(--sol-radius-md);
    font-family: var(--sol-font-headline);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
    cursor: pointer;
}

.solutions-navbar__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(35, 87, 186, 0.25);
}

.solutions-navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.solutions-navbar__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sol-on-surface);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.solutions-navbar__mobile {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    padding: 1rem 2rem 1.5rem;
    gap: 1rem;
    border-top: 1px solid rgba(2, 28, 57, 0.05);
}

.solutions-navbar__mobile a {
    font-family: var(--sol-font-headline);
    font-weight: 500;
    color: rgba(2, 28, 57, 0.7);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.solutions-navbar__mobile.open {
    display: flex;
}

@media (max-width: 767px) {
    .solutions-navbar__links,
    .solutions-navbar__cta {
        display: none;
    }
    .solutions-navbar__hamburger {
        display: flex;
    }
}

/* ============================================================
   WIDGET: Solutions Hero
   ============================================================ */
.solutions-hero {
    position: relative;
    min-height: 819px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #2357ba 0%, #4370d5 100%);
    width: 100%;
}

/* Stretch to full width when set in Elementor */
.elementor-section.elementor-section-stretched .solutions-hero,
.e-con.e-con-full-width .solutions-hero {
    width: 100%;
}

.solutions-hero__circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.solutions-hero__circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solutions-hero__circle--1 { width: 16rem; height: 16rem; top: -10%; left: 5%; }
.solutions-hero__circle--2 { width: 8rem; height: 8rem; top: 40%; right: 10%; }
.solutions-hero__circle--3 { width: 24rem; height: 24rem; bottom: -20%; left: 20%; }
.solutions-hero__circle--4 { width: 1rem; height: 1rem; top: 20%; left: 40%; background: rgba(255,255,255,0.4); }
.solutions-hero__circle--5 { width: 1.5rem; height: 1.5rem; top: 60%; right: 30%; background: rgba(255,255,255,0.3); }
.solutions-hero__circle--6 { width: 0.75rem; height: 0.75rem; top: 15%; right: 25%; background: rgba(255,255,255,0.5); }

.solutions-hero__content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
    text-align: center;
    color: #ffffff;
}

.solutions-hero__title {
    font-family: var(--sol-font-headline);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    color: #ffffff;
}

.solutions-hero__subtitle {
    font-family: var(--sol-font-body);
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
}

.solutions-hero__scroll {
    margin-top: 3rem;
}

.solutions-hero__scroll .material-symbols-outlined {
    font-size: 3rem;
    color: #ffffff;
    animation: sol-bounce 1.8s infinite;
}

@keyframes sol-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

/* ============================================================
   WIDGET: Solutions Card (Solution Item)
   ============================================================ */
.solutions-card {
    padding: 6rem 0;
    overflow: hidden;
}

.solutions-card--bg-white   { background-color: #ffffff; }
.solutions-card--bg-surface { background-color: var(--sol-surface-low); }

.solutions-card__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solutions-card__text { order: 1; }
.solutions-card__visual { order: 2; }

.solutions-card--reversed .solutions-card__text  { order: 2; }
.solutions-card--reversed .solutions-card__visual { order: 1; }

.solutions-card__label {
    font-family: var(--sol-font-body);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--sol-tertiary);
    margin-bottom: 1rem;
    display: block;
}

.solutions-card__title {
    font-family: var(--sol-font-headline);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--sol-on-surface);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 1.5rem;
}

.solutions-card__description {
    font-family: var(--sol-font-body);
    font-size: 1.0625rem;
    color: var(--sol-secondary);
    line-height: 1.75;
    margin: 0 0 2rem;
}

.solutions-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 2rem;
    background: var(--sol-gold);
    color: #ffffff;
    font-family: var(--sol-font-headline);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--sol-radius-md);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(184, 151, 42, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solutions-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(184, 151, 42, 0.4);
}

.solutions-card__btn:active {
    transform: scale(0.97);
}

.solutions-card__btn .material-symbols-outlined {
    font-size: 1.1rem;
}

/* Visual / Image area */
.solutions-card__image-wrap {
    position: relative;
}

.solutions-card__image-bg {
    position: absolute;
    inset: -1rem;
    border-radius: 1.5rem;
    background: var(--sol-surface-low);
    transform: rotate(-2deg);
    z-index: 0;
}

.solutions-card--reversed .solutions-card__image-bg {
    background: #ffffff;
    transform: rotate(2deg);
}

.solutions-card--bg-surface .solutions-card__image-bg {
    background: #ffffff;
    transform: rotate(2deg);
}

.solutions-card--bg-surface.solutions-card--reversed .solutions-card__image-bg {
    background: var(--sol-surface-low);
    transform: rotate(-1deg);
}

.solutions-card__image {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--sol-radius-lg);
    box-shadow: 0 25px 60px rgba(2, 28, 57, 0.14);
    display: block;
}

.solutions-card__image-placeholder {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 500px;
    border-radius: var(--sol-radius-lg);
    box-shadow: 0 25px 60px rgba(2, 28, 57, 0.14);
    background: linear-gradient(135deg, var(--sol-surface-container) 0%, var(--sol-surface-high) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sol-secondary);
}

.solutions-card__image-placeholder .material-symbols-outlined {
    font-size: 4rem;
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 900px) {
    .solutions-card__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .solutions-card__text,
    .solutions-card__visual,
    .solutions-card--reversed .solutions-card__text,
    .solutions-card--reversed .solutions-card__visual {
        order: unset;
    }
    .solutions-card__image,
    .solutions-card__image-placeholder {
        height: 320px;
    }
}

/* ============================================================
   WIDGET: Solutions CTA
   ============================================================ */
.solutions-cta {
    padding: 6rem 0;
    background: var(--sol-surface);
}

.solutions-cta__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solutions-cta__box {
    background: linear-gradient(135deg, var(--sol-primary) 0%, var(--sol-primary-container) 100%);
    padding: 4rem 5rem;
    border-radius: var(--sol-radius-xl);
    text-align: center;
    box-shadow: 0 20px 60px rgba(35, 87, 186, 0.25);
    position: relative;
    overflow: hidden;
}

.solutions-cta__box::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 16rem; height: 16rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(50%, -50%);
    pointer-events: none;
}

.solutions-cta__title {
    font-family: var(--sol-font-headline);
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 1.5rem;
}

.solutions-cta__subtitle {
    font-family: var(--sol-font-body);
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 3rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.solutions-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.solutions-cta__btn-primary {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: var(--sol-primary);
    font-family: var(--sol-font-headline);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 1rem 2.5rem;
    border-radius: var(--sol-radius-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.solutions-cta__btn-primary:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}

.solutions-cta__btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #ffffff;
    font-family: var(--sol-font-headline);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 1rem 2.5rem;
    border-radius: var(--sol-radius-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.solutions-cta__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .solutions-cta__box {
        padding: 2.5rem 1.5rem;
    }
    .solutions-cta__buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .solutions-cta__btn-primary,
    .solutions-cta__btn-secondary {
        justify-content: center;
    }
}

/* ============================================================
   WIDGET: Solutions Footer
   ============================================================ */
.solutions-footer {
    background: var(--sol-surface-low);
    padding: 4rem 2rem 2rem;
    font-family: var(--sol-font-body);
    font-size: 0.875rem;
}

.solutions-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.solutions-footer__brand {
    font-family: var(--sol-font-headline);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--sol-on-surface);
    margin-bottom: 1rem;
    display: block;
}

.solutions-footer__tagline {
    color: #6b7280;
    line-height: 1.6;
    max-width: 240px;
}

.solutions-footer__col-title {
    font-family: var(--sol-font-headline);
    font-weight: 700;
    color: var(--sol-on-surface);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.solutions-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.solutions-footer__links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.875rem;
}

.solutions-footer__links a:hover {
    color: var(--sol-on-surface);
}

.solutions-footer__contact-item {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.solutions-footer__bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(2, 28, 57, 0.08);
    text-align: center;
    color: #9ca3af;
    font-size: 0.8125rem;
}

@media (max-width: 900px) {
    .solutions-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .solutions-footer__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Elementor Editor helpers
   ============================================================ */
.elementor-editor-active .solutions-hero {
    min-height: 400px;
}
