:root {
    --bg: #FFF6DC;
    --surface: #fff;
    --ink: #2A0F0B;
    --muted: #6B4A3F;
    --red: #D6221B;
    --yellow: #FFB21A;
    --line: #2A0F0B;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

@media (prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #1E0B08;
        --surface: #2E1410;
        --ink: #FFF1D0;
        --muted: #E2B9A4;
        --line: #FFB21A
    }
}

:root[data-theme="dark"] {
    --bg: #1E0B08;
    --surface: #2E1410;
    --ink: #FFF1D0;
    --muted: #E2B9A4;
    --line: #FFB21A
}

*,
*::before,
*::after {
    box-sizing: inherit
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.55 Figtree, system-ui, sans-serif
}

h1,
h2,
h3 {
    font-family: "Bowlby One", Impact, sans-serif;
    font-weight: 400;
    line-height: 1.05;
    margin: 0
}

a {
    color: inherit
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px
}

.wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px
}

.check {
    height: 16px;
    background: repeating-linear-gradient(90deg, var(--red) 0 32px, var(--yellow) 32px 64px)
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--yellow);
    border-bottom: 3px solid #2A0F0B
}

header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 12px
}

header img {
    height: 52px;
    width: auto;
    display: block
}

nav {
    display: flex;
    gap: 18px;
    align-items: center;
    font-weight: 800;
    font-size: 15px;
    color: #2A0F0B
}

nav a {
    text-decoration: none
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--line);
    background: var(--red);
    color: #fff;
    font: 800 16px/1 Figtree, sans-serif;
    padding: 13px 20px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--line);
    transition: transform .12s, box-shadow .12s
}

.btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--line)
}

.btn.alt {
    background: var(--yellow);
    color: #2A0F0B
}

.btn.sm {
    padding: 10px 16px;
    font-size: 15px
}

.btn[aria-disabled="true"] {
    opacity: .45;
    pointer-events: none;
    box-shadow: none
}

.hero {
    background: var(--yellow);
    color: #2A0F0B;
    border-bottom: 3px solid #2A0F0B
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 52px
}

.hero h1 {
    font-size: clamp(40px, 7vw, 80px);
    color: var(--red);
    text-shadow: 3px 3px 0 #2A0F0B
}

.hero p {
    font-size: 19px;
    max-width: 32em;
    margin: 20px 0 26px;
    font-weight: 600
}

.hero .logo {
    width: 100%;
    max-width: 340px;
    justify-self: center;
    height: auto;
    filter: drop-shadow(5px 6px 0 rgba(42, 15, 11, .35))
}

.strip {
    background: var(--red);
    color: #fff;
    font-family: "Bowlby One", sans-serif;
    text-align: center;
    padding: 14px 20px;
    font-size: clamp(15px, 2.6vw, 22px);
    line-height: 1.3
}

.sec {
    padding: 64px 0 72px
}

.sec h2 {
    font-size: clamp(30px, 5vw, 48px);
    color: var(--red);
    margin-bottom: 10px
}

.sec .lead {
    color: var(--muted);
    max-width: 38em;
    margin: 0 0 30px
}

.branches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px
}

.branch {
    background: var(--surface);
    border: 3px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 6px 6px 0 var(--red)
}

.branch h3 {
    font-size: 25px
}

.branch address {
    font-style: normal;
    color: var(--muted)
}

.branch .acts {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px
}

.ig {
    text-align: center;
    padding: 44px 20px;
    background: var(--surface);
    border-block: 3px solid var(--line)
}

.ig p {
    margin: 0 0 16px;
    font-weight: 600
}

footer {
    padding: 28px 0;
    text-align: center;
    font-size: 14px;
    color: var(--muted)
}

footer a {
    font-weight: 800
}

#admin {
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 30
}

.adm-btn {
    background: #2A0F0B;
    color: #FFB21A;
    border: 3px solid #FFB21A;
    border-radius: 999px;
    font: 800 15px Figtree, sans-serif;
    padding: 12px 18px;
    cursor: pointer
}

.adm-panel {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(20, 6, 4, .7);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
    padding: 20px
}

.adm-box {
    background: var(--surface);
    color: var(--ink);
    border: 3px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    width: 100%;
    max-width: 640px;
    display: grid;
    gap: 18px
}

.adm-box h3 {
    font-size: 24px;
    color: var(--red)
}

.adm-b {
    border: 3px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 10px
}

.adm-b label {
    font-weight: 800;
    font-size: 14px;
    display: grid;
    gap: 4px
}

.adm-b input[type=text] {
    font: 600 16px Figtree, sans-serif;
    padding: 10px 12px;
    border: 3px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--ink)
}

.adm-b .st {
    font-size: 14px;
    color: var(--muted)
}

.adm-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center
}

.adm-msg {
    font-size: 14px;
    min-height: 1.4em;
    margin: 0
}

@media(max-width:760px) {
    .hero .wrap {
        grid-template-columns: 1fr;
        padding-top: 28px;
        padding-bottom: 36px
    }

    .hero .logo {
        max-width: 210px;
        order: -1
    }

    nav a:not(.btn) {
        display: none
    }

    .sec {
        padding: 48px 0 56px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .btn {
        transition: none
    }
}