:root {
    --c-green: #087670;
    --c-green-dark: #022625;
    --c-green-light: #97EDC0;
    --c-pink: #4d0f2f;
    --c-pink-dark: #220715;
    --c-pink-light: #F2BBD7;
    --c-text: #1F2421;
    --c-text-light: #55625B;
    --c-text-inverse: #e9f2ed;

    --nav-height: 56px;
}

/* Font faces */
@font-face {
    font-family: 'Urbanist';
    src: url('./assets/font/Urbanist-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Urbanist';
    src: url('./assets/font/Urbanist-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Urbanist';
    src: url('./assets/font/Urbanist-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Urbanist", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--c-text);
    line-height: 1.6;
    background-color: var(--c-text-inverse);

}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 12px;
    line-height: 1.25;
}

h2 {
    font-size: 32px;
}

p {
    font-size: 16px;
    margin: 0 0 12px;
}

li {
    font-size: 16px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.main-body {
    padding-top: var(--nav-height);
    /* account for fixed nav */
}

section {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px;
    scroll-margin-top: calc(var(--nav-height) + 12px);
}

.section-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    text-align: right;
}

.split-media {
    filter: hue-rotate(185deg);
}


nav {
    background: var(--c-pink);
    height: var(--nav-height);
    color: var(--c-text-inverse);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav a {
    padding: 10px 14px;
    font-weight: 700;
    color: var(--c-text-inverse);
    text-decoration: none;
    border-radius: 6px;
}

nav a:hover {
    color: var(--c-pink-light);
}

nav a:focus-visible {
    outline: 2px solid var(--c-pink-light);
    outline-offset: 2px;
}

footer {
    background: var(--c-green);
    height: 60px;
    color: var(--c-green-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    padding: 0 24px;
}

footer>div {
    padding: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: start;
}

.footer-links>a {
    color: var(--c-green-dark);
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: start;
    justify-content: start;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid var(--c-green-light);
}

.feature>img {
    width: 80px;
    height: 80px;
    background: var(--c-green);
    border-radius: 100px;
    padding: 16px;
    margin-bottom: 16px;
}

.section--alt {
    background-color: var(--c-pink-dark);
    color: var(--c-text-inverse);
    width: 100%;
    max-width: 100%;
}

.content-wrapper {
    max-width: 600px;
    margin-left: auto;
}


.contact-icon {
    width: 24px;
    height: 24px;
}

.contact-row {
    margin-right: 24px;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 12px 0;
    gap: 8px;
    text-decoration: none;
    color: var(--c-pink-light);
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    background-color: var(--c-green);
}

.tile-grid>div {
    background-color: var(--c-pink-light);
}

.contact-row:first-of-type {
    margin-top: 12px;
}

.contact-row:hover {
    font-weight: 700;
}

.map-address>img {
    max-width: 400px;
    width: 100%;
    padding: 24px;
    background: var(--c-text-inverse);
}

address {
    padding: 12px 24px;
    margin: 24px 0;
    height: fit-content;
    font-style: normal;
    font-weight: 700;
    flex-grow: 1;
    color: var(--c-pink);
    border-top: 3px solid var(--c-pink-light);
    border-bottom: 3px solid var(--c-pink-light);
}

/* Hero overlay layout */
.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    background-image: url('assets/images/tiles_hexagon.jpg');
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero {
    position: relative;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-logo {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 450px;
    z-index: 1;
    pointer-events: none;
    padding-bottom: 24px;
}

/* Small badge logo in hero (extra clean) */
.hero-badge-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: var(--c-text-inverse);
    border-radius: 1000px;
    width: 140px;
    height: 140px;
    bottom: -70px;
    padding: 16px;
    left: calc(50% - 70px);
}

.hero-badge {
    padding: 4px;
    overflow: visible;
}

/* Utility: Visually hide but keep for screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.back-bar {
    height: 48px;
    background-color: var(--c-green);
    color: var(--c-text-inverse);
    font-weight: 700;
    width: 100%;
}

.back-bar-inner {
    max-width: 960px;
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    align-items: center;
    margin: auto;
}

.back-bar-link {
    color: var(--c-text-inverse);
}

.pre-text {
    font-weight: 300;
    font-size: 24px;
}

@media (max-width: 1000px) {
    .hero-logo {
        width: 350px;
    }
}

@media (max-width: 600px) {

    h1,
    h2,
    h3,
    h4 {
        margin: 0 0 8px;
        line-height: 1;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 12px;
        margin: 0 0 8px;
    }

    li {
        font-size: 12px;
    }

    .feature>img {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    nav a {
        font-size: 14px;
    }

    .hero-logo {
        width: 250px;
    }

    .hero-badge {
        padding: 0;
    }

    .hero-badge-badge {
        bottom: -50px;
        width: 100px;
        height: 100px;
        bottom: -50px;
        padding: 16px;
        left: calc(50% - 50px);
    }

    .hero-image {
        height: 180px;
    }

    .section-split {
        display: grid;
        grid-template-columns: 5fr 1fr;
        text-align: right;
    }

    .tile-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 2px;
    }
}