:root {
    --jocks-green: #b6d531;
    --jocks-green-dark: #9fbe22;

    --black: #111111;
    --charcoal: #1b1b1b;

    --grey-dark: #555555;
    --grey: #e7e7e7;
    --grey-light: #f6f6f4;

    --white: #ffffff;

    --radius-small: 12px;
    --radius: 20px;
    --radius-large: 30px;

    --shadow:
        0 16px 40px rgba(0, 0, 0, 0.08);

    --container: 1180px;
}


/* ---------------------------------
   Reset
--------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--grey-light);
    color: var(--black);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ---------------------------------
   General layout
--------------------------------- */

.container {
    width: min(var(--container),
            calc(100% - 40px));

    margin-inline: auto;
}

section {
    position: relative;
}

.eyebrow {
    margin: 0 0 12px;

    color: var(--grey-dark);

    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.12em;

    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.05;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 900px;

    font-size: clamp(3rem,
            7vw,
            6.6rem);
}

h2 {
    font-size: clamp(2.1rem,
            4vw,
            4rem);
}

h3 {
    font-size: 1.6rem;
}


/* ---------------------------------
   Buttons
--------------------------------- */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 22px;

    border: 2px solid transparent;
    border-radius: 999px;

    font-weight: 800;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--jocks-green);
    color: var(--black);
}

.button-primary:hover {
    background: var(--jocks-green-dark);
}

.button-secondary {
    background: transparent;

    border-color: var(--black);

    color: var(--black);
}

.button-secondary:hover {
    background: var(--black);
    color: var(--white);
}

.button-dark {
    background: var(--black);
    color: var(--white);
}

.button-dark:hover {
    background: #292929;
}

.button-large {
    min-height: 58px;

    padding: 17px 28px;

    font-size: 1.02rem;
}


/* ---------------------------------
   Header
--------------------------------- */

.site-header {
    position: sticky;

    top: 0;

    z-index: 100;

    background:
        rgba(246, 246, 244, 0.94);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom:
        1px solid rgba(0, 0, 0, 0.07);
}

.header-inner {
    display: flex;

    align-items: center;

    min-height: 92px;

    gap: 28px;
}

.logo-link {
    flex-shrink: 0;
}

.site-logo {
    width: 104px;
    height: auto;

    border-radius: 7px;
}

.desktop-nav {
    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;

    font-size: 0.95rem;
    font-weight: 700;
}

.desktop-nav a {
    transition: opacity 0.18s ease;
}

.desktop-nav a:hover {
    opacity: 0.58;
}

.header-book {
    flex-shrink: 0;
}

.menu-button {
    display: none;

    width: 48px;
    height: 48px;

    margin-left: auto;

    background: var(--black);

    border: 0;
    border-radius: 50%;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: var(--white);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.mobile-nav {
    display: none;
}


/* ---------------------------------
   Homepage hero
--------------------------------- */

.hero {
    overflow: hidden;

    background:
        linear-gradient(135deg,
            var(--jocks-green) 0%,
            #c4de4d 100%);
}

.hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -160px;
    bottom: -270px;

    border:
        90px solid rgba(0, 0, 0, 0.06);

    border-radius: 50%;

    pointer-events: none;
}

.hero-inner {
    display: flex;

    align-items: center;

    min-height: 650px;

    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 960px;
}

.hero .eyebrow {
    color: rgba(0, 0, 0, 0.65);
}

.hero h1 {
    margin-bottom: 28px;
}

.hero-text {
    max-width: 650px;

    margin-bottom: 34px;

    font-size: clamp(1.12rem,
            2vw,
            1.4rem);

    color: rgba(0, 0, 0, 0.75);
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.hero .button-primary {
    background: var(--black);
    color: var(--white);

    border-color: var(--black);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.20);
}

.hero .button-primary:hover {
    background: #2a2a2a;
    border-color: #2a2a2a;
}

.hero .button-secondary {
    background: var(--white);
    color: var(--black);

    border-color: var(--black);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.16);
}

.hero .button-secondary:hover {
    background: var(--black);
    color: var(--white);
}


/* ---------------------------------
   Homepage services
--------------------------------- */

