﻿:root {
    --primary: #0f5b8d;
    --primary-dark: #0b4367;
    --accent: #7ecefd;
    --bg: #f7fbfe;
    --text: #183042;
    --muted: #5b6e7d;
    --border: #d7e7f2;
    --white: #ffffff;
    --shadow: 0 12px 32px rgba(15, 91, 141, 0.08);
    --shadow-soft: 0 6px 18px rgba(15, 91, 141, 0.08);
    --radius: 18px;
    --radius-sm: 12px;
    --max: 1180px;
}

/* Base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

iframe {
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.center {
    text-align: center;
}

.muted {
    color: var(--muted);
}

.lead {
    max-width: 840px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 1.05rem;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    margin-top: 0;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
    margin-bottom: 14px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

p {
    margin-top: 0;
    margin-bottom: 16px;
}

/* Header */
header {
    border-bottom: 1px solid var(--border);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}
@media (max-width: 720px) {
    header {
        position: static;
    }
}

.topbar,
.navwrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar {
    padding: 18px 0;
}

.navwrap {
    padding: 0 0 16px;
}

/*.brand img {
    max-height: 58px;
}*/

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    padding: 8px 0;
}

    .contact-pill:hover {
        text-decoration: none;
    }

    .contact-pill strong {
        display: block;
        font-size: 18px;
        color: var(--primary-dark);
        line-height: 1.2;
    }

/* Fancy nav buttons */
nav {
    width: 100%;
}

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    nav li {
        margin: 0;
    }

    nav a {
        display: inline-block;
        padding: 10px 16px;
        border-radius: 999px;
        background: linear-gradient(180deg, #f5fbff 0%, #e6f3fb 100%);
        color: var(--primary);
        font-weight: 700;
        font-size: 0.96rem;
        border: 1px solid #cfe5f3;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

        nav a:hover,
        nav a:focus {
            background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--white);
            border-color: var(--primary-dark);
            text-decoration: none;
            transform: translateY(-1px);
            box-shadow: 0 6px 14px rgba(15, 91, 141, 0.18);
        }

        nav a.active,
        nav a[aria-current="page"] {
            background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--white);
            border-color: var(--primary-dark);
        }

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid var(--primary-dark);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .btn:hover,
    .btn:focus {
        color: var(--white);
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(15, 91, 141, 0.16);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    border: 1px solid #b8d9ec;
    box-shadow: none;
}

    .btn-secondary:hover,
    .btn-secondary:focus {
        background: var(--white);
        color: var(--primary-dark);
        border-color: var(--primary);
    }

/* Hero */
.hero {
    background: linear-gradient( 90deg, rgba(238, 248, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 32%, rgba(255, 255, 255, 0.2) 68%, rgba(255, 255, 255, 0) 100% ), url("../img/SurgiCare_Software.jpg") calc(100% - 180px) center / contain no-repeat;
    padding: 60px 0 56px;
    min-height: 520px;
    display: flex;
    align-items: center;
}

    .hero .container > div {
        max-width: 700px;
    }

.eyebrow {
    display: inline-block;
    background: #dff1fd;
    color: var(--primary-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    border: 1px solid #c9e7f8;
}

.hero p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 34px 0;
}

.section-lg {
    padding: 56px 0;
}

.section-alt {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Grid systems */
.grid-4,
.grid-3,
.solutions-grid,
.testimonial-grid,
.faq-grid {
    display: grid;
    gap: 22px;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.solutions-grid {
    grid-template-columns: repeat(2, 1fr);
}

.testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
}

.faq-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Cards */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    height: 100%;
}

    .card p:last-child {
        margin-bottom: 0;
    }

.icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e8f5ff;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--primary-dark);
    border: 1px solid #d2eaf8;
}

/* KPI strip */
.kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.kpi {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    backdrop-filter: blur(2px);
}

    .kpi strong {
        display: block;
        font-size: 1.2rem;
        color: var(--primary-dark);
        margin-bottom: 6px;
    }

/* Video */
.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: #000;
    aspect-ratio: 16 / 9;
}

    .video-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* Review badges */
.logo-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
}

    .logo-badges a {
        display: inline-block;
        transition: transform 0.2s ease;
    }

        .logo-badges a:hover {
            transform: translateY(-2px);
        }

    .logo-badges img {
        border-radius: 10px;
    }

