:root {
    --navy: #082f4c;
    --navy-dark: #041f34;
    --navy-mid: #0b4263;

    --green: #55c72f;
    --green-dark: #38a91f;

    --blue: #1f61b8;

    --white: #ffffff;
    --light: #f5f7f8;

    --text: #233746;
    --muted: #687681;

    --border: #dde3e7;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}

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

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

.container {
    width: min(1200px, calc(100% - 48px));

    margin-inline: auto;
}


/* BUTTONS */

.button {
    display: inline-block;

    padding: 13px 22px;

    border-radius: 3px;

    background: var(--green);

    color: #fff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
}

.button:hover {
    background: var(--green-dark);
}

.button-outline {
    border: 1px solid rgba(255,255,255,.65);

    background: transparent;
}

.button-outline:hover {
    background: #fff;
    color: var(--navy);
}

.button-outline-dark {
    border: 1px solid var(--navy);

    background: transparent;

    color: var(--navy);
}


/* HEADER */

.topbar {
    background: var(--navy);

    color: rgba(255,255,255,.72);
}

.topbar-inner {
    min-height: 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 11px;
}

.topbar-inner div {
    display: flex;
    gap: 24px;
}


.main-header {
    background: #fff;
}

.main-header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* temporary text header until logo arrives */

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

.text-brand strong {
    color: var(--navy);

    font-size: 22px;
    line-height: 1;
    letter-spacing: .03em;
}

.text-brand span {
    margin-top: 6px;

    color: var(--muted);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: .18em;
}


.main-nav {
    margin-left: auto;
}

.nav-links {
    list-style: none;

    display: flex;
    align-items: center;

    gap: 32px;
}

.nav-links a {
    color: var(--navy);

    font-size: 11px;
    font-weight: 800;
}

.nav-links a:hover {
    color: var(--green-dark);
}


.mobile-menu-button {
    display: none;

    border: 0;
    background: transparent;
}


/* HERO */

.hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            125deg,
            #073452 0%,
            #0a4b69 100%
        );
}


/* deliberately no parent-company logo in hero */

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(57,111,160,.40),
            transparent 34%
        );
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,31,52,.98) 0%,
            rgba(4,31,52,.90) 54%,
            rgba(4,31,52,.35) 100%
        );
}


.hero-inner {
    position: relative;
    z-index: 2;

    width: 100%;

    padding-block: 76px;
}


.eyebrow,
.section-kicker {
    margin-bottom: 10px;

    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .14em;
}


.hero h1 {
    max-width: 720px;

    color: #fff;

    font-size: clamp(48px, 5vw, 68px);

    line-height: .98;

    margin-bottom: 24px;
}

.hero h1 span {
    display: block;

    margin-top: 8px;

    color: var(--green);
}


.hero-copy {
    max-width: 650px;

    color: rgba(255,255,255,.80);

    font-size: 17px;

    line-height: 1.65;

    margin-bottom: 30px;
}


.hero-actions {
    display: flex;

    gap: 14px;
}


/* HEADINGS */

.section-heading {
    margin-bottom: 36px;
}

.section-heading--split {
    display: grid;

    grid-template-columns: 1.25fr .75fr;

    gap: 60px;

    align-items: end;
}

.section-heading h2,
.structure-copy h2 {
    color: var(--navy);

    font-size: clamp(34px, 4vw, 46px);

    line-height: 1.06;
}

.section-heading h2 span,
.structure-copy h2 span {
    color: var(--green);
}

.section-heading > p,
.structure-copy p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}


/* COMPANIES */

.companies-section {
    padding: 78px 0 86px;

    background: #fff;
}

.companies-grid {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr)
        minmax(260px,.8fr);

    gap: 22px;
}


.company-card {
    min-width: 0;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--border);

    display: flex;
    flex-direction: column;
}


.company-brand {
    flex: 1;

    padding: 28px;
}


.company-logo {
    height: 90px;

    object-fit: contain;
    object-position: left center;

    margin-bottom: 20px;
}


.company-logo--greenphase {
    width: 230px;
}


.company-logo--electrical {
    width: 220px;
}


.company-sector {
    margin-bottom: 12px;

    color: var(--green-dark) !important;

    font-size: 10px !important;
    font-weight: 800 !important;

    letter-spacing: .11em !important;
}


.company-brand p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.65;
}


