﻿:root {
    --rb-brand: #60B22C;
    --rb-accent: #60B22C;
    --rb-text: #272e34;
    --rb-muted: #666666;
    --rb-bg: #ffffff;
    --rb-soft: #f7f9fa;
    --rb-white: #ffffff;
    --rb-border: #edeef0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--rb-bg);
    color: var(--rb-text);
    font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.875;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.rb-container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.rb-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--rb-border);
    backdrop-filter: blur(14px);
}
.rb-header-inner, .rb-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.rb-brand { color: var(--rb-brand); font-family: "Maven Pro", sans-serif; font-size: 1.35rem; font-weight: 900; text-decoration: none; }
.rb-brand img { max-height: 54px; width: auto; }
.rb-menu { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.rb-menu a, .rb-main-nav a { color: var(--rb-text); font-weight: 400; text-decoration: none; }
.rb-menu a:hover, .rb-main-nav a:hover { color: var(--rb-brand); }
.rb-menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--rb-border); border-radius: 4px; background: var(--rb-white); }
.rb-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--rb-text); }

.rb-original-hero {
    position: relative;
    min-height: 620px;
    padding: 170px 0;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
.rb-hero-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.5); }
.rb-hero-panel { position: relative; padding: 0; background: rgba(255,255,255,.73); text-align: center; }
.rb-hero-panel h1 {
    margin: 0;
    color: var(--rb-brand);
    font-family: "Maven Pro", sans-serif;
    font-size: clamp(3.6rem, 8vw, 5.625rem);
    font-weight: 900;
    line-height: .96;
    text-shadow: 1px 1px 1px rgba(0,0,0,.77);
}
.rb-hero-subtitle { margin: 0; color: var(--rb-text); font-size: 25px; font-weight: 400; }
.rb-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; padding: 100px 48px 70px; text-align: left; }
.rb-hero-split h2 { margin: 0 0 5px; color: var(--rb-text); font-size: 36px; font-weight: 400; line-height: 44px; }
.rb-hero-split p { margin: 0; color: var(--rb-muted); line-height: 30px; }
.rb-hero-logo { justify-self: center; max-height: 250px; width: auto; }

.rb-teasers { margin-top: 80px; padding: 0 0 80px; background: var(--rb-soft); border-top: 1px solid var(--rb-border); }
.rb-teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; transform: translateY(-80px); margin-bottom: -80px; }
.rb-teaser-card { background: transparent; }
.rb-teaser-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; transition: transform .25s ease; }
.rb-teaser-card img:hover { transform: scale(.98); }
.rb-teaser-card h2 { margin: 22px 0 10px; color: var(--rb-text); font-size: 20px; font-weight: 400; line-height: 30px; }
.rb-teaser-card p { margin: 0 0 10px; color: var(--rb-muted); line-height: 30px; }
.rb-text-link { color: var(--rb-brand); font-weight: 300; text-decoration: none; }
.rb-text-link:hover { color: var(--rb-text); }

.rb-band { padding: 50px 0 30px; }
.rb-band-green { background: var(--rb-brand); color: var(--rb-white); }
.rb-band h2 { margin: 0; color: var(--rb-white); font-size: 36px; font-weight: 400; line-height: 44px; }
.rb-section { padding: 70px 0; background: var(--rb-bg); }
.rb-section-soft { background: var(--rb-soft); }
.rb-lead { color: #6d7579; font-weight: 400; }
.rb-brigade-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.rb-brigade-copy { max-width: 920px; }
.rb-brigade-copy p { color: #6d7579; }
.rb-brigade-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rb-brigade-images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

.rb-kicker-line { margin: 0 0 24px; color: var(--rb-brand); font-weight: 500; text-align: center; }
.rb-services-intro { max-width: 900px; margin: 0 0 34px; color: var(--rb-muted); }
.rb-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.rb-service-item h3, .rb-contact-item h3 { margin: 0; color: var(--rb-text); font-size: 20px; font-weight: 400; line-height: 30px; }
.rb-service-item p, .rb-contact-item p { color: var(--rb-muted); }
.rb-small-divider { display: block; width: 30px; height: 1px; margin: 12px 0 14px; background: var(--rb-brand); }

.rb-gallery-section h2 { margin: 0 0 28px; color: var(--rb-brand); font-size: 36px; font-weight: 400; }
.rb-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rb-gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.rb-contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }

.rb-flex-section {
    margin-top: var(--rb-flex-mt);
    margin-bottom: var(--rb-flex-mb);
    padding-top: var(--rb-flex-pt);
    padding-bottom: var(--rb-flex-pb);
    background: var(--rb-flex-bg);
    color: var(--rb-flex-color);
}
.rb-flex-title { margin: 0 0 28px; color: inherit; font-size: 36px; font-weight: 400; line-height: 44px; }
.rb-flex-grid { display: flex; gap: var(--rb-flex-gap); align-items: flex-start; }
.rb-valign-center .rb-flex-grid { align-items: center; }
.rb-valign-end .rb-flex-grid { align-items: flex-end; }
.rb-valign-stretch .rb-flex-grid { align-items: stretch; }
.rb-flex-column { flex: 1 1 calc(100% / var(--rb-flex-columns)); min-width: 0; }
.rb-flex-column img { width: 100%; margin-bottom: 18px; border-radius: 4px; object-fit: cover; }
.rb-flex-column h3 { margin: 0 0 10px; color: inherit; font-size: 20px; font-weight: 400; line-height: 30px; }
.rb-flex-column p { margin: 0 0 16px; color: inherit; opacity: .78; }
.rb-align-left { text-align: left; }
.rb-align-center { text-align: center; }
.rb-align-right { text-align: right; }
.rb-align-center .rb-small-divider { margin-inline: auto; }
.rb-align-right .rb-small-divider { margin-left: auto; }
.rb-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--rb-brand); border-radius: 4px; background: var(--rb-brand); color: #fff; font-weight: 400; text-decoration: none; }
.rb-button:hover { background: var(--rb-text); border-color: var(--rb-text); }

.rb-site-footer { background: var(--rb-text); color: var(--rb-white); }
.rb-footer-inner a { color: var(--rb-white); font-weight: 400; }
.rb-prose { max-width: 760px; }

@media (max-width: 1024px) {
    .rb-hero-panel h1 { font-size: 58px; line-height: 48px; }
    .rb-service-grid, .rb-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .rb-menu-toggle { display: block; }
    .rb-main-nav { position: absolute; top: 72px; right: 20px; left: 20px; display: none; padding: 18px; border: 1px solid var(--rb-border); border-radius: 4px; background: var(--rb-white); }
    .rb-main-nav.is-open { display: block; }
    .rb-menu { align-items: stretch; flex-direction: column; gap: 10px; }
    .rb-original-hero { padding: 90px 0; background-attachment: scroll; }
    .rb-hero-split, .rb-teaser-grid, .rb-brigade-images, .rb-gallery-grid, .rb-service-grid, .rb-contact-grid { grid-template-columns: 1fr; }
    .rb-hero-split { padding: 56px 24px 44px; text-align: center; }
    .rb-hero-split h2 { font-size: 30px; line-height: 38px; }
    .rb-teasers { margin-top: 50px; }
    .rb-teaser-grid { transform: translateY(-50px); margin-bottom: -50px; }
    .rb-flex-grid { flex-direction: column; }
    .rb-flex-column { width: 100%; }
    .rb-footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
    .rb-container { width: min(100% - 28px, 1140px); }
    .rb-hero-panel h1 { font-size: 46px; line-height: 1; }
    .rb-hero-subtitle { font-size: 20px; }
}
