/* Vyemma design system: new screens should compose these tokens and components. */
:root {
    --brand: #5BB75B;
    --brand-dark: #2F753F;
    --brand-deep: #173D2A;
    --brand-soft: #EAF6E8;
    --brand-pale: #F5FBF3;
    --ink: #19352A;
    --muted: #61736A;
    --surface: #FCFCF8;
    --surface-alt: #F2F7F0;
    --white: #FFFFFF;
    --line: #DCE8DD;
    --warning: #B65E39;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 8px 24px rgba(23, 61, 42, .06);
    --shadow-md: 0 18px 42px rgba(23, 61, 42, .12);
    --container: 1160px;
}
[data-theme="dark"] {
    --ink: #E7F2E7;
    --muted: #A9BDAE;
    --surface: #10251B;
    --surface-alt: #173227;
    --white: #F7FFF5;
    --line: #2E4B3A;
    --brand-soft: #1E432C;
    --brand-pale: #173227;
    --brand-deep: #091810;
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, .18);
    --shadow-md: 0 18px 42px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 98px; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: 'DM Sans', Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input, textarea { font-size: 16px; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(91, 183, 91, .48); outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

/* Global navigation and footer */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .035em; font-size: 1rem; line-height: 1.15; }
.brand-logo { width: 178px; height: 56px; flex: 0 0 178px; display: block; object-fit: cover; object-position: center; border-radius: 4px; background: #fff; }
.brand-name { max-width: 190px; }
.brand-light { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 8px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.theme-toggle { width: 38px; height: 38px; display: inline-grid; place-items: center; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.theme-toggle:hover { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-soft); }
.theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: none; }
[data-theme="dark"] .theme-moon { display: inline; }
nav { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .88rem; }
nav a { padding: 9px 12px; border-radius: 100px; transition: color .2s ease, background .2s ease, transform .2s ease; }
nav a:hover, nav a[aria-current="page"] { color: var(--brand-deep); background: var(--brand); transform: translateY(-1px); }
.text-link:hover { color: var(--brand-dark); }
.site-footer { color: #BDD4C1; background: var(--brand-deep); padding: 76px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px; padding-bottom: 62px; }
.footer-grid p { max-width: 260px; font-size: .86rem; }
.footer-grid a { display: block; margin: 7px 0; font-size: .86rem; transition: color .2s ease; }
.footer-grid a:hover { color: var(--white); }
.footer-label { color: var(--white); text-transform: uppercase; letter-spacing: .14em; font-size: .65rem !important; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(189, 212, 193, .25); padding-top: 18px; color: #9ABAA1; font-size: .7rem; }

/* Shared actions */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 13px 20px; color: var(--white); background: var(--brand-dark); border: 1px solid var(--brand-dark); border-radius: var(--radius-sm); font-size: .86rem; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { color: var(--white); background: var(--brand-deep); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.button span, .card-link span { font-size: 1.08rem; line-height: 1; }
.button:disabled { cursor: wait; opacity: .8; transform: none; }
.button-spinner { width: 15px; height: 15px; display: inline-block; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: button-spin .75s linear infinite; }
@keyframes button-spin { to { transform: rotate(360deg); } }
.button-small { min-height: 40px; padding: 9px 14px; gap: 10px; font-size: .78rem; }
.button-light { color: var(--brand-deep); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--brand-deep); background: var(--brand-soft); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 0; color: inherit; background: transparent; border: 0; font-size: .88rem; font-weight: 700; cursor: pointer; transition: color .2s ease; }

/* Type and page scaffolding */
.eyebrow { margin: 0 0 18px; color: var(--brand-dark); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, blockquote { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
.hero h1, .page-hero h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(3rem, 6vw, 5.25rem); line-height: 1.04; }
.section h2, .split-section h2, .contact-note h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.65rem); line-height: 1.1; }
.narrow { max-width: 820px; }
.page-hero { padding: 112px 0 100px; background: var(--brand-soft); }
.page-hero p:not(.eyebrow) { max-width: 660px; margin-bottom: 0; color: var(--muted); font-size: 1.12rem; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; padding-top: 20px; color: var(--muted); font-size: .75rem; }
.breadcrumbs a { color: var(--brand-dark); font-weight: 700; }
.breadcrumbs a:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.section { padding: 116px 0; }
.soft { background: var(--surface-alt); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 50px; }
.section-intro > p, .split-grid > div > p:not(.eyebrow) { max-width: 460px; margin: 0; color: var(--muted); }

/* Hero and editorial sections */
.hero { padding: 116px 0 124px; background: radial-gradient(circle at 90% 10%, #EEF9EA 0, transparent 34%), var(--surface); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 90px; }
.hero-copy { max-width: 500px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.hero-art { position: relative; height: 430px; }
.art-card { position: absolute; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.art-card-back { top: 0; right: 0; width: 73%; height: 84%; background: var(--brand); transform: rotate(5deg); }
.art-card-front { bottom: 0; left: 4%; width: 74%; height: 83%; overflow: hidden; color: var(--brand-deep); background: var(--brand-soft); }
.art-card-front > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.art-caption { position: absolute; inset: auto 0 0; padding: 72px 32px 28px; color: var(--white); background: linear-gradient(transparent, rgba(23,61,42,.92)); }
.art-mark { position: absolute; top: 27px; left: 38px; color: var(--brand); font-family: 'Playfair Display', Georgia, serif; font-size: 8rem; line-height: .8; opacity: .74; }
.art-card-front p { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; }
.art-card-front small { margin-top: 8px; color: #E4F2E4; }
.proof { color: var(--white); background: var(--brand-deep); font-size: .76rem; }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; }
.proof-row > div { min-height: 88px; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 14px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.16); }
.proof-row > div:last-child { border-right: 0; }
.proof-row strong { color: var(--brand); text-transform: uppercase; letter-spacing: .09em; font-size: .68rem; }
.proof-row span { color: #C3D8C8; }
.quote-section { padding: 120px 0; color: var(--white); background: var(--brand); }
.quote-wrap { max-width: 870px; }
.quote-wrap .eyebrow { color: var(--brand-deep); }
blockquote { margin: 0 0 24px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.18; }
.quote-byline { font-size: .85rem; }
.cta-section { padding: 76px 0; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 58px 66px; color: var(--white); background: var(--brand-deep); border-radius: var(--radius-lg); }
.cta-box h2 { margin: 0; font-size: 2.45rem; }
.cta-box .eyebrow { color: var(--brand); }

/* Services and reusable cards */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-grid-large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { min-height: 380px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid transparent; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { border-color: rgba(47, 117, 63, .18); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.service-card img { width: 100%; height: 135px; object-fit: cover; filter: saturate(.76); }
.service-card-body { flex: 1; padding: 23px 26px 26px; display: flex; flex-direction: column; }
.service-card h3 { margin: 17px 0 12px; font-size: 1.55rem; line-height: 1.15; }
.service-card p { margin: 0; color: #476053; font-size: .87rem; }
[data-theme="dark"] .service-card p { color: #B8D0BB; }
.card-number { color: var(--brand-dark); font-size: .72rem; font-weight: 700; }
.card-link { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; font-size: .78rem; font-weight: 700; }
.card-focus-list { padding: 0; margin: 18px 0 22px; list-style: none; color: var(--brand-dark); font-size: .78rem; }
.card-focus-list li { padding-left: 15px; position: relative; }
.card-focus-list li::before { position: absolute; left: 0; content: '•'; color: var(--brand); font-weight: 700; }
.service-card.terracotta { background: #F5D9CF; }
.service-card.sage { background: var(--brand-soft); }
.service-card.navy { background: #E1ECEF; }
.service-card.gold { background: #F7EBC5; }
.service-card.terracotta, .service-card.sage, .service-card.navy, .service-card.gold { background: var(--surface-alt); }
.price { margin-top: 20px; color: var(--brand-deep); font-size: .75rem; font-weight: 700; }
[data-theme="dark"] .price { color: #C7EBC7; }
.service-grid-large .service-card { min-height: 400px; }
.service-grid-large .service-card img { height: 165px; }
.split-section { padding: 116px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: start; }
.split-grid > div > p:not(.eyebrow) { margin: 24px 0 34px; }
.steps { display: flex; flex-direction: column; }
.steps > div { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 24px 0; border-top: 1px solid #CDDDCF; font-size: .9rem; }
.steps b, .value-grid span { color: var(--brand-dark); font-size: .75rem; }
.steps strong { font-weight: 700; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 20px; }
.value-grid h3 { margin: 25px 0 8px; font-size: 1.8rem; }
.value-grid p { color: var(--muted); font-size: .9rem; }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.faq-grid details { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.faq-grid summary { color: var(--ink); font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; line-height: 1.2; cursor: pointer; }
.faq-grid details p { margin: 18px 0 0; color: var(--muted); font-size: .88rem; }
.service-detail-hero.navy { background: #E1ECEF; }
.service-detail-hero.gold { background: #F7EBC5; }
.service-detail-hero.terracotta { background: #F5D9CF; }
.detail-price { display: inline-block; margin-top: 22px; padding: 7px 12px; color: var(--brand-deep); background: rgba(255,255,255,.58); border-radius: 100px; font-size: .8rem; font-weight: 700; }
[data-theme="dark"] .detail-price { color: #123D24; background: #DDF2D9; }
.subservice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.subservice-grid article { min-height: 230px; padding: 26px; display: flex; flex-direction: column; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.subservice-number { color: var(--brand-dark); font-size: .72rem; font-weight: 700; }
.subservice-grid h3 { margin: 48px 0 10px; font-size: 1.55rem; line-height: 1.15; }
.subservice-grid p { margin: 0; color: var(--muted); font-size: .87rem; }
.home-subservices article { min-height: 250px; }
.home-subservices .card-link { margin-top: auto; color: var(--brand-dark); }
.detail-cta { margin-top: 34px; }
.visual-story { padding: 110px 0; background: var(--surface-alt); }
.visual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.visual-grid figure { margin: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.visual-grid img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; transition: transform .35s ease; }
.visual-grid figure:hover img { transform: scale(1.04); }
.visual-grid figcaption { padding: 14px 17px 17px; color: var(--muted); font-size: .8rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.deliverables { padding: 0; margin: 0 0 36px; list-style: none; }
.deliverables li { padding: 17px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.deliverables li span { margin-right: 14px; color: var(--brand-dark); font-weight: 700; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.contact-note p:not(.eyebrow) { color: var(--muted); }
.contact-detail { margin-top: 35px !important; font-size: .9rem; }
.contact-detail strong { color: var(--ink); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-booking { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-booking p { margin: 0 0 14px; color: var(--ink) !important; font-size: .9rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { font-size: .75rem; font-weight: 700; }
.form-row input, .form-row textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: var(--white); border: 1px solid #CCDCCF; border-radius: var(--radius-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91, 183, 91, .13); outline: none; }
.form-row span, .validation { color: var(--warning); font-size: .75rem; }
.contact-form button { justify-self: start; }
.success { grid-column: 1 / -1; color: var(--brand-dark); font-size: .85rem; }
.flash-alert { background: var(--brand-soft); border-bottom: 1px solid var(--line); }
.success-alert { margin: 16px 0; padding: 14px 18px; color: var(--brand-dark); background: var(--white); border: 1px solid rgba(47, 117, 63, .22); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); font-size: .88rem; }
.auth-card { max-width: 560px; padding: 34px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.auth-card form { display: flex; flex-direction: column; gap: 9px; }
.auth-card label { margin-top: 10px; font-size: .76rem; font-weight: 700; }
.auth-card input, .auth-card textarea { width: 100%; padding: 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.auth-card .button { align-self: flex-start; margin-top: 16px; }
.auth-card p { color: var(--muted); font-size: .85rem; }
.auth-card a { color: var(--brand-dark); font-weight: 700; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400 !important; }
.check input { width: auto; }
.admin-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-alt); }
.admin-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.admin-nav-card { min-height: 145px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease; }
.admin-nav-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.admin-nav-card strong { font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.admin-nav-card span { color: var(--muted); font-size: .8rem; }
.admin-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; align-items: center; padding: 17px 20px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.admin-row:last-child { border-bottom: 0; }
.admin-head { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.admin-row small { display: block; color: var(--muted); font-size: .72rem; }
.inline-form { display: inline; }
.danger-link { margin-left: 14px; padding: 0; color: var(--warning); background: transparent; border: 0; font: inherit; font-size: .8rem; cursor: pointer; }
.admin-shell { min-height: 100vh; display: flex; background: var(--surface-alt); }
.admin-sidebar { width: 248px; min-height: 100vh; position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; flex-direction: column; padding: 30px 18px 20px; color: #BDD4C1; background: var(--brand-deep); }
.admin-brand { padding: 0 12px 42px; }
.admin-label { margin: 20px 12px 10px; color: #75977D; font-size: .63rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; color: #A9C4AE; border-radius: var(--radius-sm); font-size: .82rem; transition: color .2s ease, background .2s ease; }
.admin-nav a:hover { color: var(--white); background: rgba(91,183,91,.2); }
.admin-sidebar-footer { margin-top: auto; padding: 18px 12px 0; border-top: 1px solid rgba(189,212,193,.2); font-size: .72rem; }
.admin-sidebar-footer span, .admin-sidebar-footer strong { display: block; }
.admin-sidebar-footer span { color: #75977D; }
.admin-sidebar-footer strong { margin: 5px 0 14px; color: var(--white); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.admin-sidebar-footer button { padding: 0; color: #A9C4AE; background: transparent; border: 0; font-size: .76rem; cursor: pointer; }
.admin-sidebar-footer button:hover { color: var(--white); }
.admin-main { min-width: 0; width: calc(100% - 248px); margin-left: 248px; }
.admin-topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 42px; background: var(--surface); border-bottom: 1px solid var(--line); }
.admin-topbar strong, .admin-topbar-kicker { display: block; }
.admin-topbar strong { font-size: .92rem; }
.admin-topbar-kicker { color: var(--brand-dark); font-size: .64rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.admin-view-site { color: var(--brand-dark); font-size: .78rem; font-weight: 700; }
.admin-mobile-toggle { display: none; }
.admin-content { padding: 42px; }
.admin-welcome { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.admin-welcome h1 { margin: 8px 0 7px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 500; line-height: 1.1; }
.admin-welcome p { margin: 0; color: var(--muted); }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 24px; }
.admin-kpi { min-height: 150px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.admin-kpi:hover { border-color: var(--brand); }
.admin-kpi span, .admin-kpi small { color: var(--muted); font-size: .72rem; }
.admin-kpi strong { color: var(--brand-dark); font-family: 'Playfair Display', Georgia, serif; font-size: 2.8rem; font-weight: 500; line-height: 1; }
.admin-kpi.accent { color: var(--white); background: var(--brand-dark); border-color: var(--brand-dark); }
.admin-kpi.accent span, .admin-kpi.accent small, .admin-kpi.accent strong { color: var(--white); }
.admin-dashboard-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.admin-panel { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.admin-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.admin-panel h2 { margin: 4px 0 0; font-family: 'Playfair Display', Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.admin-list { display: flex; flex-direction: column; }
.admin-list-row { min-height: 62px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); font-size: .8rem; }
.admin-list-row strong, .admin-list-row small { display: block; }
.admin-list-row small { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.admin-avatar { width: 30px; height: 30px; display: inline-grid; place-items: center; flex: 0 0 auto; color: var(--brand-deep); background: var(--brand-soft); border-radius: 50%; font-weight: 700; }
.admin-list-date { margin-left: auto; color: var(--muted); font-size: .72rem; }
.admin-activity-dot { width: 8px; height: 8px; flex: 0 0 auto; background: var(--brand); border-radius: 50%; }
.admin-empty { color: var(--muted); font-size: .85rem; }
.admin-subsection { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.admin-subsection h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; font-weight: 500; }
.admin-inline-item { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .82rem; }
.admin-inline-item strong, .admin-inline-item small { display: block; }
.admin-inline-item small { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.policy-updated { margin-top: 22px !important; font-size: .78rem !important; color: var(--brand-dark) !important; }
.policy-layout { display: grid; grid-template-columns: 210px 1fr; gap: 86px; align-items: start; }
.policy-layout aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 9px; }
.policy-layout aside a { color: var(--muted); font-size: .82rem; }
.policy-layout aside a:hover { color: var(--brand-dark); }
.policy-content { max-width: 760px; }
.policy-content h2 { margin: 42px 0 12px; font-family: 'Playfair Display', Georgia, serif; font-size: 1.75rem; font-weight: 500; line-height: 1.2; }
.policy-content h2:first-of-type { margin-top: 28px; }
.policy-content p { color: var(--muted); }
.policy-content a { color: var(--brand-dark); font-weight: 700; }
.policy-note { margin-top: 44px; padding: 18px 20px; color: var(--brand-deep); background: var(--brand-soft); border-left: 3px solid var(--brand); font-size: .86rem; }
.testimonials { background: var(--surface); }
.testimonial-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 2px 20px; scroll-snap-type: x mandatory; scrollbar-color: var(--brand) transparent; }
.testimonial-scroller article { min-height: 390px; display: flex; flex-direction: column; padding: 28px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-md); scroll-snap-align: start; }
.testimonial-photo { width: 58px; height: 58px; margin-bottom: 4px; object-fit: cover; border-radius: 50%; border: 2px solid var(--brand); }
.testimonial-scroller article p { margin: 18px 0 24px; font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; line-height: 1.5; white-space: pre-line; }
.testimonial-scroller article strong { font-size: .8rem; }
.testimonial-scroller article small { color: var(--muted); font-size: .72rem; }
.stars { color: var(--brand-dark); letter-spacing: .16em; font-size: .72rem; }
.partners { padding: 33px 0; color: var(--muted); background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-row { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.partners-row > span { font-size: .78rem; }
.partner-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 26px; color: var(--brand-dark); font-size: .72rem; letter-spacing: .12em; }
.booking-note { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.calendly-modal[hidden] { display: none; }
.calendly-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.calendly-modal-backdrop { position: absolute; inset: 0; background: rgba(9, 24, 16, .72); backdrop-filter: blur(5px); }
.calendly-modal-dialog { position: relative; width: min(900px, 100%); max-height: min(92vh, 820px); overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 30px 90px rgba(0, 0, 0, .3); }
.calendly-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 28px 16px; }
.calendly-modal-header .eyebrow { margin-bottom: 7px; }
.calendly-modal-header h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.1; }
.calendly-modal-close { width: 38px; height: 38px; flex: 0 0 auto; color: var(--ink); background: var(--surface-alt); border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.calendly-modal-close:hover { color: var(--white); background: var(--brand-dark); border-color: var(--brand-dark); }
.calendly-inline-widget { min-width: 320px; height: 650px; }
.calendly-inline-widget iframe { width: 100%; height: 100%; display: block; border: 0; }
.calendly-loading { min-height: 650px; display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
body.calendly-open { overflow: hidden; }

@media (max-width: 860px) {
    .container { width: min(100% - 32px, 640px); }
    .nav-wrap { min-height: 70px; }
    .menu-toggle { display: block; order: 2; }
    .nav-actions { order: 3; margin-left: auto; }
    .nav-wrap nav { position: absolute; top: 70px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
    .nav-wrap nav.is-open { display: flex; }
    .nav-wrap nav a { padding: 13px 14px; border-radius: var(--radius-sm); }
    .nav-wrap nav a:hover, .nav-wrap nav a[aria-current="page"] { transform: none; }
    .hero, .section, .split-section { padding: 78px 0; }
    .hero-grid, .split-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
    .policy-layout { grid-template-columns: 1fr; gap: 32px; }
    .policy-layout aside { position: static; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
    .hero-art { height: 310px; }
    .proof-row { grid-template-columns: 1fr; }
    .proof-row > div { min-height: 70px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
    .proof-row > div:last-child { border-bottom: 0; }
    .section-intro { grid-template-columns: 1fr; gap: 16px; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .service-card, .service-grid-large .service-card { min-height: 340px; }
    .faq-grid { grid-template-columns: 1fr; }
    .visual-story { padding: 78px 0; }
    .visual-grid { grid-template-columns: 1fr 1fr; }
    .cta-box { display: block; padding: 38px 26px; }
    .cta-box .button { margin-top: 25px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { display: block; }
    .footer-bottom span { display: block; margin-top: 8px; }
    .partners-row { align-items: flex-start; flex-direction: column; }
    .partner-list { justify-content: flex-start; }
    .calendly-modal { padding: 12px; }
    .calendly-modal-header { padding: 20px 20px 12px; }
    .calendly-inline-widget { height: 620px; }
    .admin-sidebar { width: 250px; transform: translateX(-100%); transition: transform .2s ease; }
    .admin-menu-open .admin-sidebar { transform: translateX(0); }
    .admin-main { width: 100%; margin-left: 0; }
    .admin-topbar { padding: 0 20px; }
    .admin-mobile-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
    .admin-content { padding: 28px 20px; }
    .admin-welcome { align-items: flex-start; flex-direction: column; }
    .admin-kpi-grid { grid-template-columns: 1fr 1fr; }
    .admin-dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .nav-wrap { gap: 8px; }
    .brand-name { max-width: 135px; font-size: .82rem; }
    .brand-logo { width: 142px; height: 46px; flex-basis: 142px; }
    .nav-actions .button-small { padding: 9px 11px; font-size: 0; }
    .nav-actions .button-small span { font-size: 1.1rem; }
    .hero h1, .page-hero h1 { font-size: 3rem; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
    .service-grid, .value-grid, .contact-form { grid-template-columns: 1fr; }
    .subservice-grid { grid-template-columns: 1fr; }
    .admin-row { grid-template-columns: 1fr; gap: 8px; }
    .admin-nav-grid { grid-template-columns: 1fr; }
    .form-row.full { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
}