.services {
    padding: 110px 0;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 48px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.service-card {
    display: flex;

    flex-direction: column;

    min-height: 330px;

    padding: 34px;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.service-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-number {
    display: grid;

    place-items: center;

    width: 46px;
    height: 46px;

    margin-bottom: 45px;

    background: var(--jocks-green);

    border-radius: 50%;

    font-size: 0.82rem;
    font-weight: 900;
}

.service-card h3 {
    margin-bottom: 14px;
}

.service-card p {
    margin-bottom: 28px;

    color: var(--grey-dark);
}

.card-link {
    margin-top: auto;

    font-weight: 900;
}

.card-link:hover {
    text-decoration: underline;
}


/* ---------------------------------
   Homepage local section
--------------------------------- */

.local-section {
    padding: 110px 0;

    background: var(--black);

    color: var(--white);
}

.local-inner {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 80px;

    align-items: end;
}

.local-section .eyebrow {
    color: var(--jocks-green);
}

.local-section h2 {
    margin-bottom: 0;
}

.local-section p {
    color: #cfcfcf;

    font-size: 1.1rem;
}

.text-link {
    display: inline-block;

    margin-top: 10px;

    color: var(--jocks-green);

    font-weight: 900;
}

.text-link:hover {
    text-decoration: underline;
}


/* ---------------------------------
   Homepage CTA
--------------------------------- */

.cta-section {
    padding: 80px 0;

    background: var(--grey);
}

.cta-inner {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 40px;
}

.cta-inner h2 {
    margin-bottom: 0;
}

.cta-actions {
    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 12px;
}


/* ---------------------------------
   Internal page hero
--------------------------------- */

.page-hero {
    overflow: hidden;

    padding: 100px 0 90px;

    background:
        linear-gradient(135deg,
            var(--jocks-green) 0%,
            #c4de4d 100%);
}

.page-hero::after {
    content: "";

    position: absolute;

    width: 440px;
    height: 440px;

    right: -170px;
    bottom: -250px;

    border:
        78px solid rgba(0, 0, 0, 0.055);

    border-radius: 50%;

    pointer-events: none;
}

.page-hero-inner {
    position: relative;

    z-index: 2;

    max-width: 1000px;
}

.page-hero .eyebrow {
    color: rgba(0, 0, 0, 0.63);
}

.page-hero h1 {
    max-width: 900px;

    margin-bottom: 30px;

    font-size: clamp(3.2rem,
            6.5vw,
            6rem);
}

.page-intro {
    max-width: 760px;

    margin-bottom: 0;

    color: rgba(0, 0, 0, 0.74);

    font-size: clamp(1.12rem,
            2vw,
            1.35rem);
}


/* ---------------------------------
   Business benefits
--------------------------------- */

.business-benefits {
    padding: 85px 0;
}

.mini-card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.mini-card {
    min-height: 300px;

    padding: 32px;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.mini-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.11);
}

.mini-card-number {
    display: grid;

    place-items: center;

    width: 44px;
    height: 44px;

    margin-bottom: 42px;

    background: var(--jocks-green);

    border-radius: 50%;

    font-size: 0.8rem;
    font-weight: 900;
}

.mini-card h2 {
    margin-bottom: 16px;

    font-size: clamp(1.7rem,
            2.2vw,
            2.3rem);
}

.mini-card p {
    margin-bottom: 0;

    color: var(--grey-dark);
}


/* ---------------------------------
   Form section
--------------------------------- */

.form-section {
    padding: 100px 0;

    background: var(--grey);
}

.form-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr) minmax(0, 1.15fr);

    gap: 80px;

    align-items: start;
}

.form-heading {
    position: sticky;

    top: 130px;
}

.form-heading h2 {
    margin-bottom: 22px;
}

.form-heading>p:last-child {
    max-width: 470px;

    margin-bottom: 0;

    color: var(--grey-dark);

    font-size: 1.08rem;
}

.form-card {
    padding: 42px;

    background: var(--white);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow);
}

.jocks-form {
    display: grid;

    gap: 22px;
}

.form-field {
    display: grid;

    gap: 8px;
}

.form-field label {
    font-weight: 800;
}

