:root {
    --green-dark: #1b4332;
    --green: #2d6a4f;
    --green-light: #40916c;
    --green-pale: #d8f3dc;
    --gold: #f4a261;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.88);
    --glass-header: rgba(27, 67, 50, 0.75);
    --shadow: 0 8px 32px rgba(27, 67, 50, 0.15);
    --radius: 12px;
    --font: 'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: var(--font);
    color: #1a1a1a;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f0f7f4;
}

body.page-home {
    background: transparent;
}

.site-main { flex: 1; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    font-weight: 800;
    font-size: 1.15rem;
}

.logo-icon { font-size: 1.5rem; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.nav-admin { background: var(--gold) !important; color: #1a1a1a !important; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero home */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    margin-top: -64px;
    padding-top: 64px;
    overflow: hidden;
}

.hero-home {
    background: transparent;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    opacity: 0.55;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 67, 50, 0.35) 0%,
        rgba(45, 106, 79, 0.25) 50%,
        rgba(240, 247, 244, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 4rem 0;
    max-width: 680px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.park-clock {
    margin-bottom: 1.5rem;
}

.park-clock-inner {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
}

.park-clock-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.park-clock-time {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}

.park-clock-date {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.25rem;
    text-transform: capitalize;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary {
    background: var(--green-light);
    color: var(--white);
    border-color: var(--green-light);
}

.btn-secondary {
    background: var(--green-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.88rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; text-align: center; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--green-pale); }

.section-title {
    text-align: center;
    color: var(--green-dark);
    font-size: 2rem;
    margin: 0 0 2rem;
}

.page-hero-small {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-hero-small h1 { margin: 0 0 0.5rem; font-size: 2.25rem; }
.page-hero-small p { margin: 0; opacity: 0.9; }

body.page-inner .site-main {
    background: #f0f7f4;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: var(--glass);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-card-img {
    height: 180px;
    background: center/cover;
    background-color: var(--green);
}

.news-card-body { padding: 1.25rem; }
.news-card-body time { font-size: 0.85rem; color: var(--green); }
.news-card-body h3 { margin: 0.5rem 0; color: var(--green-dark); }

.news-details summary {
    cursor: pointer;
    color: var(--green);
    font-weight: 600;
}

.news-full { margin-top: 0.75rem; font-size: 0.95rem; }

/* Attractions */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.attraction-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.attraction-img {
    height: 200px;
    background: center/cover;
    position: relative;
    background-color: var(--green-pale);
}

.price-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--gold);
    color: #1a1a1a;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 800;
}

.attraction-body { padding: 1.25rem; }
.meta-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.buy-form { margin-top: 1rem; }
.form-row-inline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.buy-form label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.buy-form input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.full-width { width: 100%; margin-top: 0.5rem; }

/* Places */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.place-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.place-img {
    height: 160px;
    background: center/cover;
    position: relative;
}

.place-type {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--green);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.place-body { padding: 1rem; }
.hours { color: var(--green); font-weight: 600; }

/* About */
.about-block {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-block.has-image {
    grid-template-columns: 1fr 1.2fr;
}

.about-img {
    min-height: 220px;
    border-radius: var(--radius);
    background: center/cover;
}

.about-block-reverse.has-image {
    direction: rtl;
}

.about-block-reverse.has-image > * {
    direction: ltr;
}

.about-content {
    color: #333;
    line-height: 1.75;
}

.page-hero-about .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-hero-about .hero-lead {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0.95;
}

.section-compact { padding-top: 0; }

.section-intro {
    text-align: center;
    max-width: 720px;
    margin: -0.5rem auto 1.5rem;
    color: #555;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.about-stat {
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.about-stat strong {
    display: block;
    font-size: 1.35rem;
    color: var(--green-dark);
    margin-bottom: 0.25rem;
}

.about-stat span {
    font-size: 0.9rem;
    color: #666;
}

.map-city {
    margin: -0.35rem 0 0.75rem;
    color: #666;
}

.map-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.map-address-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.map-pin {
    font-size: 2rem;
    line-height: 1;
}

.map-address-card h3 {
    margin: 0 0 0.5rem;
    color: var(--green-dark);
}

.map-address {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    margin: 0 0 0.75rem;
}

.map-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-links a {
    color: var(--green);
    font-weight: 700;
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid var(--green-pale);
    min-height: 400px;
}

.map-frame iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

/* Карусель галереи «О парке» */
.gallery-carousel {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.gallery-carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #1b4332;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.gallery-carousel-slide {
    flex: 0 0 100%;
    margin: 0;
    min-width: 100%;
}

.gallery-carousel-slide img {
    display: block;
    width: 100%;
    height: min(56vh, 480px);
    object-fit: cover;
}

.gallery-carousel-slide figcaption {
    text-align: center;
    padding: 0.85rem 1rem;
    font-weight: 700;
    color: var(--green-dark);
    background: white;
}

.gallery-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--green-dark);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.gallery-carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
}

.gallery-carousel-prev { left: 12px; }
.gallery-carousel-next { right: 12px; }

.gallery-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
}

.gallery-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #b7d4c4;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.gallery-carousel-dot.is-active,
.gallery-carousel-dot:hover {
    background: var(--green);
    transform: scale(1.15);
}

.gallery-carousel-counter {
    text-align: center;
    margin: 0.75rem 0 0;
    font-weight: 700;
    color: var(--green);
}

.gallery-item div {
    height: 180px;
    border-radius: var(--radius);
    background: center/cover;
}

.gallery-item figcaption {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Reviews */
.reviews-layout {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 360px);
    gap: 2rem;
    align-items: start;
}

.review-card {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.review-author {
    display: block;
    font-size: 1.05rem;
    color: var(--green-dark);
    margin-bottom: 0.35rem;
}

.review-date {
    font-size: 0.85rem;
    color: #888;
    white-space: nowrap;
}

.review-body {
    margin: 0;
    color: #333;
}

.review-reply {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--green-pale);
    border-radius: 8px;
    font-size: 0.95rem;
}

.review-form-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 80px;
}

