/*
Theme Name: RomBooking
Theme URI: https://rombooking.ru/
Author: RomBooking
Description: Компактная фирменная тема для сервиса RomBooking.
Version: 0.1.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: rombooking-theme
*/

:root {
	--rmb-navy: #102c50;
	--rmb-blue: #315fe6;
	--rmb-gold: #e6ae27;
	--rmb-text: #25344b;
	--rmb-muted: #5d6f86;
	--rmb-line: #dce6f2;
	--rmb-bg: #f5f8fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--rmb-bg); color: var(--rmb-text); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: var(--rmb-blue); }
button, input { font: inherit; }
.rmb-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: .6rem 1rem; background: #fff; }
.rmb-skip:focus { left: 1rem; }
.rmb-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.rmb-site-header { background: #fff; border-bottom: 1px solid var(--rmb-line); }
.rmb-site-header__inner { max-width: 1120px; min-height: 76px; margin: 0 auto; padding: .35rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.rmb-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--rmb-navy); text-decoration: none; font-weight: 800; font-size: 1.28rem; line-height: 1.1; white-space: nowrap; }
.rmb-brand img { display: block; width: 62px; height: 62px; object-fit: contain; }
.rmb-brand small { display: block; margin-top: .24rem; color: var(--rmb-muted); font-size: .62rem; font-weight: 500; letter-spacing: .01em; }
.rmb-nav { display: flex; align-items: center; gap: 1.45rem; }
.rmb-nav a { color: var(--rmb-text); text-decoration: none; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.rmb-nav a:hover { color: var(--rmb-blue); }
.rmb-nav .rmb-nav__button { padding: .62rem 1rem; border-radius: 9px; background: var(--rmb-blue); color: #fff; }
.rmb-nav .rmb-nav__button:hover { background: #2049bc; color: #fff; }
.rmb-nav__status { padding: .55rem .85rem; border-radius: 9px; background: #eaf2ff; color: #2956b7; font-size: .8rem; font-weight: 750; white-space: nowrap; }
.rmb-page-main { min-height: calc(100vh - 140px); padding: 1.3rem 1rem 3rem; }
.rmb-page { max-width: 760px; margin: 0 auto; }
.rmb-page__title { margin: .4rem 0 1rem; color: var(--rmb-navy); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; }
.rmb-page__content > :first-child { margin-top: 0; }
.rmb-site-footer { border-top: 1px solid var(--rmb-line); background: #fff; color: var(--rmb-muted); font-size: .78rem; }
.rmb-site-footer__inner { max-width: 1120px; margin: auto; padding: 1.2rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; }
.rmb-hero { max-width: 1120px; min-height: 460px; margin: 0 auto; padding: 3.5rem 1.25rem 3rem; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.rmb-pill { display: inline-block; padding: .3rem .75rem; border: 1px solid #cdddf6; border-radius: 50px; background: #eaf2ff; color: #2956b7; font-size: .72rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.rmb-hero h1 { max-width: 680px; margin: 1.1rem 0 1rem; color: var(--rmb-navy); font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -.035em; }
.rmb-hero__copy > p { max-width: 580px; color: var(--rmb-muted); font-size: 1.04rem; }
.rmb-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin: 1.8rem 0 1.25rem; }
.rmb-button { display: inline-block; padding: .8rem 1.15rem; border-radius: 10px; background: var(--rmb-blue); color: #fff; font-weight: 750; text-decoration: none; box-shadow: 0 10px 24px rgba(49, 95, 230, .17); }
.rmb-button:hover { background: #2049bc; color: #fff; }
.rmb-text-link { color: var(--rmb-navy); font-size: .9rem; font-weight: 700; text-decoration: none; }
.rmb-hero__copy .rmb-hero__note { font-size: .77rem; line-height: 1.5; }
.rmb-hero__card { border: 1px solid var(--rmb-line); border-radius: 20px; background: #fff; box-shadow: 0 20px 55px rgba(18, 50, 93, .09); overflow: hidden; }
.rmb-hero__card-top { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: .7rem; align-items: center; padding: 1.35rem 1.5rem; background: linear-gradient(135deg, #eaf1ff, #fff9ea); }
.rmb-hero__card-top img { grid-row: 1 / 3; width: 72px; height: 72px; object-fit: contain; }
.rmb-hero__card-top strong { align-self: end; color: var(--rmb-navy); font-size: 1.1rem; }
.rmb-hero__card-top span { align-self: start; color: var(--rmb-muted); font-size: .8rem; }
.rmb-hero__row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .05rem .65rem; padding: 1rem 1.5rem; border-top: 1px solid var(--rmb-line); }
.rmb-hero__row > span:first-child { grid-row: 1 / 3; color: #b18421; font-weight: 800; }
.rmb-hero__row strong { color: var(--rmb-navy); font-size: .9rem; }
.rmb-hero__row > span:last-child { color: var(--rmb-muted); font-size: .76rem; }
.rmb-how { padding: 3rem 1.25rem 4.5rem; background: #fff; }
.rmb-section-head { max-width: 1120px; margin: 0 auto 1.5rem; }
.rmb-section-head > span { color: var(--rmb-blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rmb-section-head h2 { max-width: 620px; margin: .4rem 0 0; color: var(--rmb-navy); font-size: clamp(1.65rem, 2.8vw, 2.3rem); line-height: 1.2; }
.rmb-steps { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rmb-steps article { padding: 1.35rem; border: 1px solid var(--rmb-line); border-radius: 16px; background: #fff; }
.rmb-steps article > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #eaf2ff; color: var(--rmb-blue); font-size: .8rem; font-weight: 800; }
.rmb-steps h3 { margin: 1rem 0 .4rem; color: var(--rmb-navy); font-size: 1rem; }
.rmb-steps p { margin: 0; color: var(--rmb-muted); font-size: .86rem; }
@media (max-width: 760px) {
	.rmb-site-header__inner { align-items: flex-start; }
	.rmb-brand small { display: none; }
	.rmb-nav { gap: .7rem; padding-top: .6rem; }
	.rmb-nav a { font-size: .78rem; }
	.rmb-nav a:first-child { display: none; }
	.rmb-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 2.2rem; }
	.rmb-hero__card { max-width: 540px; }
	.rmb-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.rmb-site-header__inner { padding-inline: .8rem; gap: .5rem; }
	.rmb-brand { font-size: 1rem; gap: .25rem; }
	.rmb-brand img { width: 48px; height: 48px; }
	.rmb-nav { gap: .4rem; padding-top: .35rem; }
	.rmb-nav .rmb-nav__button { padding: .5rem .65rem; }
	.rmb-site-footer__inner { flex-direction: column; gap: .2rem; }
}
