/*
 * Shared styles for the Services overview and service detail templates.
 *
 * Uses the same palette, type and section rhythm as the homepage, but lives
 * in a real stylesheet rather than inline blocks: these pages were built
 * here rather than transcribed from existing markup.
 */

.rcc-page {
  --rcc-deep: #0f5c88;
  --rcc-blue: #1D91D4;
  --rcc-pink: #FFD1EA;
  --rcc-cream: #FDF6EB;
  --rcc-pale: #eef7f8;
  --rcc-mist: #C0E6EA;
  --rcc-body: #444;
  font-family: var(--rcc-font-body, 'Montserrat', sans-serif);
}

/* Headings deliberately inherit the theme's heading face. Body copy picks
   up Montserrat from .rcc-page above. */

.rcc-page *,
.rcc-page *::before,
.rcc-page *::after { box-sizing: border-box; }

.rcc-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.rcc-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 25px;
}

.rcc-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rcc-blue);
  margin: 0 0 12px;
}

.rcc-rule {
  width: 100px;
  height: 4px;
  background: var(--rcc-blue);
  margin: 0 0 22px;
}


/* ------------------------------------------------------------- Page hero */

.rcc-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rcc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.rcc-hero__ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,32,49,.82) 0%, rgba(6,32,49,.55) 55%, rgba(6,32,49,.25) 100%);
}

.rcc-hero__inner { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 70px; }

.rcc-hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rcc-pink);
  margin: 0 0 14px;
}

.rcc-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 760px;
}

.rcc-hero__tagline {
  margin: 0 0 32px;
  color: var(--rcc-mist);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  max-width: 640px;
  line-height: 1.5;
}

.rcc-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.rcc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: .3s ease;
}

