:root {
    --ink: #12141a;
    --muted: #5e6573;
    --line: #e6e8ee;
    --soft: #f6f7fb;
    --paper: #ffffff;
    --brand: #024A56;
    --brand-dark: #01343c;
    --brand-soft: #e7f3f4;
    --accent: #E2A02F;
    --accent-dark: #c4841a;
    --third: #3E757C;
    --good: #0c8f4e;
    --good-soft: #e8f8ef;
    --warn: #b45309;
    --danger: #c24141;
    --shadow: 0 10px 40px rgba(18, 20, 26, 0.08);
    --radius: 18px;
    --max: 1160px;
    --font: "Manrope", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.skip {
    position: absolute;
    left: -999px;
    top: 8px;
}

.skip:focus {
    left: 8px;
    background: #fff;
    padding: 8px 12px;
    z-index: 20;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.bar {
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.15rem;
}

.logo img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.city-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.city-btn small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.city-btn {
    font-weight: 700;
}

.pin {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}

.nav-search {
    position: relative;
    flex: 1;
    max-width: 420px;
}

.nav-search input {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--soft);
    padding: 0 14px;
    font-size: 0.95rem;
}

.nav-search input:focus {
    outline: 2px solid #b7d4d7;
    background: #fff;
}

.suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: 48px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.suggest a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
}

.suggest a:hover {
    background: var(--soft);
}

.suggest small {
    color: var(--muted);
}

.desk-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    font-weight: 650;
    font-weight: 600;
}

.nav-drop {
    position: relative;
}

.mega {
    display: none;
    position: absolute;
    top: 28px;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow);
}

.nav-drop:hover .mega,
.nav-drop:focus-within .mega {
    display: grid;
}

.mega a {
    padding: 8px 10px;
    border-radius: 8px;
}

.mega a:hover {
    background: var(--soft);
}

.menu-btn,
.mobile-nav,
.tabbar {
    display: none;
}

.menu-btn {
    margin-left: auto;
    border: 0;
    background: transparent;
    width: 40px;
    height: 40px;
}

.menu-btn span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 5px 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    gap: 8px;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-ghost {
    background: #fff;
    border-color: var(--line);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

main {
    flex: 1 0 auto;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px 20px 72px;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 36px;
    align-items: center;
    padding-top: 18px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 700;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .85rem;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 14px 0;
}

.lede {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 520px;
}

.hero-search {
    margin-top: 22px;
    display: flex;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow);
}

.hero-search input {
    flex: 1;
    border: 0;
    height: 48px;
    padding: 0 12px;
    font-size: 1rem;
}

.hero-search input:focus {
    outline: none;
}

.promise-row {
    display: flex;
    gap: 18px;
    margin-top: 22px;
    color: var(--muted);
    font-size: .92rem;
    flex-wrap: wrap;
}

.promise-row strong {
    color: var(--ink);
    display: block;
}

.hero-card {
    background: var(--brand);
    color: #fff;
    border-radius: 28px;
    padding: 22px;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.hero-card:before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--accent);
    right: -40px;
    top: -50px;
    filter: blur(2px);
    opacity: .9;
}

.hero-card h2 {
    position: relative;
    margin: 80px 0 8px;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.hero-card p {
    position: relative;
    color: #c9cdd8;
    margin-top: 0;
}

.pro-chip {
    position: relative;
    margin-top: 22px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff6e4;
    color: var(--accent-dark);
    font-weight: 800;
}

.pro-chip small {
    color: #b7bdc9;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin: 42px 0 16px;
}

.section-head h2,
.block h2 {
    letter-spacing: -0.03em;
    margin: 0;
    font-size: 1.55rem;
}

.section-head p,
.muted {
    color: var(--muted);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.svc-card {
    border: 1px solid #d5e4e6;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 8px 22px rgba(2, 74, 86, 0.07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.svc-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: 0 18px 36px rgba(2, 74, 86, 0.18);
}

.svc-art {
    height: 158px;
    display: grid;
    place-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.svc-art::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--third));
    z-index: 2;
}

.svc-art svg {
    width: 42px;
    height: 42px;
    position: relative;
    z-index: 1;
}

.svc-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.svc-card:hover .svc-art img {
    transform: scale(1.06);
}

.tag {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    padding: 4px 8px;
    box-shadow: 0 4px 12px rgba(2, 74, 86, 0.28);
}

.svc-body {
    padding: 14px 14px 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.svc-name {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
}

.svc-meta,
.svc-foot {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: .86rem;
}

.svc-foot {
    justify-content: space-between;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--brand-soft);
}

.svc-foot strong {
    color: var(--brand);
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.svc-card .rate {
    background: var(--brand-soft);
    color: var(--brand);
}

.rate {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--good-soft);
    color: var(--good);
    font-weight: 800;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: .8rem;
}

.rate svg {
    width: 12px;
    height: 12px;
}

.why {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    margin-top: 48px;
}

.why-copy,
.panel,
.card,
.auth-card,
.summary {
    background: var(--soft);
    border-radius: 24px;
    padding: 22px;
}

.steps {
    display: grid;
    gap: 12px;
}

.step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 12px;
}

.num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.review {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid var(--line);
}

.stars {
    color: #d5d8e0;
    letter-spacing: 2px;
}

