:root {
    --color-primary: #1abc9c;
    --color-secondary: #16a085;
    --color-accent: #e67e22;
    --color-bg: #ecfdf9;
    --color-text: #1c3330;
    --color-text-light: #3d5c56;
    --color-border: #b7e4d8;
    --hfp-header-h: 76px;
    --hfp-page-w: 1120px;
    --hfp-sans: "Albert Sans", "Gill Sans", sans-serif;
    --hfp-serif: "Source Serif Pro", Georgia, serif;
    --space-lg: 24px;
}

@media (max-width: 768px) {
    :root { --hfp-header-h: 64px; }
}

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

[hidden] { display: none !important; }

html {
    scroll-padding-top: var(--hfp-header-h);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    padding-top: var(--hfp-header-h);
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--hfp-serif);
    font-size: 1.05rem;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: repeating-linear-gradient(
        -28deg,
        transparent,
        transparent 14px,
        rgba(26, 188, 156, 0.07) 14px,
        rgba(26, 188, 156, 0.07) 15px
    );
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

a { color: #0c6b5c; }
a:hover { color: #e67e22; }

h1, h2, h3 {
    font-family: var(--hfp-sans);
    line-height: 1.2;
    font-weight: 700;
}

p { margin: 0 0 1rem; }

.HfpMain,
.HfpFooter { position: relative; z-index: 1; }

.HfpContainer {
    max-width: var(--hfp-page-w);
    margin: 0 auto;
    padding: 0 20px;
}

.HfpMeasure { max-width: 760px; }

.HfpGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.HfpHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--hfp-header-h);
    background: #ecfdf9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.HfpHeader-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--hfp-header-h);
    gap: 12px;
}

.HfpHeader-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    line-height: 0;
}

.HfpHeader-logo img {
    width: 180px;
    height: auto;
    display: block;
}

.HfpHeader a,
.HfpHeader a:visited { color: #0d3d36; }

.HfpNav {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1;
}

.HfpNav-link {
    font-family: var(--hfp-sans);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.HfpNav-link.is-active { border-bottom-color: var(--color-accent); }

.HfpBurger,
.HfpOverlay,
.HfpDrawer { display: none; }

.HfpBurger {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid var(--color-primary);
    background: #ecfdf9;
    cursor: pointer;
}

.HfpBurger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #0d3d36;
}

.HfpBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    font-family: var(--hfp-sans);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: #0d3d36;
    background: #ecfdf9;
    border: 1px solid #1abc9c;
    border-radius: 0;
    box-shadow: 0 0 0 3px #ecfdf9, 0 0 0 4px #16a085;
    cursor: pointer;
}

.HfpBtn:visited { color: #0d3d36; }

.HfpBtn--primary {
    background: #1abc9c;
    color: #04211c;
    border-color: #0b3d34;
    box-shadow: 0 0 0 3px #ecfdf9, 0 0 0 4px #e67e22;
}

.HfpBtn--primary:visited { color: #04211c; }

.HfpHero {
    background:
        linear-gradient(180deg, rgba(26, 188, 156, 0.18), rgba(236, 253, 249, 0) 70%),
        #ecfdf9;
    padding: 48px 0 28px;
}

.HfpHero-title {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    max-width: 18ch;
    margin: 0 0 12px;
}

.HfpHero-text { max-width: 62ch; }

.HfpHero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 8px 0 28px;
}

.HfpStrip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--color-secondary);
}

.HfpStrip div { min-width: 0; }

.HfpStrip dt {
    font-family: var(--hfp-sans);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.HfpStrip dd {
    margin: 4px 0 0;
    font-family: var(--hfp-sans);
    font-weight: 600;
}

.HfpLayout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
    padding: 36px 0 12px;
}

.HfpSection,
.HfpCard,
.HfpBand,
.HfpAside,
.HfpShot {
    border-radius: 0;
}

.HfpSection {
    margin: 0 0 28px;
    padding: 22px 22px 8px;
    background: #f7fffc;
    border: 1px solid #1abc9c;
    box-shadow: inset 0 0 0 4px #f7fffc, inset 0 0 0 5px #9ad9cb;
}

.HfpSection-title,
.HfpApp-name,
.HfpAside-title,
.HfpCta-title,
.HfpPage-title,
.HfpBand-title {
    margin: 0 0 12px;
}

.HfpFacts,
.HfpSteps,
.HfpAside-list { margin: 0 0 1rem; padding-left: 1.2rem; }

.HfpNote,
.HfpApp-note { color: var(--color-text-light); }

.HfpChecked {
    font-family: var(--hfp-sans);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: #0c6b5c;
}

.HfpCard {
    background: #ecfdf9;
    border: 1px solid #16a085;
    padding: 16px;
}

.HfpCard-title { margin: 0 0 8px; font-size: 1.05rem; }

.HfpVerdict {
    font-size: 1.25rem;
    margin-top: 0;
}

.HfpApp-badges {
    font-family: var(--hfp-sans);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
}

.HfpApp-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.HfpApp-icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
}

.HfpApp-dev { margin: 0; color: var(--color-text-light); }

