/* =============================================================
   Roof Bros — Design System
   Palette (per brief): #F9F7F7 / #DBE2EF / #3F72AF / #112D4E
   Fonts: Montserrat (display) + Inter (body)
   ============================================================= */

:root {
	--bg:        #F9F7F7;
	--accent:    #DBE2EF;
	--brand:     #3F72AF;
	--brand-600: #335e94;
	--dark:      #112D4E;
	--dark-700:  #0c2240;

	--ink:       #112D4E;
	--muted:     #5a6b80;
	--line:      rgba(17, 45, 78, 0.10);
	--white:     #ffffff;

	--font-display: "Montserrat", system-ui, sans-serif;
	--font-body:    "Inter", system-ui, sans-serif;

	--radius:    18px;
	--radius-lg: 28px;
	--shadow-sm: 0 4px 18px rgba(17, 45, 78, 0.08);
	--shadow:    0 18px 50px rgba(17, 45, 78, 0.14);
	--shadow-lg: 0 30px 80px rgba(17, 45, 78, 0.22);

	--glass-bg:     rgba(255, 255, 255, 0.55);
	--glass-border: rgba(255, 255, 255, 0.65);
	--glass-blur:   18px;

	--maxw: 1920px;
	--gap:  clamp(1rem, 3vw, 2rem);
	--section-y: clamp(3.5rem, 8vw, 7rem);

	--grad-brand: linear-gradient(120deg, var(--brand), var(--dark));
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	font-size: clamp(15px, 1.4vw, 17px);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }

.rb-icon { width: 1.25em; height: 1.25em; flex: none; }

/* Ensure the hidden attribute always wins over component display rules */
[hidden] { display: none !important; }

.rb-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 5vw, 5rem); }
/* Keep reading-heavy blocks comfortable on ultra-wide screens */
.rb-section__head { max-width: 760px; }
.rb-hero__content { max-width: 820px; }

.rb-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--dark); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 12px 0;
}
.rb-skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.rb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-family: var(--font-display);
	font-size: .95rem; letter-spacing: -0.01em; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
	white-space: nowrap;
}
.rb-btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.rb-btn--block { width: 100%; }
.rb-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px rgba(63, 114, 175, 0.4); }
.rb-btn--primary:hover { background: var(--brand-600); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(63, 114, 175, 0.5); }
.rb-btn--glass {
	background: var(--glass-bg); color: var(--dark);
	-webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
	border: 1px solid var(--glass-border);
}
.rb-btn--glass:hover { transform: translateY(-3px); background: rgba(255,255,255,.75); }
.rb-btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.rb-btn--ghost:hover { background: var(--accent); }

.rb-link {
	display: inline-flex; align-items: center; gap: .4rem; color: var(--brand);
	font-weight: 700; font-family: var(--font-display); font-size: .95rem;
}
.rb-link .rb-icon { transition: transform .25s ease; }
.rb-link:hover .rb-icon { transform: translateX(5px); }

.rb-eyebrow {
	display: inline-block; font-family: var(--font-display); font-weight: 700;
	font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
	color: var(--brand); margin-bottom: 1rem;
}
.rb-eyebrow--light { color: var(--accent); }

