:root {
    --color-bg: #050505;
    --color-surface: #121212;
    --color-surface-soft: #1b1b1b;
    --color-primary: #ff7a18;
    --color-primary-hover: #ff9b4a;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.78);
    --color-border: rgba(255, 255, 255, 0.12);
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.35);
    --radius-lg: 24px;
    --radius-md: 16px;
}

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

body.site-body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(255, 122, 24, 0.18), transparent 30%),
        linear-gradient(180deg, #101010 0%, var(--color-bg) 100%);
    color: var(--color-text);
    min-height: 100vh;
}

.hero {
    max-width: 920px;
    margin: 0 auto 2rem;
    padding: 2rem 1.25rem;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.hero-logo {
    width: min(100%, 280px);
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.hero-lead {
    max-width: 720px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.btn-cta {
    min-width: 240px;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff5e00 100%);
    box-shadow: 0 12px 30px rgba(255, 122, 24, 0.28);
}

.btn-cta:hover,
.btn-cta:focus {
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, #ff7b22 100%);
}

.section-pizza,
.gallery-section {
    max-width: 1140px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow-lg);
}

.section-intro {
    max-width: 820px;
    margin: 0 auto 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.section-pizza .col-md-4,
.gallery-grid > [class*="col-"] {
    padding: 0.75rem;
}

.section-pizza .col-md-4 p {
    height: 100%;
    margin-bottom: 0;
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    line-height: 1.65;
}

.gallery-image {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.modal-custom {
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #101010;
}

.modal-dialog {
    max-width: min(1100px, calc(100vw - 1.5rem));
}

.modal-header,
.modal-footer {
    border-color: var(--color-border);
}

.modal-body {
    overflow: auto;
    text-align: center;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    cursor: zoom-in;
    transform-origin: center center;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.modal-prev,
.modal-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.modal-prev:hover,
.modal-next:hover,
.modal-prev:focus,
.modal-next:focus {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(1.05);
    outline: none;
}

.image-thumbnails {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0;
}

.image-thumbnails img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    opacity: 0.65;
    cursor: pointer;
}

.image-thumbnails img.is-active,
.image-thumbnails img:hover {
    opacity: 1;
    border-color: var(--color-primary);
}

.seo-content {
    max-width: 1140px;
    margin: 2rem auto 0;
    padding: 1.5rem;
}

.seo-content__inner {
    max-width: 860px;
    margin: 0 auto;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.seo-content__inner p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 1.25rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .section-pizza,
    .gallery-section,
    .seo-content {
        padding: 1rem;
    }

    .modal-footer {
        justify-content: center;
    }

    .image-thumbnails {
        order: 3;
        width: 100%;
    }
}