/* 
Art Direction: 2026 Cold Light Editorial
Palette: Seafoam Teal (oklch(65% 0.12 190)) on Lime-White (oklch(98% 0.01 190)) with Slate-Grey neutrals.
Typography: Full Book Serif stack (Charter/Georgia) for all text; italic subscripts for metadata.
Composition: Full-width typographic bands, marquee service lists, razor-sharp 1px borders.
Forms: Sharp corners (0px), thin linear separators, no shadows.
Animation: Slow constant rotation of circular SVG badges, smooth linear opacity fades.
*/
:root {
    --rhtc-color-primary: oklch(65% 0.12 190);
    --rhtc-color-bg: oklch(98% 0.01 190);
    --rhtc-color-surface: oklch(94% 0.02 190);
    --rhtc-color-text: oklch(30% 0.05 190);
    --rhtc-color-text-muted: oklch(50% 0.05 190);
    --rhtc-color-border: oklch(80% 0.03 190);
    --rhtc-font-main: "Charter", "Bitstream Charter", "Georgia", serif;
    --rhtc-font-system: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; background-color: var(--rhtc-color-bg); color: var(--rhtc-color-text); font-family: var(--rhtc-font-main); line-height: 1.75; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

.rhtc-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.rhtc-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid var(--rhtc-color-text); background: transparent; color: var(--rhtc-color-text); font-family: var(--rhtc-font-main); text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s; font-size: 0.95rem; }
.rhtc-btn:hover { background: var(--rhtc-color-text); color: var(--rhtc-color-bg); }
.rhtc-btn:focus-visible { outline: 2px solid var(--rhtc-color-primary); outline-offset: 2px; }

.rhtc-skip-link { position: absolute; top: -100px; left: 0; background: var(--rhtc-color-primary); color: white; padding: 10px; z-index: 1000; transition: top 0.2s; }
.rhtc-skip-link:focus { top: 0; }

.rhtc-topbar { font-size: 0.8rem; border-bottom: 1px solid var(--rhtc-color-border); padding: 8px 0; font-family: var(--rhtc-font-system); display: flex; justify-content: space-between; align-items: center; }
.rhtc-header { padding: 20px 0; border-bottom: 1px solid var(--rhtc-color-text); position: sticky; top: 0; background: var(--rhtc-color-bg); z-index: 100; }
.rhtc-logo { font-size: 1.5rem; font-weight: 600; text-decoration: none; color: var(--rhtc-color-text); display: block; }
.rhtc-logo-sub { font-size: 0.7rem; font-family: var(--rhtc-font-system); opacity: 0.6; display: block; line-height: 1; }

.rhtc-nav { display: flex; align-items: center; gap: 32px; }
.rhtc-nav-list { display: flex; list-style: none; gap: 24px; }
.rhtc-nav-link { text-decoration: none; color: var(--rhtc-color-text); font-size: 0.9rem; border-bottom: 1px solid transparent; transition: border 0.2s; }
.rhtc-nav-link:hover { border-bottom: 1px solid var(--rhtc-color-text); }

[data-rhtc-menu-toggle] { display: none; border: 1px solid var(--rhtc-color-text); background: none; padding: 8px 12px; font-family: var(--rhtc-font-main); cursor: pointer; }

@media (max-width: 959px) {
    [data-rhtc-menu-toggle] { display: block; }
    .rhtc-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--rhtc-color-bg); border-bottom: 1px solid var(--rhtc-color-text); padding: 20px; flex-direction: column; align-items: flex-start; }
    .rhtc-nav.rhtc-open { display: flex; }
    .rhtc-nav-list { flex-direction: column; gap: 16px; }
}

.rhtc-hero { padding: 100px 0; border-bottom: 1px solid var(--rhtc-color-border); }
.rhtc-hero-h1 { font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.1; margin-bottom: 24px; max-width: 900px; }
.rhtc-lead { font-size: clamp(1.1rem, 3vw, 1.4rem); max-width: 650px; margin-bottom: 40px; }

