/**
 * For Virksomheder Page Styles (pro-defence-theme)
 * Clean section-by-section architecture matching Figma 04 For Virksomheder (Node 42:5)
 */

/* ==========================================================================
   Sektion 1: Hero Section (Node ID: 42:18)
   Background: Hvid (#ffffff)
   ========================================================================== */
.companies-hero {
    background-color: #ffffff;
    padding-top: 120px;
    padding-bottom: 120px;
}

.companies-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(32rem, 42rem);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

@media (max-width: 991px) {
    .companies-hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
}

.companies-hero__content {
    max-width: 640px;
}

@media (max-width: 991px) {
    .companies-hero__content {
        margin-left: auto;
        margin-right: auto;
    }
}

.companies-hero__title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--color-navy-900, #0f1c2e);
}

.companies-hero__description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 400;
    color: var(--color-slate-500, #525f70);
    line-height: 1.6;
    margin-bottom: 36px;
}

.companies-hero__actions {
    display: flex;
    gap: 16px;
}

.companies-hero__actions .button--outline {
    border: 1.5px solid var(--color-navy-900, #0f1c2e);
    color: var(--color-navy-900, #0f1c2e);
    background-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.companies-hero__actions .button--outline:hover,
.companies-hero__actions .button--outline:focus-visible {
    background-color: var(--color-navy-900, #0f1c2e);
    color: #ffffff;
}

@media (max-width: 991px) {
    .companies-hero__actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .companies-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .companies-hero__actions .button {
        width: 100%;
    }
}

/* Hero Image */
.companies-hero__media {
    width: 100%;
}

.companies-hero__visual {
    --feature-media-aspect-ratio: 4 / 3;
}

.companies-hero__image {
    object-fit: cover;
}


/* ==========================================================================
   Sektion 2: Intro Section (Node ID: 42:31)
   Background: Lys blå-grå (#eef3fa)
   ========================================================================== */
.companies-intro {
    background-color: var(--color-bg-light, #eef3fa);
    padding-top: 100px;
    padding-bottom: 100px;
}

.companies-intro__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.companies-intro__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin-bottom: 24px;
    line-height: 1.25;
}

.companies-intro__description {
    font-size: 1.125rem;
    color: var(--color-slate-500, #525f70);
    line-height: 1.6;
    margin: 0;
}


/* ==========================================================================
   Sektion 3: Delivery Models Section (Node ID: 42:34)
   Background: Ren Hvid (#ffffff)
   ========================================================================== */
.companies-delivery {
    background-color: #ffffff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.companies-delivery__header {
    text-align: center;
    margin-bottom: 48px;
}

.companies-delivery__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
    text-align: center;
}

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

@media (max-width: 991px) {
    .companies-delivery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .companies-delivery__grid {
        grid-template-columns: 1fr;
    }
}

.companies-delivery__card {
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
}

.companies-delivery__card-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin-bottom: 16px;
}

.companies-delivery__card-description {
    font-size: 0.9375rem;
    color: var(--color-slate-500, #525f70);
    line-height: 1.5;
    margin-bottom: 24px;
}

.companies-delivery__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.companies-delivery__tag {
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    color: var(--color-slate-500, #525f70);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
}

.companies-delivery__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-teal-500, #00a0a2);
    text-decoration: none;
    transition: color 0.15s ease;
    margin-top: auto;
}

.companies-delivery__link:hover,
.companies-delivery__link:focus-visible {
    color: #00898b;
    text-decoration: underline;
}

.companies-delivery__arrow {
    font-size: 1.125rem;
}


/* ==========================================================================
   Sektion 4: Why Section (Node ID: 42:100)
   Background: Lys blå-grå (#eef3fa)
   ========================================================================== */
.companies-why {
    background-color: var(--color-bg-light, #eef3fa);
    padding-top: 100px;
    padding-bottom: 100px;
}

.companies-why__header {
    text-align: center;
    margin-bottom: 48px;
}

.companies-why__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
    text-align: center;
}

.companies-why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .companies-why__grid {
        grid-template-columns: 1fr;
    }
}

.companies-why__card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.companies-why__card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.companies-why__icon-wrapper {
    color: var(--color-teal-500, #00a0a2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.companies-why__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}

.companies-why__card-description {
    font-size: 0.9375rem;
    color: var(--color-slate-500, #525f70);
    line-height: 1.5;
    margin: 0;
}


/* ==========================================================================
   Sektion 5: Process Section (Node ID: 42:125)
   Background: Ren Hvid (#ffffff)
   ========================================================================== */
.companies-process {
    background-color: #ffffff;
    padding-top: 120px;
    padding-bottom: 120px;
}

.companies-process__header {
    text-align: center;
    margin-bottom: 64px;
}

.companies-process__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}

.companies-process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .companies-process__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .companies-process__steps {
        grid-template-columns: 1fr;
    }
}

.companies-process__step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.companies-process__number {
    font-size: 4.5rem;
    font-weight: 700;
    color: #dde8f4;
    line-height: 1;
}

.companies-process__step-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.companies-process__step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0 0 8px 0 !important;
}

.companies-process__step-description {
    font-size: 0.875rem;
    color: var(--color-slate-500, #525f70);
    line-height: 1.5;
    margin: 0;
}


/* ==========================================================================
   Sektion 6: Competences Section (Node ID: 42:148)
   Background: Lys blå-grå (#eef3fa)
   ========================================================================== */
.companies-competences {
    background-color: var(--color-bg-light, #eef3fa);
    padding-top: 100px;
    padding-bottom: 100px;
}

.companies-competences__header {
    text-align: center;
    margin-bottom: 48px;
}

.companies-competences__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
    text-align: center;
}

.companies-competences__cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
}

.companies-competences__tag {
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-slate-500, #525f70);
}


/* ==========================================================================
   Sektion 7: Profiles Preview Section (Node ID: 42:187)
   Background: Ren Hvid (#ffffff)
   ========================================================================== */
.companies-profiles {
    background-color: #ffffff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.companies-profiles__header {
    text-align: center;
    margin-bottom: 48px;
}

.companies-profiles__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
    text-align: center;
}

.companies-profiles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 991px) {
    .companies-profiles__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .companies-profiles__grid {
        grid-template-columns: 1fr;
    }
}

.companies-profile-card {
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.companies-profile-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.companies-profile-card__badge {
    background-color: #eef3fa;
    color: var(--color-navy-900, #0f1c2e);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.companies-profile-card__status {
    font-size: 0.75rem;
    color: var(--color-slate-500, #525f70);
}

.companies-profile-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin-bottom: 16px;
    line-height: 1.25;
}

.companies-profile-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.companies-profile-card__tag {
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    color: var(--color-slate-500, #525f70);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
}

.companies-profile-card__button {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.companies-profiles__footer {
    text-align: center;
}

.companies-profiles__all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-teal-500, #00a0a2);
    text-decoration: none;
    transition: color 0.15s ease;
}

.companies-profiles__all-link:hover,
.companies-profiles__all-link:focus-visible {
    color: #00898b;
    text-decoration: underline;
}


/* ==========================================================================
   Sektion 8: Final CTA Section (Node ID: 42:247)
   Background: Mørk navy (#0f1c2e)
   ========================================================================== */
.companies-cta {
    background-color: var(--color-navy-900, #0f1c2e);
    padding-top: 100px;
    padding-bottom: 100px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.companies-cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.companies-cta__title {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .companies-cta__title {
        white-space: normal;
    }
}

.companies-cta__description {
    font-size: 1.125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 32px;
    text-align: center;
}

.companies-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.companies-cta .button--outline-light {
    border: 1.5px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.companies-cta .button--outline-light:hover,
.companies-cta .button--outline-light:focus-visible {
    background-color: #ffffff;
    color: var(--color-navy-900, #0f1c2e);
}

@media (max-width: 640px) {
    .companies-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .companies-cta__actions .button {
        width: 100%;
    }
}