.rb-grad {
	background: linear-gradient(100deg, var(--brand), #6ea0d8);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

.rb-chip {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .4rem .85rem; border-radius: 999px; background: var(--accent); color: var(--dark);
	font-size: .82rem; font-weight: 600;
}
.rb-chip--lg { padding: .6rem 1.1rem; font-size: .95rem; background: #fff; box-shadow: var(--shadow-sm); }
.rb-chip--lg .rb-icon { color: var(--brand); }

/* ---------- Header ---------- */
.rb-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s ease, box-shadow .3s ease, padding .3s ease; padding: .5rem 0; }
.rb-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.rb-header.is-scrolled {
	background: rgba(249, 247, 247, 0.7);
	-webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
	box-shadow: 0 6px 30px rgba(17,45,78,.10);
	border-bottom: 1px solid var(--glass-border);
}

.rb-logo { display: inline-flex; align-items: center; gap: .6rem; }
.rb-logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-brand); color: #fff; box-shadow: 0 6px 16px rgba(17,45,78,.35); }
.rb-logo__mark .rb-icon { width: 22px; height: 22px; }
.rb-logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.02em; transition: color .3s; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.rb-logo__text strong { color: var(--accent); }
.rb-logo__text--lg { font-size: 1.7rem; color: #fff; text-shadow: none; }
.rb-logo__text--lg strong { color: var(--accent); }
.rb-header.is-scrolled .rb-logo__text { color: var(--dark); text-shadow: none; }
.rb-header.is-scrolled .rb-logo__text strong { color: var(--brand); }

.rb-nav { margin-left: auto; }
.rb-nav__list { display: flex; align-items: center; gap: .15rem; }
.rb-nav__list li { position: relative; }
.rb-nav__list > li > a, .rb-navlink {
	display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .95rem; border-radius: 10px; font-weight: 600;
	font-size: .95rem; color: rgba(255,255,255,.92); transition: background .2s, color .2s; cursor: pointer;
	font-family: var(--font-body); border: 0; background: none;
}
.rb-nav__list > li > a:hover, .rb-navlink:hover, .rb-nav__list .current-menu-item > a, .rb-nav__list .current_page_item > a {
	background: rgba(255,255,255,.16); color: #fff;
}
.rb-header.is-scrolled .rb-nav__list > li > a, .rb-header.is-scrolled .rb-navlink { color: var(--dark); }
.rb-header.is-scrolled .rb-nav__list > li > a:hover, .rb-header.is-scrolled .rb-navlink:hover,
.rb-header.is-scrolled .rb-nav__list .current-menu-item > a, .rb-header.is-scrolled .rb-nav__list .current_page_item > a {
	background: var(--accent); color: var(--brand);
}
.rb-navlink .rb-caret { width: 14px; height: 14px; transition: transform .25s; }
.rb-has-drop:hover .rb-caret, .rb-has-drop:focus-within .rb-caret { transform: rotate(180deg); }

/* Desktop dropdown */
.rb-drop {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: .5rem;
	background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
	border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: var(--shadow);
	display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.rb-has-drop:hover .rb-drop, .rb-has-drop:focus-within .rb-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.rb-drop a { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 10px; color: var(--dark); font-weight: 600; font-size: .92rem; }
.rb-drop a:hover { background: var(--accent); color: var(--brand); }
.rb-drop a .rb-icon { width: 18px; height: 18px; color: var(--brand); }

.rb-header__cta { display: flex; align-items: center; gap: 1rem; }
.rb-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-family: var(--font-display); color: #fff; font-size: .95rem; transition: color .3s; }
.rb-phone .rb-icon { color: var(--accent); }
.rb-header.is-scrolled .rb-phone { color: var(--dark); }
.rb-header.is-scrolled .rb-phone .rb-icon { color: var(--brand); }

.rb-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.rb-burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.rb-header.is-scrolled .rb-burger span { background: var(--dark); }
.rb-burger.is-open span { background: var(--dark); }
.rb-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rb-burger.is-open span:nth-child(2) { opacity: 0; }
.rb-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rb-mobile {
	position: fixed; inset: 0; z-index: 90; padding: 6rem 1.5rem 2rem;
	background: rgba(249,247,247,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
	display: flex; flex-direction: column; gap: .5rem; animation: rb-fade .25s ease;
}
.rb-mobile__list { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1rem; }
.rb-mobile__list > li > a { display: block; padding: 1rem; border-radius: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--dark); border-bottom: 1px solid var(--line); }
.rb-mobile__list > li > a:hover { color: var(--brand); }
.rb-mobile__group { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.rb-mobile__label { display: block; padding: 1rem 1rem .25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--dark); }
.rb-mobile__sub { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 12px; font-weight: 600; color: var(--muted); }
.rb-mobile__sub:hover { color: var(--brand); background: var(--accent); }
.rb-mobile__sub .rb-icon { width: 20px; height: 20px; color: var(--brand); }
.rb-phone--mobile { justify-content: center; margin-top: 1rem; font-size: 1.15rem; }

.rb-main { display: block; }

/* ---------- Hero ---------- */
.rb-hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: 7rem 0 4rem; }
.rb-hero__bg { position: absolute; inset: 0; z-index: -2; background-image: url(../img/hero.jpg); background-size: cover; background-position: center; animation: rb-kenburns 22s ease-in-out infinite alternate; }
@keyframes rb-kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.rb-hero__video { width: 100%; height: 100%; object-fit: cover; }
.rb-hero__bg::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(120deg, rgba(12,34,64,.82), rgba(12,34,64,.45) 55%, rgba(63,114,175,.35));
}
.rb-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,34,64,.85), rgba(12,34,64,.35) 60%, transparent); }
.rb-hero__grain { position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
	background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 4px 4px; }
