:root {
    --bg: #f7f8f4;
    --surface: #ffffff;
    --line: #e3decc;
    --text: #10243d;
    --muted: #5e6a72;
    --accent: #c99a2e;
    --accent-dark: #09294a;
    --green: #1e7d69;
    --warning: #b5831c;
    --danger: #b23b3b;
    --shadow: 0 18px 45px rgba(9, 41, 74, .12);
    --shadow-lift: 0 24px 58px rgba(9, 41, 74, .18);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background:
        linear-gradient(135deg, rgba(201, 154, 46, .13), transparent 34%),
        linear-gradient(315deg, rgba(9, 41, 74, .08), transparent 34%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(227, 222, 204, 0.5);
    transition: box-shadow .28s ease, background-color .28s ease, border-color .28s ease;
}

.site-header.is-scrolled {
    background: rgba(247, 248, 244, .98);
    border-color: rgba(227, 222, 204, .78);
    box-shadow: 0 14px 40px rgba(9, 41, 74, .1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 18px;
}

.mobile-nav-bar {
    display: contents;
}

.mobile-menu-toggle {
    display: none;
}

.site-navigation {
    display: contents;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--accent-dark);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(9, 41, 74, .22);
    transition: transform .28s var(--ease-out), box-shadow .28s ease;
}

.brand-logo-wrap {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(18, 35, 31, .08);
    transition: transform .28s var(--ease-out), box-shadow .28s ease;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.brand-name {
    min-width: 0;
}

.brand:hover .brand-mark,
.brand:hover .brand-logo-wrap {
    transform: rotate(-4deg) scale(1.04);
    box-shadow: 0 16px 32px rgba(201, 154, 46, .26);
}

.brand-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(247, 248, 244, .78);
    margin: 12px 0 20px;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--accent-dark);
}

.nav-links a {
    position: relative;
    transition: color .22s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 16px;
    background: var(--accent-dark);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(9, 41, 74, .18);
    transform: translateY(0);
    transition: transform .22s var(--ease-out), box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}

.button:hover,
button:hover {
    background: var(--accent);
    color: var(--accent-dark);
    box-shadow: 0 14px 30px rgba(201, 154, 46, .24);
    transform: translateY(-2px);
}

.button:active,
button:active {
    transform: translateY(0);
}

.button i,
button i {
    transition: transform .22s var(--ease-out);
}

.button:hover i,
button:hover i {
    transform: translateX(2px);
}

.button.secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--line);
    box-shadow: 0 8px 18px rgba(18, 35, 31, .05);
}

.button.secondary:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    background: #f7fbfa;
}

.button.ghost {
    background: transparent;
    color: var(--accent-dark);
    border-color: transparent;
    box-shadow: none;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 96px);
    display: grid;
    align-items: center;
    padding: 42px 0 64px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 10%;
    right: -12%;
    width: 62%;
    height: 58%;
    background: linear-gradient(115deg, transparent, rgba(201, 154, 46, .14), rgba(9, 41, 74, .07), transparent);
    transform: rotate(-7deg);
    animation: hero-sweep 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(560px, 1.18fr);
    gap: 38px;
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    color: var(--accent-dark);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-shadow: 0 8px 22px rgba(201, 154, 46, .1);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    max-width: 660px;
    color: var(--accent-dark);
    font-size: clamp(38px, 5vw, 62px);
}

h2 {
    font-size: clamp(28px, 3.6vw, 44px);
}

h3 {
    font-size: 20px;
}

p {
    margin: 0;
    color: var(--muted);
}

.lead {
    margin-top: 20px;
    max-width: 720px;
    font-size: 18px;
}

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

.hero-media {
    overflow: hidden;
    border: 1px solid rgba(201, 154, 46, .36);
    border-radius: 8px;
    box-shadow: 0 22px 56px rgba(9, 41, 74, .16);
    background: #ffffff;
    transition: transform .42s var(--ease-out), box-shadow .42s ease, border-color .42s ease;
    will-change: transform;
}