.stars .on {
    color: var(--accent);
}

.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 8px;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
}

.offer {
    margin-top: 28px;
    background: linear-gradient(100deg, var(--brand), var(--third));
    color: #fff;
    border-radius: 24px;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.code {
    background: rgba(255, 255, 255, .14);
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 800;
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 18px;
}

.chip {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: .9rem;
}

.chip.is-on {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.detail {
    display: grid;
    grid-template-columns: 1.35fr .75fr;
    gap: 22px;
    align-items: start;
}

.cover {
    height: 240px;
    border-radius: 24px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.cover>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(1, 52, 60, .08) 30%, rgba(1, 52, 60, .72));
}

.cover>div {
    position: relative;
    z-index: 2;
}

.cover svg {
    width: 54px;
    height: 54px;
    margin-bottom: auto;
}

.cover h1 {
    margin: 0;
    font-size: 2rem;
}

.list {
    margin: 8px 0 0;
    padding-left: 18px;
}

.list li {
    margin: 4px 0;
}

.book-panel {
    position: sticky;
    top: 86px;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.pkg {
    display: block;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 8px;
    cursor: pointer;
}

.pkg.is-on {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.pkg input {
    margin-right: 8px;
}

.pkg b {
    float: right;
}

.split {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
    align-items: start;
}

label {
    display: block;
    font-weight: 700;
    font-size: .9rem;
    margin: 12px 0 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
input:not([type]),
select,
textarea {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: 0 12px;
    background: #fff;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input:not([type]):focus,
select:focus,
textarea:focus {
    outline: 2px solid #b7d4d7;
    border-color: var(--brand);
}

textarea {
    height: auto;
    min-height: 96px;
    padding: 10px 12px;
}

.slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.slot {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    background: #fff;
    font-weight: 650;
}

.slot:has(input:checked),
.slot.is-on {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.slot input {
    margin-right: 6px;
}

.alert {
    background: #fff4f4;
    color: #8d2a2a;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.ok {
    background: var(--good-soft);
    color: var(--good);
    border-radius: 12px;
    padding: 10px 12px;
}

.auth-card {
    max-width: 460px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid var(--line);
}

.partner-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: start;
}

.hint {
    font-size: .9rem;
    color: var(--muted);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    font-size: .94rem;
}

th {
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: .75rem;
    font-weight: 800;
    background: #eef0f4;
}

.badge.pending {
    background: #fff6e8;
    color: var(--warn);
}

.badge.confirmed {
    background: #e8f1ff;
    color: #1d4ed8;
}

.badge.completed {
    background: var(--good-soft);
    color: var(--good);
}

.badge.cancelled {
    background: #fdecec;
    color: var(--danger);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}

.stat b {
    display: block;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.success-hero {
    text-align: center;
    padding: 24px 0 8px;
}

.big-code {
    font-size: 2rem;
    letter-spacing: .08em;
    font-weight: 800;
}

.site-footer {
    margin-top: auto;
    background: var(--brand-dark);
    color: #d5e4e6;
    padding: 36px 20px 28px;
}

.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 20px;
}

.site-footer a,
.site-footer span {
    display: block;
    color: #b7bdca;
    margin: 6px 0;
}

.site-footer a.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin: 0 0 8px;
}

.site-footer .logo img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    flex-basis: 48px;
}

.footer-base {
    max-width: var(--max);
    margin: 22px auto 0;
    border-top: 1px solid #2a2e3a;
    padding-top: 14px;
    color: #8b93a3;
    font-size: .88rem;
}

.city-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, .46);
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 18px;
}

.city-modal[hidden] {
    display: none;
}

.city-sheet {
    background: #fff;
    border-radius: 20px;
    width: min(560px, 100%);
    padding: 16px;
}

.sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sheet-head button {
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.city-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.city-opt {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
}

.city-opt.is-on {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.quick-help {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.35);
    transition: transform .18s ease, box-shadow .18s ease;
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(79, 70, 229, 0.42);
}

.quick-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 980px) {

    .hero,
    .why,
    .detail,
    .layout,
    .footer-grid,
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .desk-nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .mobile-nav {
        display: none;
        padding: 0 20px 14px;
    }

    .mobile-nav.is-open {
        display: grid;
    }

    .mobile-nav a {
        padding: 10px 0;
        border-top: 1px solid var(--line);
        font-weight: 700;
    }

    .nav-search {
        display: none;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .tabbar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        z-index: 25;
    }

    .site-footer {
        padding-bottom: 90px;
    }

    .tabbar a {
        text-align: center;
        padding: 12px 4px 14px;
        font-size: .78rem;
        font-weight: 800;
        color: var(--muted);
    }

    .tabbar a.is-on {
        color: var(--brand);
    }

    .quick-help {
        bottom: 84px;
    }
}

@media (max-width: 700px) {

    .hero,
    .why,
    .detail,
    .layout,
    .footer-grid,
    .grid-4,
    .grid-3,
    .city-grid,
    .slots,
    .partner-layout {
        grid-template-columns: 1fr;
    }

    .offer {
        flex-direction: column;
        align-items: flex-start;
    }

    .book-panel {
        position: static;
    }

    h1 {
        font-size: 2.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}