.rb-hero__inner { position: relative; z-index: 1; width: 100%; }
.rb-hero__content { max-width: 760px; }
.rb-hero__title { font-size: clamp(2.4rem, 6.5vw, 5rem); font-weight: 900; margin-bottom: 1.25rem; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.rb-hero__sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,.9); max-width: 560px; margin-bottom: 2rem; }
.rb-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.rb-hero__messages { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; color: rgba(255,255,255,.85); font-size: .9rem; }
.rb-hero__messages i { color: var(--brand); font-style: normal; }
.rb-hero__scroll { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; z-index: 1; }
.rb-hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: #fff; border-radius: 4px; transform: translateX(-50%); animation: rb-scroll 1.6s infinite; }
@keyframes rb-scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }

/* ---------- Hero aside card ---------- */
.rb-hero__aside { display: none; }
.rb-hero__card { position: relative; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 2.4vw, 2.2rem); box-shadow: var(--shadow-lg); color: var(--ink); animation: rb-float 7s ease-in-out infinite; }
.rb-hero__rating { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; color: var(--muted); font-size: .9rem; }
.rb-hero__rating strong { color: var(--ink); }
.rb-hero__card-title { font-size: 1.45rem; color: var(--dark); margin-bottom: 1.1rem; }
.rb-hero__card-list { display: grid; gap: .65rem; margin-bottom: 1.4rem; }
.rb-hero__card-list li { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ink); }
.rb-hero__card-list .rb-icon { color: var(--brand); }
.rb-hero__card-call { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; font-family: var(--font-display); font-weight: 700; color: var(--dark); }
.rb-hero__card-call .rb-icon { color: var(--brand); }
.rb-hero__chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.32); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); animation: rb-float 6s ease-in-out infinite; }
.rb-hero__chip .rb-icon { width: 18px; height: 18px; color: var(--accent); }
.rb-hero__chip--1 { top: -16px; left: -16px; }
.rb-hero__chip--2 { bottom: -16px; right: -16px; animation-delay: -3s; }
@keyframes rb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust bar ---------- */
.rb-trust { position: relative; margin-top: -3rem; margin-bottom: -3.5rem; z-index: 5; padding-bottom: 0; }
.rb-stats { padding-top: clamp(4.5rem, 7vw, 6rem); }
.rb-trust__glass {
	display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1rem 1.5rem;
	padding: 1.5rem 2rem; border-radius: var(--radius-lg);
	background: var(--glass-bg); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
	border: 1px solid var(--glass-border); box-shadow: var(--shadow);
}
.rb-trust__item { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; color: var(--dark); font-size: .95rem; }
.rb-trust__item .rb-icon { display: grid; place-items: center; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; }

