/* 2026 NPLabs homepage redesign: patient-first European pharmacy front door */
body.home-page {
    background: #f5f8f7;
    color: #173044;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page p,
.home-page a,
.home-page span {
    letter-spacing: 0;
}

.home-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(660px, 82vh, 820px);
    padding: calc(var(--header-height, 70px) + 4.7rem) 0 4.2rem;
    overflow: hidden;
    background: #071f32;
}

.home-hero__media,
.home-hero__media img,
.home-hero__veil {
    position: absolute;
    inset: 0;
}

.home-hero__media {
    z-index: -2;
}

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

.home-hero__veil {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(6, 28, 45, 0.91) 0%, rgba(7, 40, 59, 0.76) 38%, rgba(10, 95, 126, 0.28) 68%, rgba(0, 168, 150, 0.06) 100%),
        linear-gradient(180deg, rgba(6, 22, 35, 0.02) 0%, rgba(6, 22, 35, 0.44) 100%);
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.47fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: end;
}

.home-hero__content {
    max-width: 900px;
    color: #ffffff;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    color: #8ee4d9;
    font-size: 0.79rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: #d79a84;
}

.home-hero h1 {
    max-width: 940px;
    margin: 0 0 1.1rem;
    color: #ffffff;
    font-size: clamp(2.45rem, 4.75vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

@media (min-width: 641px) {
    html[lang="el"] .home-hero h1 {
        max-width: 980px;
        font-size: clamp(2.35rem, 4.25vw, 4.25rem);
    }
}

.home-hero__lede {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 1.65vw, 1.34rem);
    line-height: 1.72;
}

.home-hero__actions,
.home-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.85rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover,
.home-btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.home-btn--primary {
    color: #ffffff;
    background: #008f81;
    box-shadow: 0 14px 34px rgba(0, 143, 129, 0.32);
}

.home-btn--primary:hover,
.home-btn--primary:focus {
    color: #ffffff;
    background: #007c70;
}

.home-btn--light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.48);
}

.home-btn--light:hover,
.home-btn--light:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.home-btn--outline {
    color: #00509e;
    background: #ffffff;
    border-color: rgba(0, 80, 158, 0.22);
}

.home-btn--outline:hover,
.home-btn--outline:focus {
    color: #003d7a;
    border-color: rgba(0, 80, 158, 0.38);
    box-shadow: 0 12px 26px rgba(0, 80, 158, 0.13);
}

.home-hero-panel {
    padding: 1.25rem;
    color: #123653;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.home-hero-panel__logo,
.home-hero-panel img {
    width: 170px;
    max-width: 48%;
    height: auto;
    margin-bottom: 1rem;
}

.home-hero-panel__title {
    margin: 0;
    color: #173044;
    font-size: 1.04rem;
    line-height: 1.62;
}

.home-hero-panel__checks {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.home-hero-panel__checks span {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 0.6rem;
    align-items: start;
    color: #40586a;
    font-size: 0.95rem;
    line-height: 1.4;
}

.home-hero-panel__checks i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #006f66;
    background: #e6f6f3;
    border-radius: 50%;
    font-size: 0.75rem;
}

.home-quick {
    position: relative;
    z-index: 2;
    margin-top: -2.7rem;
}

.home-quick__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-quick__item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    min-height: 92px;
    padding: 1rem;
    color: #123653;
    background: #ffffff;
    border: 1px solid rgba(0, 80, 158, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 52, 84, 0.12);
}

.home-quick__item:hover,
.home-quick__item:focus {
    color: #00509e;
    transform: translateY(-2px);
}

.home-quick__item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #008f81;
    background: #e8f6f3;
    border-radius: 8px;
}

.home-quick__item span {
    font-weight: 900;
    line-height: 1.25;
}

.home-section {
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.home-section--white {
    background: #ffffff;
}

.home-section--soft {
    background: #eef6f3;
}

.home-section--ink {
    background: #071f32;
    color: #ffffff;
}

.home-section--compound {
    background: #f8f3ed;
}

.home-section--europe {
    background: #ffffff;
}

.home-section__header {
    max-width: 850px;
    margin: 0 auto clamp(2rem, 4vw, 3.3rem);
    text-align: center;
}

.home-section__header h2,
.home-compound__intro h2,
.home-split__copy h2,
.home-europe__copy h2,
.home-proof__panel h2,
.home-final h2 {
    margin: 0 0 0.9rem;
    color: #0e314c;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.home-section__header p,
.home-compound__intro p,
.home-split__copy p,
.home-europe__copy p,
.home-proof__panel p,
.home-final p,
.home-large-copy {
    color: #526a7b;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.74;
}

.home-section--ink .home-section__header h2,
.home-section--ink h3 {
    color: #ffffff;
}

.home-section--ink .home-section__header p,
.home-section--ink p {
    color: rgba(255, 255, 255, 0.78);
}

.home-grid {
    display: grid;
    gap: 1rem;
}

.home-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-card {
    min-height: 100%;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(0, 80, 158, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 52, 84, 0.08);
}

.home-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    color: #008f81;
    background: #e8f6f3;
    border-radius: 8px;
    font-size: 1.08rem;
}

.home-card h3 {
    margin-bottom: 0.65rem;
    color: #0e314c;
    font-size: 1.15rem;
}

.home-card p {
    margin-bottom: 0;
    color: #526a7b;
    font-size: 1rem;
    line-height: 1.62;
}

.home-compound {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.home-compound__intro {
    padding: clamp(1.2rem, 3vw, 2rem);
    background: #ffffff;
    border: 1px solid rgba(0, 80, 158, 0.1);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(0, 52, 84, 0.1);
}

.home-compound-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-compound-map a {
    display: flex;
    align-items: center;
    min-height: 74px;
    padding: 1rem;
    color: #123653;
    background: #ffffff;
    border: 1px solid rgba(0, 80, 158, 0.1);
    border-radius: 8px;
    font-weight: 900;
    line-height: 1.25;
    box-shadow: 0 14px 38px rgba(0, 52, 84, 0.07);
}

.home-compound-map a:hover,
.home-compound-map a:focus {
    color: #00509e;
    border-color: rgba(0, 168, 150, 0.34);
    transform: translateY(-2px);
}

.home-split,
.home-europe {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}

.home-media {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 52, 84, 0.18);
}

.home-media--editorial {
    min-height: 520px;
}

.home-media--tall {
    min-height: 560px;
}

.home-media__picture {
    display: block;
    height: 100%;
    min-height: inherit;
}

.home-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.home-list {
    display: grid;
    gap: 0.9rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.home-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    color: #40586a;
    line-height: 1.65;
}

.home-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-top: 0.1rem;
    color: #008f81;
    background: #e8f6f3;
    border-radius: 50%;
}