.hero-media:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 154, 46, .58);
    box-shadow: var(--shadow-lift);
}

.hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transform: scale(1.02) translate3d(var(--media-shift-x, 0), var(--media-shift-y, 0), 0);
    transition: transform .65s var(--ease-out), filter .35s ease;
    will-change: transform;
}

.hero .hero-media img {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    transform: translate3d(var(--media-shift-x, 0), var(--media-shift-y, 0), 0);
}

.hero-media:hover img {
    filter: saturate(1.04) contrast(1.02);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.trust-row strong {
    display: block;
    font-size: 24px;
    color: var(--text);
}

.trust-row span {
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: 72px 0;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 28px;
}

.section-heading p {
    max-width: 560px;
}

.admin-page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(18, 35, 31, .04);
    transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 154, 46, .34);
    box-shadow: var(--shadow);
}

.card-body {
    padding: 20px;
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .7s var(--ease-out), filter .35s ease;
}

.service-card:hover img {
    transform: scale(1.045);
    filter: saturate(1.04);
}

.service-meta,
.muted-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 4px 10px;
    background: #f5ead0;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 13px;
    transition: background-color .22s ease, color .22s ease;
}

.step-list {
    counter-reset: steps;
    display: grid;
    gap: 14px;
}

.step {
    counter-increment: steps;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    transition: transform .28s var(--ease-out), border-color .28s ease;
}

.step:hover {
    transform: translateX(4px);
    border-color: rgba(201, 154, 46, .34);
}

.step::before {
    content: counter(steps);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--text);
    color: #fff;
    font-weight: 800;
    transition: background-color .28s ease, transform .28s var(--ease-out);
}

.step:hover::before {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.band {
    background: #f2ead9;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

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

label {
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text);
    background: #fff;
    font: inherit;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s var(--ease-out);
}

input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
    outline: 0;
    border-color: rgba(201, 154, 46, .58);
    box-shadow: 0 0 0 4px rgba(201, 154, 46, .14);
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text);
    line-height: 44px;
    padding-left: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgba(201, 154, 46, .58);
    box-shadow: 0 0 0 4px rgba(201, 154, 46, .14);
}

.select2-dropdown {
    border-color: var(--line);
    border-radius: 8px;
}

textarea {
    min-height: 108px;
    resize: vertical;
}

.admin-shell textarea,
.dashboard-shell textarea {
    min-height: 86px;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.summary {
    position: sticky;
    top: 96px;
    padding: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.price-row.total {
    border-bottom: 0;
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
}

.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

tr:last-child td {
    border-bottom: 0;
}

.status {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 10px;
    background: #eef5ff;
    color: #245a89;
    font-weight: 800;
    font-size: 12px;
}

.status.good {
    background: #e9f7ee;
    color: var(--green);
}

.status.warn {
    background: #fff7e8;
    color: var(--warning);
}

.notice {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #b7ddd7;
    border-radius: 8px;
    background: #eefaf8;
    color: #0a6868;
    font-weight: 700;
}

.dashboard-shell,
.admin-shell {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    min-width: 0;
    background: linear-gradient(90deg, var(--accent-dark) 0 250px, transparent 250px), var(--bg);
}

.sidebar {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 100vh;
    padding: 22px;
    background: var(--accent-dark);
    color: #effaf6;
    overflow-y: auto;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 0;
    color: #c8d9d2;
}

.sidebar a:hover {
    color: #fff;
}

.workspace {
    padding: 28px;
    min-width: 0;
    max-width: 100%;
    background: var(--bg);
}

.admin-topbar,
.sidebar-backdrop {
    display: none;
}

.admin-thumb {
    width: 92px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
}

.admin-avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg);
    color: var(--accent-dark);
    font-weight: 800;
}

