/* --------------------------------------------------------------------------
   «Контакты» (page-contacts.php). Визуальный язык — как у /about/,
   /ai-procurement/: кремовые панели, моно-подписи, акцент #A30C33,
   navy-карточка для контраста. Префикс .rct-*; форма — общий .rcm-lead.
   JS — assets/js/robin-contacts.js.
   -------------------------------------------------------------------------- */
:root {
	--rct-parchment: #f6f3f1;
	--rct-paper: #fbfaf9;
	--rct-ash: #cecac8;
	--rct-line: #e7e3e0;
	--rct-ink: #242424;
	--rct-graphite: #4e4d4d;
	--rct-smoke: #797776;
	--rct-accent: #a30c33;
	--rct-result: #c52229;
	--rct-navy: #0e1526;
	--rct-ok: #1f8a4c;
	--rct-mono-f: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rct-h2 {
	margin: 0;
	font-family: var(--robin-font-head);
	font-weight: 400;
	font-size: 45px;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--rct-ink);
}
.rct-h2 em { font-style: normal; color: var(--rct-accent); }
.rct-kicker { margin: 0 0 12px; font-family: var(--rct-mono-f); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--rct-accent); }
.rct-mono { font-family: var(--rct-mono-f); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--rct-smoke); }
.rct-panel { padding: 56px; border-radius: 24px; background: var(--rct-parchment); }

/* ==========================================================================
   HERO
   ========================================================================== */
.rct-hero { padding: 32px 48px 48px; border-radius: 24px; background: var(--rct-parchment); color: var(--rct-ink); }
.rct-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 48px;
	align-items: stretch;
	margin-top: 32px;
}
.rct-hero-grid > *, .rct-channels > * { min-width: 0; }
.rct-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.rct-hero-title {
	margin: 0;
	font-family: var(--robin-font-head);
	font-weight: 500;
	font-size: 76px;
	line-height: .95;
	letter-spacing: -0.045em;
}
.rct-address { display: flex; gap: 14px; margin-top: 32px; }
.rct-address p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--rct-graphite); }
.rct-pin {
	display: inline-flex; align-items: center; justify-content: center;
	flex: none;
	width: 44px; height: 44px;
	border-radius: 14px;
	background: #fff;
	color: var(--rct-accent);
	animation: rct-bob 3s ease-in-out infinite;
}
@keyframes rct-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
.rct-clock { display: flex; align-items: baseline; gap: 10px; margin: auto 0 0; padding-top: 32px; }
.rct-clock b { font-family: var(--robin-font-head); font-weight: 300; font-size: 40px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--rct-ink); }

