:root {
    --ink: #17201b;
    --muted: #5e6b64;
    --paper: #fbfaf5;
    --surface: #ffffff;
    --reed: #6f7f3f;
    --forest: #1f4d3a;
    --water: #2d7188;
    --sky: #d8edf1;
    --clay: #b96f3a;
    --amber: #f2b84b;
    --line: rgba(23, 32, 27, 0.14);
    --shadow: 0 18px 50px rgba(23, 32, 27, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(251, 250, 245, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 210px;
}

.brand-logo {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(23, 32, 27, 0.16);
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
    font-size: 14px;
    color: var(--muted);
}

.main-nav a {
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--forest);
}

.hero {
    position: relative;
    min-height: 88vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(13, 23, 18, 0.78), rgba(13, 23, 18, 0.32) 58%, rgba(13, 23, 18, 0.08)),
        linear-gradient(0deg, rgba(13, 23, 18, 0.72), rgba(13, 23, 18, 0.04) 42%);
}

.hero-content {
    position: relative;
    width: min(760px, calc(100% - 36px));
    margin: 0 clamp(18px, 6vw, 90px) 148px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--clay);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--amber);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 0.95;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.2;
}

.lead {
    max-width: 620px;
    margin: 24px 0 0;
    font-size: clamp(18px, 2vw, 23px);
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: #fff;
    background: var(--forest);
}

.button.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.button.wide {
    width: 100%;
}

.hero-facts {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1100px, calc(100% - 36px));
    margin: 0 auto 28px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(11, 24, 18, 0.58);
    backdrop-filter: blur(16px);
}

.hero-facts span {
    padding: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.78);
}

.hero-facts span:last-child {
    border-right: 0;
}

.hero-facts strong {
    display: block;
    color: #fff;
    font-size: 26px;
    line-height: 1;
}

.section {
    padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
    width: min(920px, 100%);
    margin-bottom: 34px;
}

.intro-grid,
.reservation-layout,
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: start;
}

.intro-grid p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.stat-list {
    display: grid;
    gap: 12px;
}

.stat-list div,
.price-card,
.rules-grid article,
.reservation-form,
.pond-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.stat-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 18px;
}

.stat-list span {
    color: var(--muted);
}

.reservation-band {
    background: #eef5ef;
}

.alert {
    width: min(1100px, 100%);
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 700;
}

.alert.success {
    color: #13422f;
    background: #d9f0df;
}

.alert.warning {
    color: #6a3a10;
    background: #fff0cf;
}

.payment-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    width: min(1040px, 100%);
    margin: 0 0 24px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.payment-panel h3 {
    margin-bottom: 14px;
}

.payment-panel dl {
    display: grid;
    gap: 9px;
    margin: 0;
}

.payment-panel dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.payment-panel dl div:last-child {
    border-bottom: 0;
}

.payment-panel dt,
.payment-panel dd {
    margin: 0;
}

.payment-panel dt {
    color: var(--muted);
    font-weight: 800;
}

.payment-panel dd {
    font-weight: 800;
    text-align: right;
}

.payment-qr {
    display: grid;
    place-items: center;
    align-self: start;
    padding: 8px;
    border-radius: 8px;
    background: #f4f1e8;
}

.payment-qr img {
    width: 280px;
    max-width: 100%;
}

.pond-panel {
    padding: clamp(16px, 3vw, 24px);
}

.pond-map {
    position: relative;
    min-height: 560px;
    border-radius: 8px;
    background: #dce8e9;
    overflow: hidden;
}

.pond-map img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.capacity-badge {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    display: grid;
    gap: 6px;
    min-width: 240px;
    padding: 24px 28px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 8px;
    color: #fff;
    background: rgba(23, 32, 27, 0.72);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    text-align: center;
    backdrop-filter: blur(12px);
}

.capacity-badge span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.capacity-badge strong {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 14px;
    font-size: 48px;
    line-height: 1;
}

.capacity-badge strong span {
    font-size: 72px;
    font-weight: 900;
}

.capacity-badge strong em {
    font-size: 52px;
    font-style: normal;
    font-weight: 900;
    opacity: 0.9;
}

.spot {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    transform: translate(-50%, -50%);
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: var(--forest);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    font-weight: 900;
    cursor: pointer;
}

.spot.active {
    background: var(--clay);
}

.spot.reserved {
    color: #51615a;
    background: #cbd1cc;
    cursor: not-allowed;
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 50%;
    vertical-align: middle;
}

.dot.free {
    background: var(--forest);
}

.dot.active {
    background: var(--clay);
}

.dot.reserved {
    background: #cbd1cc;
}

.capacity-stats,
.permit-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 14px;
    border-radius: 8px;
    background: #f4f1e8;
}

.capacity-stats span,
.permit-summary span {
    color: var(--muted);
}

.capacity-stats strong,
.permit-summary strong {
    color: var(--ink);
}

.permit-summary {
    margin: 0 0 16px;
}

.reservation-form {
    padding: clamp(18px, 3vw, 28px);
}

.form-row {
    margin-bottom: 16px;
}

.form-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

input[type="hidden"] {
    display: none;
}

textarea {
    resize: vertical;
}

