:root {
    --bg: #f6f0e7;
    --surface: #fffaf2;
    --surface-strong: #f0dfc3;
    --text: #2f2418;
    --muted: #6f6253;
    --line: rgba(74, 53, 28, 0.12);
    --accent: #8b5e34;
    --accent-strong: #6f451f;
    --success: #1f7a45;
    --error: #b63d2f;
    --shadow: 0 30px 70px rgba(81, 54, 27, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at top left, rgba(201, 163, 112, 0.25), transparent 32%),
        linear-gradient(180deg, #f8f3eb 0%, var(--bg) 55%, #efe3d1 100%);
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 100% 28px;
    opacity: 0.25;
}

.site-shell,
.bot-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-shell {
    padding: 40px 0 56px;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    min-height: 78vh;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

h1,
h2,
p,
ul {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 5.4rem);
    line-height: 0.95;
    margin-bottom: 16px;
}

.tagline {
    font-size: 1.25rem;
    color: var(--accent-strong);
    margin-bottom: 16px;
}

.summary,
.story p,
.order-card p,
.bot-copy p,
.bot-copy li {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 28px 0 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    cursor: pointer;
}

.button.primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fffaf0;
    box-shadow: 0 16px 30px rgba(111, 69, 31, 0.22);
}

.button:hover {
    transform: translateY(-1px);
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    padding: 0;
    list-style: none;
}

.highlights li,
.story-block,
.order-card,
.bot-copy {
    background: rgba(255, 250, 242, 0.8);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.highlights li {
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 0.98rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.bottle-card {
    width: min(100%, 420px);
    aspect-ratio: 4 / 5;
    position: relative;
    border-radius: 42px;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.8), transparent 18%),
        linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(230, 206, 166, 0.92));
    border: 1px solid rgba(101, 74, 41, 0.14);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.bottle-neck,
.bottle-body {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #5c3418 0%, #8f633c 100%);
}

.bottle-neck {
    top: 16%;
    width: 18%;
    height: 14%;
    border-radius: 18px 18px 10px 10px;
}

.bottle-body {
    top: 28%;
    width: 34%;
    height: 48%;
    border-radius: 26px;
    box-shadow: inset 0 0 0 8px rgba(255, 235, 201, 0.16);
}

.glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
}

.glow-one {
    right: 12%;
    top: 16%;
    width: 120px;
    height: 120px;
    background: rgba(255, 219, 151, 0.55);
}

.glow-two {
    left: 10%;
    bottom: 12%;
    width: 160px;
    height: 160px;
    background: rgba(186, 223, 177, 0.42);
}

.story {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 24px 0;
}

.story-block,
.order-card,
.bot-copy {
    border-radius: 28px;
    padding: 28px;
}

.story-block.accent {
    background: linear-gradient(180deg, rgba(232, 216, 190, 0.94), rgba(255, 247, 235, 0.9));
}

.order-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: start;
}

.lead-form {
    display: grid;
    gap: 16px;
}

.lead-form label {
    display: grid;
    gap: 8px;
    font-size: 0.95rem;
}

.lead-form input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(96, 71, 42, 0.18);
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    font: inherit;
}

.lead-form input:focus {
    outline: 2px solid rgba(139, 94, 52, 0.22);
    border-color: rgba(139, 94, 52, 0.4);
}

.form-status {
    min-height: 24px;
    margin: 0;
}

.form-status[data-state="success"] {
    color: var(--success);
}

.form-status[data-state="error"] {
    color: var(--error);
}

.bot-page {
    padding: 48px 0;
}

.admin-body {
    min-height: 100vh;
}

.admin-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 56px;
    position: relative;
    z-index: 1;
}

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

.admin-meta,
.admin-card {
    background: rgba(255, 250, 242, 0.84);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
    border-radius: 28px;
}

.admin-meta {
    min-width: 180px;
    padding: 18px 22px;
}

.admin-meta span {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.admin-meta strong {
    font-size: 2rem;
}

.admin-card {
    padding: 18px;
}

.table-wrap {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

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

.orders-table th {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

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

.admin-empty {
    margin: 0;
    padding: 12px;
    color: var(--muted);
}

.bot-copy h1 {
    font-size: 3rem;
}

.bot-copy h2 {
    margin-bottom: 10px;
}

@media (max-width: 860px) {
    .hero,
    .story,
    .order-card {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 8px;
    }

    .highlights {
        grid-template-columns: 1fr;
    }

    .site-shell {
        padding-top: 24px;
    }

    .admin-header {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 520px) {
    .site-shell,
    .bot-page {
        width: min(100% - 20px, 1120px);
    }

    h1 {
        font-size: 2.4rem;
    }

    .story-block,
    .order-card,
    .bot-copy {
        padding: 22px;
        border-radius: 22px;
    }
}
