:root{
  --rb-primary:#934478;
  --rb-accent:#d3895f;
  --rb-row-topbar:6px;
  --rb-row-topbar-color:#ffc9a8;
  --rb-agave:#6B8F71;
}

body{ color:#555; }
a{ color:var(--rb-accent); text-decoration:none; }
a:hover{ color:#e0e0e0; }

#footer{ background:#555; color:#999; padding:50px 0; }
#footer h4{ color:#eee; font-size:14px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
#footer a{ color:#999; }
#footer a:hover{ color:var(--rb-accent); }

.rb-card-img{ width:80px; min-width:80px; max-width:80px; height:auto; display:block; }

.rb-modular-row{ min-height:80vh; }

.rb-services-category{ display:flex; flex-direction:column; min-height:16rem; margin-bottom:2rem; }
.rb-services-list{ flex:1; display:flex; flex-direction:column; justify-content:space-between; gap:.25rem; }

body{ position:relative; }
header{ position:relative; z-index:1030; }
#footer{ position:relative; z-index:1; }
.rb-modular-bg,.container,.container-fluid{ position:static; z-index:auto; }

body::before,
body::after{
  content: none !important;
}

#all{
  position: relative;
  min-height: 100vh;
  z-index: 0;
}

#all::before{ left: 0; }
#all::after{ right: 0; }

@media (max-width: 767.98px){
  #all::before,
  #all::after{
    display: none;
  }
}

.rb-topbar{ position:relative; padding-top:.5rem; }
.rb-topbar::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:0;
  border-top:var(--rb-row-topbar) solid var(--rb-row-topbar-color);
  box-shadow:0 6px 12px -8px rgba(0,0,0,.35);
  pointer-events:none;
}

.rb-services-title{
  display:block; width:100%;
  padding:2rem 1rem 1.5rem;
  text-align:center; color:#333;
  border-bottom:3px solid var(--rb-agave);
}
.rb-services-title h2{ margin:0; font-weight:600; letter-spacing:.05em; }

.rb-services-grid{
  position:relative;
  --rb-div-color: var(--rb-agave);
  --rb-div: 3px solid var(--rb-div-color);
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.rb-services-grid > .col{
  position:relative;
  z-index:1;
  border:0;
  flex:0 0 50%;
  max-width:50%;
}
.rb-services-grid > .col:nth-child(even){ border-left: var(--rb-div); }
.rb-services-grid > .col:nth-child(n+3){ border-top: var(--rb-div); }

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl{
  max-width:92vw;
}
@media (min-width:1800px){
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl{
    max-width:1700px;
  }
}

.rb-info-bar{ width:100%; }
.rb-info-title{
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  line-height:1.1;
  font-size:clamp(1.5rem,2vw,2rem);
  text-align:center;
  margin:0;
}
@media (min-width:768px){
  .rb-info-title{ text-align:left; }
}

.rb-content-wrapper img,
.rb-content-wrapper figure img {
  max-width:100%;
  height:auto;
  display:block;
}

.rb-content-wrapper p > img:only-child,
.rb-content-wrapper figure img {
  margin-left:auto;
  margin-right:auto;
}

.rb-content-wrapper img {
  object-fit:contain;
}

html, body{ height:100%; }
#all{ min-height:100vh; display:flex; flex-direction:column; }
#main{ flex:1 0 auto; display:block; }
.rb-content-wrapper{ flex:1 0 auto; }
