:root {
    --card-bg: rgba(255, 255, 255, 0.94);
    --card-border: rgba(0, 0, 0, 0.08);
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: #f4f4f4;
    background-color: #0f0f0f;
    background-image: url("https://qrmenus.me/uploads/restorants/d683b5a7-f91f-4a5e-a37c-e113f125c763_bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 0;
}

.page {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sub {
    margin: 0 0 2rem;
    opacity: 0.88;
    font-size: 0.98rem;
}

.branches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.branch-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.35);
}

.branch-card:focus-visible {
    outline: 3px solid #c8ff7a;
    outline-offset: 3px;
}

.branch-thumb {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
}

.branch-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 120px;
}

.branch-body {
    padding: 1rem 1.1rem 1.15rem;
    color: #1a1a1a;
}

.branch-body h2 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.branch-body p {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.35;
}

.branch-cta {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2d4a12;
}

.t-ritz {
    background: linear-gradient(135deg, #2a3a1a, #4a6b2a);
}
.t-pica {
    background: linear-gradient(135deg, #3a1f2a, #7a3a55);
}
.t-aziz {
    background: linear-gradient(135deg, #1f2d3a, #355a7a);
}
.t-aroma {
    background: linear-gradient(135deg, #2a2518, #5c4a28);
}

footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.75;
}

footer a {
    color: #d8f0a8;
}
