:root{--bg:#f8fafc;--card:#fff;--text:#0f172a;--muted:#64748b;--primary:#1e40af;--accent:#3b82f6;--border:#e2e8f0;--success:#059669;--shadow:0 1px 3px rgba(0,0,0,.08),0 4px 12px rgba(0,0,0,.05)}
[data-theme="dark"]{--bg:#0f172a;--card:#1e293b;--text:#f1f5f9;--muted:#94a3b8;--primary:#60a5fa;--accent:#38bdf8;--border:#334155}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
.container{max-width:1180px;margin:0 auto;padding:0 16px}
header{background:var(--card);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;box-shadow:var(--shadow)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px;gap:12px;flex-wrap:wrap}
.logo{font-weight:700;font-size:20px;color:var(--primary);text-decoration:none}
.logo small{font-size:11px;color:var(--muted);display:block}
nav{display:flex;gap:16px;flex-wrap:wrap}
nav a{color:var(--text);text-decoration:none;font-weight:500}
nav a:hover{color:var(--accent)}
.header-actions{display:flex;gap:8px;align-items:center}
.btn{background:var(--primary);color:#fff;padding:8px 14px;border-radius:8px;border:none;cursor:pointer;font-weight:600;text-decoration:none;display:inline-block;font-size:14px}
.btn-outline{background:transparent;color:var(--primary);border:1px solid var(--primary)}
.btn-sm{padding:5px 10px;font-size:13px}
.btn-success{background:var(--success)}
.theme-toggle{background:none;border:1px solid var(--border);border-radius:20px;padding:6px 12px;cursor:pointer;color:var(--text)}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.card{background:var(--card);border-radius:12px;padding:16px;border:1px solid var(--border);box-shadow:var(--shadow)}
.card h3{margin-bottom:6px}
table{width:100%;border-collapse:collapse;background:var(--card);border-radius:12px;overflow:hidden;border:1px solid var(--border);margin-bottom:16px}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--border);font-size:14px}
th{background:rgba(0,0,0,.03);color:var(--muted)}
.status{padding:3px 8px;border-radius:12px;font-size:12px;font-weight:500}
.status-new{background:#fef3c7;color:#92400e}
.status-work{background:#dbeafe;color:#1e40af}
.status-done{background:#d1fae5;color:#065f46}
.form-group{margin-bottom:12px}
.form-group label{display:block;font-size:14px;margin-bottom:4px}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--text)}
.alert{background:#fef3c7;color:#92400e;padding:10px 14px;border-radius:8px;margin:10px 0}
[data-theme="dark"] .alert{background:#78350f;color:#fef3c7}
footer{background:var(--card);border-top:1px solid var(--border);padding:20px 0;margin-top:40px;font-size:13px;color:var(--muted)}
.footer-inner{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.rights{font-weight:600;color:var(--text)}
.show-pass{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:14px;cursor:pointer;user-select:none}
.show-pass input{width:auto;margin:0}


header .logo{display:flex;flex-direction:column}
nav a{padding:6px 8px;border-radius:8px}nav a:hover{background:rgba(59,130,246,.08)}
.btn:hover{filter:brightness(1.08)}.btn-danger{background:#dc2626}
.btn-light{background:#fff;color:#1e3a8a}.btn-ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.5)}
.hero{position:relative;color:#fff;padding:56px 32px;margin:0 0 28px;border-radius:20px;overflow:hidden;
background:linear-gradient(120deg,rgba(15,23,42,.88),rgba(30,64,175,.65)),url(hero-house.svg) right bottom/cover no-repeat,linear-gradient(135deg,#1e3a8a,#2563eb);box-shadow:var(--shadow)}
[data-theme="dark"] .hero{background:linear-gradient(120deg,rgba(2,6,23,.92),rgba(15,23,42,.75)),url(hero-house.svg) right bottom/cover no-repeat,#0f172a}
.hero-inner{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:flex-end}
.hero-text{max-width:620px}.hero h1{font-size:42px;line-height:1.15;margin-bottom:12px}.hero p{opacity:.9;margin-bottom:18px}
.hero-search{display:flex;gap:8px;background:#fff;padding:6px;border-radius:12px;margin-bottom:14px}
.hero-search input{flex:1;border:none;padding:10px;font-size:15px;outline:none;background:transparent;color:#0f172a}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.hero-clock{background:rgba(255,255,255,.12);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.25);border-radius:16px;padding:16px 22px;text-align:right}
.clock{font-size:48px;font-weight:300;font-variant-numeric:tabular-nums}.date{opacity:.85}
.section-title{margin:0 0 14px}
.card-link{text-decoration:none;color:var(--text);transition:transform .15s,box-shadow .15s}
.card-link:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(30,64,175,.15)}
.card-ico{width:44px;height:44px;border-radius:12px;background:rgba(59,130,246,.12);display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:10px}
.card p,.muted{color:var(--muted);font-size:14px}
.russia{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:20px;background:linear-gradient(90deg,var(--card),rgba(59,130,246,.08))}
.status{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.status-bad{background:#fee2e2;color:#991b1b}
.cc-layout{display:grid;grid-template-columns:240px 1fr;gap:20px;align-items:start}
.sidebar{background:#0f172a;color:#cbd5e1;border-radius:16px;padding:14px;position:sticky;top:80px;display:flex;flex-direction:column;gap:2px}
.sb-title{color:#fff;font-weight:700;font-size:18px;padding:6px 10px 12px}.sb-title small{display:block;font-size:12px;color:#94a3b8;font-weight:400}
.sidebar a{color:#cbd5e1;text-decoration:none;padding:9px 10px;border-radius:10px;display:flex;justify-content:space-between;font-size:14px}
.sidebar a:hover,.sidebar a.on{background:#1e293b;color:#fff}.sidebar a.on{box-shadow:inset 3px 0 0 #3b82f6}
.sidebar b{background:#1e40af;color:#fff;border-radius:999px;padding:0 8px;font-size:12px}
.cc-main h2,.cc-main h3{margin:6px 0 12px}.cc-main h3{margin-top:24px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:12px}
.stat{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:14px;box-shadow:var(--shadow)}
.stat span{color:var(--muted);font-size:13px;display:block}.stat b{font-size:26px;color:var(--primary)}
.pills-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.filters input,.filters select,.actions select,.actions input{padding:6px 8px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--text)}
.filters input{flex:1;min-width:180px}
.table-wrap{overflow-x:auto}
.actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.actions form{display:inline-flex;gap:4px}
.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{background:var(--card);border:1px solid var(--border);border-radius:999px;padding:5px 12px;font-size:14px}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}.footer-links a{color:var(--muted);text-decoration:none}
@media (max-width:900px){.cc-layout{grid-template-columns:1fr}.sidebar{position:static;flex-direction:row;flex-wrap:wrap}.sb-title{width:100%}}
@media (max-width:700px){nav{display:none}.hero{padding:32px 18px}.hero h1{font-size:28px}.clock{font-size:36px}.hero-clock{text-align:left}}

/* ===== v4: дизайн-система по PDF-макетам ===== */
:root{--primary:#1d4ed8;--accent:#2563eb;--navy:#0f1d4a;--bg:#f5f7fb;--radius:14px;--shadow:0 1px 2px rgba(15,23,42,.05),0 6px 20px rgba(15,23,42,.06)}
[data-theme="dark"]{--bg:#0b1220;--card:#131c2e;--border:#24324a;--primary:#3b82f6;--accent:#60a5fa}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}
a{color:var(--accent)}
h1,h2,h3{letter-spacing:-.01em}
.btn{border-radius:10px;padding:9px 16px;display:inline-flex;align-items:center;gap:6px;transition:filter .15s,transform .1s}
.btn-primary{background:#1d4ed8;color:#fff}.btn-primary:hover{background:#1e40af}
.btn-outline{background:var(--card);color:var(--text);border:1px solid var(--border)}
.btn-outline:hover{border-color:var(--accent);color:var(--accent)}
.btn-sm{padding:6px 11px;font-size:13px;border-radius:8px}
.card{border-radius:var(--radius)}
.form-group input,.form-group select,.form-group textarea{padding:10px 12px;border-radius:10px;font:inherit}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.15)}
.status-new{background:#fef3c7;color:#b45309}.status-work{background:#e0ecff;color:#1d4ed8}.status-done{background:#dcfce7;color:#15803d}

/* header */
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;box-shadow:0 1px 0 rgba(15,23,42,.04)}
[data-theme="dark"] .site-header{background:var(--card)}
.site-header .header-inner{height:72px;flex-wrap:nowrap;gap:18px;max-width:1280px}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--text);flex-shrink:0}
.brand-txt b{display:block;font-size:17px;font-weight:800;color:#0f1d4a;line-height:1.1}
[data-theme="dark"] .brand-txt b{color:#fff}
.brand-txt small{font-size:11px;color:var(--muted)}
.brand-portal{text-decoration:none;padding-left:18px;border-left:1px solid var(--border);display:flex;flex-direction:column;align-items:center}
.brand-portal b{font-size:22px;font-weight:800;color:#1d4ed8;line-height:1.1}
.brand-portal small{font-size:10.5px;color:var(--muted);white-space:nowrap}
.main-nav{display:flex;gap:4px;margin-left:auto;flex-wrap:nowrap}
.main-nav a{color:var(--text);text-decoration:none;font-weight:500;font-size:14px;padding:8px 10px;border-radius:8px}
.main-nav a:hover,.main-nav a.on{color:#1d4ed8;background:rgba(37,99,235,.07)}
.header-actions{gap:12px}
.theme-switch{display:inline-flex;align-items:center;gap:8px;background:none;border:none;cursor:pointer;color:var(--text);padding:0}
.ts-sun{width:32px;height:32px;border:1px solid var(--border);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:16px}
.ts-moon{font-size:18px;color:var(--muted)}
.ts-track{width:44px;height:24px;border-radius:999px;background:#0f1d4a;position:relative;display:inline-block}
.ts-knob{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .2s}
[data-theme="dark"] .ts-track{background:#2563eb}[data-theme="dark"] .ts-knob{left:23px}
.main-full{display:block}

/* hero */
.hero{border-radius:0;margin:0;padding:0;box-shadow:none;min-height:calc(100svh - 64px);min-height:calc(100dvh - 64px);display:flex;align-items:center;color:#fff;
background:linear-gradient(90deg,rgba(13,38,110,.88) 0%,rgba(22,62,160,.68) 42%,rgba(20,60,150,.28) 75%,rgba(10,30,80,.18) 100%),url(hero-bg.jpg) center center/cover no-repeat,#1e3a8a}
[data-theme="dark"] .hero{background:linear-gradient(90deg,rgba(2,6,23,.92),rgba(15,30,80,.7) 50%,rgba(2,6,23,.4)),url(hero-bg.jpg) center center/cover no-repeat,#0b1220}
.hero-inner{max-width:1280px;width:100%;display:flex;justify-content:space-between;align-items:center;gap:32px;padding-top:48px;padding-bottom:88px;flex-wrap:wrap;min-height:inherit;box-sizing:border-box}
.hero-text{max-width:600px}
.hero h1{font-size:54px;font-weight:800;line-height:1.1;margin-bottom:18px;text-shadow:0 2px 20px rgba(0,0,0,.25)}
.hero p{font-size:18px;opacity:.95;margin-bottom:26px;line-height:1.45}
.hero-search{display:flex;align-items:center;gap:8px;background:#fff;padding:6px 6px 6px 16px;border-radius:14px;margin-bottom:18px;box-shadow:0 10px 30px rgba(0,0,0,.2);max-width:580px}
.hero-search .hs-ico{color:#475569;flex-shrink:0}
.hero-search input{flex:1;border:none;padding:12px 6px;font-size:15px;outline:none;background:transparent;color:#0f172a;min-width:0}
.hero-search .btn{padding:11px 20px;font-size:15px}
.hero-geo{display:flex;align-items:center;gap:6px;font-size:14px;opacity:.95}
.hero-clock{background:rgba(255,255,255,.1);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.22);border-radius:22px;padding:22px 34px;text-align:center;margin-right:40px}
.hero .clock{font-size:76px;font-weight:700;line-height:1;letter-spacing:-.02em;text-shadow:0 2px 16px rgba(0,0,0,.3)}
.hero .date{font-size:20px;margin-top:10px;opacity:.95}

/* service cards */
.svc-wrap{max-width:1280px;margin-top:-34px;position:relative;z-index:2;padding-bottom:36px}
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.svc-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:20px 18px;display:flex;gap:14px;align-items:flex-start;text-decoration:none;color:var(--text);box-shadow:0 8px 28px rgba(15,23,42,.08);position:relative;transition:transform .15s,box-shadow .15s}
.svc-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(29,78,216,.16)}
.svc-ico{width:60px;height:60px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.svc-ico svg{width:40px;height:40px}
.ico-blue{background:#e6efff}.ico-sky{background:#e0f2fe}.ico-violet{background:#efe9ff}
.svc-body h3{font-size:16px;font-weight:700;margin-bottom:6px}
.svc-body p{font-size:13.5px;color:var(--muted);line-height:1.45;margin-bottom:12px}
.svc-link{font-size:13.5px;font-weight:600;color:#1d4ed8}
.svc-chev{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:26px;color:#94a3b8}

/* footer */
.site-footer{background:#f1f4f9;border-top:1px solid var(--border);padding:22px 0;margin-top:0}
[data-theme="dark"] .site-footer{background:#0e1626}
.site-footer .footer-inner{align-items:center;max-width:1280px}
.site-footer .rights{font-weight:500;font-size:13px;color:var(--muted);text-align:center}
.site-footer .footer-links{justify-content:center;margin-top:4px;font-size:12px}
.footer-contacts{display:flex;align-items:center;gap:14px}
.fc-ico{color:#475569;display:inline-flex}.fc-ico:hover{color:#1d4ed8}
.fc-phone{color:var(--text);text-decoration:none;font-weight:600;font-size:14px}
[data-theme="dark"] .fc-ico{color:#cbd5e1}
.site-body main.section{padding-top:28px;padding-bottom:40px;min-height:55vh}

/* ===== кабинеты КЦ ===== */
.app-body{background:var(--bg)}
.app{display:grid;grid-template-columns:250px 1fr;min-height:100vh}
.app-side{background:#0f1d4a;color:#c7d2fe;display:flex;flex-direction:column;padding:18px 14px;position:sticky;top:0;height:100vh;overflow-y:auto}
.app-sup .app-side{background:#0f172a;color:#cbd5e1}
.side-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;padding:4px 8px 22px}
.side-brand b{display:block;font-size:20px;font-weight:800;line-height:1.1}.side-brand small{font-size:12px;color:#94a3b8}
.side-nav{display:flex;flex-direction:column;gap:4px}
.side-nav a{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;padding:11px 12px;border-radius:10px;font-size:14px;font-weight:500}
.side-nav a i{font-style:normal;width:20px;text-align:center;opacity:.9}
.side-nav a b{margin-left:auto;background:rgba(255,255,255,.18);color:#fff;border-radius:999px;padding:1px 9px;font-size:12px}
.side-nav a:hover{background:rgba(255,255,255,.07);color:#fff}
.app-op .side-nav a.on{background:#2563eb;color:#fff}
.app-sup .side-nav a.on{background:#d97706;color:#fff}
.app-sup .side-nav a b{background:#f59e0b}
.side-profile{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 8px;border-top:1px solid rgba(255,255,255,.1)}
.avatar{width:40px;height:40px;border-radius:50%;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0}
.app-sup .avatar{background:#334155}
.sp-txt b{display:block;color:#fff;font-size:13.5px}.sp-txt small{font-size:12px;color:#94a3b8}
.side-logout{display:block;text-align:center;border:1px solid rgba(255,255,255,.2);border-radius:10px;padding:9px;color:#fff;text-decoration:none;font-size:14px;margin-top:6px}
.side-logout:hover{background:rgba(255,255,255,.08)}
.app-main{padding:22px 28px 30px;min-width:0}
.app-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.app-top h1{font-size:24px;font-weight:800}
.top-tools{display:flex;align-items:center;gap:18px}
.top-clock{display:flex;align-items:center;gap:8px;color:var(--text)}
.top-clock b{display:block;font-size:18px;font-variant-numeric:tabular-nums;line-height:1.1}
.top-clock small{font-size:11.5px;color:var(--muted)}
.bell{position:relative;color:var(--text);display:inline-flex}
.bell em{position:absolute;top:-6px;right:-8px;background:#ef4444;color:#fff;font-style:normal;font-size:11px;font-weight:700;border-radius:999px;padding:0 5px;min-width:18px;text-align:center}
.tabs{display:flex;gap:22px;border-bottom:1px solid var(--border);margin-bottom:18px}
.tabs a{padding:8px 0;text-decoration:none;color:var(--muted);font-weight:500;font-size:14px;border-bottom:2px solid transparent;margin-bottom:-1px}
.tabs a.on{color:#1d4ed8;border-color:#1d4ed8}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:14px}
.kpi{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:18px;display:flex;gap:14px;align-items:center;box-shadow:var(--shadow)}
.kpi-ico{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;font-weight:700;flex-shrink:0}
.k-blue{background:#2563eb}.k-green{background:#16a34a}.k-orange{background:#ea580c}
.kpi small{display:block;color:var(--muted);font-size:13px}.kpi b{display:block;font-size:28px;font-weight:800;line-height:1.2}
.kpi a{font-size:13px;text-decoration:none;font-weight:600}
.kpi:nth-child(3) a{color:#ea580c}
.mini-stats{display:flex;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:13.5px;margin-bottom:10px}.mini-stats b{color:var(--text)}
.panel{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:var(--shadow);margin-bottom:18px}
.panel h3{margin:0 0 12px;font-size:16px}
.panel .filters{margin-bottom:14px;align-items:center}
.f-search{flex:1;min-width:220px;display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;padding:0 10px;color:var(--muted)}
.f-search input{border:none!important;flex:1;padding:9px 0!important;outline:none;background:transparent}
.panel .filters select{padding:9px 12px;border-radius:10px;min-width:160px}
.f-reset{color:var(--text);text-decoration:none;font-size:14px;font-weight:500;margin-left:auto}
.panel table{border:none;margin:0;border-radius:0}
.req-table th{background:transparent;font-size:13px;font-weight:600;color:var(--muted);border-bottom:1px solid var(--border)}
.req-table td{vertical-align:middle;padding:14px 12px}
.req-table td small{display:block;font-size:12px}
.req-no{font-weight:700;color:#1d4ed8;text-decoration:none;font-size:16px}
.svc-pill{display:inline-flex;align-items:center;gap:8px;font-size:13.5px}
.ti{width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0}
.ti-blue{background:#e0ecff}.ti-violet{background:#efe9ff}.ti-green{background:#dcfce7}.ti-sky{background:#e0f2fe}.ti-amber{background:#fef3c7}.ti-slate{background:#f1f5f9}
.req-table .actions{flex-direction:column;align-items:stretch;gap:6px;display:flex;min-width:250px}
.act-row{display:flex!important;gap:6px}
.act-row select,.act-row input{flex:1;min-width:0;padding:6px 8px;border-radius:8px;font-size:13px}
.act-row .btn{white-space:nowrap}
.link-sm{font-size:12.5px;text-decoration:none}
.grid-2{display:grid;grid-template-columns:1fr 1.4fr;gap:18px}
.app-foot{display:flex;align-items:center;gap:12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:12px 16px;font-weight:600;font-size:14px}
.app-foot .btn{margin-left:auto}
[data-theme="dark"] .app-foot{background:#1f1a12;border-color:#4a3418}
[data-theme="dark"] .app-op .app-side{background:#020617}
@media (max-width:1100px){.brand-portal{display:none}.svc-grid{grid-template-columns:repeat(2,1fr)}.hero-clock{margin-right:0}}
@media (max-width:900px){.app{grid-template-columns:1fr}.app-side{position:static;height:auto}.side-nav{flex-direction:row;flex-wrap:wrap}.kpis,.grid-2{grid-template-columns:1fr}}
@media (max-width:760px){.main-nav{display:none}.brand-txt small{display:none}.hero{min-height:calc(100svh - 56px);min-height:calc(100dvh - 56px)}.hero-inner{padding-top:28px;padding-bottom:72px;align-items:flex-start}.hero h1{font-size:34px}.hero .clock{font-size:46px}.hero-clock{padding:14px 20px;margin-top:8px}.svc-grid{grid-template-columns:1fr}.site-footer .footer-inner{flex-direction:column;text-align:center}.svc-wrap{margin-top:-48px}}

/* mobile-fullwidth-v6 */
html,body{width:100%;max-width:100%;overflow-x:hidden}
.site-body,.main-full,.site-header,.site-footer,.hero{width:100%;max-width:100%;box-sizing:border-box}
.site-header .header-inner,.hero-inner,.svc-wrap,.site-footer .footer-inner{width:100%;max-width:1280px;margin-left:auto;margin-right:auto;box-sizing:border-box;padding-left:16px;padding-right:16px}
.hero{overflow:hidden}
.hero-text,.hero-search{max-width:100%;width:100%}
.hero-clock{max-width:100%;box-sizing:border-box;margin-right:0}
.svc-wrap{padding-left:16px;padding-right:16px}
@media (max-width:760px){
  .site-header .header-inner{height:auto;min-height:56px;padding-top:8px;padding-bottom:8px;gap:8px;flex-wrap:nowrap}
  .brand{min-width:0;flex:1}
  .brand-txt b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw}
  .theme-switch .ts-moon{display:none}
  .theme-switch{gap:4px;flex-shrink:0}
  .header-actions{gap:6px;flex-shrink:0}
  .header-actions .btn{padding:8px 10px;font-size:13px}
  .hero-inner{padding-left:16px;padding-right:16px;gap:16px}
  .hero-text{max-width:100%}
  .hero h1{font-size:30px;word-wrap:break-word}
  .hero p{font-size:15px}
  .hero-search{max-width:100%;width:100%;padding-left:12px}
  .hero-clock{width:100%;margin:4px 0 0;padding:12px 16px;text-align:left}
  .hero .clock{font-size:40px}
  .hero .date{font-size:14px;white-space:normal}
  .svc-wrap{margin-top:-40px;padding-left:16px;padding-right:16px;width:100%;box-sizing:border-box}
  .svc-card{width:100%;box-sizing:border-box}
}

