/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* ==========================================================================
   Rahn Bros. Contracting - Modern - child theme styles
   Append below the WordPress header comment in the Avada child theme style.css.
   Built 2026-11-04 for Avada 7.x flex containers.
   Fonts are registered in Avada (Global Options > Typography / Custom Fonts),
   never loaded from this file.
   Layout (widths, padding, column sizes, gutters) lives in Fusion Builder.
   This file is paint: colour, type, borders, decoration, and the internals
   of the three custom-coded blocks (hero slider, service preview, before/after).
   ========================================================================== */

:root {
  --rb-char: #14171A;
  --rb-slate: #1D2227;
  --rb-slate-2: #283038;
  --rb-stone: #ECE9E4;
  --rb-stone-2: #DEDAD3;
  --rb-paper: #F6F4F0;
  --rb-walnut: #A16A3E;
  --rb-walnut-lt: #C98C5A;
  --rb-walnut-dk: #8E5A31;
  --rb-mist: #9AA4AC;
  --rb-muted: #5D646B;
  --rb-body-dk: #C3CAD0;
  --rb-body-lt: #3F464D;
  --rb-line-dk: #323A42;
  --rb-line-lt: #CFCAC2;
  --rb-display: "Archivo Condensed", "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
  --rb-body: "Figtree", "Segoe UI", Roboto, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Multi-row sections stack their rows (GOTCHAS 1). Single-row sections are
   deliberately left out of this list.
   -------------------------------------------------------------------------- */
.section-services,
.section-work,
.section-process,
.section-reviews,
.section-svc-blocks,
.section-design,
.section-story,
.section-team,
.section-trust,
.section-gallery,
.section-status,
.section-site-footer {
  flex-direction: column !important;
  align-items: center !important;
}

/* --------------------------------------------------------------------------
   Base type and tone
   -------------------------------------------------------------------------- */
.rb[id], .rb .fusion-layout-column[id] { scroll-margin-top: 110px; }
.rb .fusion-text { font-family: var(--rb-body); font-size: 17px; line-height: 1.65; }
.rb .fusion-text p { margin: 0; }
.rb .fusion-text p + p { margin-top: 16px; }
.rb-dark .fusion-text { color: var(--rb-body-dk); }
.rb-light .fusion-text { color: var(--rb-body-lt); }
.rb-walnut .fusion-text { color: #FFFFFF; }

.rb .fusion-title .fusion-title-heading {
  font-family: var(--rb-display) !important;
  font-stretch: 75%;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  line-height: 0.98 !important;
  letter-spacing: 0.005em !important;
  text-wrap: balance;
  margin: 0 !important;
}
.rb .fusion-title .fusion-title-heading span { color: var(--rb-walnut-lt); }
.rb-light .fusion-title .fusion-title-heading span { color: var(--rb-walnut-dk); }

.rb .rb-h-hero .fusion-title-heading { font-size: 108px !important; }
.rb .rb-h-hero .fusion-title-heading span { display: block; color: var(--rb-walnut-lt); }
.rb .rb-h-page .fusion-title-heading { font-size: 96px !important; }
.rb .rb-h-page.rb-h-compact .fusion-title-heading { font-size: 76px !important; }
.rb .rb-h-status .fusion-title-heading { font-size: 84px !important; }
.rb .rb-h-xl .fusion-title-heading { font-size: 72px !important; }
.rb .rb-h-lg .fusion-title-heading { font-size: 62px !important; }
.rb .rb-h-md .fusion-title-heading { font-size: 40px !important; }
.rb .rb-h-sm .fusion-title-heading { font-size: 28px !important; }
.rb .rb-h-xs .fusion-title-heading { font-size: 24px !important; }
.rb .rb-h-legal .fusion-title-heading { font-size: 34px !important; }

.rb .rb-kicker p {
  display: flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--rb-body); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rb-walnut-lt);
}
.rb .rb-kicker p::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.rb-light .rb-kicker p { color: var(--rb-walnut-dk); }
.rb .rb-head.is-center .rb-kicker p { justify-content: center; }