.rct-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rct-channel {
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--rct-line);
	border-radius: 24px;
	background: #fff;
	transition: transform .35s ease, box-shadow .35s ease;
}
.rct-channel:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -34px rgba(36, 36, 36, .4); }
.rct-channel--dark { background: linear-gradient(160deg, #141d33 0%, #0b1120 60%, #0e1526 100%); border-color: transparent; color: #fff; }
.rct-channel-head { display: flex; align-items: center; gap: 12px; }
.rct-channel-ico {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 14px;
	background: var(--rct-parchment);
	color: var(--rct-accent);
}
.rct-channel--dark .rct-channel-ico { background: rgba(255, 255, 255, .08); color: #ff6b70; }
.rct-channel-ico svg { width: 22px; height: 22px; }
.rct-channel-title { margin: 0; font-family: var(--robin-font-head); font-weight: 500; font-size: 22px; letter-spacing: -0.03em; }
.rct-state {
	display: inline-flex; align-items: center; gap: 6px;
	margin-left: auto;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--rct-parchment);
	font-family: var(--rct-mono-f); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--rct-smoke);
	white-space: nowrap;
}
.rct-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rct-ash); }
.rct-state.is-open { color: var(--rct-ok); background: #e6f3ec; }
.rct-state.is-open::before { background: var(--rct-ok); animation: rct-ping 2s ease-out infinite; }
.rct-channel--dark .rct-state { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); }
.rct-channel--dark .rct-state.is-open { background: rgba(31, 138, 76, .22); color: #7ddba5; }
.rct-channel--dark .rct-state.is-open::before { background: #7ddba5; }
@keyframes rct-ping {
	0%   { box-shadow: 0 0 0 0 rgba(31, 138, 76, .5); }
	100% { box-shadow: 0 0 0 7px rgba(31, 138, 76, 0); }
}

.rct-lines { display: flex; flex-direction: column; gap: 6px; margin: 26px 0 0; padding: 0; list-style: none; }
.rct-lines a {
	position: relative;
	font-family: var(--robin-font-head);
	font-size: 24px;
	letter-spacing: -0.03em;
	color: inherit;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
	transition: color .2s ease, background-size .3s ease;
}
.rct-lines a:hover { color: var(--rct-accent); background-size: 100% 1px; }
.rct-channel--dark .rct-lines a:hover { color: #ff8a8e; }

.rct-hours { margin-top: auto; padding-top: 24px; }
.rct-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.rct-week span {
	padding: 6px 0;
	border-radius: 8px;
	background: var(--rct-parchment);
	font-family: var(--rct-mono-f);
	font-size: 10px;
	text-align: center;
	color: var(--rct-smoke);
	transition: box-shadow .2s ease;
}
.rct-week span.is-work { background: var(--rct-ink); color: #fff; }
.rct-week span.is-today { box-shadow: 0 0 0 2px var(--rct-result); }
.rct-channel--dark .rct-week span { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .45); }
.rct-channel--dark .rct-week span.is-work { background: rgba(255, 255, 255, .9); color: var(--rct-navy); }

.rct-day { position: relative; height: 10px; margin-top: 26px; border-radius: 5px; background: var(--rct-parchment); }
.rct-channel--dark .rct-day { background: rgba(255, 255, 255, .08); }
.rct-day-work {
	position: absolute; top: 0; bottom: 0;
	left: calc(var(--o) * 100%);
	width: calc((var(--c) - var(--o)) * 100%);
	border-radius: 5px;
	background: linear-gradient(90deg, var(--rct-result), var(--rct-accent));
}
.rct-day-now {
	position: absolute; top: -5px;
	left: calc(var(--now, 0) * 100%);
	width: 2px; height: 20px;
	margin-left: -1px;
	border-radius: 1px;
	background: var(--rct-ink);
}
.rct-day-now::after {
	content: "сейчас";
	position: absolute; bottom: 100%; left: 50%;
	transform: translateX(-50%);
	margin-bottom: 2px;
	font-family: var(--rct-mono-f); font-size: 9px; letter-spacing: .06em; text-transform: uppercase;
	color: inherit;
	white-space: nowrap;
}
.rct-channel--dark .rct-day-now { background: #fff; color: #fff; }
.rct-day-ticks { position: relative; height: 16px; margin-top: 6px; font-family: var(--rct-mono-f); font-size: 10px; color: var(--rct-smoke); }
.rct-day-ticks i { position: absolute; font-style: normal; transform: translateX(-50%); }
.rct-day-ticks i:first-child { left: calc(var(--o) * 100%); }
.rct-day-ticks i:last-child { left: calc(var(--c) * 100%); }
.rct-channel--dark .rct-day-ticks { color: rgba(255, 255, 255, .5); }
.rct-hours-text { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: var(--rct-smoke); }
.rct-channel--dark .rct-hours-text { color: rgba(255, 255, 255, .6); }

.rct-channel-link {
	display: inline-flex; align-items: center; gap: 6px;
	align-self: flex-start;
	margin-top: 18px;
	font-size: 14px; font-weight: 500;
	color: #ff8a8e;
}
.rct-channel-link svg { transition: transform .2s ease; }
.rct-channel-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   ФОРМА: заголовок слева сверху
   ========================================================================== */
.rct-lead { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.rct-lead .rcm-lead-head { position: sticky; top: 110px; }

/* ==========================================================================
   РЕКВИЗИТЫ
   ========================================================================== */
.rct-req-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.rct-req-hint { margin: 0; font-size: 13px; color: var(--rct-smoke); }
.rct-req {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: row dense;
	gap: 12px;
	margin: 36px 0 0;
}
.rct-req > div {
	min-width: 0;
	padding: 18px 20px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--rct-line);
	transition: border-color .2s ease;
}
.rct-req > div:hover { border-color: var(--rct-ash); }
.rct-req > div.is-long { grid-column: span 2; }
.rct-req dt { font-family: var(--rct-mono-f); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--rct-smoke); }
.rct-req dd { margin: 8px 0 0; }
.rct-copy {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	max-width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
	color: var(--rct-ink);
	cursor: copy;
}
.rct-copy-val { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rct-copy-ico, .rct-copy-ok { flex: none; display: inline-flex; margin-top: 4px; color: var(--rct-smoke); opacity: 0; transition: opacity .2s ease; }
.rct-copy-ok { display: none; color: var(--rct-ok); }
.rct-copy:hover .rct-copy-ico, .rct-copy:focus-visible .rct-copy-ico { opacity: 1; }
.rct-copy:hover .rct-copy-val { color: var(--rct-accent); }
.rct-copy.is-copied .rct-copy-ico { display: none; }
.rct-copy.is-copied .rct-copy-ok { display: inline-flex; opacity: 1; }
.rct-req-note { margin: 24px 0 0; font-size: 13px; line-height: 1.6; color: var(--rct-smoke); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1023px) {
	.rct-hero { padding: 24px 28px 32px; }
	.rct-hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.rct-hero-title { font-size: 56px; }
	.rct-clock { padding-top: 20px; }
	.rct-h2 { font-size: 36px; }
	.rct-panel { padding: 40px 28px; }
	.rct-req { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rct-lead { grid-template-columns: 1fr; }
	.rct-lead .rcm-lead-head { position: static; }
}
@media (max-width: 639px) {
	.rct-hero { padding: 20px 18px 24px; border-radius: 20px; }
	.rct-hero-title { font-size: 44px; }
	.rct-channels { grid-template-columns: 1fr; }
	.rct-channel { padding: 22px 20px; }
	.rct-lines a { font-size: 21px; }
	.rct-h2 { font-size: 30px; }
	.rct-panel { padding: 28px 16px; border-radius: 20px; }
	.rct-req { grid-template-columns: 1fr; }
	.rct-req > div.is-long { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.rct-pin, .rct-state.is-open::before { animation: none; }
	.rct-channel { transition: none; }
}