.rcc-btn--primary { background: var(--rcc-pink); color: var(--rcc-blue); }
.rcc-btn--primary:hover { background: #fff; color: var(--rcc-deep); }
.rcc-btn--ghost { border: 2px solid #fff; color: #fff; }
.rcc-btn--ghost:hover { background: #fff; color: var(--rcc-blue); }

/* ---------------------------------------------------------------- Intro */

.rcc-intro { background: #fff; padding: 90px 0; }

.rcc-intro__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.rcc-intro h2 {
  margin: 0 0 16px;
  color: var(--rcc-deep);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}

.rcc-intro__copy p {
  margin: 0 0 22px;
  color: var(--rcc-body);
  font-size: 17px;
  line-height: 1.85;
}

.rcc-intro__copy p:last-child { margin-bottom: 0; }

.rcc-intro__photo { position: relative; }

.rcc-intro__photo::before {
  content: "";
  position: absolute;
  inset: -14px -14px 30px 30px;
  border: 3px solid var(--rcc-blue);
  border-radius: 16px;
}

.rcc-intro__photo img {
  position: relative;
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 22px 45px rgba(15,92,136,.2);
}

/* ------------------------------------------------------------- Includes */

.rcc-includes { background: var(--rcc-cream); padding: 90px 0; }

.rcc-head { text-align: center; max-width: 720px; margin: 0 auto 45px; }

.rcc-head h2 {
  margin: 0 0 16px;
  color: var(--rcc-deep);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.rcc-head p { margin: 0; color: var(--rcc-body); font-size: 17px; line-height: 1.7; }

.rcc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.rcc-card {
  background: #fff;
  border: 1px solid #dce9ef;
  border-left: 4px solid var(--rcc-blue);
  border-radius: 0 12px 12px 0;
  padding: 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.rcc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(29,145,212,.15);
  border-left-color: var(--rcc-pink);
}

.rcc-card h3 { margin: 0 0 8px; color: var(--rcc-deep); font-size: 18px; font-weight: 700; }
.rcc-card p { margin: 0; color: var(--rcc-body); font-size: 15px; line-height: 1.65; }

/* -------------------------------------------------------------- Process */

.rcc-process { background: var(--rcc-pale); padding: 90px 0; }

.rcc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  counter-reset: rcc-step;
}

.rcc-step { position: relative; padding-top: 62px; }

.rcc-step::before {
  counter-increment: rcc-step;
  content: counter(rcc-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--rcc-blue);
  color: var(--rcc-pink);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcc-step h3 { margin: 0 0 8px; color: var(--rcc-deep); font-size: 18px; font-weight: 700; }
.rcc-step p { margin: 0; color: var(--rcc-body); font-size: 15px; line-height: 1.7; }

/* -------------------------------------------------------------- Gallery */

.rcc-gallery { background: #fff; padding: 90px 0; }

.rcc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.rcc-gallery__item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,92,136,.14);
  aspect-ratio: 4 / 3;
}

.rcc-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.rcc-gallery__item:hover img { transform: scale(1.05); }

/* ------------------------------------------------------------------ FAQ */

.rcc-faq { background: var(--rcc-cream); padding: 90px 0; }

.rcc-faq__list { max-width: 860px; margin: 0 auto; }

.rcc-faq__item {
  background: #fff;
  border: 1px solid #dce9ef;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}

.rcc-faq__item[open] { border-color: var(--rcc-blue); }

.rcc-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  color: var(--rcc-deep);
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.rcc-faq__q::-webkit-details-marker { display: none; }

.rcc-faq__q::after {
  content: "";
  flex: 0 0 12px;
  height: 12px;
  border-right: 2.5px solid var(--rcc-blue);
  border-bottom: 2.5px solid var(--rcc-blue);
  transform: rotate(45deg);
  transition: transform .25s ease;
}

.rcc-faq__item[open] .rcc-faq__q::after { transform: rotate(-135deg); }

.rcc-faq__a {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--rcc-body);
  font-size: 16px;
  line-height: 1.75;
}

/* ------------------------------------------------------------------ CTA */

.rcc-cta { background: var(--rcc-deep); padding: 80px 0; }

.rcc-cta__inner { text-align: center; max-width: 760px; }

.rcc-cta h2 {
  margin: 0 0 18px;
  color: #FCF7EE;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
}

.rcc-cta__highlight { color: var(--rcc-pink); }

.rcc-cta p {
  margin: 0 0 34px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.8;
}

.rcc-cta .rcc-btns { justify-content: center; }

/* -------------------------------------------------- Services overview */

.rcc-svc-group { margin-bottom: 55px; }
.rcc-svc-group:last-child { margin-bottom: 0; }

.rcc-svc-group__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.rcc-svc-group__head::after { content: ""; flex: 1; height: 1px; background: #c9dde8; }

.rcc-svc-group__head h2 {
  margin: 0;
  color: var(--rcc-blue);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.rcc-svc-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  min-height: 320px;
  box-shadow: 0 18px 40px rgba(15,92,136,.14);
}

.rcc-svc-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}

.rcc-svc-card:hover .rcc-svc-card__bg { transform: scale(1.06); }

.rcc-svc-card__ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,32,49,.15) 0%, rgba(6,32,49,.8) 100%);
  transition: background .4s ease;
}

.rcc-svc-card:hover .rcc-svc-card__ov {
  background: linear-gradient(180deg, rgba(6,32,49,.05) 0%, rgba(15,92,136,.9) 100%);
}

.rcc-svc-card__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.rcc-svc-card__txt h3 { margin: 0 0 6px; color: #fff; font-size: 21px; font-weight: 700; }
.rcc-svc-card__txt p { margin: 0 0 14px; color: var(--rcc-mist); font-size: 15px; line-height: 1.55; }

.rcc-svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rcc-pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.rcc-svc-card__more::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
}

.rcc-svc-card:hover .rcc-svc-card__more::after { transform: rotate(45deg) translate(3px, -3px); }

.rcc-note { max-width: 720px; margin: 55px auto 0; text-align: center; }
.rcc-note p { margin: 0; color: var(--rcc-body); font-size: 16.5px; line-height: 1.7; }
.rcc-note strong { color: var(--rcc-deep); }

/* --------------------------------------------------------- Reveal & rwd */

.rcc-anim { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.rcc-inview .rcc-anim { opacity: 1; transform: translateY(0); }
.rcc-inview .rcc-anim:nth-child(2) { transition-delay: .1s; }
.rcc-inview .rcc-anim:nth-child(3) { transition-delay: .2s; }
.rcc-inview .rcc-anim:nth-child(4) { transition-delay: .3s; }
.rcc-inview .rcc-anim:nth-child(5) { transition-delay: .4s; }
.rcc-inview .rcc-anim:nth-child(6) { transition-delay: .5s; }

@media (max-width: 980px) {
  .rcc-intro,
  .rcc-includes,
  .rcc-process,
  .rcc-gallery,
  .rcc-faq { padding: 60px 0; }

  .rcc-intro__grid { grid-template-columns: 1fr; gap: 45px; }
  .rcc-intro__photo::before { display: none; }
  .rcc-intro__photo img { min-height: 340px; }
  .rcc-hero { min-height: 460px; }
  .rcc-btn { width: 100%; max-width: 320px; }
  .rcc-card:hover,
  .rcc-svc-card:hover .rcc-svc-card__bg { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rcc-anim { opacity: 1; transform: none; transition: none; }
  .rcc-svc-card__bg,
  .rcc-gallery__item img { transition: none; }
}

/* ==========================================================================
   Parent theme overrides
   ==========================================================================
   These templates supply their own hero and full-bleed sections, so the
   parent theme's page banner and content-column constraints have to be
   neutralised on these pages only.
   ========================================================================== */

/* The theme prints a titled banner with breadcrumbs from header.php. Our
   hero replaces it, so two stacked headers would otherwise appear. */
.rcc-service-template .breadcrumb-wrap,
.rcc-services-template .breadcrumb-wrap { display: none !important; }

/* The content column is padded and width-constrained, which throws off the
   full-bleed sections. Let it span so .rcc-full can reach both edges. */
.rcc-service-template #content,
.rcc-services-template #content,
.rcc-service-template .col-fluid,
.rcc-services-template .col-fluid,
.rcc-service-template #primary,
.rcc-services-template #primary,
.rcc-service-template #main,
.rcc-services-template #main {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  float: none;
}

/* Belt and braces on the breakout itself: clamp to the viewport so a
   scrollbar cannot push the section wide enough to scroll horizontally. */
.rcc-page .rcc-full {
  max-width: 100vw;
  overflow-x: clip;
}

/* ==========================================================================
   Typography guards
   ==========================================================================
   The parent theme sets aggressive heading line-heights and margins. Inside
   .rcc-page we restate ours so card text cannot collide.
   ========================================================================== */

.rcc-page h1,
.rcc-page h2,
.rcc-page h3,
.rcc-page h4,
.rcc-page p { text-transform: none; letter-spacing: normal; }

.rcc-page .rcc-svc-card__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rcc-page .rcc-svc-card__txt h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.rcc-page .rcc-svc-card__txt p {
  margin: 0 0 14px;
  color: var(--rcc-mist);
  font-size: 15px;
  line-height: 1.5;
}

.rcc-page .rcc-card h3,
.rcc-page .rcc-step h3 { line-height: 1.3; }

.rcc-page .rcc-card p,
.rcc-page .rcc-step p { line-height: 1.65; }

/* Taller cards so a two-line title still clears the description. */
.rcc-svc-card { min-height: 340px; }

/* Four exterior services sit better on a four-up grid at desktop width. */
@media (min-width: 1100px) {
  .rcc-svc-group .rcc-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1099px) and (min-width: 700px) {
  .rcc-svc-group .rcc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 699px) {
  .rcc-svc-group .rcc-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   The Rapunzel Difference band
   ==========================================================================
   Echoes the homepage trust cards so the promise looks the same wherever it
   appears.
   ========================================================================== */

.rcc-diff { background: var(--rcc-pale); padding: 90px 0; }

.rcc-eyebrow--center { text-align: center; }

.rcc-diff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.rcc-diff__item {
  background: #fff;
  border: 1px solid #dce9ef;
  border-top: 4px solid var(--rcc-blue);
  border-radius: 0 0 12px 12px;
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.rcc-diff__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(29,145,212,.16);
  border-top-color: var(--rcc-pink);
}

.rcc-diff__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--rcc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background .25s ease;
}

.rcc-diff__item:hover .rcc-diff__icon { background: var(--rcc-pink); }

.rcc-diff__icon svg {
  width: 23px;
  height: 23px;
  stroke: var(--rcc-pink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s ease;
}

.rcc-diff__item:hover .rcc-diff__icon svg { stroke: var(--rcc-blue); }

.rcc-page .rcc-diff__item h3 {
  margin: 0 0 8px;
  color: var(--rcc-deep);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.rcc-page .rcc-diff__item p {
  margin: 0;
  color: var(--rcc-body);
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   Split call to action
   ==========================================================================
   Same construction as the homepage closing section: photo on the left
   fading into a deep blue panel on the right.
   ========================================================================== */

.rcc-cta--split { padding: 0; }

.rcc-cta__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: stretch;
  min-height: 560px;
}

.rcc-cta__image { position: relative; overflow: hidden; }

.rcc-cta__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rcc-cta__image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 100%;
  background: linear-gradient(90deg,
    rgba(15,92,136,0) 0%,
    rgba(15,92,136,.25) 35%,
    rgba(15,92,136,.75) 70%,
    var(--rcc-deep) 100%);
}

.rcc-cta__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 6vw;
}

.rcc-cta__line {
  position: relative;
  z-index: 2;
  width: 90px;
  height: 4px;
  background: var(--rcc-pink);
  margin-bottom: 26px;
}

.rcc-page .rcc-cta--split h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 26px;
  max-width: 520px;
  color: #FCF7EE;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
}

.rcc-page .rcc-cta--split p {
  position: relative;
  z-index: 2;
  margin: 0 0 36px;
  max-width: 520px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.85;
}

.rcc-cta--split .rcc-btns { position: relative; z-index: 2; justify-content: flex-start; }

/* -------------------------------------------------- Footnote label rule */

.rcc-note__label { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.rcc-note__label::before,
.rcc-note__label::after { content: ""; flex: 1; height: 1px; background: #c9dde8; }

.rcc-note__label span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rcc-blue);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .rcc-diff__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .rcc-diff { padding: 60px 0; }
  .rcc-cta__grid { grid-template-columns: 1fr; min-height: 0; }
  .rcc-cta__image { height: 340px; }
  .rcc-cta__image::after { display: none; }
  .rcc-cta__panel { padding: 55px 28px; }
  .rcc-cta--split .rcc-btns { flex-direction: column; }
}

@media (max-width: 620px) {
  .rcc-diff__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Inline call-to-action bar
   ==========================================================================
   Mid-page capture point so a ready visitor never has to scroll to the
   footer to find a number.
   ========================================================================== */

/* Deep blue rather than the brighter --rcc-blue: the bar sits directly
   against other blue sections, and at the lighter value the two read as
   one block with a seam through it. */
.rcc-bar {
  background: var(--rcc-deep);
  padding: 34px 0;
}

.rcc-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* A real heading, so it inherits the theme's heading face rather than the
   Montserrat that body copy uses. */
.rcc-page h2.rcc-bar__heading {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  text-transform: capitalize;
}

.rcc-page .rcc-bar__text {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 15.5px;
  line-height: 1.6;
}

.rcc-bar__copy { flex: 1 1 340px; min-width: 0; }
.rcc-bar__btns { flex: 0 0 auto; }

.rcc-bar .rcc-btn { padding: 14px 30px; font-size: 15px; }
.rcc-bar .rcc-btn--ghost { border-color: rgba(255, 255, 255, .8); }

/* ==========================================================================
   Sticky call bar
   ==========================================================================
   Phones only: the header's Call Now scrolls away, and a visitor reading a
   service page on a phone is the most likely to want to dial immediately.
   ========================================================================== */

.rcc-sticky { display: none; }

@media (max-width: 767px) {
  .rcc-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(15, 92, 136, .25);
    box-shadow: 0 -6px 20px rgba(15, 92, 136, .22);
  }

  .rcc-sticky__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
  }

  .rcc-sticky__btn--call { background: var(--rcc-pink); color: var(--rcc-deep); }
  .rcc-sticky__btn--contact { background: var(--rcc-deep); color: #fff; }
  .rcc-sticky__btn svg { flex: 0 0 auto; }

  /* Keep the theme's scroll-to-top clear of the bar. */
  .rcc-service-template .scrollup,
  .rcc-services-template .scrollup { bottom: 74px; }

  /* And stop the bar covering the end of the footer. */
  .rcc-service-template #colophon,
  .rcc-services-template #colophon { padding-bottom: 60px; }
}

@media (max-width: 620px) {
  .rcc-bar__inner { flex-direction: column; align-items: flex-start; }
  .rcc-bar__btns { width: 100%; }
  .rcc-bar .rcc-btn { width: 100%; max-width: none; }
}

/* ==========================================================================
   Icon sizing guard
   ==========================================================================
   Inline SVG defaults to a very large intrinsic size. If the stylesheet is
   ever slow or cached stale, an unconstrained icon fills the page, so the
   ceiling is stated wherever one appears.
   ========================================================================== */

.rcc-page svg { max-width: 100%; }

.rcc-page .rcc-diff__icon svg,
.rcc-page .rcc-card svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

/* ==========================================================================
   Photo quote band
   ==========================================================================
   A break in the run of card sections, so the page is not one boxed grid
   after another.
   ========================================================================== */

.rcc-quote {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

.rcc-quote__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.rcc-quote__ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,32,49,.86) 0%, rgba(15,92,136,.9) 100%);
}