.rhtc-marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--rhtc-color-text); border-bottom: 1px solid var(--rhtc-color-text); padding: 16px 0; margin: 40px 0; }
.rhtc-marquee-content { display: inline-block; animation: rhtc-slide 30s linear infinite; font-size: 2rem; text-transform: uppercase; font-weight: 600; }
@keyframes rhtc-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rhtc-fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); gap: 1px; background: var(--rhtc-color-border); border: 1px solid var(--rhtc-color-border); margin: 60px 0; }
.rhtc-fact-card { background: var(--rhtc-color-bg); padding: 32px; text-align: center; }
.rhtc-fact-val { font-size: 2.5rem; display: block; color: var(--rhtc-color-primary); }
.rhtc-fact-lab { font-size: 0.8rem; font-style: italic; color: var(--rhtc-color-text-muted); }

.rhtc-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px,100%), 1fr)); gap: 40px; margin: 60px 0; }
.rhtc-service-item { position: relative; padding: 24px; border: 1px solid var(--rhtc-color-border); transition: border 0.3s; }
.rhtc-service-item:hover { border-color: var(--rhtc-color-text); }
.rhtc-service-num { font-family: var(--rhtc-font-system); font-size: 0.8rem; margin-bottom: 16px; display: block; }

.rhtc-process { display: flex; flex-direction: column; gap: 40px; margin: 60px 0; }
.rhtc-step { display: grid; grid-template-columns: 100px 1fr; gap: 24px; border-bottom: 1px solid var(--rhtc-color-border); padding-bottom: 24px; }
.rhtc-step-num { font-size: 1.5rem; font-weight: 600; border-right: 1px solid var(--rhtc-color-border); }

.rhtc-table-wrap { overflow-x: auto; margin: 32px 0; border: 1px solid var(--rhtc-color-text); }
.rhtc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rhtc-table th, .rhtc-table td { padding: 12px; border: 1px solid var(--rhtc-color-border); text-align: left; }
.rhtc-table th { background: var(--rhtc-color-surface); }

.rhtc-faq { margin: 60px 0; display: grid; gap: 12px; }
.rhtc-faq-item { border: 1px solid var(--rhtc-color-border); }
.rhtc-faq-item summary { padding: 16px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.rhtc-faq-item summary::after { content: '+'; font-family: var(--rhtc-font-system); }
.rhtc-faq-item[open] summary::after { content: '−'; }
.rhtc-faq-content { padding: 16px; border-top: 1px solid var(--rhtc-color-border); font-size: 0.95rem; }

.rhtc-guide-card { border: 1px solid var(--rhtc-color-border); padding: 24px; text-decoration: none; color: inherit; display: block; transition: background 0.2s; }
.rhtc-guide-card:hover { background: var(--rhtc-color-surface); }
.rhtc-kicker { font-family: var(--rhtc-font-system); font-size: 0.75rem; text-transform: uppercase; color: var(--rhtc-color-primary); margin-bottom: 8px; display: block; }
.rhtc-read-time { font-style: italic; font-size: 0.8rem; opacity: 0.7; }

.rhtc-prose { max-width: 700px; margin: 0 auto; }
.rhtc-prose h2 { font-size: 2rem; margin: 40px 0 20px; border-left: 4px solid var(--rhtc-color-primary); padding-left: 16px; }
.rhtc-prose p { margin-bottom: 24px; }

.rhtc-legal-nav { margin-bottom: 40px; border: 1px solid var(--rhtc-color-border); padding: 20px; }
.rhtc-legal-nav a { display: block; margin-bottom: 8px; color: var(--rhtc-color-text); text-decoration: none; font-size: 0.9rem; }
.rhtc-legal-art { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--rhtc-color-border); }
.rhtc-legal-art h3 { font-size: 1.2rem; margin-bottom: 12px; }

.rhtc-form { display: grid; gap: 20px; max-width: 500px; margin: 0 auto; }
.rhtc-field { display: grid; gap: 8px; }
.rhtc-field label { font-size: 0.9rem; font-weight: 600; }
.rhtc-field input, .rhtc-field textarea { width: 100%; padding: 12px; border: 1px solid var(--rhtc-color-text); font-family: var(--rhtc-font-main); background: transparent; }
.rhtc-honey { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }

