
:root {
    --blue: #087ea4;
    --blue-dark: #075d7b;
    --cyan: #11b7d4;
    --green: #80c342;
    --dark: #16323d;
    --text: #50636b;
    --light: #f4f9fa;
    --white: #ffffff;
    --border: #e5edef;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* =========================
   TOP BAR
========================= */

.topbar {
    background: var(--dark);
    color: #dce9ed;
    font-size: 14px;
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.topbar span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.topbar strong {
    color: #fff;
}

/* =========================
   HEADER
========================= */

.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 20;
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 48px;
    height: 48px;
    border: 5px solid var(--blue);
    border-radius: 10px 3px 10px 3px;
    position: relative;
    transform: rotate(-8deg);
}

.logo-mark:after {
    content: "";
    position: absolute;
    width: 18px;
    height: 7px;
    background: var(--green);
    right: -8px;
    bottom: 4px;
    transform: rotate(-35deg);
}

.logo-text {
    line-height: 1;
}

.logo-text strong {
    display: block;
    color: var(--blue);
    font-size: 29px;
    letter-spacing: -1px;
}

.logo-text small {
    display: block;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 4px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    transition: .2s;
}

.navigation a:hover {
    color: var(--blue);
}

.navigation .nav-button {
    color: #fff;
    background: var(--blue);
    padding: 12px 20px;
    border-radius: 5px;
}

.navigation .nav-button:hover {
    background: var(--blue-dark);
    color: #fff;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(5, 35, 46, .90) 0%,
            rgba(5, 35, 46, .72) 42%,
            rgba(5, 35, 46, .18) 75%,
            rgba(5, 35, 46, .05) 100%
        ),
        url("https://www.medical-ks.com/images/2025/12/medical-cover-1110x500.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    padding: 90px 0;
}

.hero-copy {
    max-width: 680px;
    padding: 2em;
    background: #00000082;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d8f5fb;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-kicker:before {
    content: "";
    width: 30px;
    height: 3px;
    background: var(--green);
}

.hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.hero h1 span {
    color: #9bd34f;
}

.hero h2 {
    margin: 22px 0 18px;
    color: #fff;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 400;
}

.hero p {
    margin: 0;
    max-width: 620px;
    color: #e4f0f3;
    font-size: 18px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    transition: .2s;
}

.button-primary {
    background: var(--green);
    color: #fff;
}

.button-primary:hover {
    background: #6cab31;
}

.button-light {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
}

.button-light:hover {
    background: #fff;
    color: var(--dark);
}

/* =========================
   INTRO
========================= */

.intro {
    padding: 90px 0 70px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 70px;
    align-items: center;
}

.section-label {
    color: var(--blue);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 12px;
}

.intro h2 {
    color: var(--dark);
    font-size: 38px;
    line-height: 1.15;
    margin: 0;
}

.intro-text {
    font-size: 17px;
    line-height: 1.8;
}

.intro-text p {
    margin: 0 0 15px;
}

/* =========================
   SERVICES
========================= */

.services {
    background: var(--light);
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-heading h2 {
    margin: 0 0 13px;
    color: var(--dark);
    font-size: 39px;
    line-height: 1.15;
}

.section-heading p {
    margin: 0;
    font-size: 17px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 35px 28px;
    min-height: 250px;
    position: relative;
    transition: .25s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(15, 55, 66, .10);
}

.service-type{
    color: var(--green);
    font-weight: 800;
    margin-bottom: 30px;
    font-size: 50px;
    line-height: 1;
}

.service-card h3 {
    color: var(--dark);
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 14px;
}

.service-card p {
    font-size: 15px;
    margin: 0 0 22px;
}

.service-link {
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}

/* =========================
   HIGHLIGHTS
========================= */

.highlights {
    padding: 75px 0;
    background: var(--blue);
    color: #fff;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.highlight {
    padding: 10px 20px;
    border-right: 1px solid rgba(255,255,255,.20);
}

.highlight:last-child {
    border-right: 0;
}

.highlight strong {
    display: block;
    font-size: 30px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 8px;
}

.highlight span {
    color: #d5edf3;
    font-size: 14px;
}

/* =========================
   NEWS
========================= */

.news {
    padding: 95px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    border: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
    transition: .2s;
}

.news-card:hover {
    box-shadow: 0 15px 35px rgba(15,55,66,.10);
}

.news-image {
    height: 210px;
    background-size: cover;
    background-position: center;
}

.news-body {
    padding: 25px;
}

.news-date {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.news-card h3 {
    color: var(--dark);
    font-size: 21px;
    line-height: 1.3;
    margin: 10px 0;
}

.news-card p {
    font-size: 14px;
    margin: 0;
}

/* =========================
   TEAM
========================= */

.team {
    padding: 95px 0;
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    background: #fff;
    padding: 25px;
    border: 1px solid var(--border);
}

.team-photo {
    height: 220px;
    background: #eaf2f4;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.team-card h3 {
    color: var(--dark);
    margin: 0 0 5px;
    font-size: 18px;
}

.team-card p {
    color: var(--blue);
    font-size: 14px;
    margin: 0;
}

/* =========================
   CTA
========================= */

.cta {
    padding: 90px 0;
    background:
        linear-gradient(110deg, rgba(4,55,70,.96), rgba(5,116,145,.92));
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta h2 {
    color: #fff;
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 12px;
}

.cta p {
    color: #d9eef2;
    margin: 0;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #102b34;
    color: #b9cbd0;
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 45px;
}

.footer h3 {
    color: #fff;
    margin: 0 0 18px;
    font-size: 18px;
}

.footer p {
    margin: 0 0 8px;
    font-size: 14px;
}

.footer-links {
    display: grid;
    gap: 9px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .navigation {
        gap: 17px;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 760px) {

    .topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .topbar-inner span:first-child {
        display: none;
    }

    .header-inner {
        min-height: 75px;
    }

    .navigation {
        display: none;
    }

    .hero {
        min-height: 610px;
        background-position: 63% center;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 47px;
    }

    .hero p {
        font-size: 16px;
    }

    .services-grid,
    .news-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight {
        border-right: 0;
    }

    .cta-inner {
        display: block;
    }

    .cta .button {
        margin-top: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 480px) {

    .container,
    .hero-content {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        min-height: 590px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero h2 {
        font-size: 23px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .intro h2,
    .cta h2 {
        font-size: 31px;
    }
}

/* STAFF PAGE */

.staff-page {
    padding: 90px 0 110px;
}

.staff-page .section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.staff-page .section-heading h1 {
    margin-bottom: 18px;
}

.staff-page .section-heading p {
    max-width: 680px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.staff-card {
    background: #fff;
    border: 1px solid #e7edf0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,.08);
}

.staff-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eef5f6;
}

.staff-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.staff-content {
    padding: 24px 25px 26px;
}

.staff-content h2 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.25;
}

.staff-content p {
    margin: 0;
    color: #66747b;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 900px) {

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .staff-page {
        padding: 65px 0 80px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

}