/* ============================================
   Del Barrio — Comida De Calle
   Публичный клиентский сайт. Самодостаточные стили.
   Палитра взята из логотипа: чёрный + оранжевый акцент
   на тёплом светлом фоне.
   ============================================ */

:root {
    --accent: #fe5f1b;
    --accent-dark: #e0500c;
    --ink: #1c1c1c;
    --bg: #fff8f2;
    --bg-warm: #ffe9d8;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    color: var(--ink);
    min-height: 100vh;
    background: linear-gradient(160deg, var(--bg) 0%, var(--bg-warm) 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Тёплое «свечение» на фоне для глубины */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(254, 95, 27, 0.10), transparent 42%),
        radial-gradient(circle at 82% 78%, rgba(254, 95, 27, 0.08), transparent 42%);
    pointer-events: none;
}

/* Переключатель языка PL / EN */
.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(28, 28, 28, 0.08);
    box-shadow: 0 4px 14px rgba(28, 28, 28, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lang-btn {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 6px 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn:not(.is-active):hover {
    background: rgba(254, 95, 27, 0.12);
}

.lang-btn.is-active {
    background: var(--accent);
    color: #fff;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.hero__content {
    width: 100%;
    max-width: 520px;
    text-align: center;
    animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__logo {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto 28px;
    animation: float 5s ease-in-out infinite;
}

.hero__badge {
    display: inline-block;
    padding: 7px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 8px 20px rgba(254, 95, 27, 0.3);
}

.hero__subtitle {
    margin-top: 22px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a4038;
}

.hero__divider {
    width: 48px;
    height: 3px;
    margin: 28px auto 18px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.6;
}

.hero__footer {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #8a7d72;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@media (max-width: 480px) {
    .hero__logo { max-width: 300px; }
    .hero__subtitle { font-size: 1rem; }
    .lang-switch { top: 14px; right: 14px; }
    .lang-btn { padding: 5px 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__content, .hero__logo { animation: none; }
}