/* ---------- Sections ---------- */
.rb-section { padding: var(--section-y) 0; position: relative; }
.rb-section--soft { background: linear-gradient(180deg, var(--bg), #eef1f7); }
.rb-section--dark { background: var(--dark); color: #fff; }
.rb-section--dark .rb-section__lead { color: rgba(255,255,255,.75); }
.rb-section__head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.rb-section__head--left { text-align: left; margin-inline: 0; }
.rb-section__title { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 900; margin-bottom: 1rem; }
.rb-section--dark .rb-section__title { color: #fff; }
.rb-section__lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--muted); }

/* ---------- Stats band ---------- */
.rb-stats { background: var(--grad-brand); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.rb-stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; text-align: center; }
.rb-stat { position: relative; }
.rb-stat__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -.02em; }
.rb-stat__label { display: block; margin-top: .5rem; color: rgba(255,255,255,.85); font-weight: 600; font-size: .92rem; }

/* ---------- Process ---------- */
.rb-process__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.rb-process__step { position: relative; padding: 2.2rem 1.6rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease; overflow: hidden; }
.rb-process__step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rb-process__step::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.rb-process__step:hover::before { transform: scaleX(1); }
.rb-process__num { position: absolute; top: .9rem; right: 1.2rem; font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; color: var(--accent); line-height: 1; }
.rb-process__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: var(--brand); margin-bottom: 1.1rem; }
.rb-process__icon .rb-icon { width: 28px; height: 28px; }
.rb-process__step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.rb-process__step p { color: var(--muted); }

/* ---------- Guarantee + marquee ---------- */
.rb-guarantee__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.rb-guarantee__card { padding: 1.9rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .35s ease, background .35s ease; }
.rb-guarantee__card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.rb-guarantee__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(63,114,175,.3); color: #fff; margin-bottom: 1.1rem; }
.rb-guarantee__icon .rb-icon { width: 28px; height: 28px; }
.rb-guarantee__card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .5rem; }
.rb-guarantee__card p { color: rgba(255,255,255,.78); }
.rb-marquee { margin-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rb-marquee__track { display: inline-flex; align-items: center; gap: 1.5rem; white-space: nowrap; animation: rb-marquee 28s linear infinite; }
.rb-marquee__item { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.6rem); color: rgba(255,255,255,.55); letter-spacing: .01em; }
.rb-marquee__dot { color: var(--brand); font-size: 1.2rem; }
@keyframes rb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Card base ---------- */
.rb-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease; }
.rb-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* ---------- Media (real photos) ---------- */
[class*="rb-media--"] { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: var(--dark); }
.rb-media--hardie-siding { background-image: url(../img/hardie-siding.jpg); }
.rb-media--vinyl-siding  { background-image: url(../img/vinyl-siding.jpg); }
.rb-media--metal-roofing { background-image: url(../img/metal-roofing.jpg); }
.rb-media--soffit-fascia { background-image: url(../img/soffit-fascia.jpg); }
.rb-media--gutters       { background-image: url(../img/gutters.jpg); }
.rb-media--before        { background-image: url(../img/before.jpg); }

/* ---------- Services ---------- */
.rb-services__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.rb-service-card { overflow: hidden; }
.rb-service-card__media { height: 190px; display: grid; place-items: center; }
.rb-service-card__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(17,45,78,.25), rgba(17,45,78,.6)); }
.rb-service-card__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rb-service-card__icon .rb-icon { width: 30px; height: 30px; }
.rb-service-card__body { padding: 1.5rem; }
.rb-service-card__body h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.rb-service-card__tag { color: var(--brand); font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }
.rb-service-card__body p { color: var(--muted); margin-bottom: 1rem; }