.company-link {
    color: var(--green-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .04em;
}


.company-image {
    height: 180px;

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


.company-image--greenphase {
    background-image:
        url('/assets/images/greenphase-group-image.webp');
}


.company-image--electrical {
    background-image:
        url('/assets/images/sure-electrical-group-image.png');
}


/* FUTURE COMPANY */

.company-card--future {
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 34px;

    border-style: dashed;

    background: #fbfcfc;
}


.future-plus {
    width: 64px;
    height: 64px;

    margin-bottom: 24px;

    display: grid;
    place-items: center;

    border: 1px solid var(--navy);
    border-radius: 50%;

    color: var(--navy);

    font-size: 34px;
    font-weight: 200;
}


.company-card--future h3 {
    margin-bottom: 12px;

    color: var(--navy);

    font-size: 24px;
}


.company-card--future > p {
    margin-bottom: 26px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.65;
}


/* VALUES */

.values-section {
    padding: 72px 0 76px;

    background: var(--navy);

    color: #fff;
}


.section-heading--dark h2 {
    color: #fff;
}

.section-heading--dark h2 span {
    color: var(--green);
}


.values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}


.value-item {
    padding: 10px 30px;

    border-right:
        1px solid
        rgba(255,255,255,.15);
}

.value-item:first-child {
    padding-left: 0;
}

.value-item:last-child {
    border-right: 0;
}


.value-number {
    margin-bottom: 18px;

    color: var(--green);

    font-size: 12px;
    font-weight: 800;
}


.value-item h3 {
    margin-bottom: 8px;

    font-size: 16px;
}


.value-item p {
    color: rgba(255,255,255,.68);

    font-size: 13px;

    line-height: 1.55;
}


/* STRUCTURE */

.structure-section {
    padding: 85px 0;

    background: var(--light);
}


.structure-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 70px;

    align-items: center;
}


.structure-copy p {
    margin-top: 16px;
}


/* chart */

.group-chart {
    position: relative;

    text-align: center;
}


.group-parent {
    width: min(380px, 80%);

    margin: 0 auto;

    padding: 22px;

    background: var(--navy);

    color: #fff;

    display: flex;
    flex-direction: column;
}


.group-parent strong {
    font-size: 18px;
}


.group-parent span {
    margin-top: 5px;

    color: rgba(255,255,255,.60);

    font-size: 8px;

    letter-spacing: .17em;
}


.chart-line--vertical {
    width: 1px;
    height: 34px;

    margin: 0 auto;

    background: #9aa8b1;
}


.group-children {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 18px;
}


.group-children::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 16.5%;
    right: 16.5%;

    height: 1px;

    background: #9aa8b1;
}


.group-child {
    min-height: 165px;

    padding: 22px;

    background: #fff;

    border: 1px solid var(--border);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
}


.group-child::before {
    content: "";

    position: absolute;

    top: -18px;

    width: 1px;
    height: 18px;

    background: #9aa8b1;
}


.group-child img {
    max-width: 170px;
    max-height: 70px;

    object-fit: contain;

    margin-bottom: 14px;
}


.group-child span {
    color: var(--navy);

    font-size: 9px;
    font-weight: 800;

    line-height: 1.45;

    letter-spacing: .08em;
}


.group-child--future strong {
    margin-bottom: 10px;

    color: var(--green);

    font-size: 32px;
}


/* CTA */

.group-cta {
    padding: 42px 0;

    background:
        linear-gradient(
            120deg,
            #073452,
            #0a4a62
        );

    color: #fff;
}


.group-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


.group-cta h2 {
    color: #fff;

    font-size: clamp(30px,4vw,42px);

    line-height: 1.05;
}


.group-cta h2 span {
    color: var(--green);
}


/* FOOTER */

.site-footer {
    background: var(--navy-dark);

    color: #fff;
}


.footer-grid {
    padding-block: 46px;

    display: flex;

    justify-content: space-between;

    gap: 40px;
}


.footer-brand {
    display: block;

    font-size: 19px;

    margin-bottom: 5px;
}


.footer-grid p {
    color: rgba(255,255,255,.55);

    font-size: 9px;

    letter-spacing: .17em;
}


.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 24px;

    align-items: center;
}


.footer-links a {
    color: rgba(255,255,255,.70);

    font-size: 11px;
}


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


.footer-bottom .container {
    padding-block: 14px;

    color: rgba(255,255,255,.50);

    font-size: 11px;
}


/* MOBILE */

