/* repasi.sk — audit 12/2026 (MatBor): service/local/legal pages, breadcrumbs, locations banner, menu dropdown, floating contacts */
:root { --rp-tint: #eaf5fe; --rp-line: rgba(0, 57, 100, .15); }

/* ---------- menu dropdown (desktop) ---------- */
.navigation ul li { position: relative; }
.navigation ul.sub-menu { display: none; position: absolute; top: 100%; left: -18px; z-index: 50; min-width: 300px; margin: 0; padding: 14px 0 10px; list-style: none; flex-direction: column; gap: 0; background: var(--repasi-blue); border-radius: 0 0 10px 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.navigation ul li.menu-item-has-children:hover > ul.sub-menu,
.navigation ul li.menu-item-has-children:focus-within > ul.sub-menu { display: flex; }
.navigation ul.sub-menu li { padding: 0; }
.navigation ul.sub-menu li a { display: block; padding: 8px 18px; font-size: 15px; line-height: 1.35; white-space: nowrap; }
.navigation ul li.menu-item-has-children > a:after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.navigation ul li.menu-item-has-children > a { padding-bottom: 14px; margin-bottom: -14px; }
.navigation ul.sub-menu li.current-menu-item a { color: var(--repasi-mint); }

/* drawer (mobile) */
.drawer-nav ul.sub-menu { display: none; margin: 12px 0 0 14px; padding: 0; list-style: none; }
.drawer-nav li.rp-open > ul.sub-menu { display: block; }
.drawer-nav ul.sub-menu li { padding-bottom: 12px; }
.drawer-nav ul.sub-menu a { font-size: 16px; opacity: .9; }
.drawer-nav li.menu-item-has-children > a { padding-right: 34px; position: relative; display: inline-block; }
.rp-sub-toggle { background: none; border: 0; color: #fff; width: 34px; height: 30px; margin-left: 4px; vertical-align: middle; cursor: pointer; padding: 0; }
.rp-sub-toggle:before { content: ''; display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.drawer-nav li.rp-open > .rp-sub-toggle:before { transform: translateY(1px) rotate(225deg); }
.drawer-nav { overflow-y: auto; }

/* ---------- breadcrumbs ---------- */
.rp-crumbs { background: #fff; padding: 18px 0 0; }
.rp-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 0 0 1%; list-style: none; font-size: 14px; }
.rp-crumbs li { color: var(--repasi-blue); }
.rp-crumbs li + li:before { content: '›'; margin-right: 6px; opacity: .6; }
.rp-crumbs a { color: var(--repasi-blue); text-decoration: underline; text-underline-offset: 3px; }
.rp-crumbs span { opacity: .75; }

/* ---------- hero (landing) ---------- */
.rp-top .rp-perex p { font-size: 18px; line-height: 1.5; margin: 0 0 12px; }
.rp-top .rp-perex p:last-child { margin-bottom: 0; }
.rp-top .col-6.text .perex.rp-perex { padding: 60px 50px; }
.rp-page--legal .rp-top { padding-bottom: 0; }
.rp-page--legal .rp-top .page-bgr { height: 100%; }
.rp-page--legal .rp-top .row.in-grid { padding-bottom: 60px; }

/* ---------- sections ---------- */
.rp-content { background: #fff; }
.rp-section { background: #fff; padding: 70px 0; }
.rp-section--tint { background: var(--rp-tint); }
.rp-section--cta { background: var(--repasi-blue); }
.rp-section--cta h2, .rp-section--cta p, .rp-section--cta li { color: #fff; }
.rp-section--cta a:not(.main-button) { color: var(--repasi-mint); }
.rp-section__grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; padding: 0 1%; }
.rp-section--media .rp-section__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.rp-section__text > :first-child { margin-top: 0; }
.rp-section h2 { font-size: 35px; margin: 0 0 22px; color: var(--repasi-blue); }
.rp-section--cta h2 { color: #fff; }
.rp-section p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; }
.rp-section .main-button { margin-top: 16px; }
.rp-section a:not(.main-button):not(.rp-card) { color: var(--repasi-blue); text-decoration: underline; text-underline-offset: 3px; }
.rp-section--cta a:not(.main-button) { color: var(--repasi-mint); }
.rp-section__media img { width: 100%; height: auto; display: block; border-radius: 6px; object-fit: cover; aspect-ratio: 4 / 3; }
.rp-section__media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rp-section__media--pair img { aspect-ratio: 3 / 4; }

.rp-list { margin: 6px 0 18px; padding: 0; list-style: none; }
.rp-list li { position: relative; padding: 0 0 10px 30px; font-size: 16px; line-height: 1.55; }
.rp-list li:before { content: ''; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2px solid #12b896; border-bottom: 2px solid #12b896; transform: rotate(-45deg); }

.rp-steps { counter-reset: none; margin: 14px 0 20px; padding: 0; list-style: none; display: grid; gap: 14px; }
.rp-steps li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--rp-line); border-radius: 8px; padding: 18px 20px; }
.rp-section--tint .rp-steps li { border-color: transparent; }
.rp-steps__n { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--repasi-mint); color: var(--repasi-blue); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.rp-steps h3 { font-family: 'BR Hendrix', sans-serif; font-size: 17px; font-weight: 700; margin: 6px 0 6px; line-height: 1.35; }
.rp-steps p { margin: 0; font-size: 15px; }

.rp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 10px 0 18px; }
.rp-section--media .rp-features { grid-template-columns: 1fr; }
.rp-feature { background: #fff; border-left: 3px solid var(--repasi-mint); border-radius: 0 8px 8px 0; padding: 16px 20px; }
.rp-section--tint .rp-feature { background: #fff; }
.rp-section:not(.rp-section--tint):not(.rp-section--cta) .rp-feature { background: var(--rp-tint); }
.rp-feature h3 { font-family: 'BR Hendrix', sans-serif; font-size: 17px; font-weight: 700; margin: 0 0 6px; line-height: 1.35; }
.rp-feature p { margin: 0; font-size: 15px; }

.rp-table-wrap { overflow-x: auto; margin: 14px 0 18px; -webkit-overflow-scrolling: touch; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.rp-table th, .rp-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rp-line); vertical-align: top; line-height: 1.45; }
.rp-table th { background: var(--repasi-blue); color: #fff; font-weight: 700; }
.rp-table td + td, .rp-table th + th { white-space: nowrap; }
.rp-table tr.rp-table__group td { background: var(--rp-tint); font-weight: 700; color: var(--repasi-blue); }
.rp-section--tint .rp-table tr.rp-table__group td { background: #d5ecfd; }

.rp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0 0; }
.rp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rp-line); border-radius: 10px; overflow: hidden; color: var(--repasi-blue); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.rp-card:hover { box-shadow: 0 14px 30px rgba(0, 57, 100, .14); transform: translateY(-3px); }
.rp-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rp-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rp-card h3 { font-size: 22px; margin: 0 0 8px; line-height: 1.25; }
.rp-card p { font-size: 15px; margin: 0 0 14px; }
.rp-card__more { margin-top: auto; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.rp-nap { background: var(--rp-tint); border-radius: 10px; padding: 24px 26px; }
.rp-section--tint .rp-nap { background: #fff; }
.rp-nap p { margin: 0 0 10px; }
.rp-nap p:last-child { margin: 0; }

.rp-section--legal { padding: 30px 0; }
.rp-section--legal:first-child { padding-top: 50px; }
.rp-section--legal:last-child { padding-bottom: 70px; }
.rp-section--legal h2 { font-size: 28px; margin-bottom: 14px; }
.rp-section--legal h3 { font-size: 22px; margin: 22px 0 10px; }
.rp-section--legal .rp-section__grid { max-width: 860px; }

/* ---------- locations banner ---------- */
.rp-loc { background: #fff; padding: 10px 0 80px; }
.rp-loc__box { background: var(--repasi-blue); border-radius: 14px; padding: 36px 34px; margin: 0 1%; }
.rp-loc h2 { color: #fff; font-size: 30px; margin: 0 0 6px; }
.rp-loc__lead { color: #cfe3f3; margin: 0 0 24px; font-size: 15px; }
.rp-loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rp-loc__card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: 20px 22px; }
.rp-loc__card p { color: #fff; margin: 0 0 10px; font-size: 15px; }
.rp-loc__city { font-family: 'Chaparral Pro'; font-size: 22px !important; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rp-loc__city a { color: #fff; text-decoration: underline; text-decoration-color: var(--repasi-mint); text-underline-offset: 5px; }
.rp-loc__badge { font-family: 'BR Hendrix', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--repasi-mint); background: rgba(31, 255, 212, .12); border-radius: 20px; padding: 3px 9px; }
.rp-loc__svc { font-weight: 700; }
.rp-loc__row { display: flex; gap: 10px; align-items: flex-start; }
.rp-loc__row svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--repasi-mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rp-loc__row a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }

/* ---------- moje práce / reviews / map ---------- */
.rp-moje { background: #fff; padding: 40px 0 30px; }
.rp-reviews { background: #fff; padding: 20px 0 60px; }
.rp-map { line-height: 0; background: #fff; }
.rp-map iframe { width: 100%; height: 450px; display: block; }

/* ---------- home: new blocks ---------- */
.rp-home-steps { background: #fff; padding: 80px 0 40px; }
.rp-home-steps h2, .rp-home-lead h2 { color: var(--repasi-blue); margin: 0 0 18px; }
.rp-home-steps .rp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-home-steps .rp-steps li { flex-direction: column; gap: 10px; }
.rp-home-lead { background: var(--rp-tint); padding: 70px 0; }
.rp-home-lead p { font-size: 16px; line-height: 1.6; max-width: 820px; }
.rp-home-intro { max-width: 820px; font-size: 16px; line-height: 1.6; }

/* ---------- floating contacts ---------- */
.rp-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.rp-float__btn { display: inline-flex; align-items: center; gap: 10px; background: var(--repasi-mint); color: var(--repasi-blue) !important; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 40px; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); text-decoration: none; transition: transform .2s; }
.rp-float__btn:hover { transform: translateY(-2px); }
.rp-float__btn--mail { background: #fff; }
.rp-float__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* footer legal links */
.copyright .rp-legal-links a { margin-right: 16px; }

@media (max-width: 1000px) {
	.rp-section { padding: 50px 0; }
	.rp-section--media .rp-section__grid { grid-template-columns: 1fr; gap: 28px; }
	.rp-section h2 { font-size: 28px; }
	.rp-features { grid-template-columns: 1fr; }
	.rp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rp-loc__grid { grid-template-columns: 1fr; }
	.rp-home-steps .rp-steps { grid-template-columns: 1fr 1fr; }
	.rp-top .col-6.text .perex.rp-perex { padding: 40px 25px; }
}
@media (max-width: 640px) {
	.rp-cards, .rp-home-steps .rp-steps { grid-template-columns: 1fr; }
	.rp-loc__box { padding: 26px 18px; }
	.rp-loc h2 { font-size: 24px; }
	.rp-section__media--pair { grid-template-columns: 1fr 1fr; gap: 8px; }
	.rp-table { font-size: 14px; }
	.rp-table th, .rp-table td { padding: 10px 10px; }
	.rp-float { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
	.rp-float__btn { flex: 1; justify-content: center; border-radius: 0; box-shadow: 0 -4px 16px rgba(0, 0, 0, .15); padding: 14px 8px; font-size: 14px; }
	.rp-float__btn span { white-space: nowrap; }
	body { padding-bottom: 50px; }
	.rp-map iframe { height: 340px; }
}

/* home: icon titles were h5, now h3 (audit H-hierarchy) — keep the h5 look */
.columns-wrapper.protetika-icons h3.rp-icon-title { font-size: 18px; line-height: 1.3; text-align: center; }
@media (max-width: 1000px) { .columns-wrapper.protetika-icons h3.rp-icon-title { font-size: 16px; margin-bottom: 30px; } }

/* landing pages: sections are full width (theme .content-container is max 1300px with padding) */
.rp-page { background: #fff; }
.content-container.rp-content { max-width: none; padding: 0; margin: 0; }
.rp-page .rp-section > .row.in-grid, .rp-loc > .row.in-grid, .rp-moje > .row.in-grid, .rp-reviews > .row.in-grid { max-width: 1300px; }
.rp-section:not(.rp-section--media) .rp-section__text { max-width: 900px; }
.rp-section .rp-cards, .rp-section .rp-table-wrap { max-width: none; }
.rp-section:not(.rp-section--media) .rp-section__text:has(.rp-cards), .rp-section:not(.rp-section--media) .rp-section__text:has(.rp-table) , .rp-section:not(.rp-section--media) .rp-section__text:has(.rp-features) { max-width: none; }

/* former headings turned into text (audit: «убрать заголовки») keep their look */
p.rp-h3 { font-family: 'Chaparral Pro'; font-size: 30px; line-height: 1.3; font-weight: 400; margin: 0; }
@media (max-width: 1000px) { p.rp-h3 { font-size: 22px; } }
h2.rp-faq-q { font: inherit; color: inherit; margin: 0; display: inline; }
a.rp-nap-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rp-section__grid > * { min-width: 0; }

/* desktop menu has 11 items now: compact on mid widths so it never overflows */
@media (min-width: 1001px) and (max-width: 1440px) {
	#header { padding-left: 30px; padding-right: 30px; }
	.navigation ul { gap: 22px; }
	.navigation ul li a { font-size: 15px; }
}
@media (min-width: 1001px) and (max-width: 1199px) {
	#header { padding-left: 20px; padding-right: 20px; }
	#header .logo img { height: 56px; }
	.navigation ul { gap: 13px; }
	.navigation ul li a { font-size: 14px; }
	.navigation ul li.menu-item-has-children > a:after { margin-left: 4px; }
}
@media (max-width: 640px) { #CookiebotWidget { bottom: 66px !important; } }

/* 12-03 Need Fix */
.content-container ul.rp-list, .content-container ul.rp-steps { list-style: none; margin-left: 0; }
.content-container ul.rp-list { margin: 6px 0 18px; }
.content-container ul.rp-steps { margin: 14px 0 20px; }
.col-6.light.page-cta.rp-cta--plain { background: var(--repasi-blue); justify-content: center; padding: 40px; }
.col-6.light.page-cta.rp-cta--plain:after { display: none; }
.rp-cta--plain .cta-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
.rp-cta--plain .cta-inner p, .columns-wrapper .col-6.light.rp-cta--plain .cta-inner p { font-size: 22px; line-height: 1.35; max-width: 420px; margin-top: 0; float: none; }
@media (max-width: 767px) { .col-6.light.page-cta.rp-cta--plain { padding: 30px 24px; min-height: 0; } .rp-cta--plain .cta-inner p, .columns-wrapper .col-6.light.rp-cta--plain .cta-inner p { font-size: 20px; } }
.rp-loc h2.rp-loc__svc { font-family: 'BR Hendrix', sans-serif; font-size: 15px; font-weight: 700; line-height: 21px; color: #fff; margin: 0 0 10px; }
