/* Site Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 250, 243, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(18, 62, 113, .08);
    transition: box-shadow .25s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(18, 62, 113, .09);
}
.header-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 270px;
}
.brand-mark {
    width: 70px;
    height: 70px;
    flex: 0 0 auto;
}
.brand-copy {
    display: grid;
    line-height: 1;
}
.brand-title {
    font-family: var(--font-serif);
    font-size: 34px;
    letter-spacing: .03em;
    font-weight: 700;
    color: var(--primary);
}
.brand-sub {
    margin-top: 7px;
    letter-spacing: .32em;
    font-size: 11px;
    color: #69735f;
}
.brand-bars {
    display: flex;
    gap: 3px;
    margin-top: 10px;
}
.brand-bars span {
    height: 4px;
    border-radius: 99px;
}
.brand-bars span:nth-child(1) { width: 56px; background: #f3a411; }
.brand-bars span:nth-child(2) { width: 56px; background: #3d8738; }
.brand-bars span:nth-child(3) { width: 56px; background: #2a79bd; }

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
}
.nav a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.nav .register {
    color: #fff;
    background: var(--accent);
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(236, 104, 25, .24);
}
.nav .register:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* Burger */
.burger {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    cursor: pointer;
    color: var(--primary);
    align-items: center;
    justify-content: center;
}

/* Hero */
.hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    isolation: isolate;
    background: #bfc7c9;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-media img {
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255,250,243,.98) 0%, rgba(255,250,243,.94) 36%, rgba(255,250,243,.58) 54%, rgba(255,250,243,0) 76%);
}
.hero-inner {
    min-height: 500px;
    display: flex;
    align-items: center;
}
.hero-copy {
    width: min(540px, 60%);
    padding-block: 58px 70px;
}
.hero-copy h1 {
    margin: 0;
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: clamp(46px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -.02em;
}
.hero-copy p {
    margin: 22px 0 0;
    max-width: 460px;
    font-size: 20px;
    color: #3b3a36;
}

/* CTA */
.cta {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 22px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(236, 104, 25, .25);
    transition: .25s ease;
}
.cta:hover {
    transform: translateY(-2px);
    background: var(--accent-dark);
}
.cta svg {
    transition: transform .25s ease;
}
.cta:hover svg {
    transform: translateX(4px);
}

/* Ornament Strip */
.ornament-strip {
    height: 24px;
    border-top: 1px solid rgba(196, 158, 88, .3);
    border-bottom: 1px solid rgba(196, 158, 88, .3);
    background:
        linear-gradient(45deg, transparent 43%, rgba(196, 158, 88, .45) 44% 56%, transparent 57%) 0 0 / 20px 20px,
        linear-gradient(-45deg, transparent 43%, rgba(196, 158, 88, .45) 44% 56%, transparent 57%) 10px 0 / 20px 20px,
        rgba(255, 250, 243, .8);
}

/* Card Base */
.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.card img {
    transition: transform .35s ease;
}
.card:hover img {
    transform: scale(1.03);
}

/* Route Card */
.route-card {
    min-height: 360px;
}
.route-card img {
    height: 360px;
    object-fit: cover;
}
.route-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,250,243,.94) 0%, rgba(255,250,243,.5) 25%, transparent 52%, rgba(0,0,0,.22) 100%);
    pointer-events: none;
}
.route-head {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.route-title {
    margin: 0;
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: 25px;
    line-height: 1.08;
    text-shadow: 0 1px 0 rgba(255,255,255,.9);
}
.route-bottom {
    position: absolute;
    z-index: 3;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

/* Round Icon */
.round-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    flex: 0 0 auto;
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
    font-size: 22px;
}
.round-icon svg {
    width: 25px;
    height: 25px;
}
.round-icon.green { background: var(--green); }
.round-icon.orange { background: var(--accent); }
.round-icon.blue { background: #0f5fa5; }

/* Pill */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 7px 16px rgba(0,0,0,.16);
}
.pill.green { background: var(--green); }
.pill.orange { background: var(--accent); }
.pill.blue { background: #0f5fa5; }

/* Route Dots */
.route-dots {
    width: 110px;
    height: 42px;
    border-top: 2px dashed rgba(255,255,255,.95);
    border-radius: 60% 60% 0 0;
    transform: rotate(8deg);
    position: relative;
    flex-shrink: 0;
}
.route-dots::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -12px;
    width: 14px;
    height: 18px;
    background: currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 0 0 4px rgba(255,255,255,.8);
}
.route-dots.green { color: var(--green); }
.route-dots.orange { color: var(--accent); }
.route-dots.blue { color: #0f5fa5; }

/* Food Card */
.food-card {
    min-height: 270px;
}
.food-card img {
    height: 270px;
    object-fit: cover;
}
.food-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,250,243,.96) 0%, rgba(255,250,243,.35) 30%, transparent 55%, rgba(0,0,0,.3) 100%);
    pointer-events: none;
}
.food-top {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 16px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.food-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--primary);
}
.rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,250,243,.9);
    padding: 4px 7px;
    border-radius: 9px;
    font-weight: 700;
    color: var(--primary-dark);
    flex-shrink: 0;
}
.rating span:first-child {
    color: #e8a116;
}
.food-bottom {
    position: absolute;
    z-index: 3;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.food-bottom .round-icon {
    width: 44px;
    height: 44px;
}
.food-bottom .pill {
    background: #0d4e8d;
    padding-inline: 14px;
}

/* Car Card */
.car-card {
    min-height: 250px;
}
.car-card img {
    height: 250px;
    object-fit: cover;
}
.car-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,250,243,.92), rgba(255,250,243,.15) 46%, rgba(0,0,0,.24));
    pointer-events: none;
}
.car-head {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.car-title {
    margin: 0;
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: 23px;
    line-height: 1.08;
}
.car-footer {
    position: absolute;
    z-index: 3;
    bottom: 14px;
    left: 16px;
}

/* Footer */
.footer {
    margin-top: 36px;
    background: rgba(255, 250, 243, .85);
    border-top: 1px solid var(--line);
}
.footer-main {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.4fr .8fr;
    gap: 26px;
    align-items: start;
    padding: 42px 0 24px;
}
.footer-brand .brand-mark {
    width: 84px;
    height: 84px;
}

.contact-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 18px;
    color: var(--primary-dark);
}
.contact-item svg {
    width: 28px;
    height: 28px;
    color: #0f5fa5;
}
.contact-item strong {
    display: block;
    margin-bottom: 4px;
}
.contact-item small {
    color: var(--muted);
}

.social-title {
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: 20px;
    margin: 0 0 16px;
}
.socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    font-size: 14px;
}
.vk { background: #2672c9; }
.tg { background: #239ad6; }
.ok { background: #ef7b14; }
.wa { background: #27a75d; }

.skyline {
    height: 86px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #75b6cf;
}
.skyline svg {
    width: 100%;
    height: 100%;
    color: #5e95b0;
    display: block;
}

.footer-note {
    text-align: center;
    color: var(--primary-dark);
    font-size: 13px;
    padding: 10px 20px 16px;
}
