@font-face {
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url(/fonts/heebo-latin-200-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/heebo-latin-400-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/fonts/heebo-latin-600-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --black: #242424;
    --green: #2F6836;
    --green-dark: #2a5b2f;
    --grey: #707070;
    --white: #fefefe;
    --white-dark: #ecebeb;
    --red: #80353d;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--black);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    line-height: 1.25;
}

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

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

/* Utilities */

.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.text-green { color: var(--green); }
.text-white { color: var(--white); }
.underline   { text-decoration: underline; }

/* Container */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    width: 100%;
}

/* Top bar (sticky nav — hidden until past intro) */

.top-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 0 5px #222;
    text-align: center;
    padding: 0.4rem 1rem;
}

.top-bar-logo {
    max-width: 180px;
    margin: 0 auto;
}

/* Sections */

.section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 4rem 1rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
}

/* Splash */

.section-splash {
    background-image: url(/img/technology-white-softened.jpg);
}

.splash-box {
    background: rgba(248, 248, 248, 0.85);
    border-radius: 0.6rem;
    padding: 1.5rem 2rem;
    max-width: 520px;
    margin: 0 auto;
}

.splash-logo {
    max-width: 380px;
    margin: 0 auto;
}

.splash-box hr {
    border: none;
    border-top: 1px solid var(--white-dark);
    margin: 1rem 0 0;
}

.splash-box p {
    font-size: 1.15rem;
    margin-top: 0.75rem;
}

/* Intro (alone) */

.section-alone {
    background-image: url(/img/person-walking-white.jpg);
    min-height: 60vh;
}

.section-alone h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-alone p {
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
}

/* Services (items) */

.section-items {
    background-color: var(--black);
    background-image: url(/img/abstract-squares-green.png);
    min-height: 60vh;
    padding: 4rem 1rem;
}

.section-items h2 {
    color: var(--white);
    text-shadow: 1px 1px 6px #0a0a0a;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 1rem;
    margin-bottom: 2rem;
}

.service-item {
    color: var(--white);
    text-shadow: 1px 1px 6px #0a0a0a;
}

.service-icon-circle {
    display: none;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white);
    color: var(--green);
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-icon-inline {
    flex-shrink: 0;
    color: var(--white);
}

.services-cta {
    color: var(--white);
    text-shadow: 1px 1px 6px #0a0a0a;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.services-cta a {
    text-decoration: underline;
    color: var(--white);
}

/* Contact */

.section-contact {
    background-image: url(/img/blinds-wall.jpg);
    min-height: 60vh;
    align-items: flex-start;
    padding: 4rem 1rem;
}

.section-contact h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-contact > .container > p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #cacaca;
    border-radius: 3px;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    background: var(--white);
    color: var(--black);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(47, 104, 54, 0.2);
}

textarea {
    min-height: 6rem;
    resize: vertical;
}

.form-captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--green);
    color: var(--white);
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-submit:hover,
.btn-submit:focus {
    background: var(--green-dark);
    outline: none;
}

.email-verify {
    position: absolute;
    left: -6000px;
    visibility: hidden;
}

/* Flash messages */

.flash {
    padding: 0.75rem 1rem;
    border-radius: 3px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.flash-success {
    background: #e6f4ea;
    color: #1e4620;
    border: 1px solid #a8d5b0;
}

.flash-error {
    background: #fde8e8;
    color: var(--red);
    border: 1px solid #f5b8b8;
}

.flash-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    color: inherit;
    padding: 0 0.25rem;
    flex-shrink: 0;
}

/* Footer */

.footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
}

/* Medium screens (640px+) */

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-icon-circle {
        display: flex;
    }

    .service-icon-inline {
        display: none;
    }

    .service-item h3 {
        font-size: 1.25rem;
    }

    .form-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-captcha-row {
        flex-wrap: nowrap;
    }

    .btn-submit {
        width: auto;
        min-width: 200px;
        margin-left: auto;
    }
}