.form-field label span {
    margin-left: 5px;

    color: var(--grey-dark);

    font-size: 0.85rem;
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;

    padding: 15px 16px;

    background: var(--grey-light);

    border:
        1px solid #cccccc;

    border-radius:
        var(--radius-small);

    color: var(--black);

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.form-field input {
    min-height: 54px;
}

.form-field textarea {
    min-height: 145px;

    resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
    border-color: #a9a9a9;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--black);

    box-shadow:
        0 0 0 3px rgba(182, 213, 49, 0.35);
}

.form-submit {
    width: 100%;

    margin-top: 6px;

    border: 0;
}

.form-message {
    margin-bottom: 24px;
    padding: 16px 18px;

    border-radius: 12px;

    line-height: 1.5;
}

.form-message-success {
    background: #edf7cf;

    border:
        1px solid var(--jocks-green);

    color: var(--charcoal);

    scroll-margin-top: 110px;
}

.form-message-error {
    background: #fff1f1;

    border:
        1px solid #d84a4a;

    color: #761d1d;
}

.form-message-error ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.form-privacy {
    margin: 18px 0 0;

    color: #666666;

    font-size: 0.9rem;
    line-height: 1.55;
}

.form-privacy a {
    color: inherit;

    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-honeypot {
    position: absolute !important;

    left: -10000px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* ---------------------------------
   Footer
--------------------------------- */

.site-footer {
    padding: 70px 0 24px;

    background: var(--charcoal);

    color: var(--white);
}

.footer-inner {
    display: grid;

    grid-template-columns:
        1.3fr 1fr 1fr;

    gap: 60px;
}

.footer-logo {
    display: none;

    width: 112px;

    margin-bottom: 20px;

    border-radius: 7px;
}

.footer-brand p {
    color: #bdbdbd;
}

.footer-links {
    display: flex;

    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--jocks-green);
}

.footer-contact {
    display: flex;

    flex-direction: column;
    align-items: flex-start;

    gap: 5px;

    font-weight: 700;
}

.footer-contact a {
    font-size: 1.25rem;
}

.footer-contact span {
    color: #adadad;

    font-weight: 500;
}

.footer-bottom {
    margin-top: 55px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    color: #999999;

    font-size: 0.85rem;
}


/* ---------------------------------
   Tablet
--------------------------------- */

@media (max-width: 960px) {

    .desktop-nav,
    .header-book {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-nav {
        padding:
            10px 20px 22px;

        background:
            var(--grey-light);

        border-top:
            1px solid rgba(0, 0, 0, 0.07);
    }

    .mobile-nav.is-open {
        display: flex;

        flex-direction: column;

        gap: 4px;
    }

    .mobile-nav>a:not(.button) {
        padding: 13px 6px;

        font-weight: 750;

        border-bottom:
            1px solid rgba(0, 0, 0, 0.06);
    }

    .mobile-nav .button {
        margin-top: 10px;
    }


    .card-grid,
    .mini-card-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .mini-card {
        min-height: 250px;
    }

    .card-number,
    .mini-card-number {
        margin-bottom: 28px;
    }


    .local-inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .cta-actions {
        justify-content: flex-start;
    }


    .form-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .form-heading {
        position: static;
    }


    .footer-inner {
        grid-template-columns:
            1fr 1fr;
    }

}


/* ---------------------------------
   Mobile
--------------------------------- */

@media (max-width: 640px) {

    .container {
        width: min(calc(100% - 28px),
                var(--container));
    }


    .header-inner {
        min-height: 78px;
    }

    .site-logo {
        width: 90px;
    }


    .hero-inner {
        min-height: 560px;

        padding-top: 65px;
        padding-bottom: 65px;
    }

    h1 {
        font-size: clamp(2.8rem,
                15vw,
                4.3rem);
    }

    .hero-text {
        font-size: 1.08rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }


    .services,
    .local-section {
        padding: 75px 0;
    }

    .service-card {
        padding: 27px;
    }


    .cta-section {
        padding: 65px 0;
    }

    .cta-actions {
        width: 100%;

        flex-direction: column;
    }

    .cta-actions .button {
        width: 100%;
    }


    .page-hero {
        padding: 65px 0;
    }

    .page-hero h1 {
        margin-bottom: 24px;

        font-size: clamp(2.8rem,
                14vw,
                4.2rem);
    }

    .page-intro {
        font-size: 1.08rem;
    }


    .business-benefits {
        padding: 60px 0;
    }

    .mini-card {
        min-height: auto;

        padding: 27px;
    }


    .form-section {
        padding: 65px 0;
    }

    .form-layout {
        gap: 35px;
    }

    .form-card {
        padding: 24px;

        border-radius:
            var(--radius);
    }

    .form-submit {
        min-height: 58px;

        padding-left: 18px;
        padding-right: 18px;
    }


    .footer-inner {
        grid-template-columns: 1fr;

        gap: 40px;
    }

}

.benefit-logo {
    width: 120px;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
    margin: -12px 0 22px;
}