.inline-admin-form {
    margin-bottom: 22px;
    scroll-margin-top: 92px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.metric {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}

.metric:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 154, 46, .34);
    box-shadow: var(--shadow);
}

.metric strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
}

.admin-dashboard {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.admin-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: stretch;
    padding: 28px;
    border: 1px solid rgba(201, 154, 46, .22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(201, 154, 46, .16), transparent 46%),
        linear-gradient(315deg, rgba(183, 121, 31, .12), transparent 38%),
        var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-width: 0;
}

.admin-hero-panel p {
    max-width: 680px;
    margin-top: 10px;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.admin-score-card {
    display: grid;
    align-content: center;
    gap: 10px;
    min-height: 190px;
    padding: 22px;
    border: 1px solid rgba(201, 154, 46, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 14px 34px rgba(18, 35, 31, .07);
    min-width: 0;
}

.admin-score-card span,
.admin-score-card small,
.kpi-card small,
.pipeline-item span,
.health-grid span,
.forecast-day small {
    color: var(--muted);
}

.admin-score-card strong {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
}

.progress-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eee9;
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--green));
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

.kpi-card {
    display: grid;
    gap: 8px;
}

.kpi-card span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.kpi-card i {
    width: 18px;
    color: var(--accent);
}

.admin-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr);
    gap: 18px;
    align-items: stretch;
    min-width: 0;
}

.admin-dashboard-layout.bottom {
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
}

.dashboard-panel {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(18, 35, 31, .04);
    min-width: 0;
}

.panel-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.panel-heading h3 {
    margin-top: 4px;
}

.pipeline-list {
    display: grid;
    gap: 18px;
}

.pipeline-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.pipeline-item strong,
.pipeline-item span {
    display: block;
}

.pipeline-bar {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2ef;
}

.pipeline-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.pipeline-bar.good span {
    background: var(--green);
}

.pipeline-bar.warn span {
    background: var(--warning);
}

.pipeline-bar.info span {
    background: var(--accent);
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.health-grid div {
    min-height: 96px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdfb;
}

.health-grid strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
    line-height: 1.1;
}

.forecast-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(42px, 1fr));
    gap: 10px;
    align-items: end;
    min-height: 210px;
}

.forecast-day {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
}

.forecast-bar {
    display: flex;
    align-items: end;
    width: 100%;
    height: 132px;
    overflow: hidden;
    border-radius: 8px;
    background: #edf3ef;
}

.forecast-bar span {
    display: block;
    width: 100%;
    min-height: 8px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--accent), var(--green));
}

.forecast-day strong {
    line-height: 1;
}

.insight-list {
    display: grid;
    gap: 12px;
}

.insight-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdfb;
}

.insight-item i {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    color: var(--accent);
}

.dashboard-table {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.dashboard-table table {
    min-width: 840px;
}

.payment-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.payment-summary-grid small {
    display: block;
    color: var(--muted);
}

.payment-worklist {
    display: grid;
    gap: 16px;
}

.payment-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(18, 35, 31, .04);
}

.payment-card-main {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.payment-card-main h3 {
    margin-top: 10px;
}

.payment-card-main strong {
    white-space: nowrap;
    font-size: 20px;
}

.payment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.payment-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.payment-meta i {
    width: 16px;
    color: var(--accent);
}

.payment-split {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.payment-split div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdfb;
}

.payment-split span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.payment-split strong {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.25;
}

.payment-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 10px;
    align-items: center;
}

.payment-actions .button,
.payment-actions button,
.payment-actions input,
.payment-actions select {
    min-height: 44px;
    width: 100%;
    white-space: nowrap;
}

.payment-muted {
    color: var(--muted);
    font-size: 14px;
}

.footer {
    padding: 42px 0;
    border-top: 1px solid var(--line);
    background: #111d1a;
    color: #fff;
}

.footer p,
.footer a {
    color: #cbd8d2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 24px;
}