.rhtc-footer { padding: 60px 0 30px; border-top: 1px solid var(--rhtc-color-text); margin-top: 80px; }
.rhtc-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); gap: 40px; margin-bottom: 40px; }
.rhtc-footer-col h4 { font-family: var(--rhtc-font-system); font-size: 0.8rem; text-transform: uppercase; margin-bottom: 20px; color: var(--rhtc-color-text-muted); }
.rhtc-footer-links { list-style: none; }
.rhtc-footer-links a { display: block; color: var(--rhtc-color-text); text-decoration: none; font-size: 0.9rem; margin-bottom: 8px; }
.rhtc-footer-bottom { padding-top: 30px; border-top: 1px solid var(--rhtc-color-border); font-size: 0.8rem; font-family: var(--rhtc-font-system); }
.rhtc-footer-bottom p { margin-bottom: 8px; opacity: 0.7; }

.rhtc-cookie { position: fixed; bottom: 24px; left: 24px; right: 24px; background: white; border: 1px solid var(--rhtc-color-text); padding: 24px; z-index: 1000; max-width: 600px; margin: 0 auto; }
.rhtc-cookie-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.rhtc-cookie-panel { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rhtc-color-border); }
.rhtc-cookie-cat { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 0.9rem; cursor: pointer; }

.rhtc-badge { position: absolute; width: 100px; height: 100px; animation: rhtc-rotate 10s linear infinite; }
@keyframes rhtc-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.rhtc-figure { margin: 40px 0; position: relative; }
.rhtc-figure img { width: 100%; height: auto; display: block; }

@media (prefers-reduced-motion: reduce) {
    .rhtc-marquee-content, .rhtc-badge { animation: none !important; }
}

@media (max-width: 480px) {
    .rhtc-cookie-btns { grid-template-columns: 1fr; }
    .rhtc-step { grid-template-columns: 1fr; gap: 8px; }
    .rhtc-step-num { border: none; padding: 0; }
}

/* сборка: защита от переполнения и служебные правила */
[hidden]{display:none!important}
html,body{overflow-x:clip}
img,video{max-width:100%;height:auto}
:where(main,header,footer) :where(div,section,article,aside,ul,ol,li,figure,details,form,fieldset,nav){min-width:0}
:where(main,footer) :where(h1,h2,h3,h4,p,li,td,th,dd,dt,summary,figcaption,a){overflow-wrap:anywhere;word-break:normal;hyphens:auto}
.rhtc-table-wrap{overflow-x:auto;max-width:100%}
.rhtc-honey{position:absolute!important;left:auto!important;right:auto!important;top:auto!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;opacity:0!important}
:where(a){color:inherit;text-underline-offset:.2em}
:where(main) :where(section,article,div,li,figure){position:relative}
@media (max-width:479px){.rhtc-btn,:where(button,[type=submit],[type=button]){white-space:normal!important;max-width:100%;box-sizing:border-box}:where(input,select,textarea){max-width:100%!important;box-sizing:border-box}:where(header) :where(div,nav,ul,ol){column-gap:min(1rem,3vw)!important}:where(header) a.rhtc-btn:not([aria-controls]){display:none!important}}
@media (max-width:959px){html.js :where(#rhtc-menu):not(.rhtc-open){display:none!important}:where(header):has(#rhtc-menu){position:relative}:where(#rhtc-menu).rhtc-open{display:flex!important;flex-direction:column;align-items:stretch;gap:.25rem;position:absolute;left:0;right:0;top:100%;z-index:90;max-height:calc(100vh - 4rem);overflow-y:auto;padding:1rem clamp(16px,4vw,32px) 1.5rem;box-sizing:border-box;visibility:visible!important;opacity:1!important;transform:none!important;background:var(--rhtc-bg,Canvas);color:var(--rhtc-text,CanvasText);box-shadow:0 12px 24px rgb(0 0 0 / .25)}:where(#rhtc-menu).rhtc-open a{min-height:44px;display:flex;align-items:center}}
html:not(.js) #rhtc-menu{display:flex!important;flex-wrap:wrap;position:static!important;transform:none!important;visibility:visible!important;opacity:1!important}
.rhtc-breadcrumbs{font-size:.875rem;padding-block:1rem}.rhtc-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.25rem .5rem;list-style:none;margin:0;padding:0}.rhtc-breadcrumbs li+li::before{content:"/";margin-right:.5rem;opacity:.5}
.rhtc-legal-note{border-left:3px solid currentColor;padding:.75rem 1rem;margin:1rem 0}
.rhtc-sitemap ul{columns:2 16rem;padding-left:1.1rem}