/* Testimonials */
blockquote {
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-style: normal;
}

    blockquote footer {
        margin-top: 14px;
        color: var(--text);
        font-weight: 700;
        border: 0;
        padding: 0;
        position: static;
        background: transparent;
    }

/* FAQ */
.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

/* CTA Band */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 24px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow);
}

    .cta-band h2 {
        color: var(--white);
        margin-bottom: 0;
    }

    .cta-band p {
        margin: 8px 0 0;
        color: rgba(255, 255, 255, 0.88);
    }

    .cta-band .btn {
        background: var(--white);
        color: var(--primary-dark);
        border-color: var(--white);
        box-shadow: none;
    }

        .cta-band .btn:hover,
        .cta-band .btn:focus {
            color: var(--primary-dark);
            background: #eef8ff;
        }

/* Footer */
footer {
    margin-top: 56px;
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 28px 0 40px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

    .footer-row p {
        margin: 0;
    }

.social {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .social a {
        display: inline-flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        background: #edf6fc;
        color: var(--primary);
        font-weight: 700;
        border: 1px solid #d3e6f3;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

        .social a:hover,
        .social a:focus {
            background: var(--primary);
            color: var(--white);
            text-decoration: none;
            transform: translateY(-1px);
        }

/* Utility helpers */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero {
        background: linear-gradient( 90deg, rgba(238, 248, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 100% ), url("../img/SurgiCare_Software.jpg") calc(100% - 100px) center / contain no-repeat;
    }
}

@media (max-width: 980px) {
    .grid-4,
    .grid-3,
    .solutions-grid,
    .testimonial-grid,
    .faq-grid,
    .kpi-strip {
        grid-template-columns: 1fr 1fr;
    }

    .header-actions {
        justify-content: flex-start;
    }

    .navwrap {
        padding-bottom: 14px;
    }

    .hero {
        min-height: auto;
        padding: 52px 0 48px;
        background: linear-gradient( 90deg, rgba(238, 248, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(255, 255, 255, 0.55) 100% ), url("../img/SurgiCare_Software.jpg") calc(100% - 30px) center / 52% auto no-repeat;
    }
}

@media (max-width: 720px) {
    .topbar,
    .navwrap,
    .cta-band,
    .footer-row {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar {
        padding-bottom: 12px;
    }

    .navwrap {
        padding-top: 0;
    }

    .hero {
        background: #eef8ff;
        padding: 44px 0;
    }

        .hero .container > div {
            max-width: 100%;
        }

        .hero p {
            font-size: 17px;
        }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid-4,
    .grid-3,
    .solutions-grid,
    .testimonial-grid,
    .faq-grid,
    .kpi-strip {
        grid-template-columns: 1fr;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        width: 100%;
        text-align: center;
    }

    .cta-band {
        text-align: left;
        padding: 26px;
    }

    .logo-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(var(--max), calc(100% - 20px));
    }

    .topbar {
        padding: 14px 0 10px;
    }

    .navwrap {
        padding-bottom: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .contact-pill strong {
        font-size: 16px;
    }

    .card {
        padding: 20px;
    }

    .kpi {
        padding: 16px;
    }
}

.page-hero {
    padding: 56px 0 48px;
    background: linear-gradient(180deg, #eef8ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero-copy {
    max-width: 820px;
}

.page-hero-about {
    background: linear-gradient(180deg, rgba(238,248,255,0.96) 0%, rgba(255,255,255,0.92) 100%);
}

.about-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

    .about-split.reverse {
        grid-template-columns: 0.9fr 1.1fr;
    }

.soft-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.feature-list {
    margin: 0;
    padding-left: 20px;
}

    .feature-list li {
        margin-bottom: 10px;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.team-card {
    text-align: center;
}

.about-highlights .card,
.careers-grid .card {
    height: 100%;
}

@media (max-width: 980px) {
    .about-split,
    .about-split.reverse,
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .about-split,
    .about-split.reverse,
    .team-grid {
        grid-template-columns: 1fr;
    }
}
.page-hero-contact {
    background: linear-gradient(180deg, #eef8ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.contact-form-card,
.info-card {
    height: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

    .form-field label {
        margin-bottom: 8px;
        font-weight: 700;
        color: var(--text);
    }

.form-field-full {
    grid-column: 1 / -1;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .form-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(15, 91, 141, 0.08);
    }

.form-textarea {
    resize: vertical;
    min-height: 180px;
}

.form-actions {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-submit {
    appearance: none;
}

.form-status {
    color: var(--primary-dark);
    font-weight: 700;
}

.contact-sidebar {
    display: grid;
    gap: 22px;
}

.contact-benefits-grid .card {
    height: 100%;
}

@media (max-width: 980px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .form-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

.page-hero-demo {
    background: linear-gradient(180deg, #eef8ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
}

.demo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.demo-benefits-card,
.demo-form-card {
    height: 100%;
}

.demo-benefit-group + .demo-benefit-group {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.check-list {
    margin: 0;
    padding-left: 20px;
}

    .check-list li {
        margin-bottom: 10px;
    }

.captcha-wrap {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f9fcff;
}

.demo-note {
    max-width: 980px;
    margin: 0 auto;
}

.active-cta {
    white-space: nowrap;
}

@media (max-width: 980px) {
    .demo-layout {
        grid-template-columns: 1fr;
    }
}
.page-hero-solutions {
    background: linear-gradient(180deg, #eef8ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.feature-card {
    display: flex;
    flex-direction: column;
}

.feature-card-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    background: #f8fbfe;
}

.feature-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.solution-faq-grid .card {
    height: 100%;
}

@media (max-width: 980px) {
    .feature-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-image {
        height: auto;
    }
}
.page-hero-minimal {
    padding-bottom: 28px;
}

.minimal-feature-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.minimal-feature-image {
    height: auto;
    max-height: 280px;
    object-fit: cover;
}

.return-link {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-weight: 700;
}

.compact-list li {
    margin-bottom: 4px;
}

@media (max-width: 980px) {
    .minimal-feature-layout {
        grid-template-columns: 1fr;
    }
}

.provider-showcase {
    margin-top: 26px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    box-shadow: var(--shadow);
}

.provider-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.provider-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f5fbff 0%, #e6f3fb 100%);
    border: 1px solid #cfe5f3;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.section-tight-top {
    padding-top: 18px;
}

.section-tight-bottom {
    padding-bottom: 18px;
}

@media (max-width: 720px) {
    .provider-showcase {
        padding: 20px;
    }

    .provider-pill-grid {
        gap: 10px;
        justify-content: flex-start;
    }

    .provider-pill {
        width: 100%;
        justify-content: flex-start;
    }
}


.solution-hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
}

.solution-hero-image-wrap {
    display: flex;
    justify-content: flex-end;
}

.solution-hero-image {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #fff;
}

@media (max-width: 980px) {
    .solution-hero-layout {
        grid-template-columns: 1fr;
    }

    .solution-hero-image-wrap {
        justify-content: flex-start;
    }

    .solution-hero-image {
        max-width: 280px;
    }
}

.subscription-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.subscription-summary-card,
.subscription-form-card {
    height: 100%;
}

.subscription-plan-box {
    margin: 22px 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.subscription-plan-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.subscription-plan-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.4;
}

.subscription-error {
    display: block;
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff3f3;
    border: 1px solid #efcaca;
    color: #b42318;
    font-weight: 700;
}

.payment-card-wrap {
    margin-top: 26px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #f9fcff;
}

.subscription-terms-wrap {
    margin-top: 22px;
    line-height: 1.6;
}

.subscription-note {
    margin-top: 22px;
}

@media (max-width: 980px) {
    .subscription-layout {
        grid-template-columns: 1fr;
    }
}

.success-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.success-main-card,
.success-side-card {
    height: 100%;
}

.success-actions {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .success-layout {
        grid-template-columns: 1fr;
    }
}

.policy-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.policy-main-card,
.policy-side-card {
    height: 100%;
}

    .policy-main-card h2,
    .policy-main-card h3 {
        margin-top: 24px;
    }

        .policy-main-card h2:first-child {
            margin-top: 0;
        }

@media (max-width: 980px) {
    .policy-layout {
        grid-template-columns: 1fr;
    }
}
.error-actions-wrap {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-links-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
    .error-links-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .error-links-grid {
        grid-template-columns: 1fr;
    }
}