.motion-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .85s cubic-bezier(0.16, 1, 0.3, 1), transform .85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, var(--reveal-delay, 0ms));
    will-change: opacity, transform;
}

.motion-ready [data-reveal="scale"] {
    transform: translateY(18px) scale(.97);
}

.motion-ready [data-reveal="fade-up"] {
    transform: translateY(30px);
}

.motion-ready [data-reveal="zoom-in"] {
    transform: scale(.92);
}

.motion-ready [data-reveal="fade-left"] {
    transform: translateX(30px);
}

.motion-ready [data-reveal="fade-right"] {
    transform: translateX(-30px);
}

.motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.motion-ready .card[data-reveal].is-visible:hover,
.motion-ready .metric[data-reveal].is-visible:hover,
.motion-ready .hero-media[data-reveal].is-visible:hover {
    transform: translateY(-4px) scale(1);
}

.motion-ready .step[data-reveal].is-visible:hover {
    transform: translateX(4px) scale(1);
}

@keyframes hero-sweep {
    0%,
    100% {
        opacity: .35;
        transform: translateX(0) rotate(-8deg);
    }
    50% {
        opacity: .75;
        transform: translateX(-7%) rotate(-8deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .motion-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero-media img {
        transform: none;
    }
}

@media (max-width: 920px) {
    body {
        background:
            linear-gradient(180deg, rgba(201, 154, 46, .12), transparent 320px),
            var(--bg);
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .nav {
        position: relative;
        display: block;
        min-height: auto;
        padding: 10px 0;
    }

    .mobile-nav-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
        border-color: rgba(9, 41, 74, .12);
        background: #fff;
        color: var(--accent-dark);
        box-shadow: 0 10px 24px rgba(9, 41, 74, .1);
    }

    .site-navigation {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        z-index: 30;
        display: grid;
        gap: 12px;
        padding: 14px;
        border: 1px solid rgba(201, 154, 46, .28);
        border-radius: 8px;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 22px 52px rgba(9, 41, 74, .2);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px) scale(.98);
        transform-origin: top center;
        transition: opacity .22s ease, transform .22s var(--ease-out);
    }

    .mobile-nav-open .site-navigation {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        color: var(--text);
        font-size: 14px;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        min-height: 40px;
        padding: 9px 10px;
        border-radius: 8px;
        background: #f8f5ec;
        transition: background-color .2s ease, transform .2s var(--ease-out), color .2s ease;
    }

    .nav-links a:hover {
        color: var(--accent-dark);
        background: #f1e4c7;
        transform: translateX(2px);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .nav-actions .button {
        width: 100%;
        min-height: 42px;
        padding: 9px 10px;
        font-size: 14px;
    }

    .site-navigation .nav-links a,
    .site-navigation .nav-actions .button {
        opacity: 0;
        transform: translateY(6px);
        transition: opacity .22s ease, transform .22s var(--ease-out), background-color .2s ease, color .2s ease;
    }

    .mobile-nav-open .site-navigation .nav-links a,
    .mobile-nav-open .site-navigation .nav-actions .button {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-nav-open .site-navigation .nav-links a:nth-child(2) {
        transition-delay: .03s;
    }

    .mobile-nav-open .site-navigation .nav-links a:nth-child(3) {
        transition-delay: .06s;
    }

    .mobile-nav-open .site-navigation .nav-links a:nth-child(4) {
        transition-delay: .09s;
    }

    .mobile-nav-open .site-navigation .nav-links a:nth-child(5) {
        transition-delay: .12s;
    }

    .mobile-nav-open .site-navigation .nav-links a:nth-child(6) {
        transition-delay: .15s;
    }

    .mobile-nav-open .site-navigation .nav-actions .button {
        transition-delay: .18s;
    }

    .hero-grid,
    .grid.two,
    .grid.three,
    .booking-layout,
    .footer-grid,
    .admin-hero-panel,
    .admin-kpi-grid,
    .admin-dashboard-layout,
    .admin-dashboard-layout.bottom,
    .payment-summary-grid,
    .dashboard-shell,
    .admin-shell {
        grid-template-columns: 1fr;
        background: var(--bg);
    }

    .hero {
        min-height: auto;
        padding: 26px 0 44px;
    }

    .hero::before {
        top: 18%;
        right: -38%;
        width: 105%;
        height: 36%;
    }

    .hero-grid {
        gap: 22px;
    }

    .hero-copy {
        display: grid;
        gap: 14px;
    }

    .hero .eyebrow {
        font-size: 11px;
        line-height: 1.4;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(30px, 8.4vw, 42px);
        line-height: 1.06;
    }

    .hero .lead {
        margin-top: 0;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 2px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 42px;
        padding: 9px 10px;
        font-size: 13px;
    }

    .hero-media {
        border-radius: 8px;
        box-shadow: 0 16px 36px rgba(9, 41, 74, .14);
    }

    .hero .hero-media img {
        aspect-ratio: 16 / 9;
    }

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

    .trust-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 2px;
    }

    .trust-row > div {
        min-width: 0;
        padding: 10px 8px;
        border: 1px solid rgba(201, 154, 46, .26);
        border-radius: 8px;
        background: rgba(255, 255, 255, .72);
    }

    .trust-row strong {
        font-size: 17px;
    }

    .trust-row span {
        display: block;
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.35;
    }

    .section {
        padding: 48px 0;
    }

    .summary,
    .dashboard-shell .sidebar {
        position: static;
        height: auto;
    }

    .admin-shell {
        display: block;
        background: var(--bg);
    }

    .admin-shell .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(82vw, 310px);
        transform: translateX(-100%);
        transition: transform .22s ease;
        box-shadow: 16px 0 40px rgba(16, 34, 31, .25);
    }

    .admin-nav-open .admin-shell .sidebar {
        transform: translateX(0);
    }

    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 50;
        display: block;
        background: rgba(8, 18, 16, .46);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }

    .admin-nav-open .sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-topbar {
        position: sticky;
        top: 0;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: -20px -16px 20px;
        padding: 12px 16px;
        background: rgba(248, 250, 247, .95);
        border-bottom: 1px solid var(--line);
        backdrop-filter: blur(12px);
    }

    .admin-menu-button {
        min-height: 40px;
        padding: 9px 12px;
    }

    .workspace {
        padding: 20px 16px;
    }

    .admin-hero-panel,
    .dashboard-panel {
        padding: 18px;
    }

    .admin-score-card {
        min-height: auto;
    }

    .pipeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .health-grid {
        grid-template-columns: 1fr;
    }

    .forecast-chart {
        min-height: 180px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .forecast-day {
        min-width: 54px;
    }

    .section-heading,
    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading .button,
    .section-heading button {
        width: 100%;
    }

    .payment-card-main {
        display: grid;
    }

    .payment-card-main,
    .payment-actions,
    .payment-split {
        grid-template-columns: 1fr;
    }

    .payment-card-main strong {
        white-space: normal;
    }

    .payment-actions .button,
    .payment-actions button,
    .payment-actions select {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 1120px);
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .brand-logo-wrap {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 13px;
    }

    .site-navigation {
        top: calc(100% + 8px);
        padding: 12px;
    }

    .hero {
        padding: 22px 0 38px;
    }

    .hero-grid {
        gap: 18px;
    }

    .hero-copy {
        gap: 12px;
    }

    .hero h1 {
        font-size: clamp(28px, 8.2vw, 34px);
        line-height: 1.08;
    }

    .hero .lead {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-actions {
        grid-template-columns: 1fr;
    }

    .hero-media {
        border-radius: 6px;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .trust-row > div {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
    }

    .trust-row span {
        text-align: right;
    }

    h1 {
        font-size: clamp(28px, 9vw, 36px);
    }

    h2 {
        font-size: clamp(23px, 7.2vw, 30px);
    }

    h3 {
        font-size: 18px;
    }

    .lead {
        font-size: 15px;
    }

    .section {
        padding: 40px 0;
    }

    .card-body {
        padding: 16px;
    }

    .admin-topbar {
        margin: -20px -16px 16px;
    }

    .admin-dashboard {
        gap: 14px;
    }

    .admin-hero-panel,
    .dashboard-panel,
    .payment-card,
    .metric {
        padding: 14px;
    }

    .admin-hero-actions,
    .actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-hero-actions .button,
    .actions .button,
    .actions button {
        width: 100%;
    }

    .admin-score-card strong {
        font-size: 42px;
    }

    .kpi-card strong,
    .metric strong,
    .health-grid strong {
        font-size: 24px;
    }

    .forecast-chart {
        grid-template-columns: repeat(7, 54px);
    }

    .dashboard-table,
    .table-wrap {
        margin-right: -14px;
        margin-left: -14px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    th,
    td {
        padding: 12px;
    }
}

/* --- PREMIUM REDESIGN STYLES --- */
.button-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

.button-glow {
    box-shadow: 0 12px 28px rgba(201, 154, 46, 0.4);
}
.button-glow:hover {
    box-shadow: 0 16px 36px rgba(201, 154, 46, 0.6);
}

.button-icon-right {
    flex-direction: row-reverse;
}
.button-icon-right i {
    transition: transform .22s var(--ease-out);
}
.button-icon-right:hover i {
    transform: translateX(4px);
}

.button-block {
    width: 100%;
}

.glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(2px);
    pointer-events: none;
    border-radius: inherit;
}

.hero-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.trust-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(9, 41, 74, 0.04);
    transition: transform .3s ease, box-shadow .3s ease;
}
.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(9, 41, 74, 0.08);
}
.trust-item strong {
    font-size: 28px;
    color: var(--accent-dark);
}

.premium-pill {
    background: linear-gradient(135deg, var(--accent), #e3b036);
    color: #fff;
    box-shadow: 0 4px 12px rgba(201, 154, 46, 0.3);
}

.category-card {
    border-radius: 16px;
    border: 1px solid rgba(227, 222, 204, 0.6);
    background: linear-gradient(180deg, #ffffff, #fdfdfc);
}
.category-card h3 {
    margin: 16px 0;
    font-size: 22px;
}

.elegant-band {
    background: linear-gradient(180deg, #f7f8f4, #f2ead9, #f7f8f4);
    border-top: none;
}

.premium-card {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255, 0.8);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}
.premium-card:hover {
    border-color: var(--accent);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
}
.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(9, 41, 74, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.premium-meta {
    margin: 16px 0 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}
.premium-meta .price {
    font-size: 16px;
    color: var(--text);
}
.premium-meta .price strong {
    font-size: 18px;
    color: var(--accent-dark);
}
.mt-auto {
    margin-top: auto;
}

.steps-grid {
    align-items: center;
}
.premium-step {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(18, 35, 31, 0.03);
}
.premium-step:hover {
    transform: translateX(8px);
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(18, 35, 31, 0.06);
}

.corporate-band {
    background: var(--accent-dark);
    color: #ffffff;
    border-top: none;
}
.corporate-band h2, .corporate-band .eyebrow, .corporate-band .lead {
    color: #ffffff;
}
.corporate-band .eyebrow {
    text-shadow: none;
    opacity: 0.8;
}

.corporate-grid {
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.glass-card h3 {
    color: #ffffff;
}
.glass-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile refinements */
@media (max-width: 920px) {
    .button-lg {
        padding: 12px 20px;
        font-size: 15px;
    }
    .trust-item {
        padding: 12px;
    }
    .trust-item strong {
        font-size: 22px;
    }
    .premium-step {
        padding: 18px;
    }
}