.review-form-card h3 {
    margin: 0 0 1rem;
    color: var(--green-dark);
}

.review-form label,
.review-form fieldset {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.65rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
}

.rating-field {
    border: none;
    padding: 0;
    margin: 0 0 1rem;
}

.rating-field legend {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rating-input {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.rating-star-label {
    cursor: pointer;
    font-weight: 600;
}

.rating-star-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-star-label span {
    display: inline-block;
    padding: 0.4rem 0.65rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: background 0.15s, border-color 0.15s;
}

.rating-star-label input:checked + span,
.rating-star-label:hover span {
    background: var(--green-pale);
    border-color: var(--green);
    color: var(--green-dark);
}

.star-rating {
    display: inline-flex;
    gap: 0.1rem;
    color: #ddd;
}

.star-rating .star.is-filled {
    color: var(--gold);
}

.star-rating-lg .star {
    font-size: 1.25rem;
}

.form-hint {
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.review-body-admin {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 0.5rem 0;
}

/* Tickets table */
.tickets-table-wrap { overflow-x: auto; }
.tickets-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tickets-table th,
.tickets-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.tickets-table .price { font-weight: 800; color: var(--green); }

.info-box {
    margin-top: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--green);
}

/* Orders / profile */
.profile-card,
.order-card {
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.orders-list .order-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
}

.order-img {
    height: 100px;
    min-height: 100px;
    border-radius: 8px;
    background: center/cover;
}

.order-status { font-weight: 800; }
.status-pending .order-status { color: #e76f51; }
.status-confirmed .order-status { color: var(--green); }
.status-cancelled .order-status { color: #999; }

.admin-note {
    background: var(--green-pale);
    padding: 0.5rem;
    border-radius: 6px;
}

/* Auth */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem;
}

.auth-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 420px;
}

.auth-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    padding: 0.65rem;
    margin-top: 0.35rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
}

.password-wrap {
    position: relative;
    display: block;
    margin-top: 0.35rem;
}

.auth-form label > input:not([type="password"]) {
    margin-top: 0.35rem;
}

.auth-form .password-wrap input {
    margin-top: 0;
    padding-right: 2.75rem;
}

.password-toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
}

.password-toggle:hover {
    color: var(--green);
    background: rgba(45, 106, 79, 0.1);
}

.password-toggle.is-visible {
    color: var(--green-dark);
}

.auth-link { text-align: center; margin-top: 1rem; }

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-error, .alert-error { background: #fde8e8; color: #9b2226; }
.alert-success { background: #d8f3dc; color: #1b4332; }

.muted { color: #666; }
.small { font-size: 0.85rem; }
.text-center { text-align: center; }

/* Footer */
.site-footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.9);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.footer-col h3, .footer-col h4 { margin-top: 0; }
.footer-col a { color: var(--green-pale); }
.footer-links { list-style: none; padding: 0; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    font-size: 0.9rem;
    text-align: center;
}

/* Admin */
body.admin-body {
    background: #e8ece9;
}

.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--green-dark);
    color: white;
    padding: 1.5rem 0;
}

