:root {
    --ahms-primary: #176b55;
    --ahms-primary-dark: #0f4f3f;
    --ahms-secondary: #d89b35;
    --ahms-text: #24312d;
    --ahms-muted: #68746f;
    --ahms-light: #f5f8f6;
    --ahms-white: #ffffff;
    --ahms-border: #dfe7e3;
    --ahms-dark: #10231d;
    --ahms-radius: 18px;
    --ahms-shadow: 0 12px 35px rgba(16,35,29,.08);
}

h1{
    font-size: clamp(1.5rem, 3vw, 3.5rem);
}

h2{
    font-size: clamp(1.3rem, 2.5vw, 2.5rem);
}

h3{
    font-size: clamp(1.1rem, 2vw, 2rem);
}

.ahms-section {
    padding: 60px 20px 40px;
}

.ahms-section-light {
    background: var(--ahms-light);
}

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

.ahms-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(23,107,85,.09);
    color: var(--ahms-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ahms-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ahms-secondary);
}

.ahms-heading {
    max-width: 800px;
    margin-bottom: 48px;
}

.ahms-heading h2 {
    margin: 0 0 15px;
    line-height: 1.15;
    letter-spacing: -.025em;
    color: var(--ahms-dark);
}

.ahms-heading p {
    margin: 0;
    color: var(--ahms-muted);
    font-size: 1.05rem;
}


.ahms-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 20px 40px;
    background:
        radial-gradient(circle at 85% 20%,rgba(216,155,53,.16),transparent 28%),
        linear-gradient(135deg,#f4faf7 0%,#ffffff 58%,#f8f4ea 100%);
}

.ahms-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -170px;
    bottom: -180px;
    border: 70px solid rgba(23,107,85,.05);
    border-radius: 50%;
}

.ahms-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
}

.ahms-hero h1 {
    margin: 0 0 25px;
    line-height: 1.02;
    letter-spacing: -.045em;
    color: var(--ahms-dark);
}

.ahms-hero h1 em {
    color: var(--ahms-primary);
    font-style: normal;
}

.ahms-hero-description {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: 1.18rem;
    color: #4d5d57;
}

.ahms-hero-support {
    max-width: 720px;
    margin: 0 0 32px;
    color: var(--ahms-muted);
}

.ahms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.cms-hero-actions button{
    font-size: 1rem;
    letter-spacing: 2px;
}

.ahms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 750;
    transition: .2s ease;
}

.ahms-btn-primary {
    background: var(--ahms-primary);
    color: #fff;
    border: none;
}

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

.ahms-btn-secondary {
    border: 1px solid var(--ahms-border);
    background: #fff;
    color: var(--ahms-primary);
}

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

.ahms-hero-panel {
    padding: 20px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(23,107,85,.13);
    border-radius: 20px;
    box-shadow: var(--ahms-shadow);
    backdrop-filter: blur(8px);
}

.ahms-hero-panel h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: var(--ahms-dark);
}

.ahms-feature-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ahms-feature-list li {
    position: relative;
    padding: 0 0 0 40px;
    /* background: #f5f8f6; */
    /* border-radius: 10px; */
    font-weight: 650;
}

.ahms-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    color: var(--ahms-primary);
    font-weight: 900;
}

/* =====================================================
    INTRO
====================================================== */

.ahms-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.ahms-intro-card {
    padding: 32px;
    border: 1px solid var(--ahms-border);
    border-radius: var(--ahms-radius);
    background: #fff;
    box-shadow: 0 8px 25px rgba(16,35,29,.04);
}

.ahms-intro-card h3 {
    margin: 0 0 12px;
    color: var(--ahms-dark);
}

.ahms-intro-card p {
    margin: 0;
    color: var(--ahms-muted);
}

/* =====================================================
    MODULE GRID
====================================================== */

.ahms-module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ahms-module-card {
    padding: 27px;
    background: #fff;
    border: 1px solid var(--ahms-border);
    border-radius: var(--ahms-radius);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ahms-module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ahms-shadow);
}

.ahms-module-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: rgba(23,107,85,.09);
    color: var(--ahms-primary);
    font-size: .82rem;
    font-weight: 850;
}

.ahms-module-card h3 {
    margin: 0 0 9px;
    color: var(--ahms-dark);
}

.ahms-module-card p {
    margin: 0;
    color: var(--ahms-muted);
    font-size: .95rem;
}

/* =====================================================
    CLINICAL WORKFLOW
====================================================== */

.ahms-workflow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.ahms-workflow-step {
    position: relative;
    padding: 25px 20px;
    background: #fff;
    border: 1px solid var(--ahms-border);
    border-radius: 15px;
    text-align: center;
}

.ahms-workflow-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -19px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ahms-secondary);
    font-size: 1.5rem;
    font-weight: 900;
    z-index: 2;
}

