:root {
    --rb-red: #e30613;
    --rb-red-dark: #bd0913;
    --rb-ink: #17191c;
    --rb-muted: #686d75;
    --rb-soft: #f4f5f6;
    --rb-line: #e6e8eb;
    --rb-white: #ffffff;
    --rb-radius: 18px;
    --rb-shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
}

html { scroll-behavior: smooth; }
body {
    color: var(--rb-ink);
    background: var(--rb-white);
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
body a { transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; letter-spacing: -0.02em; }
p { color: var(--rb-muted); line-height: 1.75; }
.container { max-width: 1180px; width: calc(100% - 40px); }
.site-topbar-inner::before, .site-topbar-inner::after,
.header-main-inner::before, .header-main-inner::after,
.home-intro-grid::before, .home-intro-grid::after,
.home-promise-card::before, .home-promise-card::after {
    display: none !important;
    content: none !important;
}

/* Header */
.site-header { position: relative; z-index: 100; background: #fff; box-shadow: 0 1px 0 rgba(17, 24, 39, .08); }
.site-topbar { background: #17191c; color: #fff; font-size: 14px; }
.site-topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-topbar-contact { display: flex; align-items: center; gap: 22px; color: #d9dce1; }
.site-topbar-contact a { color: #fff; font-weight: 600; }
.site-topbar-contact a:hover { color: #ff6a73; }
.site-search { display: flex; height: 30px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.06); }
.site-search input { width: 160px; border: 0; outline: 0; padding: 4px 6px 4px 13px; background: transparent; color: #fff; font-size: 13px; }
.site-search input::placeholder { color: #b9bdc4; }
.site-search button { border: 0; background: transparent; color: #fff; padding: 0 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.header-bottom { background: #fff; padding: 0; }
.header-main-inner { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.logo { float: none; width: auto; flex: 0 0 auto; }
.logo a { display: block; padding: 0; background: transparent; }
.logo img { display: block; width: 180px; height: auto; }
nav.navbar.navbar-default { float: none; width: auto; flex: 1; margin: 0; min-height: 0; background: transparent !important; border: 0 !important; }
.navbar-collapse { padding: 0; }
.navbar-nav { float: right; width: auto !important; }
.nav > li > a { padding: 35px 13px !important; }
.navbar-default .navbar-nav > li > a { position: relative; color: #30343a; font-family: 'Source Sans Pro', Arial, sans-serif; font-size: 15px; font-weight: 700; }
.navbar-default .navbar-nav > li > a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 27px; height: 2px; background: var(--rb-red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus { color: var(--rb-red); background: transparent; }
.navbar-default .navbar-nav > li > a:hover::after,
.navbar-default .navbar-nav > .active > a::after { transform: scaleX(1); }
.navbar-toggle { margin: 0; border: 0; border-radius: 10px; padding: 11px; }
.navbar-default .navbar-toggle .icon-bar { background-color: var(--rb-ink); }
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background: var(--rb-soft); }

/* Home */
.modern-hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, rgba(10,12,15,.88) 0%, rgba(10,12,15,.70) 42%, rgba(10,12,15,.18) 72%, rgba(10,12,15,.05) 100%), url('../images/bg2.jpg') center 58% / cover no-repeat; }
.modern-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to top, rgba(0,0,0,.18), transparent); pointer-events: none; }
.modern-hero-inner { position: relative; z-index: 1; width: 100%; }
.modern-hero-copy { max-width: 690px; padding: 80px 0 92px; color: #fff; }
.eyebrow, .section-kicker { display: inline-block; margin-bottom: 14px; color: var(--rb-red); font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.modern-hero .eyebrow { color: #ff7a82; }
.modern-hero h1 { max-width: 650px; color: #fff; font-size: 58px; line-height: 1.04; font-weight: 700; }
.modern-hero p { max-width: 610px; margin-top: 22px; color: #e7e9ec; font-size: 21px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-primary-modern, .btn-secondary-modern { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border-radius: 10px; font-size: 16px; font-weight: 700; text-decoration: none !important; }
.btn-primary-modern { background: var(--rb-red); color: #fff; box-shadow: 0 10px 28px rgba(227,6,19,.28); }
.btn-primary-modern:hover, .btn-primary-modern:focus { background: var(--rb-red-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary-modern { border: 1px solid rgba(255,255,255,.58); background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(6px); }
.btn-secondary-modern:hover, .btn-secondary-modern:focus { background: #fff; color: var(--rb-ink); }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 34px; color: #fff; font-size: 14px; font-weight: 600; }
.hero-highlights span::before { content: '✓'; margin-right: 7px; color: #ff727b; font-weight: 700; }

.home-intro { padding: 90px 0 72px; }
.home-intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: start; }
.home-intro h2, .home-services h2, .home-promise h2 { color: var(--rb-ink); font-size: 38px; line-height: 1.18; font-weight: 700; }
.home-intro-copy p { margin: 0 0 14px; font-size: 18px; }
.text-link { display: inline-block; margin-top: 10px; color: var(--rb-red); font-size: 16px; font-weight: 700; }
.text-link:hover { color: var(--rb-red-dark); }

.home-services { padding: 78px 0 90px; background: var(--rb-soft); }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; margin-bottom: 34px; }
.section-heading-row h2 { max-width: 650px; }
.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: #fff; color: inherit; text-decoration: none !important; box-shadow: 0 5px 20px rgba(17,24,39,.04); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--rb-shadow); }
.service-card-image { height: 230px; overflow: hidden; background: #e9eaec; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .service-card-image img { transform: scale(1.035); }
.service-card-content { position: relative; flex: 1; padding: 27px 26px 28px; }
.service-number { position: absolute; right: 24px; top: 22px; color: #c8cbd0; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 700; }
.service-card h3 { padding-right: 38px; color: var(--rb-ink); font-size: 23px; font-weight: 700; }
.service-card p { min-height: 78px; margin-top: 13px; color: var(--rb-muted); font-size: 16px; }
.service-link { display: inline-block; margin-top: 13px; color: var(--rb-red); font-weight: 700; }

.home-promise { padding: 90px 0; }
.home-promise-card { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0; overflow: hidden; border-radius: 24px; background: #17191c; box-shadow: var(--rb-shadow); }
.home-promise-logo { display: flex; align-items: center; justify-content: center; min-height: 390px; padding: 58px; background: #202327; }
.home-promise-logo img { width: 100%; max-width: 360px; border-radius: 12px; }
.home-promise-content { padding: 64px; align-self: center; }
.home-promise-content h2 { color: #fff; }
.home-promise-content p { max-width: 590px; margin-top: 18px; color: #cfd2d7; font-size: 18px; }
.promise-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 28px; }
.phone-link { color: #fff; font-size: 17px; font-weight: 700; }
.phone-link:hover { color: #ff727b; }

/* Existing content pages */
.banner-1 { position: relative; min-height: 180px; background: linear-gradient(90deg, rgba(10,12,15,.76), rgba(10,12,15,.26)), url('../images/bg.jpg') center 44% / cover no-repeat; background-attachment: scroll; }
.about1, .contact { padding: 70px 0 80px; background: #f6f7f8; }
.about1 > .container, .contact > .container { padding: 42px 46px 48px; border: 1px solid var(--rb-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 35px rgba(17,24,39,.05); }
.about1-left h1, .about1-left h2, .about1 h3, .services h3, .projects h3, .contact h1, .contact h3 { margin: 0 0 28px; color: var(--rb-ink); font-size: 36px; line-height: 1.2; font-weight: 700; }
.about1-bottom { padding: 0; }
.about1-grid, .about1-grid1 { padding-top: 6px; }
.about1-grid p, .about1 p, .projects p, .services p, .contact p { color: var(--rb-muted); font-size: 17px; line-height: 1.75; font-weight: 400; }
.about1-grid1 img, .camp img { border-radius: 14px; box-shadow: 0 12px 30px rgba(17,24,39,.10); }
.about1-grid1 a { cursor: default; pointer-events: none; }
.contact h4 { margin: 20px 0 8px; color: var(--rb-ink); font-size: 20px; font-weight: 700; }
.contact h5 { color: var(--rb-muted); font-family: 'Source Sans Pro', Arial, sans-serif; font-size: 17px; line-height: 1.75; }
.map { margin-top: 24px; }
.map iframe { min-height: 380px; padding: 0; border-radius: 14px; }
.contact-grids { padding: 18px 0 0; }

/* Footer */
.footer { padding: 68px 0 0; background: #15171a; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.25fr .8fr; gap: 44px; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 280px; }
.footer h3 { margin: 0 0 17px; color: #fff; font-size: 16px; font-weight: 700; }
.footer p, .footer address { color: #b9bdc4; font-size: 15px; line-height: 1.7; font-style: normal; }
.footer a { color: #fff; }
.footer a:hover { color: #ff727b; }
.footer-socials { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.copyright { margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.10); text-align: left; }
.copyright p { margin: 0; color: #8f949c; font-size: 13px; }

/* Legacy elements cleaned up */
.sb-search, .search-box { display: none !important; }
#Choco_overlay, #Choco_content { display: none !important; }
#toTop { display: none !important; }

@media (max-width: 1199px) {
    .container { width: calc(100% - 36px); }
    .header-main-inner { gap: 16px; }
    .logo img { width: 156px; }
    .nav > li > a { padding-left: 9px !important; padding-right: 9px !important; }
    .navbar-default .navbar-nav > li > a { font-size: 14px; }
    .navbar-default .navbar-nav > li > a::after { left: 9px; right: 9px; }
    .home-intro-grid { gap: 55px; }
}

@media (max-width: 991px) {
    .site-topbar-contact span:first-child { display: none; }
    .site-search input { width: 135px; }
    .header-main-inner { position: relative; min-height: 78px; align-items: center; }
    .logo img { width: 150px; }
    nav.navbar.navbar-default { position: static !important; margin-left: auto; flex: 0 0 auto; }
    .site-header .navbar-header { float: none; padding: 0 !important; }
    .site-header .navbar-default .navbar-toggle { display: block !important; float: none !important; position: absolute !important; right: 0 !important; top: 19px !important; margin: 0 !important; border-color: var(--rb-line) !important; }
    .site-header .navbar-default .navbar-collapse { position: absolute; z-index: 20; top: 78px; left: 18px; right: 18px; width: auto; padding: 9px 18px 18px; border: 1px solid var(--rb-line) !important; border-radius: 0 0 14px 14px; background: #fff !important; text-align: left !important; box-shadow: 0 16px 30px rgba(17,24,39,.12); }
    .site-header .navbar-collapse.collapse { display: none !important; }
    .site-header .navbar-collapse.collapse.in { display: block !important; }
    .navbar-nav { float: none !important; margin: 0; }
    .navbar-nav > li { float: none; }
    .nav > li > a { padding: 12px 4px !important; }
    .navbar-default .navbar-nav > li > a::after { display: none; }
    .modern-hero { min-height: 560px; background-position: 62% 58%; }
    .modern-hero h1 { font-size: 48px; }
    .home-intro-grid { grid-template-columns: 1fr; gap: 26px; }
    .service-card-grid { grid-template-columns: 1fr 1fr; }
    .service-card:last-child { grid-column: 1 / -1; }
    .home-promise-card { grid-template-columns: 1fr; }
    .home-promise-logo { min-height: 270px; }
    .home-promise-content { padding: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .container { width: calc(100% - 28px); }
    .site-topbar-inner { min-height: 38px; }
    .site-topbar-contact { width: 100%; justify-content: space-between; gap: 12px; font-size: 13px; }
    .site-topbar-contact a:last-child { display: none; }
    .site-search { display: none; }
    .header-main-inner { min-height: 72px; }
    .logo img { width: 138px; }
    .navbar-collapse { top: 72px; left: 14px; right: 14px; }
    .modern-hero { min-height: 530px; background-position: 67% 58%; }
    .modern-hero::before { content: ''; position: absolute; inset: 0; background: rgba(8,10,13,.18); }
    .modern-hero-copy { padding: 62px 0 70px; }
    .modern-hero h1 { font-size: 38px; line-height: 1.08; }
    .modern-hero p { font-size: 18px; }
    .hero-highlights { gap: 10px 18px; }
    .home-intro, .home-services, .home-promise { padding: 62px 0; }
    .home-intro h2, .home-services h2, .home-promise h2 { font-size: 30px; }
    .service-card-grid { grid-template-columns: 1fr; }
    .service-card:last-child { grid-column: auto; }
    .service-card-image { height: 220px; }
    .home-promise-card { border-radius: 18px; }
    .home-promise-logo { min-height: 220px; padding: 40px; }
    .home-promise-content { padding: 38px 30px 42px; }
    .banner-1 { min-height: 115px; }
    .about1, .contact { padding: 38px 0 50px; }
    .about1 > .container, .contact > .container { padding: 30px 24px 34px; border-radius: 16px; }
    .about1-left h1, .about1-left h2, .about1 h3, .services h3, .projects h3, .contact h1, .contact h3 { font-size: 30px; }
    .about1-grid, .about1-grid1 { width: 100%; float: none; padding-left: 0; padding-right: 0; }
    .about1-grid1 { margin-top: 24px; }
    .map iframe { min-height: 310px; }
    .footer { padding-top: 52px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .copyright { margin-top: 36px; }
}

/* Search results */
.search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}
.search-result-card {
    padding: 25px 26px 23px;
    border: 1px solid var(--rb-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17,24,39,.045);
}
.search-result-kicker {
    display: block;
    margin-bottom: 8px;
    color: #777d86;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.3;
    text-transform: uppercase;
}
.search-result-card h2 {
    margin: 0 0 9px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.3;
}
.search-result-card h2 a {
    color: var(--rb-ink);
    text-decoration: none;
}
.search-result-card h2 a:hover { color: #d82734; }
.search-result-card p {
    margin: 0 0 15px;
    color: var(--rb-muted);
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}
.search-result-link {
    color: #c81f2b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.search-result-link:hover { color: #8f1019; }
.search-empty {
    margin: 8px 0 0;
    padding: 18px 20px;
    border-radius: 12px;
    background: #f6f7f8;
}

@media (max-width: 767px) {
    .search-results { grid-template-columns: 1fr; }
    .search-result-card { padding: 21px 20px; }
    .search-result-card h2 { font-size: 19px; }
}