/* ---------- Project videos / cards ---------- */
.rb-videos__grid, .rb-projects__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.rb-video-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; text-align: left; box-shadow: var(--shadow); transition: transform .35s ease; }
.rb-video-card:hover { transform: translateY(-6px); }
.rb-video-card__media { position: absolute; inset: 0; transition: transform .5s ease; }
.rb-video-card:hover .rb-video-card__media { transform: scale(1.06); }
.rb-video-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(12,34,64,.85)); }
.rb-video-card__play { position: absolute; inset: 0; margin: auto; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; transition: transform .3s, background .3s; }
.rb-video-card:hover .rb-video-card__play { transform: scale(1.1); background: var(--brand); }
.rb-video-card__play .rb-icon { width: 26px; height: 26px; margin-left: 3px; }
.rb-video-card__meta { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; color: #fff; display: flex; flex-direction: column; gap: .2rem; }
.rb-video-card__cat { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.rb-video-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }

/* ---------- Lightbox ---------- */
.rb-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; }
.rb-lightbox__backdrop { position: absolute; inset: 0; background: rgba(8,20,38,.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: rb-fade .3s ease; }
.rb-lightbox__panel { position: relative; z-index: 1; width: min(900px, 100%); background: var(--glass-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-lg); animation: rb-pop .35s ease; }
.rb-lightbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--dark); font-size: 1.5rem; box-shadow: var(--shadow); }
.rb-lightbox__stage { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--dark); display: grid; place-items: center; }
.rb-lightbox__stage iframe, .rb-lightbox__stage video { width: 100%; height: 100%; border: 0; }
.rb-lightbox__placeholder { text-align: center; color: rgba(255,255,255,.7); }
.rb-lightbox__placeholder .rb-icon { width: 48px; height: 48px; margin: 0 auto .75rem; }
.rb-lightbox__placeholder code { background: rgba(255,255,255,.12); padding: .1rem .4rem; border-radius: 6px; }
.rb-lightbox__title { padding: 1rem .5rem .25rem; color: var(--dark); font-size: 1.15rem; }

/* ---------- Why ---------- */
.rb-why__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.rb-why__card { padding: 1.8rem; }
.rb-why__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: var(--brand); margin-bottom: 1.1rem; }
.rb-why__icon .rb-icon { width: 28px; height: 28px; }
.rb-why__card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.rb-why__card p { color: var(--muted); }

/* ---------- Glass card (forms) ---------- */
.rb-glasscard {
	background: var(--glass-bg); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
	border: 1px solid var(--glass-border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* ---------- Estimator ---------- */
.rb-estimator__layout { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.rb-estimator__points { margin-top: 1.5rem; display: grid; gap: .75rem; }
.rb-estimator__points li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.rb-estimator__points .rb-icon { color: var(--brand); }
.rb-estimator__form { position: relative; }
.rb-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.rb-steps__bar { height: 6px; border-radius: 999px; background: var(--accent); overflow: hidden; margin-bottom: 1.75rem; }
.rb-steps__fill { display: block; height: 100%; width: 25%; background: var(--grad-brand); border-radius: 999px; transition: width .4s ease; }
.rb-step { display: none; animation: rb-fade .35s ease; }
.rb-step.is-active { display: block; }
.rb-step h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.rb-mt { margin-top: 1.5rem; }

.rb-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.rb-choice-grid--2 { grid-template-columns: 1fr 1fr; }
.rb-choice { position: relative; }
.rb-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rb-choice span { display: block; padding: .9rem 1rem; border-radius: 14px; background: rgba(255,255,255,.6); border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; text-align: center; transition: all .2s; }
.rb-choice:hover span { border-color: var(--brand); }
.rb-choice input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 8px 20px rgba(63,114,175,.35); }

.rb-field { display: block; margin-bottom: 1rem; }
.rb-field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--dark); }
.rb-field input, .rb-field select, .rb-field textarea {
	width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
	background: rgba(255,255,255,.85); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.rb-field input:focus, .rb-field select:focus, .rb-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(63,114,175,.15); }
.rb-field textarea { resize: vertical; }