.HfpApp-facts { margin: 0 0 1rem; padding-left: 1.2rem; }

.HfpAside {
    border: 1px solid #1abc9c;
    padding: 16px;
    background: #f7fffc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.HfpAside-title { font-size: 1.15rem; }

.HfpAside-still {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    align-self: center;
}

.HfpAside .HfpBtn { width: 100%; }

.HfpCta {
    background: #d8f7f0;
    padding: 48px 0;
    margin-top: 12px;
    border-top: 4px solid #e67e22;
}

.HfpPage { padding: 40px 0 64px; }

.HfpPage-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.HfpBand {
    background: #f7fffc;
    border: 1px solid #16a085;
    overflow: hidden;
}

.HfpBand-kicker {
    margin: 0;
    padding: 14px 16px;
    font-family: var(--hfp-sans);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #1abc9c, #16a085 70%, #e67e22);
    color: #04211c;
}

.HfpBand-title,
.HfpBand p { margin: 12px 16px; }

.HfpBand-title a { text-decoration: none; color: #0d3d36; }

.HfpCrumbs { font-family: var(--hfp-sans); font-size: 0.9rem; }

.HfpAddress { font-family: var(--hfp-sans); font-weight: 600; }

.HfpForm {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 32rem;
}

.HfpForm-label { font-family: var(--hfp-sans); font-weight: 600; }

.HfpForm-input {
    font: inherit;
    padding: 10px 12px;
    border: 1px solid #16a085;
    border-radius: 0;
    background: #fff;
    color: var(--color-text);
    width: 100%;
}

.HfpForm-error { color: #9a3412; }
.HfpForm-done { color: #0c6b5c; }

.HfpShots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.HfpShot {
    margin: 0;
    border: 1px solid #1abc9c;
    background: #f7fffc;
    padding: 12px;
}

.HfpShot img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 520px;
    margin: 0 auto;
    object-fit: contain;
}

.HfpShot figcaption {
    font-family: var(--hfp-sans);
    font-size: 0.85rem;
    margin-top: 8px;
}

.HfpFooter {
    background: #d7f5ee;
    border-top: 4px double #0d3d36;
    padding: 36px 0 24px;
}

.HfpFooter-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px;
}

.HfpFooter-brand,
.HfpFooter-label {
    font-family: var(--hfp-sans);
    font-weight: 700;
    margin: 0 0 8px;
}

.HfpFooter-map {
    list-style: none;
    margin: 0;
    padding: 0;
}

.HfpFooter-map a,
.HfpFooter-link {
    font-family: var(--hfp-sans);
    color: #0d3d36;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: 1rem;
}

.HfpFooter-legal {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #9ad9cb;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.HfpCookie { display: none; }

.HfpCookie:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 110;
    gap: 12px;
    right: 16px;
    bottom: 16px;
    max-width: 360px;
    padding: 16px;
    background: #ecfdf9;
    border: 1px solid #0d3d36;
    box-shadow: 0 0 0 3px #ecfdf9, 0 0 0 4px #e67e22;
}

.HfpCookie p { margin: 0; }

.HfpCookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.HfpDrawer-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 1px solid #1abc9c;
    background: #ecfdf9;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #0d3d36;
}

.HfpFooter-map a:not(.HfpBtn),
.HfpAside-list a:not(.HfpBtn) { text-decoration: underline; }

@media (max-width: 768px) {
    .HfpNav { display: none; }

    .HfpHeader-row { position: relative; }

    .HfpHeader-logo {
        position: static;
        transform: none;
    }

    .HfpBurger { display: block; }

    .HfpOverlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, visibility .25s;
    }

    .HfpDrawer {
        display: block;
        position: fixed;
        z-index: 210;
        background: #ecfdf9;
        overflow-y: auto;
        visibility: hidden;
        transition: transform .3s ease, opacity .3s ease, visibility .3s;
    }

    .HfpDrawer-link {
        display: block;
        padding: 14px 20px;
        font-family: var(--hfp-sans);
        font-size: 1.4rem;
        font-weight: 600;
        color: #0d3d36;
        text-decoration: none;
    }

    .HfpDrawer .HfpBtn { margin: 16px 20px; }

    .HfpDrawer--sheet {
        inset: 0;
        height: 100vh;
        height: 100dvh;
        padding: 72px 24px 32px;
        opacity: 0;
    }

    body.nav-open { overflow: hidden; }
    body.nav-open .HfpOverlay { display: none; }
    body.nav-open .HfpDrawer--sheet { opacity: 1; visibility: visible; }
}

@media (max-width: 900px) {
    .HfpLayout { grid-template-columns: 1fr; }
    .HfpFooter-grid { grid-template-columns: 1fr 1fr; }
    .HfpStrip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .HfpHeader-logo img { width: 120px; }
    .HfpGrid { grid-template-columns: repeat(2, 1fr); }
    .HfpApp-icon { width: 64px; height: 64px; }
    .HfpCookie:not([hidden]) {
        left: 12px;
        right: 12px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .HfpGrid,
    .HfpFooter-grid,
    .HfpStrip { grid-template-columns: 1fr; }
    .HfpHero-actions .HfpBtn { width: 100%; }
}
