:root {
    --navy: #10253f;
    --navy-2: #183a5f;
    --orange: #ef6c2c;
    --orange-dark: #d7581c;
    --text: #172233;
    --muted: #667085;
    --line: #e6eaf0;
    --soft: #f5f8fb;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(16, 37, 63, .10);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: .25s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(16, 37, 63, .06);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, var(--orange), #f08d39);
    font-size: 25px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(239, 108, 44, .28);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    letter-spacing: .8px;
    color: var(--navy);
    font-size: 18px;
}

.brand-text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 600;
}

.main-nav > a {
    position: relative;
    padding: 29px 0 27px;
}

.main-nav > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: .2s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
    color: var(--orange);
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
    transform: scaleX(1);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
    padding: 8px 11px;
    background: var(--soft);
    border-radius: 999px;
    font-size: 12px;
}

.language-switcher a.active {
    color: var(--orange);
    font-weight: 800;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 42px;
    height: 42px;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--navy);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background:
        radial-gradient(circle at 80% 20%, rgba(239,108,44,.13), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.2px;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.12;
    letter-spacing: -1.8px;
}

.hero .lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    transition: .2s ease;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--line);
    background: #fff;
    color: var(--navy);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.btn-light {
    color: var(--navy);
    background: #fff;
}

.hero-visual {
    position: relative;
    min-height: 470px;
}

.main-visual {
    position: absolute;
    inset: 20px 20px 20px 40px;
    display: grid;
    place-items: center;
    border-radius: 34px;
    background: linear-gradient(145deg, var(--navy), var(--navy-2));
    box-shadow: 0 30px 80px rgba(16, 37, 63, .25);
    overflow: hidden;
}

.main-visual img {
    width: 88%;
}

.floating-stat {
    position: absolute;
    min-width: 160px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 16px;
    background: rgba(255,255,255,.93);
    box-shadow: var(--shadow);
}

.floating-stat strong,
.floating-stat span {
    display: block;
}

.floating-stat strong {
    color: var(--orange);
}

.floating-stat span {
    color: var(--muted);
    font-size: 12px;
}

.stat-one {
    left: 0;
    top: 70px;
}

.stat-two {
    right: 0;
    bottom: 50px;
}

.section {
    padding: 90px 0;
}

.section-soft {
    background: var(--soft);
}

.section-dark {
    background: var(--navy);
    color: #fff;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading h2,
.content-panel h2,
.career-banner h2,
.contact-preview h2,
.info-card h2,
.contact-form h2,
.empty-state h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.2;
}

.section-heading p,
.content-panel p,
.career-banner p,
.contact-preview p,
.info-card p,
.empty-state p {
    color: var(--muted);
}

.section-heading.light h2,
.section-heading.light p {
    color: #fff;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.image-placeholder {
    min-height: 400px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(16,37,63,.92), rgba(24,58,95,.84)),
        linear-gradient(45deg, #dfe8f1, #fff);
    color: #fff;
    box-shadow: var(--shadow);
}

.image-placeholder span {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
}

.image-placeholder small {
    opacity: .72;
}

.text-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--orange);
    font-weight: 800;
}

.feature-grid,
.product-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card,
.product-card,
.news-card,
.info-card,
.contact-form,
.contact-details,
.empty-state {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 35px rgba(16, 37, 63, .05);
}

.feature-card {
    padding: 30px;
}

.icon-box,
.card-number {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(239,108,44,.10);
    color: var(--orange);
    font-weight: 800;
}

.feature-card h3,
.product-body h3,
.news-body h3 {
    margin: 0 0 10px;
    color: var(--navy);
}

.feature-card p,
.product-body p,
.news-body p {
    color: var(--muted);
}

.product-card {
    overflow: hidden;
}

.product-image {
    height: 230px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(16,37,63,.92), rgba(24,58,95,.78)),
        linear-gradient(45deg, #dbe5ef, #fff);
    color: rgba(255,255,255,.82);
}

.product-image span,
.news-thumb span {
    font-size: 46px;
    font-weight: 800;
}

.product-body {
    padding: 24px;
}

.product-body small,
.news-tag {
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.product-body a,
.news-body a {
    color: var(--orange);
    font-weight: 700;
}

.center-action {
    margin-top: 36px;
    text-align: center;
}

.news-card {
    overflow: hidden;
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    box-shadow: none;
}

.news-thumb {
    height: 190px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.72);
}

.news-body {
    padding: 24px;
}

.news-body h3 {
    color: #fff;
}

.news-body p {
    color: rgba(255,255,255,.72);
}

.news-card.light-card {
    background: #fff;
    border-color: var(--line);
    box-shadow: 0 12px 35px rgba(16,37,63,.05);
}

.news-card.light-card .news-thumb {
    background: var(--navy);
}

.news-card.light-card .news-body h3 {
    color: var(--navy);
}

.news-card.light-card .news-body p {
    color: var(--muted);
}

.career-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 52px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 20%, rgba(239,108,44,.22), transparent 24%),
        var(--soft);
}

.career-banner > div {
    max-width: 720px;
}

.section-contact-preview {
    padding-top: 0;
}

.contact-preview {
    border-top: 1px solid var(--line);
    padding-top: 70px;
}