.rb-step__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.rb-step__nav [data-next], .rb-step__nav [data-submit] { margin-left: auto; }
.rb-done { text-align: center; padding: 1rem 0; }
.rb-done__check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--brand); color: #fff; }
.rb-done__check .rb-icon { width: 34px; height: 34px; }
.rb-form__msg { margin-top: 1rem; font-weight: 600; min-height: 1.2em; }
.rb-form__msg.is-ok { color: #1c7a4a; }
.rb-form__msg.is-err { color: #c0392b; }

/* ---------- Before / After ---------- */
.rb-ba__slider { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: none; cursor: ew-resize; }
.rb-ba__after, .rb-ba__before { position: absolute; inset: 0; background-size: cover; background-position: center; }
.rb-ba__before { clip-path: inset(0 50% 0 0); }
.rb-ba__label { position: absolute; bottom: 1rem; z-index: 3; padding: .4rem .9rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(12,34,64,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.rb-ba__label--after { right: 1rem; }
.rb-ba__label--before { left: 1rem; }
.rb-ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; z-index: 4; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 14px rgba(0,0,0,.35); }
.rb-ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow); }
.rb-ba__grip .rb-icon { width: 30px; height: 30px; }
.rb-ba__slider:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.rb-ba__hint { text-align: center; margin-top: 1rem; color: var(--muted); font-size: .9rem; }

/* ---------- Reviews ---------- */
.rb-reviews__rating { display: inline-flex; align-items: center; gap: .75rem; margin-top: .5rem; color: var(--muted); }
.rb-stars { display: inline-flex; gap: 2px; color: #d7b500; font-size: 1.05rem; }
.rb-stars span { color: #d7d9de; }
.rb-stars span.is-on { color: #f5b50a; }
.rb-reviews__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.rb-review { padding: 1.8rem; }
.rb-review__text { margin: .9rem 0 1.3rem; color: var(--ink); }
.rb-review__author { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-family: var(--font-display); }
.rb-review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad-brand); color: #fff; }

/* ---------- Service areas ---------- */
.rb-areas__layout { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,4vw,3rem); align-items: center; }
.rb-areas__chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.rb-areas__map-glass { aspect-ratio: 4/3; border-radius: var(--radius-lg); display: grid; place-content: center; justify-items: center; gap: .5rem; text-align: center; color: var(--dark);
	background: var(--glass-bg); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
	background-image: radial-gradient(circle at 30% 30%, rgba(63,114,175,.18), transparent 40%), radial-gradient(circle at 70% 70%, rgba(17,45,78,.12), transparent 45%); }
.rb-areas__map-glass .rb-icon { width: 44px; height: 44px; color: var(--brand); }
.rb-areas__map-glass strong { font-family: var(--font-display); font-size: 1.4rem; }
.rb-areas__map-glass small { color: var(--muted); max-width: 240px; }
.rb-areas__map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.rb-areas__map-embed iframe { width: 100%; min-height: 340px; border: 0; display: block; }
.rb-reviews__cta { margin-top: 1.2rem; }
.rb-footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.rb-footer__social a { color: var(--accent); font-weight: 600; }
.rb-footer__social a:hover { color: #fff; }

/* ---------- CTA ---------- */
.rb-cta { background: var(--grad-brand); color: #fff; }
.rb-cta__layout { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.rb-cta__title { font-size: clamp(2rem,4.5vw,3rem); font-weight: 900; margin-bottom: 1rem; }
.rb-cta__copy p { color: rgba(255,255,255,.88); margin-bottom: 1.5rem; }
.rb-cta__list { display: grid; gap: .7rem; }
.rb-cta__list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.rb-cta__list .rb-icon { color: var(--accent); }
.rb-cta .rb-eyebrow--light { color: var(--accent); }

/* ---------- Contact form ---------- */
.rb-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.rb-form__fine { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .9rem; }

/* ---------- AI consultant ---------- */
.rb-ai { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 150; }
.rb-ai__launch { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px rgba(63,114,175,.5); transition: transform .3s; }
.rb-ai__launch:hover { transform: scale(1.08); }
.rb-ai__launch .rb-icon { width: 28px; height: 28px; }
.rb-ai__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: rb-pulse 2s infinite; }
@keyframes rb-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.rb-ai__panel { position: absolute; right: 0; bottom: 78px; width: min(370px, calc(100vw - 2rem)); padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: min(560px, calc(100vh - 7rem)); animation: rb-pop .3s ease; }
.rb-ai__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; background: var(--grad-brand); color: #fff; }
.rb-ai__id { display: flex; align-items: center; gap: .65rem; }
.rb-ai__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.2); font-family: var(--font-display); font-weight: 800; }
.rb-ai__id strong { font-family: var(--font-display); font-size: 1rem; display: block; }
.rb-ai__id small { font-size: .78rem; opacity: .9; display: inline-flex; align-items: center; gap: .35rem; }
.rb-ai__dot { width: 8px; height: 8px; border-radius: 50%; background: #6ee787; box-shadow: 0 0 0 0 rgba(110,231,135,.7); animation: rb-blink 2s infinite; }
@keyframes rb-blink { 50% { opacity: .4; } }
.rb-ai__close { color: #fff; font-size: 1.6rem; line-height: 1; }
.rb-ai__log { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .65rem; background: rgba(255,255,255,.4); }
.rb-ai__msg { max-width: 85%; padding: .7rem .95rem; border-radius: 16px; font-size: .92rem; line-height: 1.5; animation: rb-fade .3s ease; }
.rb-ai__msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.rb-ai__msg--user { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.rb-ai__quick { display: flex; flex-wrap: wrap; gap: .4rem; align-self: flex-start; max-width: 100%; }
.rb-ai__quick button { padding: .45rem .8rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--brand); color: var(--brand); font-size: .82rem; font-weight: 600; transition: background .2s, color .2s; }
.rb-ai__quick button:hover { background: var(--brand); color: #fff; }
.rb-ai__typing { display: inline-flex; gap: 4px; padding: .8rem 1rem; }
.rb-ai__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: .5; animation: rb-typing 1.2s infinite; }
.rb-ai__typing span:nth-child(2) { animation-delay: .2s; }
.rb-ai__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes rb-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.rb-ai__form { display: flex; gap: .5rem; padding: .8rem; background: #fff; border-top: 1px solid var(--line); }
.rb-ai__form input { flex: 1; padding: .75rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; }
.rb-ai__form input:focus { outline: none; border-color: var(--brand); }
.rb-ai__send { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.rb-ai__send:hover { background: var(--brand-600); }

/* ---------- Page hero (sub pages) ---------- */
.rb-page-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 4.5rem); color: #fff; overflow: hidden; background-size: cover; background-position: center; }
.rb-page-hero--compact { min-height: 48vh; }
.rb-page-hero__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, rgba(12,34,64,.92), rgba(12,34,64,.5) 60%, rgba(63,114,175,.35)); }
.rb-page-hero__inner { position: relative; z-index: 1; max-width: 880px; text-align: left; }
.rb-page-hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; margin-bottom: 1rem; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.rb-page-hero__sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,.92); max-width: 620px; margin-bottom: 1.75rem; }
.rb-page-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Benefits / gallery / FAQ ---------- */
.rb-benefits__grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.rb-benefit { padding: 1.8rem; position: relative; }
.rb-benefit__num { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; color: var(--accent); display: block; margin-bottom: .5rem; }
.rb-benefit h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.rb-benefit p { color: var(--muted); }

.rb-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.rb-gallery__item { aspect-ratio: 4/3; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.rb-faq__layout { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,4vw,3rem); }
.rb-faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.rb-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-weight: 700; cursor: pointer; list-style: none; }
.rb-faq__item summary::-webkit-details-marker { display: none; }
.rb-faq__plus { position: relative; width: 18px; height: 18px; flex: none; }
.rb-faq__plus::before, .rb-faq__plus::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .3s; }
.rb-faq__plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.rb-faq__plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.rb-faq__item[open] .rb-faq__plus::after { transform: scaleY(0); }
.rb-faq__a { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- Projects filters ---------- */
.rb-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.rb-filter { padding: .65rem 1.2rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: .9rem; transition: all .2s; }
.rb-filter:hover { border-color: var(--brand); color: var(--brand); }
.rb-filter.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.rb-project.is-hidden { display: none; }

/* ---------- Contact page ---------- */
.rb-contact__layout { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,4vw,3.5rem); }
.rb-contact__list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.rb-contact__list a, .rb-contact__list li { display: flex; align-items: center; gap: 1rem; }
.rb-contact__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--accent); color: var(--brand); }
.rb-contact__areas { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Footer ---------- */
.rb-footer { background: var(--dark); color: rgba(255,255,255,.75); padding-top: clamp(3rem,6vw,5rem); }
.rb-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.rb-footer__brand p { margin: 1rem 0; max-width: 320px; }
.rb-footer__badges { display: flex; gap: .5rem; }
.rb-footer__badges .rb-chip { background: rgba(255,255,255,.1); color: #fff; }
.rb-footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.rb-footer__col ul { display: grid; gap: .6rem; }
.rb-footer__col a:hover { color: var(--accent); }
.rb-footer__contact a, .rb-footer__contact li { display: flex; align-items: center; gap: .55rem; }
.rb-footer__contact .rb-icon { color: var(--brand); }
.rb-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem 0; }
.rb-footer__bottom .rb-container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; }

