:root {
    --red: #a20f16;
    --red2: #d52a31;
    --ink: #090a0d;
    --panel: #14161b;
    --silver: #c9cbd1;
    --paper: #f7f7f8;
    --muted: #a9abb2;
    --radius: 22px;
    --shadow: 0 24px 70px #0006
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font: 16px/1.55 Inter, system-ui, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #090a0dee;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #ffffff16
}

.navbar {
    max-width: 1240px;
    margin: auto;
    min-height: 78px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
    letter-spacing: .04em
}

.brand img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: contain;
    background: white
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav-links a,
.link-button {
    border: 0;
    background: none;
    color: white;
    cursor: pointer;
    padding: 9px 5px
}

.nav-links a:hover,
.link-button:hover {
    color: #ff6b70
}

.nav-cta,
.btn {
    background: linear-gradient(135deg, var(--red), var(--red2)) !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 20px !important;
    color: white !important;
    cursor: pointer;
    font-weight: 750;
    box-shadow: 0 10px 30px #a20f1640
}

.btn.secondary {
    background: #282b33 !important
}

.btn.danger {
    background: #611017 !important
}

.btn.ghost {
    background: transparent !important;
    border: 1px solid #ffffff2c !important
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 28px
}

.hero {
    min-height: 82vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    max-width: 1240px;
    margin: auto;
    padding: 70px 24px;
    gap: 55px
}

.hero-video {
    position: relative;
    isolation: isolate;
    max-width: none;
    min-height: calc(100vh - 78px);
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    padding-inline: max(24px, calc((100vw - 1240px) / 2 + 24px));
    background: #090a0d
}

.hero-background-video,
.hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.hero-background-video {
    z-index: -3;
    object-fit: cover;
    object-position: center;
    background: #090a0d
}

.hero-video-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 6, 8, .94) 0%, rgba(5, 6, 8, .78) 42%, rgba(5, 6, 8, .32) 76%, rgba(5, 6, 8, .5) 100%),
        linear-gradient(0deg, rgba(9, 10, 13, .72), transparent 45%)
}

.hero-copy {
    max-width: 720px;
    position: relative;
    z-index: 1
}

.hero-video-logo {
    width: clamp(150px, 18vw, 245px);
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px #0009;
    position: relative;
    z-index: 1
}

.eyebrow {
    color: #ff666c;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .78rem;
    font-weight: 800
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: .87;
    margin: 16px 0;
    letter-spacing: -.06em
}

.hero p {
    font-size: 1.2rem;
    color: #d5d5d8;
    max-width: 620px
}

.hero-art {
    position: relative;
    min-height: 570px
}

.hero-art .main {
    width: 78%;
    height: 100%;
    position: absolute;
    right: 0;
    object-fit: cover;
    border-radius: 120px 20px 120px 20px;
    box-shadow: var(--shadow)
}

.hero-art .logo-float {
    position: absolute;
    width: 190px;
    height: 190px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    left: 0;
    top: 18%;
    z-index: 2;
    box-shadow: var(--shadow)
}

.hero-art:after {
    content: "";
    position: absolute;
    inset: 7% 2% -3% 22%;
    border: 2px solid var(--red2);
    border-radius: 120px 20px 120px 20px;
    z-index: -1
}

.actions,
.toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px
}

.section {
    max-width: 1240px;
    margin: auto;
    padding: 78px 24px
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.6rem);
    margin: 0 0 8px
}

.section-intro {
    color: var(--muted);
    max-width: 700px
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px
}

.card {
    background: linear-gradient(145deg, #181a20, #101115);
    border: 1px solid #ffffff12;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 15px 50px #0003
}

.card.clickable {
    cursor: pointer;
    transition: .25s
}

.card.clickable:hover {
    transform: translateY(-5px);
    border-color: #d52a3160
}

.card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 15px
}

.card h3 {
    margin: 14px 0 5px
}

.price {
    color: #ff6b70;
    font-size: 1.4rem;
    font-weight: 850
}

.strike {
    text-decoration: line-through;
    color: #888;
    font-size: .95rem
}

.mosaic {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    grid-template-rows: 260px 260px;
    gap: 15px;
    margin-top: 32px
}

.mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px
}

.mosaic img:first-child {
    grid-row: span 2
}

.page-hero {
    padding: 65px 24px 25px;
    max-width: 1240px;
    margin: auto
}

.page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    margin: 0
}