.contact-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.contact-mini-grid div {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.contact-mini-grid strong,
.contact-mini-grid span {
    display: block;
}

.contact-mini-grid span {
    margin-top: 4px;
    color: var(--muted);
}

.page-hero {
    padding: 85px 0 70px;
    background: linear-gradient(180deg, #fff, var(--soft));
    text-align: center;
}

.page-hero .container {
    max-width: 820px;
}

.page-hero p:last-child {
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 18px;
}

.two-column-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.info-card {
    padding: 36px;
}

.info-card h2 {
    font-size: 28px;
}

.empty-state {
    max-width: 760px;
    margin: 0 auto;
    padding: 70px 40px;
    text-align: center;
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(239,108,44,.1);
    color: var(--orange);
    font-size: 34px;
}

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
    align-items: start;
}

.contact-details,
.contact-form {
    padding: 34px;
}

.contact-detail {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.contact-detail strong,
.contact-detail span {
    display: block;
}

.contact-detail span {
    margin-top: 4px;
    color: var(--muted);
}

.map-placeholder {
    min-height: 210px;
    margin-top: 28px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    border-radius: 18px;
    background: var(--soft);
    color: var(--navy);
}

.map-placeholder span {
    color: var(--muted);
    font-size: 13px;
}

.contact-form label {
    display: block;
    margin-bottom: 18px;
}

.contact-form label span {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
    outline: none;
    transition: .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(239,108,44,.08);
}

.form-notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff6ef;
    color: #9a4b1d;
}

.site-footer {
    background: #0b1c30;
    color: rgba(255,255,255,.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr .9fr;
    gap: 60px;
    padding: 64px 0 44px;
}

.footer-brand .brand-text strong {
    color: #fff;
}

.footer-brand .brand-text small {
    color: rgba(255,255,255,.55);
}

.site-footer h4 {
    margin-top: 0;
    color: #fff;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin: 8px 0;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-bottom .container {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 82px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a {
        padding: 12px 8px;
    }

    .main-nav > a::after {
        display: none;
    }

    .language-switcher {
        margin: 8px 0 0;
        justify-content: center;
    }

    .hero-grid,
    .split-section,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-visual {
        min-height: 400px;
    }

    .feature-grid,
    .product-grid,
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand-text small {
        display: none;
    }

    .hero {
        padding: 48px 0 70px;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .hero .lead {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 310px;
    }

    .main-visual {
        inset: 10px;
    }

    .floating-stat {
        display: none;
    }

    .section {
        padding: 65px 0;
    }

    .feature-grid,
    .product-grid,
    .news-grid,
    .two-column-cards,
    .contact-mini-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .career-banner {
        padding: 34px 26px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        gap: 28px;
    }

    .footer-bottom .container {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}


/* Medical personnel confirmation modal */
body.modal-open {
    overflow: hidden;
}

.medical-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.medical-modal.show {
    display: flex;
}

.medical-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 32, .72);
    backdrop-filter: blur(3px);
}

.medical-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    padding: 52px 46px 46px;
    border: 1px solid rgba(239, 108, 44, .45);
    border-radius: 18px;
    background: #ffe0ad;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
    text-align: center;
}

.medical-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    color: rgba(16, 37, 63, .38);
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
}

.medical-modal-close:hover {
    color: var(--navy);
}

.medical-modal-illustration {
    width: 330px;
    max-width: 86%;
    min-height: 190px;
    margin: 0 auto 26px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 30%, rgba(88,168,235,.22), transparent 23%),
        radial-gradient(circle at 72% 30%, rgba(88,168,235,.18), transparent 25%),
        #fff;
    box-shadow: 0 10px 30px rgba(16,37,63,.08);
}

.medical-cross {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: rgba(74, 157, 225, .12);
    color: #4a9de1;
    font-size: 56px;
    font-weight: 500;
}

.medical-team span,
.medical-team strong {
    display: block;
}

.medical-team span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 2px;
}

.medical-team strong {
    margin-top: 2px;
    color: var(--navy);
    font-size: 20px;
}

.medical-modal-note {
    max-width: 620px;
    margin: 0 auto 28px;
    color: #242424;
    font-size: 18px;
    font-weight: 600;
}

.medical-modal-dialog h2 {
    max-width: 760px;
    margin: 0 auto;
    color: #161616;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.25;
}

.medical-modal-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 42px;
}

.btn-medical-yes,
.btn-medical-no {
    min-width: 150px;
    min-height: 64px;
    border-radius: 10px;
    font-size: 20px;
}

.btn-medical-yes {
    background: #f47b00;
    color: #fff;
}

.btn-medical-yes:hover {
    background: #da6e00;
}

.btn-medical-no {
    border-color: #d7dce2;
    background: #fff;
    color: #333;
}

.btn-medical-no:hover {
    border-color: var(--navy);
    color: var(--navy);
}

@media (max-width: 680px) {
    .medical-modal-dialog {
        padding: 44px 22px 30px;
    }

    .medical-modal-illustration {
        min-height: 155px;
        margin-bottom: 22px;
    }

    .medical-modal-note {
        font-size: 15px;
    }

    .medical-modal-actions {
        gap: 10px;
        margin-top: 28px;
    }

    .btn-medical-yes,
    .btn-medical-no {
        min-width: 120px;
        min-height: 54px;
        font-size: 17px;
    }
}