.rcc-quote__inner { position: relative; z-index: 2; text-align: center; }

.rcc-quote__mark {
  display: block;
  color: var(--rcc-pink);
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: .6;
  margin-bottom: 18px;
  opacity: .75;
}

.rcc-page blockquote.rcc-quote__text {
  margin: 0 auto 20px;
  max-width: 860px;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  text-transform: none;
}

.rcc-page .rcc-quote__cite {
  margin: 0;
  color: var(--rcc-mist);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ==========================================================================
   Section rhythm
   ==========================================================================
   Alternating grounds so consecutive sections never share a background.
   ========================================================================== */

.rcc-intro { background: #fff; }
.rcc-includes { background: var(--rcc-cream); }
.rcc-process { background: var(--rcc-pale); }
.rcc-diff { background: #fff; }
.rcc-gallery { background: var(--rcc-pale); }
.rcc-faq { background: var(--rcc-cream); }

/* The promise cards need a visible edge now they sit on white. */
.rcc-diff__item { background: #fbfdfe; border-color: #d6e6ee; }

/* ==========================================================================
   Title case on headings
   ==========================================================================
   Enforced in CSS as well as in the copy, so headings an editor types later
   match without them having to remember.
   ========================================================================== */

.rcc-page h1,
.rcc-page h2,
.rcc-page h3,
.rcc-page h4,
.rcc-page .rcc-faq__q { text-transform: capitalize; }

/* Things that are deliberately not title case. */
.rcc-page .rcc-eyebrow,
.rcc-page .rcc-hero__eyebrow,
.rcc-page .rcc-svc-card__more,
.rcc-page .rcc-note__label span,
.rcc-page .rcc-svc-group__head h2,
.rcc-page .rcc-quote__cite { text-transform: uppercase; }

.rcc-page p,
.rcc-page li,
.rcc-page .rcc-faq__a,
.rcc-page blockquote { text-transform: none; }

/* ==========================================================================
   Closing CTA
   ==========================================================================
   More weight, and an eyebrow and reassurance line so the panel is not just
   a heading and a paragraph.
   ========================================================================== */

.rcc-cta__eyebrow {
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  color: var(--rcc-pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.rcc-page .rcc-cta--split h2 {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 22px;
}

.rcc-cta__reassure {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.rcc-cta__reassure li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .82);
  font-size: 14.5px;
  font-weight: 600;
}

.rcc-cta__reassure li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rcc-pink);
}

/* ==========================================================================
   Close the gap above the footer
   ==========================================================================
   The theme pads the content wrapper vertically, which leaves a band of
   page background between the last section and the footer.
   ========================================================================== */

.rcc-service-template #content,
.rcc-services-template #content,
.rcc-service-template .col-fluid,
.rcc-services-template .col-fluid,
.rcc-service-template #primary,
.rcc-services-template #primary,
.rcc-service-template #main,
.rcc-services-template #main {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.rcc-service-template .site-content-page,
.rcc-services-template .site-content-page { margin-bottom: 0; }

.rcc-page > *:last-child { margin-bottom: 0; }
.rcc-page { margin-bottom: 0; }

@media (max-width: 980px) {
  .rcc-quote { padding: 70px 0; }
  .rcc-quote__mark { font-size: 68px; }
}

/* ==========================================================================
   Clear the space above the hero
   ==========================================================================
   The theme's header is absolutely positioned, so inner pages carry a top
   offset to sit clear of it. These templates put a full-bleed hero at the
   top for the header to overlay, exactly as the homepage does, so the
   offset has to go.
   ========================================================================== */

.rcc-service-template #content,
.rcc-services-template #content,
.rcc-service-template .col-fluid,
.rcc-services-template .col-fluid,
.rcc-service-template #primary,
.rcc-services-template #primary,
.rcc-service-template #main,
.rcc-services-template #main,
.rcc-service-template .site-content-page,
.rcc-services-template .site-content-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* Give the hero room for the header sitting over it. */
.rcc-page .rcc-hero__inner { padding-top: 190px; padding-bottom: 110px; }

@media (max-width: 1024px) {
  .rcc-hero { min-height: 520px; }
  .rcc-page .rcc-hero__inner { padding-top: 150px; padding-bottom: 80px; }
}

/* ==========================================================================
   Our Standard
   ==========================================================================
   Photo left, points right: the mirror of the overview above it, so the
   page alternates instead of repeating one arrangement.
   ========================================================================== */

.rcc-standards { background: #fff; padding: 90px 0; }

/* Sits between the cream included-work band and the blue CTA bar. */
.rcc-includes + .rcc-standards { border-top: 0; }

.rcc-standards__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.rcc-standards__photo { position: relative; }

.rcc-standards__photo::before {
  content: "";
  position: absolute;
  inset: 30px 30px -14px -14px;
  border: 3px solid var(--rcc-blue);
  border-radius: 16px;
}

.rcc-standards__photo img {
  position: relative;
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 22px 45px rgba(15, 92, 136, .2);
}

.rcc-standards__copy { min-width: 0; }

.rcc-page .rcc-standards__copy h2 {
  margin: 0 0 18px;
  color: var(--rcc-deep);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.rcc-standards__copy .rcc-rule { margin-bottom: 30px; }
.rcc-standards__copy .rcc-eyebrow { margin-bottom: 10px; }

.rcc-standards__list { margin: 0; padding: 0; list-style: none; }

.rcc-standards__list li {
  position: relative;
  padding: 0 0 22px 40px;
  margin: 0 0 22px;
  border-bottom: 1px solid #e3eef4;
}

.rcc-standards__list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

.rcc-standards__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rcc-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD1EA' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
}

.rcc-page .rcc-standards__list h3 {
  margin: 0 0 6px;
  color: var(--rcc-deep);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.3;
}

.rcc-page .rcc-standards__list p {
  margin: 0;
  color: var(--rcc-body);
  font-size: 15.5px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .rcc-standards { padding: 60px 0; }
  .rcc-standards__grid { grid-template-columns: 1fr; gap: 45px; }
  .rcc-standards__photo::before { display: none; }
  .rcc-standards__photo img { min-height: 320px; }
}

/* ==========================================================================
   Character pass
   ==========================================================================
   Centred heading, centred rule, uniform card grid, repeated down the page
   is the giveaway of a generated layout. These rules break that up:
   asymmetric emphasis, oversized ghosted numerals, and section headers
   that are not all the same shape.
   ========================================================================== */

/* --- Section rule ------------------------------------------------------ */

.rcc-rule {
  position: relative;
  width: 62px;
  height: 3px;
  background: var(--rcc-blue);
  border-radius: 2px;
}

.rcc-rule--center { margin-left: auto; margin-right: auto; }

/* --- Section headers sit left, not centred ----------------------------- */

.rcc-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.rcc-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.rcc-page .rcc-head p { font-size: 17px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* --- Includes: the first card carries more weight ---------------------- */

@media (min-width: 900px) {
  .rcc-includes .rcc-grid { grid-template-columns: repeat(3, 1fr); }
}

.rcc-card {
  position: relative;
  border-left: 0;
  border-radius: 14px;
  padding: 30px 28px 30px 30px;
  overflow: hidden;
}

.rcc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rcc-blue) 0%, var(--rcc-blue) 62%, var(--rcc-pink) 62%, var(--rcc-pink) 100%);
}

.rcc-card:hover { border-left: 0; }

/* --- Process: oversized ghosted numerals -------------------------------- */

.rcc-steps { counter-reset: rcc-step; gap: 34px 26px; }

.rcc-step {
  position: relative;
  padding: 0 0 0 4px;
  isolation: isolate;
}

.rcc-step::before {
  counter-increment: rcc-step;
  content: counter(rcc-step, decimal-leading-zero);
  position: absolute;
  z-index: -1;
  top: -28px;
  left: -8px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--rcc-blue);
  opacity: .13;
  font-size: 86px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.rcc-page .rcc-step h3 {
  position: relative;
  margin: 0 0 10px;
  padding-top: 26px;
  font-size: 19px;
}

.rcc-page .rcc-step h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  height: 2px;
  background: var(--rcc-blue);
}

/* --- Promise band ------------------------------------------------------ */

.rcc-diff__item:hover { border-top-color: var(--rcc-pink); }

/* --- Quote band -------------------------------------------------------- */

.rcc-quote__mark { color: var(--rcc-pink); opacity: .85; }

/* --- Closing panel ----------------------------------------------------- */

.rcc-cta__line {
  width: 62px;
  background: var(--rcc-pink);
  position: relative;
}

@media (max-width: 899px) {
  .rcc-head { margin-bottom: 34px; }
  .rcc-step::before { font-size: 66px; top: -20px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.rcc-contact { background: #fff; padding: 90px 0; }

.rcc-contact__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: start;
}

.rcc-page .rcc-contact__grid h2 {
  margin: 0 0 16px;
  color: var(--rcc-deep);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
}

.rcc-contact__grid .rcc-rule { margin-bottom: 26px; }

.rcc-page .rcc-contact__intro {
  margin: 0 0 28px;
  color: var(--rcc-body);
  font-size: 16.5px;
  line-height: 1.75;
}

.rcc-contact__form { min-width: 0; }

.rcc-contact__embed { margin-top: 4px; }

.rcc-page .rcc-contact__placeholder {
  margin: 0;
  padding: 22px 24px;
  border: 2px dashed #c9dde8;
  border-radius: 12px;
  background: var(--rcc-pale);
  color: var(--rcc-body);
  font-size: 15.5px;
  line-height: 1.7;
}

/* Give a pasted form enough room to breathe, whichever plugin renders it. */
.rcc-contact__embed input[type="text"],
.rcc-contact__embed input[type="email"],
.rcc-contact__embed input[type="tel"],
.rcc-contact__embed input[type="url"],
.rcc-contact__embed textarea,
.rcc-contact__embed select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #cfe0e9;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--rcc-body);
}

.rcc-contact__embed textarea { min-height: 140px; }

.rcc-contact__embed input:focus,
.rcc-contact__embed textarea:focus,
.rcc-contact__embed select:focus {
  outline: 2px solid var(--rcc-blue);
  outline-offset: 1px;
  border-color: var(--rcc-blue);
}

.rcc-contact__embed input[type="submit"],
.rcc-contact__embed button[type="submit"] {
  width: auto;
  padding: 15px 34px;
  border: 0;
  border-radius: 100px;
  background: var(--rcc-blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s ease;
}

.rcc-contact__embed input[type="submit"]:hover,
.rcc-contact__embed button[type="submit"]:hover { background: var(--rcc-deep); }

.rcc-contact__details {
  background: var(--rcc-cream);
  border-radius: 16px;
  padding: 34px 32px;
}

.rcc-contact__list { margin: 0; padding: 0; list-style: none; }

.rcc-contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 20px;
  margin: 0 0 20px;
  border-bottom: 1px solid #e3ded2;
}

.rcc-contact__list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

.rcc-contact__icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--rcc-blue);
  color: var(--rcc-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcc-contact__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.rcc-contact__label {
  color: var(--rcc-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.rcc-contact__body a,
.rcc-contact__body span:not(.rcc-contact__label) {
  color: var(--rcc-deep);
  font-size: 16.5px;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.rcc-contact__body a:hover { color: var(--rcc-blue); text-decoration: underline; }

/* ==========================================================================
   Team
   ========================================================================== */

.rcc-team { background: var(--rcc-pale); padding: 90px 0; }

.rcc-team__card {
  background: #fff;
  border: 1px solid #dce9ef;
  border-radius: 16px;
  overflow: hidden;
  padding: 0 0 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.rcc-team__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(29, 145, 212, .15);
}

.rcc-team__photo { aspect-ratio: 4 / 3; overflow: hidden; }

.rcc-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rcc-page .rcc-team__card h3 {
  margin: 22px 26px 2px;
  color: var(--rcc-deep);
  font-size: 19px;
  font-weight: 700;
}

.rcc-page .rcc-team__role {
  margin: 0 26px 10px;
  color: var(--rcc-blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.rcc-page .rcc-team__card p:not(.rcc-team__role) {
  margin: 0 26px;
  color: var(--rcc-body);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .rcc-contact,
  .rcc-team { padding: 60px 0; }

  .rcc-contact__grid { grid-template-columns: 1fr; gap: 45px; }
}

/* ------------------------------------------------- Gravity Forms */

/*
 * Gravity Forms ships its own theme with its own colours, radii and
 * button styling, and it loads after this file. Everything here is
 * marked important for that reason rather than out of habit -- without
 * it the form keeps the plugin's look and ignores the site's.
 *
 * Scoped to our pages, so a form used anywhere else is left alone.
 */

.rcc-page .gform_wrapper {
  --gf-color-primary: var(--rcc-blue);
  --gf-color-primary-contrast: #fff;
  --gf-ctrl-border-color-focus: var(--rcc-blue);
  --gf-ctrl-btn-bg-color-primary: var(--rcc-blue);
  --gf-ctrl-btn-bg-color-hover-primary: var(--rcc-deep);
  --gf-local-radius: 10px;
}

.rcc-page .gform_wrapper .gform_title { display: none !important; }

.rcc-page .gform_wrapper .gform_fields {
  grid-row-gap: 22px !important;
}

.rcc-page .gform_wrapper .gfield_label,
.rcc-page .gform_wrapper legend.gfield_label {
  margin: 0 0 8px !important;
  color: var(--rcc-deep) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
}

.rcc-page .gform_wrapper .gfield_required { color: var(--rcc-blue) !important; }

.rcc-page .gform_wrapper .gfield_description {
  padding-top: 6px !important;
  color: #6b7a85 !important;
  font-size: 13.5px !important;
}

.rcc-page .gform_wrapper input[type="text"],
.rcc-page .gform_wrapper input[type="email"],
.rcc-page .gform_wrapper input[type="tel"],
.rcc-page .gform_wrapper input[type="url"],
.rcc-page .gform_wrapper input[type="number"],
.rcc-page .gform_wrapper input[type="date"],
.rcc-page .gform_wrapper textarea,
.rcc-page .gform_wrapper select {
  width: 100% !important;
  padding: 13px 15px !important;
  border: 1px solid #cfe0e9 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--rcc-body) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.rcc-page .gform_wrapper textarea { min-height: 150px !important; }

.rcc-page .gform_wrapper input:focus,
.rcc-page .gform_wrapper textarea:focus,
.rcc-page .gform_wrapper select:focus {
  border-color: var(--rcc-blue) !important;
  outline: 2px solid rgba(29, 145, 212, .35) !important;
  outline-offset: 1px !important;
}

.rcc-page .gform_wrapper ::placeholder { color: #93a4ae !important; opacity: 1; }

/* Checkboxes and radios */

.rcc-page .gform_wrapper .gfield_checkbox label,
.rcc-page .gform_wrapper .gfield_radio label {
  color: var(--rcc-body) !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
}

.rcc-page .gform_wrapper input[type="checkbox"],
.rcc-page .gform_wrapper input[type="radio"] {
  accent-color: var(--rcc-blue);
  width: auto !important;
}

/* Submit */

.rcc-page .gform_wrapper .gform_footer { margin-top: 26px !important; padding: 0 !important; }

.rcc-page .gform_wrapper .gform_footer input[type="submit"],
.rcc-page .gform_wrapper .gform_footer button,
.rcc-page .gform_wrapper .gform_page_footer input[type="submit"],
.rcc-page .gform_wrapper .gform_button {
  width: auto !important;
  padding: 16px 38px !important;
  border: 0 !important;
  border-radius: 100px !important;
  background: var(--rcc-blue) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease !important;
}

.rcc-page .gform_wrapper .gform_footer input[type="submit"]:hover,
.rcc-page .gform_wrapper .gform_footer button:hover,
.rcc-page .gform_wrapper .gform_button:hover {
  background: var(--rcc-deep) !important;
  transform: translateY(-1px);
}

/* Errors and confirmations, in the site's colours rather than the plugin's red */

.rcc-page .gform_wrapper .gform_validation_errors {
  margin: 0 0 24px !important;
  padding: 16px 20px !important;
  border: 1px solid #f0c4d9 !important;
  border-radius: 12px !important;
  background: #fdf1f6 !important;
  box-shadow: none !important;
}

.rcc-page .gform_wrapper .gform_validation_errors > h2,
.rcc-page .gform_wrapper .gform_validation_errors .gform_submission_error {
  margin: 0 !important;
  color: #a8386a !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
}

.rcc-page .gform_wrapper .gfield_error input,
.rcc-page .gform_wrapper .gfield_error textarea,
.rcc-page .gform_wrapper .gfield_error select {
  border-color: #d98bb2 !important;
  background: #fffafc !important;
}

.rcc-page .gform_wrapper .gfield_validation_message,
.rcc-page .gform_wrapper .validation_message {
  margin-top: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #a8386a !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.rcc-page .gform_confirmation_wrapper,
.rcc-page .gform_confirmation_message {
  padding: 26px 28px !important;
  border-radius: 16px !important;
  background: var(--rcc-cream) !important;
  color: var(--rcc-deep) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
}

/* Multi-page progress bar */

.rcc-page .gform_wrapper .gf_progressbar_percentage { background: var(--rcc-blue) !important; }
.rcc-page .gform_wrapper .gf_progressbar { background: var(--rcc-mist) !important; }

@media (max-width: 767px) {
  .rcc-page .gform_wrapper .gform_footer input[type="submit"],
  .rcc-page .gform_wrapper .gform_button { width: 100% !important; }
}