.rb .rb-lead { font-size: 19px; }
.rb-dark .rb-lead { color: #D2D7DB; }
.rb .rb-lead p { max-width: 34em; }
.rb .rb-intro p { max-width: 32em; }
.rb .rb-head-r .rb-intro p { margin-left: auto; }
.rb-dark .rb-intro { color: var(--rb-mist); }
.rb-light .rb-intro { color: var(--rb-muted); }
.rb .rb-small { font-size: 15px; }
.rb-dark .rb-small { color: var(--rb-mist); }
.rb-light .rb-small { color: #4E555C; }
.rb .rb-right p { text-align: right; }
.rb-dark .rb-prose a { color: var(--rb-walnut-lt); }
.rb-light .rb-prose a { color: var(--rb-walnut-dk); }

.rb .rb-arrow {
  font: 700 13px var(--rb-body); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--rb-walnut-lt);
}
.rb .rb-arrow:hover { color: #fff; }
.rb-light .rb-arrow { color: var(--rb-walnut-dk); }
.rb-light .rb-arrow:hover { color: var(--rb-char); }

.rb .rb-crumbs p { font: 600 12px var(--rb-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rb-mist); }
.rb .rb-crumbs a { text-decoration: none; color: inherit; }
.rb .rb-crumbs a:hover { color: #fff; }
.rb .rb-crumbs span { margin: 0 10px; color: var(--rb-line-dk); }

/* Buttons: default is copper (set in Global Options); variants below */
.rb .rb-btn.fusion-button, .rb .rb-btn .fusion-button {
  font: 700 13px/1 var(--rb-body) !important; letter-spacing: 0.14em !important; text-transform: uppercase !important;
  border: 1.5px solid transparent !important; border-radius: 0 !important; box-shadow: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rb .rb-btn .fusion-button-text { color: inherit !important; font: inherit !important; letter-spacing: inherit !important; }
.rb .rb-btn-copper.fusion-button, .rb .rb-btn-copper .fusion-button { background: var(--rb-walnut) !important; border-color: var(--rb-walnut) !important; color: #fff !important; }
.rb .rb-btn-copper.fusion-button:hover, .rb .rb-btn-copper .fusion-button:hover { background: var(--rb-walnut-dk) !important; border-color: var(--rb-walnut-dk) !important; }
.rb .rb-btn-ghost.fusion-button, .rb .rb-btn-ghost .fusion-button { background: transparent !important; border-color: rgba(255,255,255,0.55) !important; color: #fff !important; }
.rb .rb-btn-ghost.fusion-button:hover, .rb .rb-btn-ghost .fusion-button:hover { background: #fff !important; border-color: #fff !important; color: var(--rb-char) !important; }
.rb .rb-btn-dark.fusion-button, .rb .rb-btn-dark .fusion-button { background: var(--rb-char) !important; border-color: var(--rb-char) !important; color: #fff !important; }
.rb .rb-btn-dark.fusion-button:hover, .rb .rb-btn-dark .fusion-button:hover { background: var(--rb-slate-2) !important; border-color: var(--rb-slate-2) !important; }
.rb-walnut .rb-btn-dark.fusion-button:hover, .rb-walnut .rb-btn-dark .fusion-button:hover { background: #fff !important; border-color: #fff !important; color: var(--rb-char) !important; }

/* Shared plate (hero, services jump list, stat plates) */
.rb .rb-plate-head p {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-bottom: 1px solid var(--rb-line-dk);
  font: 600 11px var(--rb-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rb-mist);
}
.rb .rb-plate-head b { color: var(--rb-walnut-lt); font-weight: 700; }

/* --------------------------------------------------------------------------
   HOME - Hero (custom-coded block: slider over native image frames)
   -------------------------------------------------------------------------- */
.section-hero { position: relative; overflow: hidden; }
.section-hero > .fusion-builder-row { position: static !important; z-index: auto !important; }
.section-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,23,26,0.9) 0%, rgba(20,23,26,0.6) 42%, rgba(20,23,26,0.08) 100%),
              linear-gradient(0deg, rgba(20,23,26,0.75), transparent 42%);
}
.section-hero .hero-media {
  position: absolute !important; inset: 0; z-index: 0 !important;
  width: auto !important; max-width: none !important; margin: 0 !important;
}
.section-hero .hero-media > .fusion-column-wrapper { position: absolute; inset: 0; margin: 0 !important; }
.section-hero .hero-media .fusion-image-element,
.section-hero .hero-media .fusion-imageframe { position: static !important; }
.section-hero .hero-media img {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none;
  object-fit: cover; transform: scale(1.05); transition: opacity 1.1s ease, transform 7s linear;
}
.section-hero .hero-media.is-ready img { opacity: 0; }
.section-hero .hero-media .is-on img { opacity: 1; transform: scale(1); }
.section-hero .hero-copy, .section-hero .hero-plate { position: relative; z-index: 2 !important; } /* !important: Avada's .fusion-layout-column:hover resets column z-index to auto, which dropped the text under the hero gradient on hover */
.section-hero .hero-plate > .fusion-column-wrapper { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.section-hero .hero-specs { padding: 18px 22px 20px; font-size: 15px; }
.section-hero .hero-specs p { display: none; margin: 0 !important; }
.section-hero .hero-specs p:first-child,
.section-hero .hero-specs p.is-on { display: block; }
.section-hero .hero-specs.is-ready p:first-child:not(.is-on) { display: none; }
.section-hero .hero-specs strong {
  display: block; margin-bottom: 8px; color: #fff;
  font: 700 26px/1 var(--rb-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.02em;
}
.section-hero .hero-specs span { color: var(--rb-mist); }
.section-hero .rb-bar { height: 2px; background: var(--rb-line-dk); }
.section-hero .rb-bar i { display: block; height: 100%; width: 0; background: var(--rb-walnut-lt); }
.section-hero .rb-bar i.run { animation: rbfill 6s linear forwards; }
@keyframes rbfill { to { width: 100%; } }
.section-hero .rb-ctrl { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 22px; }
.section-hero .rb-count { font: 700 15px var(--rb-display); font-stretch: 75%; letter-spacing: 0.1em; color: #fff; }
.section-hero .rb-count b { color: var(--rb-walnut-lt); }
.section-hero .rb-ctrl .btns { display: flex; gap: 8px; }
.section-hero .rb-ctrl button {
  width: 40px; height: 40px; background: none; border: 1px solid var(--rb-line-dk);
  color: #fff; font-size: 18px; cursor: pointer; padding: 0;
}
.section-hero .rb-ctrl button:hover { border-color: var(--rb-walnut-lt); color: var(--rb-walnut-lt); }

/* HOME - Facts band */
.section-facts .rb-fact-cell:last-child > .fusion-column-wrapper { border-right: 1px solid var(--rb-line-dk); }
.section-facts .rb-fact b { display: block; font: 800 46px/1 var(--rb-display); font-stretch: 70%; color: #fff; }
.section-facts .rb-fact span { display: block; margin-top: 8px; font-size: 14px; color: var(--rb-mist); }

/* HOME - Services list + photo preview (custom-coded hover behaviour) */
.section-services .svc-list { border-top: 1px solid var(--rb-line-dk); }
.section-services .svc-item { position: relative; }
.section-services .svc-item > .fusion-column-wrapper { transition: transform 0.25s, background-color 0.25s; }
.section-services .svc-item:hover > .fusion-column-wrapper,
.section-services .svc-item.is-on > .fusion-column-wrapper { transform: translateX(12px); background-color: var(--rb-slate) !important; }
.section-services .svc-item .fusion-title-heading { transition: color 0.2s; }
.section-services .svc-item:hover .fusion-title-heading,
.section-services .svc-item.is-on .fusion-title-heading { color: var(--rb-walnut-lt) !important; }
.section-services .svc-item::after {
  content: "\2192"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; display: grid; place-items: center; pointer-events: none;
  border: 1px solid var(--rb-line-dk); color: #fff; transition: all 0.25s;
}
.section-services .svc-item:hover::after,
.section-services .svc-item.is-on::after { background: var(--rb-walnut); border-color: var(--rb-walnut); }
.section-services .svc-view > .fusion-column-wrapper { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--rb-slate); }
.section-services .svc-view .fusion-image-element,
.section-services .svc-view .fusion-imageframe { position: static !important; }
.section-services .svc-view img {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none;
  object-fit: cover; transition: opacity 0.45s;
}
.section-services .svc-view.is-ready img { opacity: 0; }
.section-services .svc-view .is-on img { opacity: 1; }
.section-services .svc-view .tag {
  position: absolute; left: 0; bottom: 0; z-index: 2; padding: 10px 16px; background: var(--rb-walnut); color: #fff;
  font: 700 12px var(--rb-body); letter-spacing: 0.16em; text-transform: uppercase;
}

/* Before / after (custom-coded: JS builds the slider from two native image frames) */
.ba-group .ba-label p { font: 700 26px/1 var(--rb-display); font-stretch: 75%; text-transform: uppercase; color: var(--rb-char); }
.ba-group.ba-tabbed.is-ready .ba-set { display: none; }
.ba-group.ba-tabbed.is-ready .ba-set.is-on { display: flex; }
.ba-group.ba-tabbed.is-ready .ba-label { display: none; }
.ba-group .ba-tabs { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ba-group .ba-tabs button {
  background: transparent; border: 1.5px solid #B9B3AA; color: var(--rb-char); padding: 11px 18px; border-radius: 0;
  font: 700 12px var(--rb-body); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.ba-group .ba-tabs button[aria-pressed="true"] { background: var(--rb-char); border-color: var(--rb-char); color: #fff; }
.ba-group .ba-compare { position: relative; aspect-ratio: 16 / 8; overflow: hidden; user-select: none; background: var(--rb-stone-2); }
.ba-group.ba-grid .ba-compare { aspect-ratio: 4 / 3; }
.ba-group .ba-compare > .rb-frame { position: absolute; inset: 0; margin: 0 !important; }
.ba-group .ba-compare > .rb-frame + .rb-frame { z-index: 2; } /* after layer on top: its clip-path creates a stacking context that the before image (z-index 1) would otherwise paint over */
.ba-group .ba-compare .fusion-imageframe { display: block !important; width: 100%; height: 100%; }
.ba-group .ba-compare img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.ba-group .ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; z-index: 3; }
.ba-group .ba-handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rb-walnut); color: #fff; font-size: 22px; box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.ba-group .ba-tag {
  position: absolute; top: 18px; z-index: 3; padding: 8px 14px; pointer-events: none;
  font: 700 11px var(--rb-body); letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: rgba(20,23,26,0.8);
}
.ba-group .ba-tag.l { left: 18px; }
.ba-group .ba-tag.r { right: 18px; background: var(--rb-walnut); }
.ba-group .ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba-group .ba-range:focus-visible ~ .ba-handle::after { outline: 3px solid #fff; outline-offset: 3px; }

/* Project tiles (home recent grid + Our Work gallery) */
.rb .rb-proj > .fusion-column-wrapper { position: relative; overflow: hidden; }
.rb .rb-proj .fusion-image-element { width: 100%; }
.rb .rb-proj .fusion-imageframe { display: block !important; width: 100% !important; max-width: 100% !important; overflow: hidden; }
.rb .rb-proj img { display: block; width: 100% !important; max-width: 100% !important; object-fit: cover; transition: transform 0.6s; }
.rb .rb-proj:hover img { transform: scale(1.05); }
.section-work .rb-proj img { height: 260px; }
.section-work .rb-proj.is-tall img { height: 530px; }
.section-gallery .rb-proj img { height: 300px; }
.section-gallery .rb-proj.is-tall img { height: 610px; }
.rb .rb-proj-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
  padding: 44px 18px 16px; background: linear-gradient(transparent, rgba(20,23,26,0.88));
}
.rb .rb-proj-cap p { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.rb .rb-proj-cap b { font: 700 21px/1 var(--rb-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; }
.rb .rb-proj-cap span { font: 600 11px var(--rb-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rb-walnut-lt); white-space: nowrap; }

/* HOME / ABOUT - image composition */
.rb .about-img { position: relative; }
.rb .about-img .about-main img { width: 100% !important; aspect-ratio: 5 / 6; object-fit: cover; }
.rb .about-img .about-inset {
  position: absolute !important; left: -28px; bottom: -34px; width: 46%; z-index: 2;
  border: 6px solid var(--rb-char); box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.rb .about-img .about-inset img { width: 100% !important; aspect-ratio: 4 / 3; object-fit: cover; }
.rb .rb-since { position: absolute; right: -24px; top: 40px; z-index: 3; background: var(--rb-walnut); padding: 24px 26px; text-align: center; }
.rb .rb-since b { display: block; font: 800 52px/1 var(--rb-display); font-stretch: 70%; color: #fff; }
.rb .rb-since span { font: 600 11px var(--rb-body); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.rb .rb-duo { font-size: 15px; color: var(--rb-mist); }
.rb .rb-duo b { display: block; font: 700 22px var(--rb-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; }
.rb .rb-duo span { display: block; margin: 4px 0 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rb-walnut-lt); }

/* Process */
.section-process .rb-step-n p, .rb .rb-step-n p {
  font: 800 64px/1 var(--rb-display); font-stretch: 70%; color: transparent; -webkit-text-stroke: 1.5px var(--rb-walnut-lt);
}
.rb .rb-step-n.is-sm p { font-size: 40px; }

/* Reviews */
.section-reviews .rb-quote { font: 500 19px/1.6 var(--rb-body); color: #E8EBED; }
.section-reviews .rb-quote p::before {
  content: "\201C"; display: block; height: 46px; margin-bottom: 6px;
  font: 800 110px/0.9 var(--rb-display); color: var(--rb-walnut-lt);
}
.section-reviews .rb-cite { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rb-line-dk); }
.section-reviews .rb-cite p { font: 700 13px var(--rb-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rb-walnut-lt); }
.section-reviews .rb-cite span { color: var(--rb-mist); letter-spacing: 0.08em; }

/* CTA band */
.section-cta { position: relative; overflow: hidden; }
.section-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,0.08) 79px 80px);
}
.section-cta .fusion-builder-row { position: relative; z-index: 1; }
.section-cta .rb-cta-p p { font-size: 18px; max-width: 32em; }
.section-cta .rb-big-tel p { text-align: right; }
.section-cta .rb-big-tel a { font: 800 48px/1 var(--rb-display); font-stretch: 72%; color: #fff; text-decoration: none; }
.section-cta .rb-big-tel a:hover { color: var(--rb-char); }

/* Quote section + Gravity Forms (GF 3.2.1, theme="gravity", bound to rendered markup) */
.section-quote .quote-form > .fusion-column-wrapper { box-shadow: 0 30px 60px -40px rgba(20,23,26,0.5); }
.rb .rb-phone { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--rb-line-lt); }
.rb .rb-phone.is-first { margin-top: 0; padding-top: 0; border-top: 0; }
.rb .rb-phone span { display: block; font: 600 11px var(--rb-body); letter-spacing: 0.2em; text-transform: uppercase; color: #6A7178; }
.rb .rb-phone a { display: block; margin-top: 6px; font: 800 46px/1.1 var(--rb-display); font-stretch: 72%; text-decoration: none; color: var(--rb-char); }
.rb .rb-phone a:hover { color: var(--rb-walnut-dk); }
/* Rev 1 (Nov 12): Jared's email under the phone number */
.rb .rb-phone .rb-email { margin-top: 14px; }
.rb .rb-phone .rb-email a { margin-top: 4px; font: 700 20px/1.3 var(--rb-body); font-stretch: normal; overflow-wrap: anywhere; }
.section-quote .rb-small a { color: var(--rb-char); font-weight: 600; }
.section-quote .rb-next ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rb-line-lt); }
.section-quote .rb-next li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rb-line-lt); font-size: 15px; }
.section-quote .rb-next b { font: 800 22px/1 var(--rb-display); font-stretch: 70%; color: var(--rb-walnut-dk); }
.section-quote .rb-next strong { display: block; color: var(--rb-char); }
.section-quote .gform_wrapper.gravity-theme { margin: 0; }
.section-quote .gform_wrapper.gravity-theme .gform_required_legend { display: none; }
.section-quote .gform_wrapper.gravity-theme .gform_fields { grid-row-gap: 24px; grid-column-gap: 24px; }
.section-quote .gform_wrapper.gravity-theme .gfield_label,
.section-quote .gform_wrapper.gravity-theme legend.gfield_label {
  margin-bottom: 8px; padding: 0;
  font: 700 11px/1.3 var(--rb-body); letter-spacing: 0.18em; text-transform: uppercase; color: #4E555C;
}
.section-quote .gform_wrapper.gravity-theme .gfield_required { color: var(--rb-walnut-dk); }
.section-quote .gform_wrapper.gravity-theme input[type="text"],
.section-quote .gform_wrapper.gravity-theme input[type="tel"],
.section-quote .gform_wrapper.gravity-theme input[type="email"],
.section-quote .gform_wrapper.gravity-theme select,
.section-quote .gform_wrapper.gravity-theme textarea {
  width: 100%; height: auto !important; padding: 12px 0 !important; border: 0 !important; border-bottom: 1.5px solid #A8A29A !important;
  border-radius: 0 !important; background-color: transparent !important; box-shadow: none !important; color: var(--rb-char);
  font: 500 17px/1.4 var(--rb-body) !important;
}
.section-quote .gform_wrapper.gravity-theme textarea.small { height: 100px !important; min-height: 100px; resize: vertical; }
.section-quote .gform_wrapper.gravity-theme select {
  appearance: none; -webkit-appearance: none; padding-right: 28px;
  background-image: linear-gradient(45deg, transparent 50%, #4E555C 50%), linear-gradient(-45deg, transparent 50%, #4E555C 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
}
.section-quote .gform_wrapper.gravity-theme input:focus,
.section-quote .gform_wrapper.gravity-theme select:focus,
.section-quote .gform_wrapper.gravity-theme textarea:focus { outline: none; border-bottom-color: var(--rb-walnut) !important; }
.section-quote .gform_wrapper.gravity-theme ::placeholder { color: #8A9096; opacity: 1; }
.section-quote .gravity-select-parent .select-arrow { display: none; }

/* Project type radios as chips */
.section-quote .rb-chips .gfield_radio { display: flex; flex-wrap: wrap; gap: 8px; }
.section-quote .rb-chips .gchoice { position: relative; margin: 0; }
.section-quote .rb-chips .gfield-choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.section-quote .rb-chips .gform-field-label--type-inline {
  display: inline-block !important; width: auto !important; max-width: none !important; margin: 0 !important;
  padding: 10px 16px !important; white-space: nowrap; cursor: pointer; border: 1.5px solid #A8A29A;
  font: 600 14px/1.2 var(--rb-body); letter-spacing: 0; text-transform: none; color: var(--rb-char);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.section-quote .rb-chips .gform-field-label--type-inline:hover { border-color: var(--rb-char); }
.section-quote .rb-chips .gfield-choice-input:checked + .gform-field-label--type-inline { background: var(--rb-char); border-color: var(--rb-char); color: #fff; }
.section-quote .rb-chips .gfield-choice-input:focus-visible + .gform-field-label--type-inline { outline: 2px solid var(--rb-walnut); outline-offset: 2px; }

/* Photo upload */
.section-quote .rb-drop .gform_drop_area {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 26px 22px; border: 1.5px dashed #A8A29A; border-radius: 0; background: var(--rb-paper);
  transition: border-color 0.2s, background 0.2s;
}
.section-quote .rb-drop .gform_drop_area:hover,
.section-quote .rb-drop .gform_drop_area.hover { border-color: var(--rb-walnut); background: #fff; }
.section-quote .rb-drop .gform_drop_instructions { font: 400 15px var(--rb-body); color: #4E555C; }
.section-quote .rb-drop .gform_button_select_files {
  padding: 10px 16px; border: 1.5px solid var(--rb-walnut); border-radius: 0; background: transparent; color: var(--rb-walnut-dk);
  font: 700 12px/1 var(--rb-body); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.section-quote .rb-drop .gform_button_select_files:hover { background: var(--rb-walnut); color: #fff; }
.section-quote .rb-drop .gfield_description { padding-top: 8px; font-size: 13px; color: #6A7178; }

/* Submit */
.section-quote .gform_wrapper.gravity-theme .gform_footer { margin: 8px 0 0; padding: 0; }
.section-quote .gform_wrapper.gravity-theme .gform_button {
  padding: 16px 26px; border: 1.5px solid var(--rb-char); border-radius: 0; background: var(--rb-char); color: #fff; cursor: pointer;
  font: 700 13px/1 var(--rb-body); letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.2s;
}
.section-quote .gform_wrapper.gravity-theme .gform_button:hover { background: var(--rb-slate-2); border-color: var(--rb-slate-2); }

/* Validation */
.section-quote .gform_wrapper.gravity-theme .gfield_error input,
.section-quote .gform_wrapper.gravity-theme .gfield_error select,
.section-quote .gform_wrapper.gravity-theme .gfield_error textarea { border-bottom-color: #B3261E !important; }
.section-quote .gform_wrapper.gravity-theme .gfield_validation_message { padding: 6px 0 0; border: 0; background: none; font-size: 13px; color: #B3261E; }
.section-quote .gform_wrapper.gravity-theme .gform_validation_errors { border-radius: 0; box-shadow: none; }

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */
.section-phero.is-plain { position: relative; }
.section-phero.is-plain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--rb-char) 30%, transparent),
              repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,0.035) 79px 80px),
              repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,0.035) 79px 80px);
}
.section-phero .fusion-builder-row { position: relative; z-index: 1; }
.section-phero .phero-aside > .fusion-column-wrapper {
  background: rgba(20,23,26,0.8); border: 1px solid var(--rb-line-dk);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.section-phero .rb-jump ol { list-style: none; margin: 0; padding: 8px 0; counter-reset: rbj; }
.section-phero .rb-jump li { counter-increment: rbj; }
.section-phero .rb-jump a {
  display: flex; gap: 14px; align-items: baseline; padding: 8px 22px; text-decoration: none; color: #fff;
  font: 700 19px/1.1 var(--rb-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.02em;
}
.section-phero .rb-jump a::before { content: counter(rbj, decimal-leading-zero); min-width: 18px; font: 600 11px var(--rb-body); letter-spacing: 0.1em; color: var(--rb-walnut-lt); }
.section-phero .rb-jump a:hover { background: var(--rb-slate-2); color: var(--rb-walnut-lt); }
.section-phero .rb-plate-cell + .rb-plate-cell > .fusion-column-wrapper { border-left: 1px solid var(--rb-line-dk); }
.section-phero .phero-aside .fusion-builder-row-inner { align-items: stretch !important; }
.section-phero .rb-plate-cell { align-self: stretch !important; }
.section-phero .rb-plate-cell > .fusion-column-wrapper { height: 100%; justify-content: flex-start !important; }
.rb .rb-stat p { padding: 22px; }
.rb .rb-stat b { display: block; font: 800 44px/1 var(--rb-display); font-stretch: 70%; color: #fff; }
.rb .rb-stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--rb-mist); }

/* SERVICES */
.section-intro .rb-mini p { padding: 20px 18px 0; }
.section-intro .rb-mini-cell:first-child .rb-mini p { padding-left: 0; }
.section-intro .rb-mini b { display: block; font: 800 40px/1 var(--rb-display); font-stretch: 70%; color: var(--rb-char); }
.section-intro .rb-mini span { display: block; margin-top: 6px; font-size: 13px; color: var(--rb-muted); }
.section-svc-blocks .svc-media > .fusion-column-wrapper { position: relative; }
.section-svc-blocks > .fusion-builder-row + .fusion-builder-row { margin-top: 96px; }
.section-svc-blocks > .fusion-builder-row:nth-child(2) { margin-top: 64px; }
.section-svc-blocks .svc-photo img { width: 100% !important; aspect-ratio: 4 / 3; object-fit: cover; }
.section-svc-blocks .rb-num { position: absolute; left: 0; top: 0; z-index: 2; background: var(--rb-char); padding: 14px 18px; }
.section-svc-blocks .rb-num p { font: 800 32px/1 var(--rb-display); font-stretch: 70%; color: #fff; }
.section-svc-blocks .rb-num span { display: block; margin-top: 4px; font: 600 10px var(--rb-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rb-mist); }
.rb .rb-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.rb .rb-ticks .fusion-li-item { margin: 0 !important; font: 500 15px var(--rb-body); color: var(--rb-char); }
.section-design .rb-dcard { align-self: stretch !important; }
.section-design .rb-dcard > .fusion-column-wrapper { height: 100%; }
.section-design .rb-org:not(:last-child) > .fusion-column-wrapper { margin-right: 36px !important; }
.section-design .rb-ix p { font: 600 11px var(--rb-body); letter-spacing: 0.2em; color: var(--rb-walnut-lt); }
.section-design .rb-small a { color: var(--rb-walnut-lt); font-weight: 600; }
.section-area .rb-towns ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rb-line-lt); }
.section-area .rb-towns li {
  display: flex; justify-content: space-between; padding: 16px 24px 16px 0; border-bottom: 1px solid var(--rb-line-lt);
  font: 700 22px/1 var(--rb-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.02em; color: var(--rb-char);
}
.section-area .rb-towns li:nth-child(odd) { border-right: 1px solid var(--rb-line-lt); }
.section-area .rb-towns li:nth-child(even) { padding-left: 24px; }
.section-area .rb-towns small { font: 600 11px var(--rb-body); letter-spacing: 0.14em; color: var(--rb-walnut-dk); }

/* OUR WORK */
.section-gallery .rb-cat-tags p { text-align: right; font: 600 12px var(--rb-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rb-muted); }

/* ABOUT */
.section-story .rb-tl { position: relative; }
.section-story .rb-tl::before { content: ""; position: absolute; top: -6px; left: 0; z-index: 2; width: 11px; height: 11px; background: var(--rb-walnut-lt); transform: rotate(45deg); }
.section-story .rb-year p { font: 800 60px/1 var(--rb-display); font-stretch: 70%; color: #fff; }
.section-team .rb-person-photo img { width: 100% !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 15%; } /* Rev 2: square + top-weighted so the full head shows */
.rb .fusion-imageframe:has(> img:not([src])) { display: none !important; }
.section-team .rb-role p { font: 700 12px var(--rb-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--rb-walnut-dk); }
.rb .rb-tags p { display: flex; flex-wrap: wrap; gap: 8px; }
.rb .rb-tags span { border: 1px solid var(--rb-line-lt); padding: 7px 12px; font: 600 12px var(--rb-body); letter-spacing: 0.06em; color: var(--rb-char); }
.rb .rb-tags.is-dark span { border-color: var(--rb-line-dk); color: var(--rb-body-dk); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* FAQ (Avada accordion): white cards, numbered, walnut toggle on the right */
.section-faq > .fusion-builder-row > .fusion-layout-column:first-child > .fusion-column-wrapper { position: sticky; top: 140px; }
.section-faq .rb-faq { counter-reset: rbfaq; --awb-icon-box-color: transparent !important; --awb-toggle-hover-accent-color: transparent !important; --awb-icon-color: var(--rb-walnut) !important; }
.section-faq .rb-faq .fusion-panel {
  counter-increment: rbfaq; margin: 0 0 12px !important; background: #fff;
  border: 1px solid var(--rb-line-lt) !important; border-left: 3px solid transparent !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.section-faq .rb-faq .fusion-panel:hover { border-color: var(--rb-walnut) !important; border-left-color: var(--rb-walnut) !important; }
.section-faq .rb-faq .fusion-panel:has(.panel-title a[aria-expanded="true"]) {
  border-color: var(--rb-line-lt) !important; border-left-color: var(--rb-walnut) !important; box-shadow: 0 14px 34px rgba(20, 23, 26, 0.08);
}
.section-faq .rb-faq .panel-heading { padding: 0 !important; }
.section-faq .rb-faq .panel-title { margin: 0 !important; }
.section-faq .rb-faq .panel-title a { display: flex !important; align-items: center; gap: 18px; padding: 22px 24px 22px 22px !important; }
.section-faq .rb-faq .panel-title a::before {
  content: counter(rbfaq, decimal-leading-zero); flex: none; min-width: 26px;
  font: 600 12px/1 var(--rb-body); letter-spacing: 0.16em; color: var(--rb-walnut);
}
.section-faq .rb-faq .fusion-toggle-heading,
.section-faq .rb-faq .panel-title a {
  font: 700 22px/1.15 var(--rb-display) !important; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.01em; color: var(--rb-char) !important;
}
.section-faq .rb-faq .fusion-toggle-heading { flex: 1; margin: 0 !important; }
.section-faq .rb-faq .fusion-panel:hover .fusion-toggle-heading { color: var(--rb-walnut-dk) !important; }
.section-faq .rb-faq .fusion-toggle-icon-wrapper {
  order: 3; flex: none; margin: 0 0 0 auto !important; width: 34px; height: 34px; display: grid !important; place-items: center;
  border: 1.5px solid var(--rb-walnut); background: transparent !important; transition: background 0.2s;
}
.section-faq .rb-faq .fusion-toggle-icon-wrapper i { margin: 0 !important; color: var(--rb-walnut) !important; background: transparent !important; border: 0 !important; font-size: 13px !important; }
.section-faq .rb-faq .panel-title a[aria-expanded="true"] .fusion-toggle-icon-wrapper { background: var(--rb-walnut) !important; }
.section-faq .rb-faq .panel-title a[aria-expanded="true"] .fusion-toggle-icon-wrapper i { color: #fff !important; }
.section-faq .rb-faq .toggle-content {
  padding: 0 70px 24px 66px !important; font: 400 16px/1.7 var(--rb-body); color: var(--rb-body-lt);
}
.section-faq .rb-faq .toggle-content p { margin: 0; }

/* THANK YOU / 404 */
.section-status { position: relative; }
.section-status .rb-big404 p { font: 800 220px/0.8 var(--rb-display); font-stretch: 70%; color: transparent; -webkit-text-stroke: 2px var(--rb-walnut-lt); }
.section-status .rb-lead a { color: #fff; font-weight: 600; }
.section-status .rb-tile .fusion-title-heading { transition: color 0.2s; }
.section-status .rb-tile:hover .fusion-title-heading { color: var(--rb-walnut-lt) !important; }

/* LEGAL */
.section-legal .rb-toc { border-top: 2px solid var(--rb-walnut); padding-top: 18px; }
.section-legal .rb-toc p { font: 600 11px var(--rb-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rb-muted); }
.section-legal .rb-toc ol { margin: 14px 0 0; padding-left: 20px; font-size: 15px; display: grid; gap: 8px; }
.section-legal .rb-toc a { text-decoration: none; color: var(--rb-char); }
.section-legal .rb-toc a:hover { color: var(--rb-walnut-dk); }
.section-legal .rb-legal ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.section-legal .rb-legal ul + p { margin-top: 14px; }
.section-legal .rb-legal a { color: var(--rb-walnut-dk); font-weight: 600; }

/* HEADER (Avada Global Options header v1, transparent over the dark page heroes.
   Layout, height, colours and breakpoint live in Global Options > Header / Menu;
   this block only sizes the logo and paints the phone link and the CTA item.
   Menu items get their hooks from CSS Classes in Appearance > Menus.) */
.fusion-header .fusion-logo img { width: 175px !important; height: auto !important; max-height: none !important; }
.fusion-main-menu > ul > li:not(.rb-nav-cta) > a:hover,
.fusion-main-menu > ul > li.current-menu-item:not(.rb-nav-cta) > a { color: var(--rb-walnut-lt) !important; }
.fusion-main-menu .rb-nav-tel > a .menu-text { color: var(--rb-mist); font-weight: 500; }
.fusion-main-menu .rb-nav-tel > a:hover .menu-text { color: #fff; }
.fusion-main-menu .rb-nav-cta > a .menu-text {
  display: inline-block; padding: 14px 22px; background: var(--rb-walnut); color: #fff;
  font: 700 13px/1 var(--rb-body); letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.2s;
}
.fusion-main-menu .rb-nav-cta > a:hover .menu-text { background: var(--rb-walnut-dk); }
.fusion-mobile-nav-holder .rb-nav-cta > a { color: var(--rb-walnut-lt) !important; }
@media (max-width: 1180px) { .fusion-main-menu .rb-nav-tel { display: none !important; } }
@media (max-width: 640px) { .fusion-header .fusion-logo img { width: 136px !important; } }

/* COPYRIGHT BAR (Global Options footer text + [rb_footer_menu] from functions.php) */
.rb-footer-menu { display: inline; }
.rb-footer-menu-list { display: inline-flex; flex-wrap: wrap; gap: 0 18px; margin: 0 0 0 14px; padding: 0; list-style: none; }
.rb-footer-menu-list li { margin: 0; padding: 0; }
@media (max-width: 640px) { .rb-footer-menu { display: block; margin-top: 6px; } .rb-footer-menu-list { margin-left: 0; } }

/* FOOTER (Layout Builder footer section) */
.section-site-footer .rb-foot-logo img { display: block; }
.section-site-footer .rb-foot-list { font-size: 15px; color: var(--rb-mist); }
.section-site-footer .rb-foot-list h4 { margin: 0 0 16px; font: 700 12px var(--rb-body); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.section-site-footer .rb-foot-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.section-site-footer .rb-foot-list a { color: var(--rb-mist); text-decoration: none; }
.section-site-footer .rb-foot-list a:hover { color: var(--rb-walnut-lt); }
.section-site-footer .rb-ftel { font: 800 30px/1 var(--rb-display); font-stretch: 72%; color: #fff !important; }
.section-site-footer .rb-legal-row { font-size: 13px; color: var(--rb-mist); }
.section-site-footer .rb-legal-row a { color: var(--rb-mist); text-decoration: none; }
.section-site-footer .rb-legal-row a:hover { color: var(--rb-walnut-lt); }

/* Mobile call bar (markup from functions.php snippet) */
.rb-callbar { display: none; }

/* --------------------------------------------------------------------------
   Type scale and component reflow (column stacking is handled by Fusion)
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .rb .rb-h-hero .fusion-title-heading { font-size: 92px !important; }
  .rb .rb-h-page .fusion-title-heading { font-size: 80px !important; }
  .rb .rb-h-xl .fusion-title-heading { font-size: 60px !important; }
}
@media (max-width: 1024px) {
  .rb .rb-head-r .rb-intro p { margin-left: 0; }
  .section-hero .hero-media { inset: 0; }
  .rb .about-img .about-inset { left: 12px; }
  .rb .rb-since { right: 16px; }
  .section-facts .rb-fact-cell > .fusion-column-wrapper { border-top: 1px solid var(--rb-line-dk); }
  .section-cta .rb-big-tel p { text-align: left; }
  .section-gallery .rb-proj.is-tall img { height: 420px; }
  .section-svc-blocks > .fusion-builder-row + .fusion-builder-row { margin-top: 72px; }
  .section-design .rb-org:not(:last-child) > .fusion-column-wrapper { margin-right: 0 !important; }
  .section-design .rb-org:nth-child(odd) > .fusion-column-wrapper { margin-right: 32px !important; }
  .section-faq > .fusion-builder-row > .fusion-layout-column:first-child > .fusion-column-wrapper { position: static; }
}
@media (max-width: 640px) {
  .rb .fusion-text { font-size: 16px; }
  .rb .rb-lead { font-size: 17px; }
  .rb .rb-h-hero .fusion-title-heading { font-size: 64px !important; }
  .rb .rb-h-page .fusion-title-heading { font-size: 58px !important; }
  .rb .rb-h-page.rb-h-compact .fusion-title-heading { font-size: 50px !important; }
  .rb .rb-h-status .fusion-title-heading { font-size: 54px !important; }
  .rb .rb-h-xl .fusion-title-heading,
  .rb .rb-h-lg .fusion-title-heading { font-size: 46px !important; }
  .rb .rb-h-md .fusion-title-heading { font-size: 30px !important; }
  .rb .rb-h-sm .fusion-title-heading { font-size: 24px !important; }
  .rb .rb-h-legal .fusion-title-heading { font-size: 28px !important; }
  .rb .rb-right p, .section-gallery .rb-cat-tags p { text-align: left; }
  .section-facts .rb-fact b { font-size: 36px; }
  .section-services .svc-item .rb-small { display: none; }
  .ba-group .ba-compare { aspect-ratio: 4 / 3; }
  .section-work .rb-proj img, .section-work .rb-proj.is-tall img,
  .section-gallery .rb-proj img, .section-gallery .rb-proj.is-tall img { height: 240px; }
  .rb .about-img .about-inset { display: none; }
  .rb .rb-since { right: 12px; top: 12px; padding: 16px 18px; }
  .rb .rb-since b { font-size: 38px; }
  .rb .rb-ticks { grid-template-columns: 1fr; }
  .section-reviews .rb-quote { font-size: 17px; }
  .section-cta .rb-big-tel a { font-size: 40px; }
  .section-status .rb-big404 p { font-size: 140px; }
  .section-area .rb-towns ul { grid-template-columns: 1fr; }
  .section-area .rb-towns li:nth-child(odd) { border-right: 0; }
  .section-area .rb-towns li:nth-child(even) { padding-left: 0; }
  .section-faq .rb-faq .fusion-toggle-heading, .section-faq .rb-faq .panel-title a { font-size: 19px !important; }
  .section-faq .rb-faq .panel-title a { gap: 12px; padding: 18px 16px !important; }
  .section-faq .rb-faq .panel-title a::before { min-width: 20px; }
  .section-faq .rb-faq .toggle-content { padding: 0 18px 20px 50px !important; }
  .section-svc-blocks > .fusion-builder-row + .fusion-builder-row { margin-top: 56px; }
  .section-design .rb-org:nth-child(odd) > .fusion-column-wrapper { margin-right: 0 !important; }
  .rb-callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; gap: 1px;
    background: var(--rb-line-dk); padding-bottom: env(safe-area-inset-bottom);
  }
  .rb-callbar a {
    flex: 1; padding: 18px 10px; text-align: center; text-decoration: none; color: #fff;
    font: 700 13px/1 var(--rb-body); letter-spacing: 0.14em; text-transform: uppercase;
  }
  .rb-callbar .is-call { background: var(--rb-char); }
  .rb-callbar .is-quote { background: var(--rb-walnut); }
  body.rb-has-callbar { padding-bottom: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb *, .rb *::before, .rb *::after { transition: none !important; animation: none !important; }
}

/* Rev 1 (Nov 12): long one-word page titles ("Professionals") scale with the viewport so they never overflow */
.rb .rb-h-page.rb-h-fit .fusion-title-heading { font-size: min(96px, calc(10vw - 8px)) !important; }

/* Rev 2 (Nov 16): Facebook + Instagram buttons on Our Work */
.section-fb .fusion-column-wrapper > div:has(> .fusion-button) + div:has(> .fusion-button) { margin-top: 10px; }