.ahms-workflow-step strong {
    display: block;
    color: var(--ahms-dark);
}

.ahms-workflow-step span {
    display: block;
    margin-top: 6px;
    color: var(--ahms-muted);
    font-size: .88rem;
}

.ahms-check-grid {
    display: grid;
    max-width: 800px;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 11px;
    margin-top: 20px;
}

.ahms-intro-card .ahms-check-grid{
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.ahms-check {
    padding: 12px 14px;
    background: #f5f8f6;
    border-radius: 9px;
    font-weight: 650;
    font-size: .92rem;
    background: #cde0d3a8;    
}

.ahms-intro-card .ahms-check-grid .ahms-check{
    padding: 0;
    background: none;
}

.ahms-check::before {
    content: "✓";
    margin-right: 8px;
    color: var(--ahms-primary);
    font-weight: 900;
}

/* =====================================================
    REPORTING
====================================================== */

.ahms-report-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.ahms-report-item {
    padding: 20px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid var(--ahms-border);
    font-weight: 700;
}

/* =====================================================
    DEPLOYMENT
====================================================== */

.ahms-deployment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ahms-deployment-card {
    padding: 30px;
    border-radius: var(--ahms-radius);
    background: #fff;
    border: 1px solid var(--ahms-border);
}

.ahms-deployment-card h3 {
    margin: 0 0 10px;
    color: var(--ahms-dark);
}

.ahms-deployment-card p {
    margin: 0;
    color: var(--ahms-muted);
}

/* =====================================================
    SCREENSHOTS
====================================================== */

.ahms-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ahms-screenshot-card {
    margin: 0;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid var(--ahms-border);
    background: #fff;
    box-shadow: 0 8px 25px rgba(16,35,29,.05);
}

.ahms-screenshot-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ahms-screenshot-card figcaption {
    padding: 15px 17px;
    font-weight: 700;
    color: var(--ahms-dark);
}

/* =====================================================
    LOCATION
====================================================== */

.ahms-location {
    max-width: 850px;
}

.ahms-location h2 {
    margin: 0 0 18px;
    color: #fff;
    line-height: 1.15;
}

.ahms-location p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 1.05rem;
}

/* =====================================================
    FAQ
====================================================== */

.ahms-faq {
    max-width: 900px;
}

.ahms-faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--ahms-border);
    border-radius: 13px;
    background: #fff;
    overflow: hidden;
}

.ahms-faq-item summary {
    cursor: pointer;
    padding: 20px 22px;
    list-style: none;
    font-weight: 750;
    color: var(--ahms-dark);
}

.ahms-faq-item summary::-webkit-details-marker {
    display: none;
}

.ahms-faq-item summary::after {
    content: "+";
    float: right;
    font-size: 1.25rem;
    color: var(--ahms-primary);
}

.ahms-faq-item[open] summary::after {
    content: "−";
}

.ahms-faq-item p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--ahms-muted);
}

/* =====================================================
    CTA
====================================================== */

.ahms-cta {
    padding: 85px 0;
    background:linear-gradient(135deg,var(--ahms-primary-dark),var(--ahms-primary));
    color: #fff;
}

.ahms-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 35px;
    align-items: center;
}

.ahms-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    line-height: 1.1;
}

.ahms-cta p {
    max-width: 750px;
    margin: 0;
    color: rgba(255,255,255,.78);
}

.ahms-cta .ahms-btn {
    background: #fff;
    color: var(--ahms-primary);
    border: none;
    cursor: pointer;
}

/* =====================================================
    RESPONSIVE
====================================================== */

@media (max-width: 1000px) {

    .ahms-hero-grid, .ahms-deployment-grid, .ahms-cta-inner{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ahms-module-grid, .ahms-report-grid, .ahms-screenshot-grid, .ahms-workflow {
        grid-template-columns: repeat(2, 1fr);
    }

    .ahms-workflow-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 700px) {
    .ahms-hero, .ahms-section, .ahms-cta {
        padding: 30px 18px 20px;
    }

    .ahms-heading{
        margin-bottom: 10px;
    }

    .ahms-module-grid,
    .ahms-intro-grid,
    .ahms-screenshot-grid,
    .ahms-workflow,
    .ahms-check-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ahms-intro-card, .ahms-module-card{
        padding: 20px;
    }

    .ahms-module-card .ahms-module-number{
        margin-right: 5px;
    }
    .ahms-module-card h3{
        display: inline-block;
    }

    .ahms-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ahms-btn {
        width: 100%;
    }

    .ahms-report-grid{
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 20px;
        background: #c8d4d1a9;
        border-radius: 20px;
    }

    .ahms-report-item{
        padding: 0;
        border: none;
        background: none;
    }
    .ahms-deployment-card{
        padding: 20px;
    }


}