.date-picker {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.date-picker-head {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    min-height: 46px;
    border-bottom: 1px solid var(--line);
    background: #f7f5ed;
}

.date-picker-head strong {
    text-align: center;
}

.date-picker-head button {
    width: 42px;
    height: 46px;
    border: 0;
    color: var(--forest);
    background: transparent;
    font: inherit;
    font-size: 28px;
    font-weight: 800;
    cursor: pointer;
}

.date-picker-head button:disabled {
    color: #a9b0ac;
    cursor: not-allowed;
}

.date-picker-weekdays,
.date-picker-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.date-picker-weekdays {
    min-height: 50px;
}

.date-picker-grid {
    grid-auto-rows: 54px;
    align-content: start;
    min-height: 310px;
    transition: opacity 0.15s ease;
}

.date-picker-grid.loading {
    opacity: 0.62;
}

.date-picker-weekdays span {
    padding: 8px 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.calendar-day,
.calendar-empty {
    min-height: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    background: #fff;
}

.calendar-day {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1px;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}

.calendar-day:nth-child(7n),
.calendar-empty:nth-child(7n) {
    border-right: 0;
}

.calendar-day strong {
    font-size: 18px;
    line-height: 1;
}

.calendar-day small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1;
}

.calendar-day:hover {
    background: #eef5ef;
}

.calendar-day.selected {
    color: #fff;
    background: var(--forest);
}

.calendar-day.selected small {
    color: rgba(255, 255, 255, 0.78);
}

.calendar-day.in-stay {
    background: #dff1e2;
}

.calendar-day.in-stay small {
    color: #17452f;
    font-weight: 800;
}

.calendar-day.disabled {
    color: #a9b0ac;
    background: #f1f1ee;
    cursor: not-allowed;
}

.calendar-day.disabled small {
    color: #a43c22;
    font-weight: 800;
}

.field-error {
    margin: 6px 0 0;
    color: #a43c22;
    font-size: 14px;
    font-weight: 700;
}

.selection-summary {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 4px 0 18px;
    padding: 14px;
    border-radius: 8px;
    background: #f4f1e8;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 18px;
    color: var(--muted);
    font-weight: 400;
}

.checkbox input {
    width: 18px;
    min-height: 18px;
    margin-top: 4px;
}

.pricing-layout,
.price-grid,
.rules-grid {
    display: grid;
    gap: 18px;
}

.pricing-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
    align-items: stretch;
}

.pricing .price-grid {
    grid-template-columns: 1fr;
}

.price-card,
.fish-price-card,
.rules-grid article {
    padding: 22px;
}

.price-card,
.fish-price-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.price-card p,
.fish-price-card p,
.rules-grid li {
    color: var(--muted);
}

.price-card strong {
    display: block;
    margin-top: 20px;
    color: var(--forest);
    font-size: 28px;
}

.fish-price-card dl {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}

.fish-price-card dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 14px;
    border-radius: 8px;
    background: #f4f1e8;
}

.fish-price-card dt,
.fish-price-card dd {
    margin: 0;
}

.fish-price-card dt {
    font-weight: 800;
}

.fish-price-card dd {
    color: var(--forest);
    font-weight: 800;
    text-align: right;
}

.rules {
    background: #f3efe2;
}

.rules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rules-grid ul {
    margin: 0;
    padding-left: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-grid img,
.gallery-grid video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    object-fit: cover;
    background: #17201b;
}

.contact {
    background: #e6f0f2;
}

.contact-copy p {
    color: var(--muted);
}

.contact-copy a {
    color: var(--forest);
    font-weight: 800;
}

.map-frame {
    min-height: 430px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #dce8e9;
    box-shadow: var(--shadow);
}

.map-frame iframe {
    width: 100%;
    height: 430px;
    border: 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px clamp(18px, 5vw, 72px);
    color: rgba(255, 255, 255, 0.78);
    background: #17201b;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #fff;
}

.site-footer span {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-page {
    background: #eef3ee;
}

.admin-main {
    width: min(1280px, calc(100% - 36px));
    margin: 0 auto;
    padding: 42px 0 72px;
}

.admin-login {
    width: min(430px, 100%);
    margin: 64px auto 0;
}

.admin-login h1,
.admin-toolbar h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
}

.admin-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-filters a,
.mini-button,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.admin-filters a.active {
    color: #fff;
    background: var(--forest);
    border-color: var(--forest);
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    background: #f7f5ed;
    font-size: 13px;
    text-transform: uppercase;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.status-pill {
    cursor: default;
}

.status-pill.new {
    color: #765100;
    background: #fff2ca;
}

.status-pill.confirmed {
    color: #17452f;
    background: #dff1e2;
}

.status-pill.cancelled {
    color: #7d2c1c;
    background: #f8ded7;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.mini-button.confirm {
    color: #fff;
    background: var(--forest);
    border-color: var(--forest);
}

.mini-button.cancel {
    background: #fff2ca;
}

.mini-button.delete {
    color: #fff;
    background: #a43c22;
    border-color: #a43c22;
}

.empty-state {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    box-shadow: var(--shadow);
}

@media (max-width: 1000px) {
    .site-header,
    .intro-grid,
    .reservation-layout,
    .contact {
        grid-template-columns: 1fr;
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .price-grid,
    .pricing-layout,
    .rules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 760px;
    }

    .hero-content {
        margin: 0 18px 188px;
    }

    .hero-facts,
    .form-split,
    .pricing-layout,
    .price-grid,
    .rules-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .pricing .price-grid {
        grid-template-columns: 1fr;
    }

    .hero-facts span {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .hero-facts span:last-child {
        border-bottom: 0;
    }

    .pond-map {
        min-height: 420px;
    }

    .pond-map img {
        min-height: 420px;
    }

    .spot {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .selection-summary,
    .payment-panel,
    .site-footer,
    .admin-toolbar {
        flex-direction: column;
    }

    .payment-panel {
        grid-template-columns: 1fr;
    }

    .payment-panel dl div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .payment-panel dd {
        text-align: left;
    }

    .admin-toolbar {
        align-items: stretch;
    }

    .gallery-grid img,
    .gallery-grid video {
        aspect-ratio: 16 / 9;
    }
}
