/* SiteForge Master Template */
:root{--bg:#f4f7f5;--bg-alt:#edf3ef;--panel:#ffffff;--text:#18211c;--muted:#5d6d64;--line:#dce4df;--brand:#355f3b;--brand-dark:#1f3b25;--accent:#c18b43;--accent-dark:#a67331;--radius:20px;--shadow:0 18px 42px rgba(0,0,0,.08);--container:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:linear-gradient(180deg,#f7faf8,#edf3ef)}
a{text-decoration:none;color:inherit}.container{width:min(var(--container),calc(100% - 2rem));margin:0 auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:flex;align-items:center;gap:.75rem}.brand-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand-dark));box-shadow:0 10px 20px rgba(0,0,0,.12)}
.brand-text strong{display:block}.brand-text small{display:block;color:var(--muted)}
.nav{display:flex;gap:1rem;align-items:center}.nav a{font-weight:600;color:#213129}.nav a:hover{color:var(--brand)}
.nav-toggle{display:none;width:46px;height:46px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:0 .75rem}.nav-toggle span{display:block;height:2px;background:#24342c;margin:5px 0;border-radius:2px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.8rem 1rem;border-radius:14px;font-weight:700;border:1px solid transparent;transition:transform .12s ease,background .12s ease}.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-dark)}.btn-secondary{background:#fff;border-color:var(--line);color:var(--text)}
.hero,.page-hero{padding:3rem 0 2rem}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:1.2rem;align-items:stretch}
.hero-copy,.service-card,.panel,.testimonial-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.hero-copy{padding:2rem}.eyebrow{display:inline-flex;padding:.4rem .7rem;border-radius:999px;background:rgba(47,106,79,.10);color:var(--brand);font-size:.85rem;font-weight:700}
h1,h2,h3{line-height:1.08}h1{font-size:clamp(2rem,4vw,3.7rem);margin:.45rem 0 .7rem}h2{font-size:clamp(1.6rem,3vw,2.4rem);margin:.35rem 0 .7rem}.lead{font-size:1.05rem;color:var(--muted);line-height:1.6}
.hero-actions,.cta-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}
.trust-row{margin-top:1.25rem;display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.trust-item{padding:.9rem;background:#f7faf8;border:1px solid var(--line);border-radius:16px}.trust-item strong{display:block}.trust-item span{display:block;color:var(--muted);margin-top:.2rem}
.placeholder-media{min-height:280px;display:grid;place-items:center;text-align:center;border-radius:var(--radius);border:1px dashed rgba(24,33,28,.18);color:var(--brand-dark);font-weight:800;background:linear-gradient(135deg, rgba(47,106,79,.14), rgba(184,104,48,.16)),repeating-linear-gradient(45deg, rgba(255,255,255,.35), rgba(255,255,255,.35) 8px, rgba(255,255,255,.14) 8px, rgba(255,255,255,.14) 16px)}
.small-media{min-height:180px;border-radius:16px}.section{padding:3rem 0}.section-alt{background:var(--bg-alt)}.section-head{text-align:center;margin-bottom:1.4rem}.section-head p{margin:0;color:var(--muted)}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.service-card{padding:1rem}.service-card h3{margin:1rem 0 .35rem}.service-card p{margin:0;color:var(--muted)}
.split{display:grid;grid-template-columns:1fr .9fr;gap:1rem;align-items:start}.tick-list{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.7rem}.tick-list li{background:#fff;border:1px solid var(--line);border-radius:14px;padding:.85rem 1rem;font-weight:600}.tick-list li:before{content:"✓ ";color:var(--accent-dark);font-weight:800}
.panel{padding:1.3rem}.steps{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.8rem}.steps li{display:flex;align-items:center;gap:.75rem;font-weight:600}.steps span{width:34px;height:34px;border-radius:999px;display:grid;place-items:center;background:rgba(47,106,79,.10);color:var(--brand-dark);font-weight:800}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.gallery-item{min-height:220px}.testimonial-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.testimonial-card{padding:1.2rem}.stars{font-weight:800;color:var(--accent-dark)}.testimonial-card p{color:var(--muted);line-height:1.6}
.cta-banner{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;padding:1.4rem;background:linear-gradient(135deg,var(--brand-dark),var(--brand));color:#fff;border-radius:var(--radius)}.cta-banner p{color:rgba(255,255,255,.84)}
.site-footer{background:#122019;color:rgba(255,255,255,.92);padding:2rem 0}.footer-grid{display:grid;grid-template-columns:1.1fr .7fr .8fr;gap:1rem}.footer-grid a,.footer-grid p{display:block;color:rgba(255,255,255,.74);margin:.45rem 0 0}
.stack{display:grid;gap:1rem}.service-detail{display:grid;grid-template-columns:.9fr 1.1fr;gap:1rem;align-items:center}.service-detail.reverse{grid-template-columns:1.1fr .9fr}.service-detail.reverse>:first-child{order:2}.service-detail-media{min-height:260px}
.faq-item{padding-top:.9rem;border-top:1px solid var(--line);margin-top:.9rem}.masonry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.masonry-grid .gallery-item{min-height:220px}.masonry-grid .tall{min-height:460px}.masonry-grid .wide{grid-column:span 2}
.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:1rem}.contact-form{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.contact-form h2{margin-top:0}.contact-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:700}.contact-form input,.contact-form textarea{width:100%;min-height:48px;padding:.85rem .95rem;border-radius:14px;border:1px solid #cfd7d2;background:#fbfcfb;font:inherit}.contact-form textarea{min-height:130px;resize:vertical}.full{grid-column:1/-1}
@media (max-width:980px){.hero-grid,.split,.service-detail,.service-detail.reverse,.cta-banner,.contact-layout,.footer-grid{grid-template-columns:1fr}.service-detail.reverse>:first-child{order:0}.service-grid,.gallery-grid,.testimonial-grid,.masonry-grid{grid-template-columns:repeat(2,1fr)}.masonry-grid .wide{grid-column:auto}}
@media (max-width:760px){.desktop-cta{display:none}.nav-toggle{display:block}.nav{display:none;position:absolute;top:74px;left:1rem;right:1rem;flex-direction:column;align-items:flex-start;background:#fff;padding:1rem;border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow)}.nav.open{display:flex}.service-grid,.gallery-grid,.testimonial-grid,.masonry-grid,.trust-row,.contact-form{grid-template-columns:1fr}}


/* RRAB image helpers */
.hero-media,.gallery-item,.service-detail-media{overflow:hidden}
.hero-media img,.gallery-item img,.service-detail-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.service-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:16px;
  display:block;
}


/* RRAB logo updates */
.brand-logo-link{
  display:flex;
  align-items:center;
  min-width:0;
}
.brand-logo{
  width:auto;
  height:62px;
  max-width:260px;
  object-fit:contain;
  display:block;
}
.footer-logo{
  width:auto;
  height:86px;
  max-width:260px;
  object-fit:contain;
  display:block;
  margin-bottom:.75rem;
  background:#fff;
  border-radius:16px;
  padding:.45rem;
}
@media (max-width:760px){
  .brand-logo{height:52px;max-width:210px;}
  .footer-logo{height:74px;max-width:220px;}
}


/* Project gallery / before and after page */
.projects-section{padding-top:2rem}.project-stack{display:grid;gap:1.4rem}.project-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.2rem;overflow:hidden}.project-copy{max-width:860px}.project-copy p:not(.eyebrow){color:var(--muted);line-height:1.6;margin:.25rem 0 1rem}.before-after-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}.compare-photo,.feature-photo,.project-thumb{border:0;padding:0;background:transparent;cursor:pointer;font:inherit;text-align:left}.compare-photo{position:relative;min-height:360px;border-radius:18px;overflow:hidden;border:1px solid var(--line);box-shadow:0 12px 26px rgba(0,0,0,.08)}.compare-photo img,.feature-photo img,.project-thumb img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}.compare-photo:hover img,.feature-photo:hover img,.project-thumb:hover img{transform:scale(1.03)}.compare-photo span{position:absolute;top:1rem;left:1rem;z-index:2;border-radius:999px;padding:.45rem .75rem;color:#fff;font-weight:800;font-size:.85rem;letter-spacing:.02em}.compare-photo.before span{background:#923b35}.compare-photo.after span{background:var(--brand)}.compare-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.22),transparent 42%);pointer-events:none}.project-tags{list-style:none;padding:0;margin:1rem 0;display:flex;flex-wrap:wrap;gap:.55rem}.project-tags li{border:1px solid var(--line);background:#f7faf8;color:var(--brand-dark);font-weight:700;border-radius:999px;padding:.45rem .7rem;font-size:.9rem}.project-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:.7rem;margin-top:1rem}.project-thumbs-large{grid-template-columns:repeat(4,1fr)}.project-thumb{height:150px;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#fff}.project-card-feature{display:grid;grid-template-columns:.75fr 1.25fr;gap:1rem;align-items:center}.feature-photo{height:420px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#fff}.lightbox{position:fixed;inset:0;z-index:200;background:rgba(10,18,14,.88);display:none;align-items:center;justify-content:center;padding:2rem}.lightbox.open{display:flex}.lightbox img{max-width:min(1100px,94vw);max-height:86vh;object-fit:contain;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.45)}.lightbox-close{position:fixed;top:1rem;right:1rem;width:46px;height:46px;border:0;border-radius:999px;background:#fff;color:#17221b;font-size:2rem;line-height:1;cursor:pointer}
@media (max-width:980px){.project-card-feature{grid-template-columns:1fr}.project-thumbs,.project-thumbs-large{grid-template-columns:repeat(3,1fr)}.compare-photo{min-height:300px}.feature-photo{height:340px}}
@media (max-width:760px){.before-after-grid{grid-template-columns:1fr}.project-thumbs,.project-thumbs-large{grid-template-columns:repeat(2,1fr)}.project-thumb{height:135px}.compare-photo{min-height:280px}.feature-photo{height:280px}.lightbox{padding:1rem}}


/* Refined project gallery layout */
.project-gallery-grid{
  display:grid;
  gap:1rem;
  margin-top:1rem;
}
.before-after-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
  background:#f7faf8;
  border:1px solid var(--line);
  border-radius:18px;
  padding:.8rem;
}
.before-after-pair .compare-photo{
  min-height:320px;
}
.project-thumbs-featured .project-thumb{
  height:240px;
}
.project-card .project-thumbs:empty{
  display:none;
}
.project-card h2{
  margin-bottom:.5rem;
}
@media (max-width:760px){
  .before-after-pair{
    grid-template-columns:1fr;
  }
  .before-after-pair .compare-photo{
    min-height:280px;
  }
  .project-thumbs-featured .project-thumb{
    height:180px;
  }
}


/* SiteForge footer credit */
.footer-bottom{
  margin-top:1.6rem;
  padding-top:1.2rem;
  border-top:1px solid rgba(255,255,255,.14);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.footer-bottom p{
  margin:0;
  color:rgba(255,255,255,.66);
  font-size:.92rem;
}
.siteforge-credit{
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  padding:.55rem .85rem;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  transition:transform .15s ease,background .15s ease,border-color .15s ease;
}
.siteforge-credit:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.13);
  border-color:rgba(255,255,255,.22);
}
.siteforge-credit span{
  color:rgba(255,255,255,.78);
  font-weight:700;
  font-size:.9rem;
}
.siteforge-credit img{
  display:block;
  width:auto;
  height:28px;
  object-fit:contain;
}
@media (max-width:760px){
  .footer-bottom{justify-content:center;text-align:center;}
  .siteforge-credit img{height:26px;}
}
