@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaFaNum-Regular.woff2') format('woff2');
    font-weight: 100 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dana';
    src: url('../fonts/DanaFaNum-Bold.woff2') format('woff2');
    font-weight: 600 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --teal: #0c3a6e;
    --teal-hover: #0a2f5a;
    --teal-deep: #082648;
    --teal-soft: #dce6f2;
    --teal-mist: #eef3f8;
    --navy: #0c2340;
    --navy-deep: #07182c;
    --navy-mid: #1a4a7c;
    --navy-soft: #d5e0ec;
    --navy-mist: #eef3f8;
    --gold: #c4a574;
    --gold-soft: #f4eee4;
    --blue: #0c3a6e;
    --bg: #f4f6f9;
    --card: #ffffff;
    --text: #1a2838;
    --muted: #5a6b7c;
    --line: #e1e7ee;
    --shadow: 0 10px 28px rgba(7, 24, 44, 0.07);
    --radius: 12px;
    --max: 1180px;
    --header-h: 76px;
    --streak: rgba(12, 58, 110, 0.028);
}

* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    font-family: "Dana", Tahoma, sans-serif;
    overflow-x: hidden;
    max-width: 100%;
}
html.is-nav-open,
body.is-nav-open,
html.is-sheet-open,
body.is-sheet-open {
    overflow: hidden;
}
body {
    margin: 0;
    font-family: "Dana", Tahoma, sans-serif;
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    line-height: 1.9;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.site-body {
    position: relative;
    padding-top: var(--header-h);
    background:
        radial-gradient(900px 420px at 100% -8%, rgba(12, 58, 110, 0.08), transparent 55%),
        radial-gradient(700px 380px at 0% 12%, rgba(196, 165, 116, 0.10), transparent 50%),
        var(--bg);
}
.site-body::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: repeating-linear-gradient(
        -28deg,
        transparent 0 34px,
        var(--streak) 34px 36px
    );
    mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 88%);
}
.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; }
small { font-weight: 300; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3 { line-height: 1.5; margin: 0 0 12px; color: var(--navy-deep); font-weight: 700; }

.ico {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: -0.15em;
    stroke: currentColor;
}
.field { position: relative; display: block; }
.field .ico {
    position: absolute;
    top: 50%;
    inset-inline-start: 12px;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.field input { width: 100%; padding-inline-start: 42px; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-deep);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--teal);
}
.kicker {
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
}
.lead { color: var(--muted); font-size: 16.5px; max-width: 54ch; overflow-wrap: anywhere; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.muted { color: var(--muted); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    padding: 11px 20px;
    font-size: 14.5px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .2s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-hover); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); background: var(--teal-mist); }