.admin-sidebar a {
    display: block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255,255,255,0.12);
    color: white;
}

.admin-content {
    padding: 2rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card strong { font-size: 1.75rem; color: var(--green); display: block; }

.admin-table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th, .admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.admin-form {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    max-width: 600px;
    box-shadow: var(--shadow);
}

.admin-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
}

.form-actions { display: flex; gap: 0.5rem; margin-top: 1rem; }

.btn-danger { background: #c1121f; color: white; border-color: #c1121f; }
.btn-muted { background: #6c757d; color: white; }

.thumb { width: 60px; height: 40px; object-fit: cover; border-radius: 4px; }

/* Support chat */
.support-chat {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 999;
}

.support-chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--green);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.support-chat-toggle:hover {
    background: var(--green-light);
    transform: scale(1.05);
}

.support-chat-toggle.is-open {
    background: var(--green-dark);
}

.support-chat-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    max-width: calc(100vw - 2.5rem);
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.support-chat-panel[hidden] {
    display: none;
}

.support-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: var(--green-dark);
    color: white;
}

.support-chat-title {
    font-weight: 700;
    font-size: 1rem;
}

.support-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    opacity: 0.85;
}

.support-chat-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.support-chat-body {
    padding: 1rem;
    max-height: 260px;
    overflow-y: auto;
}

.support-chat-message {
    background: var(--green-pale);
    color: var(--green-dark);
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 12px 4px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.65rem;
    max-width: 88%;
}

.support-chat-message.is-admin {
    background: var(--green-pale);
    border-radius: 12px 12px 12px 4px;
    margin-right: auto;
}

.support-chat-message.is-user {
    background: var(--green);
    color: white;
    border-radius: 12px 12px 4px 12px;
    margin-left: auto;
}

.support-chat-login {
    padding: 0.85rem 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    text-align: center;
}

.support-chat-login a {
    color: var(--green);
    font-weight: 700;
}

.support-chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #eee;
}

.support-chat-input input {
    flex: 1;
    padding: 0.55rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.support-chat-input input:focus {
    border-color: var(--green);
}

.support-chat-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--green);
    color: white;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s;
}

.support-chat-send:hover {
    background: var(--green-light);
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .site-header { position: sticky; }
    .header-inner { position: relative; flex-wrap: wrap; }
    .logo { font-size: 1rem; }
    .logo-text { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: -1.25rem;
        right: -1.25rem;
        background: var(--green-dark);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 0.65rem 0.75rem; font-size: 1rem; }
    .hero { min-height: 70vh; }
    .hero-content { padding: 2.5rem 0; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; }
    .section { padding: 2.5rem 0; }
    .section-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
    .page-hero-small { padding: 2rem 0; }
    .page-hero-small h1 { font-size: 1.75rem; }
    .attractions-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .news-grid { grid-template-columns: 1fr; }
    .places-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .buy-form .form-row-inline { flex-direction: column; }
    .buy-form .form-row-inline label { width: 100%; }
    .buy-form input { width: 100%; }
    .about-block.has-image { grid-template-columns: 1fr; }
    .about-block-reverse.has-image { direction: ltr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .map-address-card { flex-direction: column; }
    .map-frame { min-height: 250px; }
    .map-frame iframe { height: 300px; }
    .reviews-layout { grid-template-columns: 1fr; }
    .review-form-card { position: static; }
    .gallery-carousel-slide img { height: 280px; }
    .gallery-carousel-btn { width: 40px; height: 40px; font-size: 1.4rem; }
    .tickets-table th,
    .tickets-table td { padding: 0.65rem 0.5rem; font-size: 0.88rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0 1.5rem; }
    .auth-section { padding: 1.5rem 1rem; }
    .auth-card { padding: 1.5rem; }
    .admin-layout { grid-template-columns: 1fr; }
    .orders-list .order-card { grid-template-columns: 1fr; }
    .support-chat { bottom: 1rem; right: 1rem; }
    .support-chat-panel { width: calc(100vw - 2rem); }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .park-clock-inner { padding: 0.5rem 0.85rem; }
    .park-clock-time { font-size: 1.5rem; }
    .btn { padding: 0.6rem 1rem; font-size: 0.95rem; }
    .meta-list { flex-direction: column; gap: 0.25rem; }
    .about-stats { grid-template-columns: 1fr; }
    .rating-input { justify-content: center; }
}