/* ---------- Prose ---------- */
.rb-prose { max-width: 760px; margin-inline: auto; }
.rb-prose h2 { margin: 2rem 0 1rem; }
.rb-prose p { margin-bottom: 1rem; }
.rb-pagination { margin-top: 2rem; text-align: center; }

/* ---------- Section title accent ---------- */
.rb-section__head .rb-section__title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--grad-brand); margin: 1.1rem auto 0; }
.rb-section__head--left .rb-section__title::after { margin-left: 0; }
.rb-section--dark .rb-section__head .rb-section__title::after { background: linear-gradient(90deg, var(--accent), var(--brand)); }

/* ---------- Button shine ---------- */
.rb-btn { position: relative; overflow: hidden; }
.rb-btn--primary::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .7s ease; pointer-events: none; }
.rb-btn--primary:hover::after { left: 150%; }

/* ---------- Reveal animation ---------- */
.rb-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.rb-reveal.is-in { opacity: 1; transform: none; }
.rb-reveal--scale { transform: translateY(26px) scale(.96); }
.rb-reveal--left { transform: translateX(-40px); }
.rb-reveal--right { transform: translateX(40px); }
.rb-reveal--left.is-in, .rb-reveal--right.is-in, .rb-reveal--scale.is-in { transform: none; }

