/* ----- hero ----- */
.hero {
    min-height: 650px;
    background:
        linear-gradient(
            90deg,
            rgba(7, 22, 30, 0.98) 0%,
            rgba(7, 22, 30, 0.92) 28%,
            rgba(7, 22, 30, 0.65) 52%,
            rgba(7, 22, 30, 0.20) 78%,
            rgba(7, 22, 30, 0.10) 100%
        ),
        url("/images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 620px;
    padding: 6rem 0;
}

.hero-eyebrow {
    margin-bottom: 1rem;

    color: var(--z-cyan);

    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 1.5rem;

    color: var(--z-text);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-tagline {
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;

    color: var(--z-text);

    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 500;
    line-height: 1.3;
}

.hero-description {
    max-width: 540px;
    margin-bottom: 2rem;

    color: var(--z-text-muted);

    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ----- Security-Driven IT ----- */
.security-driven {
    padding: 7rem 0;
    background-color: var(--z-bg-dark);
}

.security-driven-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 6rem;
    align-items: start;
}

.security-driven h2 {
    margin: 0;

    color: var(--z-text);

    font-size: clamp(2rem, 2.7vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.security-driven-statement {
    margin: 0;
    padding-left: 1.5rem;

    border-left: 3px solid var(--z-orange);

    color: var(--z-text);

    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
}

.security-driven-statement span {
    color: var(--z-cyan);
    font-weight: 700;
}

/* ----- Service cards ----- 
.service-card-cyber::before {
    background-color: var(--z-cyan);
    -webkit-mask-image: url("/images/index/shield_with_lock.png");
    mask-image: url("/images/index/shield_with_lock.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.service-card-managedIT::before {
    background-color: var(--z-cyan);
    -webkit-mask-image: url("/images/index/monitor_with_cog.png");
    mask-image: url("/images/index/monitor_with_cog.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.service-card-compliance::before {
    background-color: var(--z-cyan);
    -webkit-mask-image: url("/images/index/clipboard_filled.png");
    mask-image: url("/images/index/clipboard_filled.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.service-card-voice::before {
    background-color: var(--z-cyan);
    -webkit-mask-image: url("/images/index/phone_calling.png");
    mask-image: url("/images/index/phone_calling.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}*/

/* ----- Healthcare+ ----- */
.healthcare-feature {
    padding: 7rem 0;
    background:
        linear-gradient(
            120deg,
            var(--z-bg-navy) 0%,
            var(--z-bg-dark) 65%
        );
    border-top: 1px solid var(--z-border);
    border-bottom: 1px solid var(--z-border);
}

.healthcare-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 6rem;
    align-items: center;
}

.healthcare-feature-content {
    max-width: 650px;
}

.healthcare-feature-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.healthcare-feature-details {
    border-top: 1px solid var(--z-border);
}

.healthcare-detail {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 1rem;
    align-items: center;

    padding: 2rem 0;

    border-bottom: 1px solid var(--z-border);
}

.healthcare-detail span {
    color: var(--z-cyan);

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.healthcare-detail p {
    margin: 0;

    color: var(--z-text);

    font-size: 1.1rem;
    font-weight: 500;
}

/* ----- Why Zanarkand ----- */
.why-zanarkand {
    padding: 7rem 0;
    background-color: var(--z-bg-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 6rem;
    align-items: start;
}

.why-heading {
    max-width: 540px;
}

.why-details {
    border-top: 1px solid var(--z-border);
}

.why-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 1rem;

    padding: 1.5rem 0;

    border-bottom: 1px solid var(--z-border);
}

.why-item > span {
    color: var(--z-cyan);

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.why-item h3 {
    margin: 0 0 0.5rem;

    color: var(--z-text);

    font-size: 1.25rem;
    font-weight: 700;
}

.why-item p {
    margin: 0;

    color: var(--z-text-muted);

    line-height: 1.7;
}

/* ----- Final CTA ----- */
.final-cta {
    padding: 8rem 0;

    background:
        linear-gradient(
            110deg,
            #102A36 0%,
            #153C50 50%,
            #07161E 100%
        );

    border-top: 1px solid var(--z-border);
}

.final-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 6rem;
    align-items: center;
}

.final-cta-accent {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.final-cta-shield {
    width: min(320px, 70%);
    aspect-ratio: 1 / 1;
    
    background-color: var(--z-cyan);
    -webkit-mask-image: url("/images/logo_shield.svg");
    mask-image: url("/images/logo_shield.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    
    opacity: 0.4;
}

.cta-line {
    width: 65%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(68, 176, 215, 0.35)
    );
}

.final-cta-content {
    max-width: 650px;
}

.final-cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;

    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .hero {
        min-height: 600px;
        background-position: 58% center;
    }

    .hero-content {
        max-width: 580px;
        padding: 5.5rem 0;
    }

    .security-driven-grid,
    .healthcare-feature-grid,
    .why-grid,
    .final-cta-grid {
        gap: 4rem;
    }

    .final-cta-shield {
        width: min(280px, 75%);
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: 560px;
        background:
            linear-gradient(
                90deg,
                rgba(7, 22, 30, 0.98) 0%,
                rgba(7, 22, 30, 0.94) 38%,
                rgba(7, 22, 30, 0.72) 68%,
                rgba(7, 22, 30, 0.34) 100%
            ),
            url("/images/hero.jpg");
        background-size: cover;
        background-position: 62% center;
    }

    .hero-content {
        max-width: 560px;
        padding: 5rem 0;
    }

    .security-driven,
    .healthcare-feature,
    .why-zanarkand {
        padding: 5.5rem 0;
    }

    .final-cta {
        padding: 6rem 0;
    }

    .security-driven-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .healthcare-feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .healthcare-feature-content {
        max-width: 720px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-heading {
        max-width: 680px;
    }

    .final-cta-grid {
        grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr);
        gap: 3rem;
    }

    .final-cta-shield {
        width: min(240px, 85%);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        background:
            linear-gradient(
                180deg,
                rgba(7, 22, 30, 0.97) 0%,
                rgba(7, 22, 30, 0.93) 58%,
                rgba(7, 22, 30, 0.78) 100%
            ),
            url("/images/hero.jpg");
        background-size: cover;
        background-position: 68% center;
    }

    .hero-content {
        max-width: 100%;
        padding: 4.5rem 0;
    }

    .hero-eyebrow {
        margin-bottom: 0.85rem;
        font-size: 0.8rem;
        letter-spacing: 0.12em;
    }

    .hero h1 {
        margin-bottom: 1.25rem;
        font-size: clamp(2.5rem, 10vw, 3.6rem);
    }

    .hero-tagline {
        margin-top: 0;
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .hero-description {
        max-width: 100%;
        font-size: 1.05rem;
    }

    .hero-actions,
    .healthcare-feature-actions,
    .final-cta-actions {
        align-items: stretch;
    }

    .security-driven,
    .healthcare-feature,
    .why-zanarkand {
        padding: 4.5rem 0;
    }

    .security-driven-grid,
    .healthcare-feature-grid,
    .why-grid,
    .final-cta-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .security-driven-heading {
        order: 1;
    }

    .security-driven-copy {
        order: 2;
    }

    .security-driven-statement {
        padding-left: 1.1rem;
        font-size: 1.2rem;
    }

    .healthcare-feature-content {
        order: 1;
    }

    .healthcare-feature-details {
        order: 2;
    }

    .healthcare-detail,
    .why-item {
        grid-template-columns: 42px 1fr;
        gap: 0.85rem;
    }

    .healthcare-detail {
        padding: 1.5rem 0;
    }

    .healthcare-detail p {
        font-size: 1rem;
    }

    .why-item {
        padding: 1.5rem 0;
    }

    .final-cta {
        padding: 5rem 0;
    }

    .final-cta-accent {
        justify-content: center;
        order: 2;
    }

    .final-cta-content {
        max-width: 100%;
        order: 1;
    }

    .final-cta-shield {
        width: min(220px, 55vw);
    }

    .cta-line {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 3.75rem 0;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 11vw, 3rem);
        line-height: 1.02;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-actions,
    .healthcare-feature-actions,
    .final-cta-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .z-btn,
    .healthcare-feature-actions .z-btn,
    .final-cta-actions .z-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .security-driven,
    .healthcare-feature,
    .why-zanarkand {
        padding: 3.75rem 0;
    }

    .security-driven-grid,
    .healthcare-feature-grid,
    .why-grid,
    .final-cta-grid {
        gap: 2rem;
    }

    .security-driven h2 {
        font-size: 2rem;
    }

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

    .security-driven-statement {
        padding-left: 1rem;
        font-size: 1.1rem;
        line-height: 1.45;
    }

    .healthcare-detail {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 0.75rem;
        align-items: center;
    }

    .healthcare-detail span {
        align-self: center;
    }

    .healthcare-detail p {
        margin: 0;
    }

    .why-item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 0.75rem;
        align-items: start;
    }

    .why-item > span {
        padding-top: 0.2rem;
    }

    .why-item h3 {
        margin: 0 0 0.5rem;
        font-size: 1.15rem;
    }

    .why-item p {
        margin: 0;
    }

    .healthcare-detail span,
    .why-item > span {
        font-size: 0.75rem;
    }

    .final-cta {
        padding: 4rem 0;
    }

    .final-cta-shield {
        width: min(180px, 50vw);
    }

    .cta-line {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .hero-content {
        padding: 3.25rem 0;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .security-driven,
    .healthcare-feature,
    .why-zanarkand {
        padding: 3.25rem 0;
    }

    .final-cta {
        padding: 3.5rem 0;
    }

    .security-driven h2 {
        font-size: 1.85rem;
    }

    .security-driven-statement {
        font-size: 1.05rem;
    }
}