@media (max-width: 900px) {

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: none;

        background: #fff;

        padding: 12px 24px 22px;

        z-index: 20;
    }

    .main-nav.active {
        display: block;
    }

    .nav-links {
        align-items: flex-start;
        flex-direction: column;

        gap: 0;
    }

    .nav-links a {
        display: block;

        padding: 10px 0;
    }


    .mobile-menu-button {
        display: block;

        padding: 8px;
    }

    .mobile-menu-button span {
        display: block;

        width: 27px;
        height: 2px;

        margin: 6px 0;

        background: var(--navy);
    }


    .main-header {
        position: relative;
    }


    .section-heading--split {
        grid-template-columns: 1fr;

        gap: 20px;
    }


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


    .values-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .value-item {
        padding: 22px;
    }

    .value-item:nth-child(2) {
        border-right: 0;
    }


    .structure-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .group-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(
            100% - 36px,
            1200px
        );
    }


    .topbar {
        display: none;
    }


    .main-header-inner {
        min-height: 72px;
    }


    .text-brand strong {
        font-size: 18px;
    }


    .hero {
        min-height: 500px;
    }


    .hero-inner {
        padding-block: 58px;
    }


    .hero h1 {
        font-size: 40px;
    }


    .hero-copy {
        font-size: 15px;
    }


    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }


    .companies-section,
    .structure-section {
        padding-block: 58px;
    }


    .values-section {
        padding-block: 54px;
    }


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


    .value-item {
        padding: 18px 0;

        border-right: 0;

        border-bottom:
            1px solid
            rgba(255,255,255,.12);
    }

    .value-item:last-child {
        border-bottom: 0;
    }


    .group-children {
        grid-template-columns: 1fr;
    }


    .group-children::before,
    .group-child::before,
    .chart-line--vertical {
        display: none;
    }


    .group-cta {
        padding-block: 36px;
    }


    .footer-grid {
        flex-direction: column;
    }


    .footer-links {
        align-items: flex-start;
        flex-direction: column;

        gap: 10px;
    }

}

/* ===================================
   SURE GROUP POLISH - HEADER + HERO
=================================== */

.main-header-inner {
    min-height: 74px;
}

.text-brand strong {
    font-size: 20px;
}

.text-brand span {
    margin-top: 5px;
    font-size: 7px;
    letter-spacing: .16em;
}

.nav-links {
    gap: 28px;
}

.nav-links a {
    font-size: 10px;
}


/* Hero refinement */

.hero {
    min-height: 500px;
}

.hero-inner {
    padding-block: 66px;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(46px, 4.8vw, 64px);
    line-height: 1;
    margin-bottom: 20px;
}

.hero h1 span {
    margin-top: 7px;
}

.hero-copy {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 26px;
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(4,31,52,.98) 0%,
            rgba(4,31,52,.91) 52%,
            rgba(4,31,52,.46) 78%,
            rgba(4,31,52,.18) 100%
        );
}


/* ===================================
   COMPANY CARDS - POLISH
=================================== */

.companies-section {
    padding-top: 68px;
    padding-bottom: 74px;
}

.companies-grid {
    gap: 20px;
}

.company-card {
    border-radius: 2px;

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(6,35,58,.09);
}

.company-brand {
    padding: 26px;
}

.company-logo {
    margin-bottom: 18px;
}

.company-image {
    height: 165px;
}

.company-sector {
    margin-bottom: 10px;
}

.company-brand p {
    margin-bottom: 18px;
}


/* Future company slot */

.company-card--future {
    min-height: 100%;
    padding: 30px;

    background:
        linear-gradient(
            145deg,
            #fbfcfc 0%,
            #f4f7f8 100%
        );
}

.future-plus {
    width: 56px;
    height: 56px;

    margin-bottom: 20px;

    color: var(--green);
    border-color: #a9b8c0;
}

.company-card--future h3 {
    font-size: 22px;
}


/* ===================================
   GROUP STRUCTURE - POLISH
=================================== */

.structure-section {
    padding-top: 74px;
    padding-bottom: 80px;
}

.group-parent {
    width: min(360px, 82%);
    padding: 20px;

    box-shadow: 0 12px 28px rgba(6,35,58,.08);
}

.group-child {
    min-height: 150px;
    padding: 20px;

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.group-child:hover {
    transform: translateY(-3px);
    border-color: #b7c3c9;
}

.group-child img {
    max-height: 62px;
}


/* ===================================
   VALUES / FOOTER POLISH
=================================== */

.values-section {
    padding-top: 62px;
    padding-bottom: 66px;
}

.value-item {
    padding-top: 6px;
    padding-bottom: 6px;
}

.value-number {
    margin-bottom: 14px;
}

.footer-grid {
    padding-block: 38px;
}

.footer-bottom .container {
    padding-block: 12px;
}


/* ===================================
   HERO CONTAINER ALIGNMENT
=================================== */

.hero-inner {
    width: min(1200px, calc(100% - 48px)) !important;
    margin-inline: auto !important;
}

@media (max-width: 600px) {
    .hero-inner {
        width: min(100% - 36px, 1200px) !important;
    }
}


/* Balance subsidiary logos */

.company-logo--greenphase {
    width: 250px !important;
    height: 100px !important;
}

.company-logo--electrical {
    width: 225px !important;
    height: 100px !important;
}

.group-child img {
    width: auto;
    max-width: 175px;
    max-height: 72px;
}