@keyframes rb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rb-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.rb-form__msg:empty { display: none; }

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
	.rb-form__row { grid-template-columns: 1fr 1fr; }
	.rb-services__grid { grid-template-columns: 1fr 1fr; }
	.rb-videos__grid, .rb-projects__grid { grid-template-columns: 1fr 1fr; }
	.rb-why__grid, .rb-benefits__grid, .rb-reviews__grid { grid-template-columns: 1fr 1fr; }
	.rb-process__grid { grid-template-columns: 1fr 1fr; }
	.rb-guarantee__grid { grid-template-columns: repeat(3, 1fr); }
	.rb-stats__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
	.rb-services__grid { grid-template-columns: repeat(3, 1fr); }
	.rb-videos__grid, .rb-projects__grid { grid-template-columns: repeat(3, 1fr); }
	.rb-why__grid, .rb-benefits__grid, .rb-reviews__grid { grid-template-columns: repeat(3, 1fr); }
	.rb-process__grid { grid-template-columns: repeat(4, 1fr); }
	.rb-estimator__layout, .rb-areas__layout, .rb-cta__layout, .rb-faq__layout, .rb-contact__layout { grid-template-columns: 1fr 1fr; }
	.rb-faq__layout { grid-template-columns: 1fr 1.3fr; }
	.rb-gallery { grid-template-columns: repeat(3, 1fr); }
	.rb-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
}

@media (min-width: 1500px) {
	.rb-services__grid, .rb-videos__grid, .rb-projects__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
	.rb-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 4vw, 4.5rem); }
	.rb-hero__content { max-width: 700px; }
	.rb-hero__aside { display: block; position: relative; max-width: 420px; margin-left: auto; }
}

@media (max-width: 899px) {
	.rb-nav, .rb-header__cta { display: none; }
	.rb-burger { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.rb-reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}