.form-card {
    max-width: 760px;
    margin: 25px auto 80px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-weight: 700;
    font-size: .9rem
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: #090a0d;
    border: 1px solid #ffffff22;
    border-radius: 12px;
    padding: 13px;
    color: white
}

.field textarea {
    min-height: 120px
}

.tabs {
    display: flex;
    gap: 7px;
    margin: 20px 0
}

.tab {
    padding: 11px 18px;
    border: 0;
    border-radius: 999px;
    background: #24262d;
    color: white;
    cursor: pointer
}

.tab.active {
    background: var(--red)
}

.hidden,
[hidden] {
    display: none !important
}

.avatar {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background: #292b31
}

.crop-stage {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    margin: 18px auto;
    background: #06070a;
    position: relative;
    touch-action: none
}

.crop-stage img {
    position: absolute;
    max-width: none;
    cursor: grab
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 22px
}

.cal-head {
    text-align: center;
    color: #aaa;
    font-size: .8rem
}

.cal-day {
    min-height: 105px;
    background: #14161b;
    border: 1px solid #ffffff12;
    border-radius: 12px;
    color: white;
    text-align: left;
    padding: 10px;
    cursor: pointer
}

.cal-day:hover,
.cal-day.has-items {
    border-color: var(--red2)
}

.cal-day.muted {
    opacity: .28
}

.badge {
    display: inline-block;
    border-radius: 999px;
    background: #a20f1635;
    color: #ff8589;
    padding: 3px 9px;
    font-size: .78rem
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: #000b;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px
}

.modal {
    background: #17191f;
    border: 1px solid #ffffff1c;
    border-radius: 22px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 26px;
    box-shadow: var(--shadow)
}

.modal-head {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.modal-close {
    border: 0;
    background: none;
    color: white;
    font-size: 25px;
    cursor: pointer
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #1d2026;
    border-left: 4px solid var(--red2);
    padding: 15px 20px;
    border-radius: 10px;
    z-index: 110
}

footer {
    border-top: 1px solid #ffffff15;
    max-width: 1240px;
    margin: 50px auto 0;
    padding: 36px 24px;
    display: flex;
    justify-content: space-between;
    color: #b8bac0;
    gap: 25px
}

footer a:hover {
    color: white
}

.empty {
    padding: 40px;
    text-align: center;
    color: #aaa;
    border: 1px dashed #ffffff28;
    border-radius: 16px
}

.admin-grid a {
    display: block
}

.admin-grid .card {
    min-height: 170px
}

.admin-grid .icon {
    font-size: 2rem
}

.media-thumb {
    position: relative
}

.media-thumb video {
    width: 100%;
    border-radius: 15px;
    aspect-ratio: 4/3;
    background: #000
}

.appointment-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #ffffff13
}

.note {
    font-size: .88rem;
    color: #aaa
}

.danger-text {
    color: #ff686e
}

@media(max-width:900px) {
    .nav-toggle {
        display: block
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #111319;
        padding: 20px;
        flex-direction: column;
        align-items: stretch
    }

    .nav-links.open {
        display: flex
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 45px
    }

    .hero-video {
        min-height: calc(100svh - 78px);
        align-content: center;
        padding: 64px 24px;
        grid-template-columns: 1fr
    }

    .hero-video-overlay {
        background: linear-gradient(90deg, rgba(5, 6, 8, .9), rgba(5, 6, 8, .48)),
            linear-gradient(0deg, rgba(9, 10, 13, .78), transparent 55%)
    }

    .hero-video-logo {
        width: 135px;
        position: absolute;
        right: 24px;
        top: 28px;
        opacity: .92
    }

    .hero-art {
        min-height: 440px
    }

    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .mosaic {
        grid-template-columns: 1fr 1fr
    }

    .mosaic img:first-child {
        grid-row: auto
    }

    .mosaic img:last-child {
        display: none
    }
}

@media(max-width:600px) {

    .grid,
    .form-grid {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }

    .hero h1 {
        font-size: 3.5rem
    }

    .hero-video {
        padding: 92px 18px 56px
    }

    .hero-video-logo {
        width: 94px;
        right: 18px;
        top: 18px
    }

    .hero-background-video {
        object-position: 58% center
    }

    .hero-art {
        min-height: 360px
    }

    .hero-art .logo-float {
        width: 125px;
        height: 125px
    }

    .calendar {
        gap: 3px
    }

    .cal-day {
        min-height: 70px;
        padding: 5px;
        font-size: .8rem
    }

    footer {
        flex-direction: column
    }

    .appointment-row {
        flex-direction: column
    }

    .section {
        padding: 55px 18px
    }
}