.btn-danger { background: #9b2c2c; color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; }

.section { padding: 80px 0; }
.section-mint {
    position: relative;
    background: linear-gradient(180deg, var(--navy-mist), #fff);
    overflow: hidden;
}
.section-mint::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        -28deg,
        transparent 0 34px,
        var(--streak) 34px 36px
    );
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.section-soft { background: #fff; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 28px;
}
.section-intro { max-width: 640px; margin-bottom: 48px; }
.link-more {
    color: var(--teal-deep);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.card-body { padding: 22px; }
.date { color: var(--muted); font-size: 13px; }
.tag {
    display: inline-block;
    background: var(--gold-soft);
    color: #6d542f;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 12px;
    margin-bottom: 8px;
}

/* header */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    width: 100%;
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(7, 24, 44, 0.04);
}
.site-header::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-deep), var(--teal) 45%, var(--gold) 78%, var(--navy-deep));
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 20px;
    min-width: 0;
    max-width: 100%;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--teal-soft);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px var(--teal);
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
    overflow: hidden;
}
.brand-text strong { font-size: 15px; color: var(--navy); }
.brand-text span { font-size: 11.5px; color: var(--muted); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav > a,
.nav-drop > a {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14.5px;
    color: var(--muted);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-nav .ico {
    flex-shrink: 0;
    opacity: .88;
}
.site-nav > a:hover .ico,
.nav-drop > a:hover .ico,
.site-nav > a.is-active .ico,
.nav-drop > a.is-active .ico {
    opacity: 1;
    color: var(--teal);
}
.site-nav > a:hover,
.nav-drop > a:hover {
    color: var(--navy);
    background: var(--navy-mist);
}
.site-nav > a.is-active,
.nav-drop > a.is-active {
    color: var(--navy);
    background: transparent;
    box-shadow: inset 0 -2px 0 var(--teal);
}
.nav-drop { position: relative; }
.nav-drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 30;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { display: grid; }
.nav-drop-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13.5px;
    color: var(--navy);
}
.nav-drop-menu .ico {
    flex-shrink: 0;
    color: var(--teal);
}
.nav-drop-menu a:hover { background: var(--teal-mist); color: var(--teal-deep); }
.header-cta { flex-shrink: 0; font-size: 13.5px; white-space: nowrap; }

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--teal-mist);
    cursor: pointer;
    flex-shrink: 0;
}
.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
    border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 28, 38, .46);
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
}
.nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.offcanvas {
    display: none;
    position: fixed;
    top: var(--header-h);
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: 80%;
    max-width: 80%;
    height: auto;
    background: #fff;
    z-index: 80;
    flex-direction: column;
    padding: 18px 16px calc(24px + env(safe-area-inset-bottom));
    visibility: hidden;
    pointer-events: none;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(110%);
    box-shadow: -16px 0 40px rgba(7, 24, 44, 0.14);
    transition: transform .38s cubic-bezier(0.22, 1, 0.36, 1), visibility .38s ease;
}
.offcanvas.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}
.offcanvas-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.offcanvas-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.offcanvas-profile img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 0 0 3px var(--teal);
}
.offcanvas-profile span { min-width: 0; }
.offcanvas-profile strong {
    display: block;
    color: var(--navy);
    font-size: 14.5px;
    overflow-wrap: anywhere;
}
.offcanvas-profile small {
    display: block;
    color: var(--muted);
    font-size: 12.5px;
    overflow-wrap: anywhere;
}
.offcanvas-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--teal-mist);
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
}
.offcanvas-nav { display: grid; gap: 4px; }
.offcanvas-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
}
.offcanvas-nav a.is-active,
.offcanvas-nav a:hover { background: var(--teal-mist); color: var(--teal-deep); }
.offcanvas-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--teal);
    border: 1px solid var(--line);
}
.offcanvas-block { margin-top: 22px; }
.offcanvas-block > strong {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12.5px;
}
.offcanvas-cats { display: grid; gap: 4px; }
.offcanvas-cats a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--navy);
    background: var(--teal-mist);
    font-size: 13.5px;
}
.offcanvas-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
.offcanvas-socials, .footer-socials, .about-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.offcanvas-socials a,
.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
}
.offcanvas-socials a { background: var(--teal-mist); }
.offcanvas-socials .icon,
.footer-socials .icon,
.about-socials .icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.bottom-nav { display: none; }
.nav-sheet-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(14, 28, 38, .46);
    z-index: 92;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .32s ease, visibility .32s ease;
}
.nav-sheet-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.nav-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset-inline: 16px;
    bottom: 0;
    z-index: 93;
    width: min(480px, calc(100% - 32px));
    margin-inline: auto;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
    max-height: min(78dvh, 520px);
    visibility: hidden;
    pointer-events: none;
    transform: translateY(110%);
    box-shadow: 0 -18px 40px rgba(7, 24, 44, 0.16);
    transition: transform .38s cubic-bezier(0.22, 1, 0.36, 1), visibility .38s ease;
}
.nav-sheet.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-sheet-handle {
    width: 42px;
    height: 4px;
    border-radius: 99px;
    background: var(--line);
    margin: 4px auto 10px;
}
.nav-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.nav-sheet-head strong {
    color: var(--navy);
    font-size: 16px;
}
.nav-sheet-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--teal-mist);
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
}
.nav-sheet-body {
    display: grid;
    gap: 8px;
    overflow-y: auto;
}
.nav-sheet-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--teal-mist), #fff);
    border: 1px solid var(--navy-soft);
    color: var(--navy);
}
.nav-sheet-box-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--teal);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.nav-sheet-box b {
    display: block;
    font-size: 14.5px;
    line-height: 1.4;
}
.nav-sheet-box small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}
.nav-sheet-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    border-radius: 14px;
    background: var(--navy-mist);
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
}
.nav-sheet-link.is-active {
    background: var(--teal-mist);
    color: var(--teal-deep);
}
.nav-sheet-link-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--teal);
    flex-shrink: 0;
}
.nav-sheet-soon {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px 16px 12px;
    background: var(--gold-soft);
    border-radius: 16px;
    color: #7a5a2e;
}
.nav-sheet-soon-ico {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #fff;
    display: grid;
    place-items: center;
    color: #7a5a2e;
}
.nav-sheet-soon b { font-size: 20px; }
.nav-sheet-soon small { color: #6d542f; font-size: 13px; }
.site-main { min-height: 50vh; }

/* hero slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    padding: 28px 0 72px;
}
.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        -28deg,
        transparent 0 34px,
        var(--streak) 34px 36px
    );
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.slides { position: relative; }
.slide {
    animation: slide-in .45s ease;
}
.slide[hidden] { display: none !important; }
@keyframes slide-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-copy h1 {
    font-size: clamp(28px, 4.4vw, 48px);
    margin-bottom: 14px;
}
.hero-visual {
    background: linear-gradient(180deg, #fff, var(--navy-mist));
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 8px;
    overflow: hidden;
}
.hero-visual img {
    width: 100%;
    height: min(460px, 52vw);
    object-fit: cover;
    border-radius: 10px;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.hero-meta span {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12.5px;
    color: var(--navy);
}
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}
.slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
}
.slider-btn:hover { border-color: var(--teal); color: var(--teal); }
.slider-dots { display: flex; gap: 6px; }
.slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    border: 0;
    background: var(--navy-soft);
    padding: 0;
    cursor: pointer;
}
.slider-dots button.is-active { width: 22px; background: var(--teal); }

.stats-bar { margin-top: -24px; position: relative; z-index: 2; }
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.stats-row div {
    text-align: center;
    padding: 8px;
}
.stats-row b { display: block; color: var(--teal); font-size: 26px; }
.stats-row span { color: var(--muted); font-size: 13px; }

.logo-box { padding: 42px 0 10px; overflow: hidden; }
.logo-box-kicker {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 18px;
}
.logo-marquee { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 28s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item {
    direction: rtl;
    width: 180px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px 14px;
    display: grid;
    justify-items: center;
    gap: 6px;
}
.logo-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}
.logo-item span { font-size: 12.5px; color: var(--navy); font-weight: 600; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.service-row.is-reverse { direction: ltr; }
.service-row.is-reverse > * { direction: rtl; }
.service-tag {
    display: inline-flex;
    background: var(--teal-soft);
    color: var(--teal-deep);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}
.service-copy small { display: block; color: var(--muted); margin: 10px 0 6px; }
.service-copy h3 { font-size: 26px; }
.service-visual {
    background: var(--navy-mist);
    border-radius: 10px;
    overflow: hidden;
}
.service-visual img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.service-copy-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.service-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--gold-soft);
    color: #7a5a2e;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}
.service-row.is-soon {
    background: linear-gradient(180deg, #fff 0%, var(--gold-soft) 160%);
}
.service-row.is-plain {
    grid-template-columns: 1fr;
}
.service-row.is-soon .service-visual {
    position: relative;
}
.service-row.is-soon .service-visual::after {
    content: 'به‌زودی';
    position: absolute;
    inset-inline-end: 12px;
    bottom: 12px;
    background: rgba(7, 24, 44, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    padding: 6px 10px;
}
.service-row.is-soon .service-visual img {
    filter: grayscale(.18) saturate(.85);
}
.btn-soon {
    background: var(--gold-soft);
    color: #7a5a2e;
    border-color: #e4d4b8;
    pointer-events: none;
    cursor: default;
}

.services-swiper,
.cards-swiper {
    overflow: hidden;
    padding: 2px 2px 8px;
}
.services-swiper .swiper-slide,
.cards-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}
.cards-swiper .swiper-slide {
    display: flex;
}
.services-swiper .service-row,
.cards-swiper .post-card,
.cards-swiper .achieve-card {
    margin-bottom: 0;
    width: 100%;
    height: 100%;
}
.services-swiper-controls,
.cards-swiper-controls {
    margin-top: 18px;
}
.services-swiper .swiper-pagination,
.cards-swiper .swiper-pagination {
    position: static;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.services-swiper .swiper-pagination-bullet,
.cards-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 99px;
    background: var(--navy-soft);
    opacity: 1;
    transition: width .2s ease, background .2s ease;
}
.services-swiper .swiper-pagination-bullet-active,
.cards-swiper .swiper-pagination-bullet-active {
    width: 22px;
    background: var(--teal);
}

.about-split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
    align-items: center;
}
.about-visual {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.about-visual img,
.about-visual-inline img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
}
.check-list .ico { color: var(--teal); }

.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.post-card-cover {
    position: relative;
    display: block;
    height: 180px;
    background: var(--navy-mist);
}
.post-card-cover img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.post-card-cover img.is-fallback { object-fit: cover; }
.post-card-tag {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    background: #fff;
    color: var(--teal-deep);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
}
.post-card-body { padding: 18px; display: grid; gap: 8px; }
.post-card-body time { color: var(--muted); font-size: 12.5px; }
.post-card-body h3 { font-size: 17px; margin: 0; }
.post-card-body p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card-more {
    color: var(--teal);
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.achieve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.achieve-grid-page { grid-template-columns: repeat(3, 1fr); }
.achieve-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.achieve-year {
    display: inline-block;
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 8px;
}

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 36px;
    align-items: start;
}
.faq-intro img {
    margin-top: 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
}
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-align: right;
    background: none;
    border: 0;
    padding: 16px 18px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
}
.faq-q .ico { color: var(--teal); transition: transform .2s ease; }
.faq-item.is-open .faq-q .ico { transform: rotate(45deg); }
.faq-a {
    display: none;
    padding: 0 18px 16px;
    color: var(--muted);
}
.faq-a p { margin: 0; }
.faq-item.is-open .faq-a { display: block; }

.cta-banner {
    padding: 20px 0 80px;
}
.cta-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(120deg, var(--navy-deep), var(--teal));
    color: #fff;
    border-radius: 12px;
    padding: 28px 28px 28px 8px;
    overflow: hidden;
    position: relative;
}
.cta-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        -28deg,
        transparent 0 26px,
        rgba(255,255,255,.022) 26px 27px
    );
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2,
.cta-inner .kicker { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.82); max-width: 46ch; }
.cta-inner img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
}

.site-footer {
    background: var(--navy-deep);
    color: #d5e4ea;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        -28deg,
        transparent 0 26px,
        rgba(255,255,255,.02) 26px 27px
    );
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(auto-fit, minmax(160px, 1fr));
    gap: 28px;
    padding: 48px 0 28px;
    position: relative;
    z-index: 1;
}
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text span { color: rgba(213, 228, 234, .75); }
.site-footer h3 { color: #fff; font-size: 16px; }
.site-footer a { color: #d5e4ea; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .btn-primary { color: #fff; }
.footer-copy {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0 22px;
    color: #9bb4bd;
    font-size: 13px;
    position: relative;
    z-index: 1;
}
.footer-brand p { max-width: 42ch; }
.footer-brand .footer-socials { margin-top: 16px; }
.footer-contact p { margin: 0 0 12px; }
.footer-seals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}
.footer-seal {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    min-height: 64px;
}
.footer-seal img,
.footer-seal a,
.footer-seal iframe {
    max-height: 80px;
    width: auto;
    display: block;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 20px;
    background: linear-gradient(180deg, var(--navy-mist), transparent);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        -28deg,
        transparent 0 34px,
        var(--streak) 34px 36px
    );
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.about-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: start;
}
.about-photo {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.about-socials { margin-top: 14px; display: grid; }
.about-socials a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.about-visual-inline { margin: 22px 0; }
.article { max-width: 760px; margin: 0 auto; }
.article-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.article-body { font-size: 17px; }
.article-body a { color: var(--teal-deep); text-decoration: underline; }
.article-body p, .rich-text p { margin: 0 0 16px; }
.article-body h2, .article-body h3, .article-body h4,
.rich-text h2, .rich-text h3, .rich-text h4 { margin: 24px 0 12px; }
.article-body ul, .article-body ol,
.rich-text ul, .rich-text ol { margin: 0 0 16px; padding-inline-start: 22px; }
.article-body img, .rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 12px 0;
}
.article-body table, .rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.article-body th, .article-body td,
.rich-text th, .rich-text td {
    border: 1px solid var(--line);
    padding: 8px 10px;
}
.article-body blockquote, .rich-text blockquote {
    margin: 16px 0;
    padding: 8px 16px;
    border-inline-start: 4px solid var(--teal);
    color: var(--muted);
    background: var(--navy-mist);
    border-radius: 0 8px 8px 0;
}
.article-body iframe, .article-body video,
.rich-text iframe, .rich-text video {
    max-width: 100%;
    border-radius: 12px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.filter-row a,
.filter-row button {
    padding: 7px 14px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
}
.filter-row a.is-active,
.filter-row a:hover,
.filter-row button.is-active,
.filter-row button:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}
.filter-row button small {
    margin-inline-start: 4px;
    opacity: .8;
}

.toolkit-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 16px;
    color: var(--muted);
}
.toolkit-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    color: var(--text);
}
.toolkit-list {
    display: grid;
    gap: 12px;
}
.toolkit-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow);
}
.toolkit-media {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--teal-mist);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.toolkit-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.toolkit-ico { color: var(--teal); }
.toolkit-copy { min-width: 0; }
.toolkit-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12.5px;
}
.toolkit-copy h3 {
    font-size: 17px;
    margin: 0 0 4px;
}
.toolkit-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
}
.toolkit-action { flex-shrink: 0; }
.toolkit-action .btn { white-space: nowrap; }
.toolkit-copy h3 a {
    color: inherit;
    text-decoration: none;
}
.toolkit-copy h3 a:hover { color: var(--teal-deep); }
a.toolkit-media { color: inherit; }
.toolkit-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13.5px;
}
.toolkit-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.toolkit-stats strong { color: var(--navy); font-weight: 700; }
.toolkit-stats-inline {
    margin: 8px 0 0;
    font-size: 12.5px;
    gap: 12px;
}
.toolkit-page {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    max-width: 920px;
}
.toolkit-page-media {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--teal-mist);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
}
.toolkit-page-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.toolkit-page-excerpt {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text);
}
.toolkit-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.eyebrow a { color: inherit; }
[data-share].is-copied { border-color: var(--teal); color: var(--teal-deep); }

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    object-position: center 18%;
    border: 2px solid rgba(255,255,255,.18);
}
.login-avatar {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    object-fit: cover;
    object-position: center 18%;
    margin-bottom: 12px;
    border: 1px solid var(--line);
}

.empty {
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    color: var(--muted);
    display: grid;
    justify-items: center;
    gap: 10px;
    grid-column: 1 / -1;
}
.flash {
    background: #e8f4ea;
    color: #215c33;
    border: 1px solid #cde6d3;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}
.flash.is-error {
    background: #fdecea;
    color: #8a1f16;
    border-color: #f5c6cb;
}
.social-send {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    display: grid;
    gap: 8px;
    background: var(--navy-mist);
}
.social-send .muted { margin: 0; }
.social-send .check-grid { margin-top: 4px; }

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    background: var(--navy-mist);
    color: var(--navy);
}
.status-pill.is-pending { background: var(--gold-soft); color: #6d542f; }
.status-pill.is-confirmed { background: #e8f4ea; color: #215c33; }
.status-pill.is-cancelled { background: #fdecec; color: #9b2c2c; }

.booking-page {
    display: grid;
    gap: 22px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.booking-step,
.booking-block,
.booking-calendar {
    min-width: 0;
    max-width: 100%;
}
.booking-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.booking-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 700;
}
.booking-steps li span {
    min-width: 0;
    line-height: 1.35;
}
.booking-steps li b {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--navy-mist);
    color: var(--navy);
    font-size: 13px;
}
.booking-steps li.is-active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}
.booking-steps li.is-active b { background: rgba(255,255,255,.16); color: #fff; }
.booking-steps li.is-done {
    border-color: var(--teal);
    color: var(--navy);
    cursor: pointer;
}
.booking-steps li.is-done b { background: var(--teal-mist); color: var(--teal-deep); }
.booking-step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.booking-confirm-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.booking-summary-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.booking-summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}
.booking-summary-list li span { color: var(--muted); }
.booking-summary-list li.is-total {
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 16px;
}
.booking-calendar {
    overflow-x: hidden;
    min-width: 0;
}
.booking-week-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.booking-week-nav button {
    display: grid;
    justify-items: center;
    gap: 4px;
    min-width: 108px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.booking-week-nav button small {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}
.booking-week-nav button.is-active,
.booking-week-nav button:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.booking-week-nav button.is-active small,
.booking-week-nav button:hover small {
    color: rgba(255,255,255,.82);
}
.booking-week-title {
    color: var(--muted);
    font-size: 13.5px;
    margin: 0 0 12px;
    line-height: 1.7;
}
.booking-week-board {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}
.booking-day-col {
    min-width: 0;
    display: grid;
    gap: 6px;
    align-content: start;
}
.booking-day-col header {
    text-align: center;
    padding: 8px 4px;
    background: var(--navy-mist);
    border-radius: 10px;
}
.booking-day-col header span { display: block; font-size: 12.5px; font-weight: 600; }
.booking-day-col header b { display: block; font-size: 18px; margin-top: 2px; }
.booking-day-col.is-today header { background: var(--teal-mist); }
.booking-slot-time,
.booking-slot-state { font-style: normal; display: block; }
.booking-slot-time { display: none; }
.booking-week-board .booking-slot { display: block; }
.booking-week-board .booking-slot span,
.booking-week-board .booking-slot.is-taken {
    width: 100%;
    justify-content: center;
    min-height: 38px;
    padding: 7px 6px;
    font-size: 12.5px;
    text-align: center;
}
.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}
.booking-main { display: grid; gap: 28px; }
.booking-block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.booking-block-head { margin-bottom: 18px; }
.booking-block-head h2 { margin-bottom: 6px; font-size: 22px; }
.booking-offerings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.booking-offering { display: block; }
.booking-offering input { position: absolute; opacity: 0; pointer-events: none; }
.booking-offering span {
    display: grid;
    gap: 6px;
    min-height: 100%;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.booking-offering span small { color: var(--muted); font-size: 13px; }
.booking-offering span em {
    font-style: normal;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}
.booking-offering span b { color: var(--teal-deep); font-size: 15px; }
.booking-offering input:checked + span {
    border-color: var(--teal);
    background: var(--teal-mist);
    box-shadow: 0 10px 24px rgba(15, 118, 110, .12);
}
.booking-days { display: grid; gap: 16px; }
.booking-day {
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
}
.booking-day:first-child { border-top: 0; padding-top: 0; }
.booking-day h3 { font-size: 16px; margin-bottom: 10px; }
.booking-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.booking-slot { display: block; }
.booking-slot input { position: absolute; opacity: 0; pointer-events: none; }
.booking-slot span,
.booking-slot.is-taken {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 13.5px;
    cursor: pointer;
}
.booking-slot input:checked + span {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.booking-slot.is-taken {
    background: var(--navy-mist);
    color: var(--muted);
    cursor: not-allowed;
    text-decoration: line-through;
}
.booking-form-fields { margin-top: 4px; }
.booking-summary {
    position: sticky;
    top: calc(var(--header-h, 72px) + 16px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.booking-summary h2 { font-size: 20px; }
.booking-summary ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.booking-summary li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}
.booking-summary li span { color: var(--muted); }
.booking-summary li.is-total {
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 16px;
}
.booking-summary .btn { width: 100%; justify-content: center; margin-top: 8px; }
.booking-thanks { max-width: 680px; }
.booking-group-list { padding-inline-start: 18px; margin: 12px 0 16px; display: grid; gap: 8px; }

/* admin */
.admin-body { background: #fff; }
.admin-body .btn-primary { background: var(--navy); }
.admin-body .btn-primary:hover { background: var(--navy-deep); }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-topbar { display: none; }
.admin-nav-backdrop { display: none; }
.admin-side {
    background: var(--navy-deep);
    color: #d7e6ec;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.admin-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    color: #fff;
}
.admin-side-head .brand-text strong { color: #fff; }
.admin-side-head .brand-text span { color: rgba(215, 230, 236, .78); }
.admin-side-close { display: none; }
.admin-side-nav { display: grid; gap: 4px; }
.admin-side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #d7e6ec; }
.admin-side a:hover, .admin-side a.is-active { background: rgba(255,255,255,.08); color: #fff; }
.admin-side-logout { margin-top: 18px; }
.admin-side-logout .btn {
    width: 100%;
    color: #fff;
    background: transparent;
    border-color: rgba(255,255,255,.2);
}
.admin-main { padding: 28px; background: #fff; min-height: 100%; width: 100%; }
.admin-main .form { width: 100%; max-width: none; }
.admin-main .tox-tinymce {
    width: 100% !important;
    border-radius: 10px !important;
    border-color: var(--line) !important;
}
.admin-main .tox-editor-header,
.admin-main .tox-menubar,
.admin-main .tox-toolbar,
.admin-main .tox-toolbar__primary {
    background: #fff !important;
}
.admin-main .tox .tox-tbtn,
.admin-main .tox .tox-mbtn {
    font-family: Dana, Tahoma, sans-serif;
}
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0 22px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    width: fit-content;
    max-width: 100%;
}
.admin-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}
.admin-tabs a:hover { background: var(--navy-mist); }
.admin-tabs a.is-active {
    background: var(--navy);
    color: #fff;
}
.thumb-sm {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--navy-mist);
    display: block;
}
.form-preview {
    width: min(280px, 100%);
    border-radius: 12px;
    border: 1px solid var(--line);
}
.identity-previews {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}
.identity-previews figure {
    margin: 0;
    display: grid;
    gap: 8px;
    justify-items: start;
}
.identity-previews img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--navy-mist);
}
.identity-previews .is-wide {
    grid-column: span 1;
}
.identity-previews .is-wide img {
    width: 100%;
    max-width: 180px;
    height: 72px;
}
.identity-previews figcaption {
    font-size: 12px;
    color: var(--muted);
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin-top: 12px;
}
.repeater { display: grid; gap: 12px; }
.repeater-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    display: grid;
    gap: 12px;
    background: var(--navy-mist);
}
.repeater-item-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
textarea.html-code {
    min-height: 110px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    direction: ltr;
    text-align: left;
}
.admin-block { margin-bottom: 32px; }
.admin-block h3 { margin-bottom: 6px; }
.dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.dashboard-head h1 { margin-bottom: 4px; }
.dashboard-head .muted { margin: 0; }
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}
.stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    color: inherit;
    min-height: 92px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.stat:hover {
    border-color: var(--navy-soft);
    box-shadow: 0 14px 28px rgba(7, 24, 44, 0.10);
    transform: translateY(-2px);
}
.stat-ico-wrap {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--navy-mist);
    color: var(--navy);
}
.stat:nth-child(9n+2) .stat-ico-wrap { background: var(--teal-mist); color: var(--teal); }
.stat:nth-child(9n+3) .stat-ico-wrap { background: var(--gold-soft); color: #6d542f; }
.stat:nth-child(9n+4) .stat-ico-wrap { background: #e7eef6; color: var(--navy-mid); }
.stat:nth-child(9n+5) .stat-ico-wrap { background: #eef6f2; color: #215c33; }
.stat:nth-child(9n+6) .stat-ico-wrap { background: #f3eef8; color: #5a3d7a; }
.stat:nth-child(9n+7) .stat-ico-wrap { background: #e8f3f8; color: #1a5a73; }
.stat:nth-child(9n+8) .stat-ico-wrap { background: #f7efe6; color: #8a5a28; }
.stat:nth-child(9n+9) .stat-ico-wrap { background: #eef4ea; color: #3d6b3a; }
.stat-copy { display: grid; gap: 2px; min-width: 0; }
.stat-copy b {
    display: block;
    color: var(--navy-deep);
    font-size: 26px;
    line-height: 1.15;
}
.stat-copy span {
    color: var(--navy);
    font-size: 13.5px;
    font-weight: 600;
}
.stat-copy small {
    color: var(--muted);
    font-size: 12.5px;
}
.dashboard-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.dashboard-panel-head h3 { margin: 0; }
.dash-news {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.dash-news:last-of-type { border-bottom: 0; padding-bottom: 0; }
.dash-news strong { color: var(--navy-deep); }
.dash-news span { color: var(--muted); font-size: 13px; }
.dash-news:hover strong { color: var(--teal); }
.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: right; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { background: var(--navy-mist); color: var(--navy); font-weight: 700; }
.form { display: grid; gap: 14px; }
label { font-size: 13.5px; color: var(--navy); display: grid; gap: 6px; }
input, textarea, select {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
}
textarea { min-height: 180px; resize: vertical; }
.check { display: flex; align-items: center; gap: 8px; color: var(--text); }
.error { color: #9b2c2c; font-size: 13px; }
.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.login-card { width: min(420px, 100%); }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; list-style: none; padding: 0; }
.pagination a, .pagination span {
    display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; gap: 4px;
    border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 0 10px;
}
.pagination .active span { background: var(--teal); color: #fff; border-color: var(--teal); }

.icon-picker {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    margin: 0;
}
.icon-picker legend {
    color: var(--navy);
    font-size: 13.5px;
    padding-inline: 6px;
}
.icon-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 8px;
}
.icon-pick { display: block; }
.icon-pick input { position: absolute; opacity: 0; pointer-events: none; }
.icon-pick span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
}
.icon-pick input:checked + span {
    border-color: var(--teal);
    background: var(--teal-mist);
    color: var(--teal-deep);
}

@media (max-width: 1023px) {
    :root { --header-h: 58px; }
    html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .site-body { background: #fff; overflow-x: clip; }
    .site-header,
    .site-main,
    .site-footer {
        max-width: 100%;
        overflow-x: clip;
    }
    .site-main { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .header-inner { min-height: var(--header-h); gap: 10px; justify-content: flex-start; }
    .site-nav, .header-cta { display: none; }
    .brand-text span { display: none; }
    .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
    .nav-burger { display: flex; }
    .offcanvas {
        display: flex;
    }
    .nav-backdrop {
        display: block;
    }
    .bottom-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        inset: auto 0 0;
        background: rgba(255,255,255,.94);
        backdrop-filter: blur(16px);
        border-top: 1px solid var(--line);
        z-index: 50;
        padding: 6px 0 calc(8px + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 24px rgba(14, 28, 38, .06);
    }
    .bottom-nav a,
    .bottom-nav button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        font-family: inherit;
        font-size: 11px;
        line-height: 1.2;
        color: var(--muted);
        padding: 6px 2px;
        border: 0;
        border-radius: 12px;
        background: transparent;
        cursor: pointer;
        text-align: center;
        min-width: 0;
    }
    .bottom-nav a.is-active,
    .bottom-nav button.is-active,
    .bottom-nav button[aria-expanded="true"] { color: var(--teal); font-weight: 700; }
    .bottom-nav a.is-active .ico,
    .bottom-nav button.is-active .ico,
    .bottom-nav button[aria-expanded="true"] .ico { stroke-width: 2.5; }
    .bottom-nav span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .nav-sheet {
        inset-inline: 0;
        width: 100%;
        max-width: none;
        margin-inline: 0;
    }
    .container { width: min(var(--max), calc(100% - 24px)); max-width: 100%; min-width: 0; }
    .page-hero h1 { font-size: 26px; overflow-wrap: anywhere; }
    .page-hero .lead { font-size: 14.5px; }
    .hero-slider { padding: 12px 0 28px; }
    .hero-grid {
        justify-items: center;
        text-align: center;
    }
    .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .hero-copy .lead {
        max-width: 36ch;
        margin-inline: auto;
    }
    .hero-copy .actions {
        justify-content: center;
    }
    .hero-meta {
        justify-content: center;
    }
    .hero-visual { width: 100%; }
    .hero-grid, .service-row, .service-row.is-reverse, .about-split, .faq-layout, .cta-inner, .about-page, .footer-grid, .booking-layout, .booking-offerings, .booking-confirm-grid {
        grid-template-columns: 1fr;
    }
    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
    }
    .stats-row div { padding: 6px 4px; }
    .stats-row b { font-size: 22px; }
    .stats-row span { font-size: 12px; }
    .booking-section { padding: 28px 0 24px; overflow-x: hidden; }
    .booking-page { gap: 14px; width: 100%; padding-bottom: 8px; }
    .booking-block { padding: 16px; border-radius: 14px; overflow: hidden; }
    .booking-block-head { margin-bottom: 12px; }
    .booking-block-head h2 { font-size: 18px; }
    .booking-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }
    .booking-steps li {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 4px;
        padding: 8px 4px;
        font-size: 11px;
        border-radius: 12px;
    }
    .booking-steps li b { width: 22px; height: 22px; font-size: 12px; }
    .booking-calendar { overflow-x: hidden; }
    .booking-week-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        margin-bottom: 12px;
        scrollbar-width: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .booking-week-nav::-webkit-scrollbar { display: none; }
    .booking-week-nav button {
        flex: 0 0 auto;
        min-width: 92px;
        padding: 8px 10px;
        font-size: 13px;
    }
    .booking-week-board {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .booking-day-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
    }
    .booking-day-col header {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 8px;
        text-align: start;
        padding: 0 2px 8px;
        background: none;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }
    .booking-day-col header span,
    .booking-day-col header b {
        display: inline;
        font-size: 15px;
        margin: 0;
    }
    .booking-day-col.is-today { border-color: var(--teal); }
    .booking-slot-time {
        display: block;
        font-size: 12px;
        line-height: 1.4;
    }
    .booking-slot-state { font-size: 12px; }
    .booking-week-board .booking-slot span,
    .booking-week-board .booking-slot.is-taken {
        min-height: 52px;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding: 8px 6px;
    }
    .booking-step-actions {
        position: static;
        display: flex;
        flex-direction: column-reverse;
        gap: 8px;
        margin: 16px 0 8px;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
        scroll-margin-bottom: calc(84px + env(safe-area-inset-bottom));
    }
    .booking-step-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .booking-step > .booking-block {
        margin-bottom: 0;
    }
    .booking-group-list { padding-inline-start: 16px; }
    .service-row.is-reverse { direction: rtl; }
    .hero-visual img { height: 220px; }
    .hero-copy h1 { font-size: 26px; }
    .section { padding: 48px 0; }
    .service-row { padding: 16px; margin-bottom: 18px; border-radius: 12px; }
    .service-visual img { height: 200px; }
    .grid-3, .achieve-grid, .achieve-grid-page { grid-template-columns: 1fr; }
    .cta-inner { padding: 22px; }
    .cta-inner img { height: 160px; }
    .page-hero { padding: 24px 0 8px; }
    .booking-summary { position: static; }
    .toolkit-item {
        grid-template-columns: 56px minmax(0, 1fr);
    }
    .toolkit-media { width: 56px; height: 56px; border-radius: 14px; }
    .toolkit-action {
        grid-column: 1 / -1;
    }
    .toolkit-action .btn { width: 100%; justify-content: center; }
    .toolkit-page {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .toolkit-page-media {
        width: 100%;
        height: 200px;
        border-radius: 18px;
    }
    .toolkit-page-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .site-footer { margin-bottom: 0; }
    body.is-nav-open { overflow: hidden; }
}

@media (max-width: 430px) {
    .booking-steps li span { display: none; }
    .booking-steps li { padding: 10px 0; }
    .brand-text strong {
        font-size: 13.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 58vw;
    }
}

@media (max-width: 700px) {
    .form-grid-2,
    .check-grid { grid-template-columns: 1fr; }
    .identity-previews { grid-template-columns: 1fr 1fr; }
    .admin-tabs { width: 100%; }
    .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; min-height: calc(100vh - 56px); }
    .admin-topbar {
        display: flex;
        align-items: center;
        gap: 12px;
        position: sticky;
        top: 0;
        z-index: 90;
        min-height: 56px;
        padding: 8px 14px;
        background: var(--navy-deep);
        color: #fff;
    }
    .admin-topbar .brand-text strong { color: #fff; }
    .admin-topbar .brand-text span { color: rgba(215, 230, 236, .78); }
    .admin-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: rgba(255,255,255,.08);
        cursor: pointer;
        flex-shrink: 0;
    }
    .admin-menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        background: #fff;
        border-radius: 1px;
        transition: transform .2s ease, opacity .2s ease;
    }
    .admin-menu-toggle:hover { background: rgba(255,255,255,.14); }
    .admin-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .admin-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .admin-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .admin-nav-backdrop {
        display: block;
        position: fixed;
        inset: 56px 0 0;
        background: rgba(8, 40, 51, .46);
        z-index: 70;
    }
    .admin-nav-backdrop[hidden] { display: none; }
    .admin-side {
        position: fixed;
        top: 56px;
        inset-inline-start: 0;
        inset-inline-end: auto;
        width: min(300px, 86vw);
        height: calc(100dvh - 56px);
        min-height: calc(100dvh - 56px);
        z-index: 80;
        padding: 16px 14px calc(20px + env(safe-area-inset-bottom));
        box-shadow: -12px 0 40px rgba(8, 40, 51, .28);
        transform: translateX(110%);
        transition: transform .25s ease;
        overflow-y: auto;
        pointer-events: none;
        visibility: hidden;
    }
    .admin-side.is-open {
        transform: translateX(0);
        pointer-events: auto;
        visibility: visible;
    }
    .admin-side-close {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: #fff;
        cursor: pointer;
        flex-shrink: 0;
    }
    .admin-side-close:hover { background: rgba(255,255,255,.1); }
    .admin-side-logout { margin-top: auto; padding-top: 18px; }
    .admin-main { padding: 20px 16px 28px; }
    body.is-nav-open { overflow: hidden; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .dashboard-head { align-items: stretch; }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .grid-3, .achieve-grid-page { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; }
    .slide { animation: none; }
}