.home-pathway {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-step {
    min-height: 100%;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.home-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 1rem;
    color: #071f32;
    background: #d79a84;
    border-radius: 50%;
    font-weight: 900;
}

.home-step h3 {
    margin-bottom: 0.65rem;
    font-size: 1.08rem;
}

.home-step p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.62;
}

.home-europe {
    align-items: stretch;
}

.home-europe__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem) 0;
}

.home-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.home-stat-row div {
    min-height: 122px;
    padding: 1rem;
    background: #f4f8f7;
    border: 1px solid rgba(0, 80, 158, 0.1);
    border-radius: 8px;
}

.home-stat-row strong {
    display: block;
    color: #0e314c;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    line-height: 1;
}

.home-stat-row span {
    display: block;
    margin-top: 0.35rem;
    color: #526a7b;
    font-size: 0.9rem;
    line-height: 1.35;
}

.home-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-service {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.25rem;
    color: #526a7b;
    background: #ffffff;
    border: 1px solid rgba(0, 80, 158, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0, 52, 84, 0.08);
}

.home-service:hover,
.home-service:focus {
    color: #526a7b;
    border-color: rgba(0, 168, 150, 0.34);
    transform: translateY(-2px);
}

.home-service h3 {
    margin-bottom: 0.65rem;
    color: #0e314c;
    font-size: 1.12rem;
}

.home-service p {
    margin-bottom: 0;
    color: #526a7b;
    font-size: 0.98rem;
    line-height: 1.6;
}

.home-proof {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

.home-proof__panel {
    padding: clamp(1.2rem, 3vw, 1.7rem);
    background: #ffffff;
    border: 1px solid rgba(0, 80, 158, 0.12);
    border-radius: 8px;
}

.home-proof__panel h2 {
    text-align: left;
}

.home-partners {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 118px;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid rgba(0, 80, 158, 0.12);
    border-radius: 8px;
}

.home-partner img {
    max-width: 100%;
    width: auto;
    max-height: 62px;
    object-fit: contain;
    filter: saturate(0.9);
}

.home-final {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    color: #ffffff;
    background:
        linear-gradient(115deg, rgba(7, 31, 50, 0.98), rgba(7, 31, 50, 0.86)),
        #071f32;
}

.home-final__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.home-final h2 {
    color: #ffffff;
    text-align: left;
}

.home-final p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
}

.home-final__actions {
    display: grid;
    gap: 0.75rem;
}

@media (max-width: 1080px) {
    .home-quick__grid,
    .home-grid--4,
    .home-pathway,
    .home-partners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-hero {
        min-height: auto;
        padding: calc(var(--header-height, 60px) + 3.5rem) 0 3.5rem;
    }

    .home-hero__grid,
    .home-compound,
    .home-split,
    .home-europe,
    .home-proof,
    .home-final__inner {
        grid-template-columns: 1fr;
    }

    .home-hero-panel {
        max-width: 560px;
    }

    .home-media,
    .home-media--editorial,
    .home-media--tall {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .home-hero {
        padding: calc(var(--header-height, 60px) + 2.35rem) 0 1.75rem;
    }

    .home-hero__veil {
        background:
            linear-gradient(90deg, rgba(6, 28, 45, 0.9) 0%, rgba(7, 40, 59, 0.72) 58%, rgba(10, 95, 126, 0.24) 100%),
            linear-gradient(180deg, rgba(6, 22, 35, 0.18) 0%, rgba(6, 22, 35, 0.5) 100%);
    }

    .home-hero h1 {
        font-size: clamp(1.9rem, 8.6vw, 2.45rem);
        line-height: 1.03;
    }

    .home-hero__lede {
        font-size: 1rem;
        line-height: 1.58;
    }

    .home-hero-panel {
        display: none;
    }

    .home-hero__actions,
    .home-section__actions {
        flex-direction: column;
    }

    .home-btn {
        width: 100%;
    }

    .home-quick {
        margin-top: 0;
        padding: 0.75rem 0;
        background: #ffffff;
    }

    .home-quick__grid,
    .home-grid--4,
    .home-compound-map,
    .home-pathway,
    .home-services,
    .home-stat-row,
    .home-partners {
        grid-template-columns: 1fr;
    }

    .home-quick__item {
        min-height: 72px;
        box-shadow: none;
    }

    .home-section {
        padding: 3.35rem 0;
    }

    .home-media,
    .home-media--editorial,
    .home-media--tall {
        min-height: 280px;
    }

    .home-hero-panel img {
        width: 145px;
    }
}
