/* ==========================================================================
   Roofing Plus Ltd — site stylesheet
   --------------------------------------------------------------------------
   1. Design tokens
   2. Base
   3. Page shell & section reveal animation
   4. Hero + navigation        (.wf-hero*)
   5. About                    (.about-section-v1)
   6. Services                 (.services-section-v1)
   7. Gallery                  (.gallery-section-v2, .section-more)
   8. Call to action           (.cta-section-v1)
   9. Footer                   (.footer-section-v1)
   10. Building blocks for new pages (.rp-*)
   ========================================================================== */


/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Navy */
  --rp-navy-950: #0A1828;
  --rp-navy-900: #0D1F2D;
  --rp-navy-850: #0f1e2e;
  --rp-navy-800: #112233;
  --rp-navy-nav: rgba(15, 28, 46, 0.92);

  /* Section blue (about, services, gallery, CTA, footer) */
  --rp-blue: #1B6FC8;
  --rp-blue-dark: #1558A0;
  --rp-blue-bright: #2E8BF0;
  --rp-blue-tint: rgba(27, 111, 200, 0.15);
  --rp-blue-wash: rgba(27, 111, 200, 0.08);

  /* Hero / nav blue */
  --rp-accent: #2563eb;
  --rp-accent-hover: #1d4ed8;
  --rp-accent-tint: rgba(37, 99, 235, 0.18);
  --rp-accent-light: #93c5fd;

  /* Neutrals */
  --rp-white: #FFFFFF;
  --rp-grey-50: #F8F9FA;
  --rp-text: #333333;
  --rp-text-muted: #666666;
  --rp-star: #f59e0b;

  /* Text on dark backgrounds */
  --rp-on-dark-90: rgba(255, 255, 255, 0.90);
  --rp-on-dark-80: rgba(255, 255, 255, 0.80);
  --rp-on-dark-70: rgba(255, 255, 255, 0.70);
  --rp-on-dark-60: rgba(255, 255, 255, 0.60);
  --rp-on-dark-50: rgba(255, 255, 255, 0.50);
  --rp-on-dark-40: rgba(255, 255, 255, 0.40);
  --rp-on-dark-border: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --rp-gradient-dark: linear-gradient(135deg, #0A1828 0%, #112233 100%);
  --rp-gradient-brand: linear-gradient(135deg, #1B6FC8 0%, #1558A0 100%);
  --rp-gradient-hero: linear-gradient(to right,
    rgba(10, 20, 35, 0.90) 0%,
    rgba(10, 20, 35, 0.86) 20%,
    rgba(10, 20, 35, 0.78) 35%,
    rgba(10, 20, 35, 0.64) 50%,
    rgba(10, 20, 35, 0.46) 65%,
    rgba(10, 20, 35, 0.28) 80%,
    rgba(10, 20, 35, 0.15) 100%);
  --rp-tint-hero-mobile: rgba(10, 20, 35, 0.6);
  --rp-gradient-image-fade: linear-gradient(transparent, rgba(13, 31, 45, 0.85));
  --rp-gradient-card-fade: linear-gradient(transparent, rgba(13, 31, 45, 0.9));

  /* Typography. The Barlow families are not loaded by the site, so they
     currently render in the browser's sans-serif fallback. */
  --rp-font-display: 'Barlow Condensed', sans-serif;
  --rp-font-label: 'Barlow Semi Condensed', sans-serif;
  --rp-font-body: 'Barlow', sans-serif;
  --rp-font-ui: 'Segoe UI', Arial, sans-serif;

  --rp-text-h2: 48px;
  --rp-text-h2-mobile: 36px;
  --rp-text-h3: 28px;
  --rp-text-h3-mobile: 24px;
  --rp-text-h4: 18px;
  --rp-text-lead: 18px;
  --rp-text-body: 17px;
  --rp-text-small: 15px;
  --rp-text-label: 13px;

  --rp-leading-tight: 1.05;
  --rp-leading-body: 1.65;
  --rp-leading-lead: 1.6;
  --rp-tracking-heading: -0.01em;

  /* Layout */
  --rp-container: 1280px;
  --rp-container-wide: 1320px;
  --rp-gutter: 48px;
  --rp-gutter-mobile: 20px;
  --rp-section-pad: 100px;
  --rp-header-gap: 80px;

  /* Shape & motion */
  --rp-radius-sm: 4px;
  --rp-radius-md: 6px;
  --rp-radius-lg: 8px;
  --rp-radius-xl: 10px;
  --rp-shadow-card: 0 12px 40px rgba(0, 0, 0, 0.15);
  --rp-shadow-button: 0 4px 18px rgba(0, 0, 0, 0.2);
  --rp-shadow-button-hover: 0 6px 24px rgba(0, 0, 0, 0.3);
  --rp-ease-reveal: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Breakpoints (reference only; custom properties can't be used in media queries)
     mobile ≤ 480px · tablet ≤ 768px · small desktop ≤ 900px */
}


/* ==========================================================================
   2. Base
   ========================================================================== */

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  margin: 0;
  overscroll-behavior: none;
}


/* ==========================================================================
   3. Page shell & section reveal animation
   --------------------------------------------------------------------------
   Page structure:
     <main class="site-preview-root">
       <div class="wf-assembled-hero-shell" data-wf-section="hero"> …hero… </div>
       <div class="site-section-wf site-section-wf--coordinated" data-wf-section="about">
         <div class="wf-section-body"> <section class="…"> … </section> </div>
       </div>
     </main>

   The reveal needs `wf-anim-js` added to <html> in <head>, plus the
   IntersectionObserver script that adds `.wf-section--in` to each section.
   ========================================================================== */

.site-preview-root {
  display: block;
  min-height: auto;
  background: var(--rp-white);
}

.wf-assembled-hero-shell {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.wf-assembled-hero-shell,
.wf-assembled-hero-shell * {
  color-scheme: normal !important;
}

.site-section-wf {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-top: none;
  background: transparent;
  color: inherit;
}

@keyframes wf-section-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

html.wf-anim-js [data-wf-section]:not(.wf-section--in) .wf-section-body > * > * {
  opacity: 0;
}

[data-wf-section].wf-section--in .wf-section-body > * > * {
  animation: wf-section-in 0.9s var(--rp-ease-reveal) both;
}

@media (prefers-reduced-motion: reduce) {
  html.wf-anim-js [data-wf-section]:not(.wf-section--in) .wf-section-body > * > * {
    opacity: 1;
  }
  [data-wf-section].wf-section--in .wf-section-body > * > * {
    animation: none;
  }
}

@media (max-width: 900px) {
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) {
    padding-left: max(0rem, env(safe-area-inset-left, 0px));
    padding-right: max(0rem, env(safe-area-inset-right, 0px));
  }

  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) img,
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) video,
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) svg {
    max-width: 100%;
    height: auto;
  }

  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) {
    min-width: 0;
  }

  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) [style*="display:grid"],
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) [style*="display: grid"] {
    grid-template-columns: 1fr !important;
  }

  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) [style*="flex-direction:row"],
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) [style*="flex-direction: row"] {
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) button,
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) .button,
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) a[class*="btn"],
  .site-section-wf--coordinated[data-wf-section]:not([data-wf-section="hero"]) a[class*="cta"] {
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }
}


/* ==========================================================================
   4. Hero + navigation
   --------------------------------------------------------------------------
   To use a different photo on another page, set it inline:
     <div class="wf-hero__bg-image" style="background-image:url(…)"></div>
   Add `.wf-hero--page` for a shorter banner on inner pages.
   ========================================================================== */

.wf-hero {
  font-family: var(--rp-font-ui);
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.wf-hero__body {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--rp-navy-850);
}

.wf-hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/input/hero_reference.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wf-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--rp-gradient-hero);
}

/* Navigation */

.wf-hero__nav {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--rp-navy-nav);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.wf-hero__nav--solid {
  background: var(--rp-navy-850);
  font-family: var(--rp-font-ui);
}

.wf-hero__nav-inner {
  max-width: var(--rp-container-wide);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 24px;
}

.wf-hero__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Use logo-light.png on dark backgrounds and logo.png on light ones. */
.wf-hero__logo-img {
  display: block;
  height: 64px;
  width: auto;
}

.wf-hero__nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  align-items: center;
}

.wf-hero__nav-link {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: var(--rp-radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.wf-hero__nav-link:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

.wf-hero__nav-link--active {
  color: #ffffff;
  background: var(--rp-accent-tint);
  border-bottom: 2px solid var(--rp-accent);
  border-radius: 4px 4px 0 0;
}

.wf-hero__nav-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.wf-hero__estimate-btn {
  display: inline-block;
  background: var(--rp-accent);
  color: #ffffff;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: var(--rp-radius-sm);
  border: 2px solid var(--rp-accent);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.wf-hero__estimate-btn:hover {
  background: var(--rp-accent-hover);
  border-color: var(--rp-accent-hover);
}

/* Hero content */

.wf-hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0 40px;
}

.wf-hero__content-inner {
  max-width: 760px;
  margin: 0 auto 0 32px;
  padding: 0 32px;
}

.wf-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rp-accent);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 18px 0;
}

.wf-hero__check {
  flex-shrink: 0;
}

.wf-hero__headline {
  margin: 0 0 22px 0;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.wf-hero__headline-sub {
  display: block;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  color: #ffffff;
}

.wf-hero__description {
  margin: 0 0 28px 0;
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.65;
  max-width: 620px;
}

.wf-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.wf-hero__badge {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 500;
}

.wf-hero__cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.wf-hero__cta-primary {
  display: inline-block;
  background: var(--rp-accent);
  color: #ffffff;
  padding: 16px 34px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  border-radius: var(--rp-radius-sm);
  border: 2px solid var(--rp-accent);
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.wf-hero__cta-primary:hover {
  background: var(--rp-accent-hover);
  border-color: var(--rp-accent-hover);
}

.wf-hero__cta-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  padding: 16px 34px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  border-radius: var(--rp-radius-sm);
  border: 2px solid rgba(255,255,255,0.6);
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}

.wf-hero__cta-secondary:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
}

/* Hero trust bar */

.wf-hero__footer-bar {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 20px 32px 28px;
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: var(--rp-container-wide);
  margin: 0 auto;
  box-sizing: border-box;
}

.wf-hero__trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--rp-on-dark-border);
  border-radius: var(--rp-radius-lg);
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

a.wf-hero__trust-badge:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

a.wf-hero__trust-badge:focus-visible {
  outline: 2px solid var(--rp-accent-light);
  outline-offset: 2px;
}

.wf-hero__trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-hero__trust-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.wf-hero__trust-sub {
  color: rgba(255,255,255,0.55);
  font-size: 11.5px;
  margin-top: 2px;
}

.wf-hero__trust-stars {
  color: var(--rp-star);
  font-size: 17px;
  letter-spacing: 1px;
}

.wf-hero__scroll-hint {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wf-bounce 1.6s ease-in-out infinite;
}

@keyframes wf-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Shorter banner for inner pages */

.wf-hero--page .wf-hero__body {
  min-height: 460px;
}

.wf-hero--page .wf-hero__content {
  padding: 48px 0 56px;
}

/* Mobile menu. Needs the toggle button markup in the nav and the menu
   script from the bottom of final_site_preview.html. */

.wf-hero__menu-toggle {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: var(--rp-radius-sm);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.wf-hero__menu-toggle:focus-visible {
  outline: 2px solid var(--rp-accent-light);
  outline-offset: 2px;
}

.wf-hero__menu-bar {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: top 0.2s ease 0.2s, transform 0.2s ease 0s, opacity 0.1s ease 0.2s;
}

.wf-hero__menu-bar:nth-child(1) { top: 15px; }
.wf-hero__menu-bar:nth-child(2) { top: 21px; }
.wf-hero__menu-bar:nth-child(3) { top: 27px; }

.wf-hero__nav--open .wf-hero__menu-bar {
  transition: top 0.2s ease 0s, transform 0.2s ease 0.2s, opacity 0.1s ease 0.1s;
}

.wf-hero__nav--open .wf-hero__menu-bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.wf-hero__nav--open .wf-hero__menu-bar:nth-child(2) {
  opacity: 0;
}

.wf-hero__nav--open .wf-hero__menu-bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

html.wf-menu-open,
html.wf-menu-open body {
  overflow: hidden;
}

/* Tablet & mobile */

@media (max-width: 1023px) {
  .wf-hero__nav-inner {
    gap: 16px;
  }
  .wf-hero__nav-links {
    gap: 2px;
  }
  .wf-hero__nav-link {
    padding: 8px 10px;
    font-size: 13px;
  }
  .wf-hero__estimate-btn {
    padding: 9px 14px;
    font-size: 12px;
  }
}

@media (min-width: 701px) and (max-width: 859px) {
  .wf-hero__nav-cta {
    display: none;
  }
}

/* The open menu panel sits at z-index -1 inside the nav's stacking context:
   above the nav background and every page section, below the logo and toggle. */
@media (max-width: 700px) {
  .wf-hero__nav {
    z-index: 1000;
  }
  .wf-hero__nav-cta {
    margin-left: auto;
  }
  .wf-hero__menu-toggle {
    display: block;
  }
  .wf-hero__nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 96px var(--rp-gutter-mobile) 32px;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--rp-navy-850) 0%, var(--rp-navy-950) 100%);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s linear 0.5s;
  }
  .wf-hero__nav--open .wf-hero__nav-links {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s;
  }
  .wf-hero__nav-links li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .wf-hero__nav--open .wf-hero__nav-links li {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .wf-hero__nav--open .wf-hero__nav-links li:nth-child(1) { transition-delay: 0.15s; }
  .wf-hero__nav--open .wf-hero__nav-links li:nth-child(2) { transition-delay: 0.2s; }
  .wf-hero__nav--open .wf-hero__nav-links li:nth-child(3) { transition-delay: 0.25s; }
  .wf-hero__nav--open .wf-hero__nav-links li:nth-child(4) { transition-delay: 0.3s; }
  .wf-hero__nav--open .wf-hero__nav-links li:nth-child(5) { transition-delay: 0.35s; }
  .wf-hero__nav--open .wf-hero__nav-links li:nth-child(6) { transition-delay: 0.4s; }
  .wf-hero__nav-link,
  .wf-hero__nav-link--active {
    padding: 18px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0;
  }
  .wf-hero__nav-link:hover {
    background: transparent;
  }
  .wf-hero__nav-link--active {
    color: var(--rp-accent-light);
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .wf-hero__menu-bar,
  .wf-hero__nav--open .wf-hero__menu-bar,
  .wf-hero__nav-links,
  .wf-hero__nav--open .wf-hero__nav-links,
  .wf-hero__nav-links li,
  .wf-hero__nav--open .wf-hero__nav-links li {
    transition: none;
  }
}

@media (max-width: 768px) {
  .wf-hero__overlay {
    background: var(--rp-tint-hero-mobile);
  }
  .wf-hero__eyebrow {
    color: var(--rp-accent-light);
  }
  .wf-hero__check circle,
  .wf-hero__check path {
    stroke: var(--rp-accent-light);
  }
  .wf-hero__nav-inner {
    height: 72px;
    padding: 0 var(--rp-gutter-mobile);
  }
  .wf-hero__logo-img {
    height: 52px;
  }
  .wf-hero__content {
    padding: 40px 0 32px;
  }
  .wf-hero__content-inner {
    margin: 0;
    padding: 0 var(--rp-gutter-mobile);
  }
  .wf-hero__description br {
    display: none;
  }
  .wf-hero__footer-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px var(--rp-gutter-mobile) 24px;
  }
}

@media (max-width: 480px) {
  .wf-hero__nav-inner {
    height: 64px;
    gap: 12px;
  }
  .wf-hero__logo-img {
    height: 44px;
  }
  .wf-hero__estimate-btn {
    padding: 9px 12px;
    font-size: 11.5px;
  }
  .wf-hero__content {
    padding: 32px 0 24px;
  }
  .wf-hero__eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 14px;
  }
  .wf-hero__headline {
    font-size: 34px;
    margin-bottom: 18px;
  }
  .wf-hero__headline-sub {
    font-size: 28px;
  }
  .wf-hero__description {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .wf-hero__badges {
    gap: 10px 20px;
    margin-bottom: 28px;
  }
  .wf-hero__cta-group {
    gap: 12px;
  }
  .wf-hero__cta-primary,
  .wf-hero__cta-secondary {
    flex: 1 1 100%;
    padding: 15px 20px;
    text-align: center;
  }
  .wf-hero__trust-badge {
    padding: 10px 14px;
  }
  .wf-hero__scroll-hint {
    display: none;
  }
}


@media (max-width: 360px) {
  .wf-hero__nav-inner {
    gap: 10px;
    padding: 0 14px;
  }
  .wf-hero__estimate-btn {
    padding: 8px 10px;
    letter-spacing: 0.2px;
  }
}


/* ==========================================================================
   5. About
   ========================================================================== */

.about-section-v1 {
  background: var(--rp-grey-50);
  padding: var(--rp-section-pad) 0;
  position: relative;
}

.about-section-v1 .about-container {
  max-width: var(--rp-container);
  margin: 0 auto;
  padding: 0 var(--rp-gutter);
}

.about-section-v1 .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-section-v1 .section-badge {
  background: var(--rp-blue-tint);
  color: var(--rp-blue);
  padding: 6px 12px;
  border-radius: var(--rp-radius-sm);
  font-family: var(--rp-font-label);
  font-size: var(--rp-text-label);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 24px;
}

.about-section-v1 .about-heading {
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h2);
  font-weight: 800;
  line-height: var(--rp-leading-tight);
  color: var(--rp-navy-900);
  margin-bottom: 32px;
  letter-spacing: var(--rp-tracking-heading);
}

.about-section-v1 .about-intro,
.about-section-v1 .about-detail {
  font-family: var(--rp-font-body);
  font-size: var(--rp-text-body);
  font-weight: 400;
  line-height: var(--rp-leading-body);
  color: var(--rp-text);
  margin-bottom: 24px;
}

.about-section-v1 .about-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}

.about-section-v1 .stat-item {
  text-align: left;
}

.about-section-v1 .stat-number {
  display: block;
  font-family: var(--rp-font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--rp-blue);
  line-height: 1;
}

.about-section-v1 .stat-label {
  display: block;
  font-family: var(--rp-font-label);
  font-size: 14px;
  font-weight: 600;
  color: var(--rp-text-muted);
  letter-spacing: 0.05em;
  margin-top: 8px;
}

.about-section-v1 .about-image {
  position: relative;
  border-radius: var(--rp-radius-xl);
  overflow: hidden;
}

.about-section-v1 .team-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about-section-v1 .image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--rp-gradient-image-fade);
  padding: 40px 32px 32px;
}

.about-section-v1 .overlay-text {
  font-family: var(--rp-font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--rp-white);
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .about-section-v1 .about-container {
    padding: 0 var(--rp-gutter-mobile);
  }
  .about-section-v1 .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-section-v1 .about-heading {
    font-size: var(--rp-text-h2-mobile);
  }
  .about-section-v1 .about-stats {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .about-section-v1 .about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}


/* ==========================================================================
   6. Services
   ========================================================================== */

.services-section-v1 {
  background: var(--rp-gradient-dark);
  padding: var(--rp-section-pad) 0;
}

.services-section-v1 .services-container {
  max-width: var(--rp-container);
  margin: 0 auto;
  padding: 0 var(--rp-gutter);
}

.services-section-v1 .services-header {
  text-align: center;
  margin-bottom: var(--rp-header-gap);
}

.services-section-v1 .services-title {
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h2);
  font-weight: 800;
  line-height: var(--rp-leading-tight);
  color: var(--rp-white);
  margin-bottom: 24px;
  letter-spacing: var(--rp-tracking-heading);
}

.services-section-v1 .services-intro {
  font-family: var(--rp-font-body);
  font-size: var(--rp-text-lead);
  font-weight: 400;
  line-height: var(--rp-leading-lead);
  color: var(--rp-on-dark-80);
  max-width: 700px;
  margin: 0 auto;
}

.services-section-v1 .service-band {
  padding: 48px 0;
  border-left: 4px solid transparent;
  margin-bottom: 24px;
}

.services-section-v1 .service-band.primary {
  background: var(--rp-blue-wash);
  border-left-color: var(--rp-blue);
}

.services-section-v1 .service-band.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: rgba(255, 255, 255, 0.25);
}

.services-section-v1 .band-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--rp-gutter);
}

.services-section-v1 .service-name {
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h3);
  font-weight: 700;
  color: var(--rp-white);
  margin-bottom: 16px;
  letter-spacing: var(--rp-tracking-heading);
}

.services-section-v1 .service-desc {
  font-family: var(--rp-font-body);
  font-size: var(--rp-text-body);
  font-weight: 400;
  line-height: var(--rp-leading-body);
  color: var(--rp-on-dark-80);
  margin: 0;
}

@media (max-width: 768px) {
  .services-section-v1 .services-container {
    padding: 0 var(--rp-gutter-mobile);
  }
  .services-section-v1 .services-title {
    font-size: var(--rp-text-h2-mobile);
  }
  .services-section-v1 .band-content {
    padding: 0 24px;
  }
  .services-section-v1 .service-name {
    font-size: var(--rp-text-h3-mobile);
  }
}


/* ==========================================================================
   7. Gallery
   ========================================================================== */

.gallery-section-v2 {
  background: var(--rp-white);
  padding: var(--rp-section-pad) 0;
}

.gallery-section-v2 .gallery-container {
  max-width: var(--rp-container);
  margin: 0 auto;
  padding: 0 var(--rp-gutter);
}

.gallery-section-v2 .section-header {
  text-align: center;
  margin-bottom: var(--rp-header-gap);
}

.gallery-section-v2 .section-title {
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h2);
  font-weight: 800;
  line-height: var(--rp-leading-tight);
  color: var(--rp-navy-900);
  margin-bottom: 24px;
  letter-spacing: var(--rp-tracking-heading);
}

.gallery-section-v2 .section-description {
  font-family: var(--rp-font-body);
  font-size: var(--rp-text-body);
  font-weight: 400;
  line-height: var(--rp-leading-body);
  color: var(--rp-text-muted);
  max-width: 750px;
  margin: 0 auto;
}

.gallery-section-v2 .masonry-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.gallery-section-v2 .masonry-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-section-v2 .gallery-card {
  position: relative;
  border-radius: var(--rp-radius-xl);
  overflow: hidden;
  background: var(--rp-grey-50);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-section-v2 .gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--rp-shadow-card);
}

.gallery-section-v2 .card-image {
  width: 100%;
  height: auto;
  display: block;
  min-height: 280px;
  object-fit: cover;
}

.gallery-section-v2 .gallery-card:nth-child(odd) .card-image {
  min-height: 320px;
}

.gallery-section-v2 .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--rp-gradient-card-fade);
  padding: 40px 24px 24px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-section-v2 .gallery-card:hover .card-overlay {
  transform: translateY(0);
}

.gallery-section-v2 .card-caption {
  font-family: var(--rp-font-body);
  font-size: var(--rp-text-small);
  font-weight: 500;
  color: var(--rp-white);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .gallery-section-v2 .gallery-container {
    padding: 0 var(--rp-gutter-mobile);
  }
  .gallery-section-v2 .section-title {
    font-size: var(--rp-text-h2-mobile);
  }
  .gallery-section-v2 .masonry-gallery {
    gap: 16px;
  }
  .gallery-section-v2 .masonry-column {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .gallery-section-v2 .masonry-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-section-v2 .gallery-card:nth-child(n) .card-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Section links
   "View more" button at the end of a home page section, linking to its page.
   .section-more__btn            filled, for white sections
   .section-more__btn--outline   for light grey sections
   .section-more__btn--light     for dark sections */

.section-more {
  display: flex;
  margin-top: 48px;
}

.section-more--center {
  justify-content: center;
}

.section-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border: 2px solid var(--rp-accent);
  border-radius: var(--rp-radius-sm);
  background: var(--rp-accent);
  color: var(--rp-white);
  font-family: var(--rp-font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.section-more__btn:hover {
  background: var(--rp-accent-hover);
  border-color: var(--rp-accent-hover);
}

.section-more__btn:focus-visible {
  outline: 2px solid var(--rp-blue-bright);
  outline-offset: 3px;
}

.section-more__btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.section-more__btn:hover svg {
  transform: translateX(4px);
}

.section-more__btn--outline {
  background: transparent;
  color: var(--rp-accent);
}

.section-more__btn--outline:hover {
  background: var(--rp-accent);
  border-color: var(--rp-accent);
  color: var(--rp-white);
}

.section-more__btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--rp-white);
}

.section-more__btn--light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--rp-white);
}

@media (max-width: 480px) {
  .section-more__btn {
    box-sizing: border-box;
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-more__btn svg {
    transition: none;
  }
}


/* ==========================================================================
   8. Call to action
   ========================================================================== */

.cta-section-v1 {
  background: var(--rp-gradient-brand);
  padding: var(--rp-section-pad) 0;
  position: relative;
}

.cta-section-v1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="2" height="2" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.cta-section-v1 .cta-container {
  max-width: var(--rp-container);
  margin: 0 auto;
  padding: 0 var(--rp-gutter);
  position: relative;
  z-index: 2;
}

.cta-section-v1 .cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section-v1 .cta-headline {
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h2);
  font-weight: 800;
  line-height: var(--rp-leading-tight);
  color: var(--rp-white);
  margin-bottom: 24px;
  letter-spacing: var(--rp-tracking-heading);
}

.cta-section-v1 .cta-message {
  font-family: var(--rp-font-body);
  font-size: var(--rp-text-lead);
  font-weight: 400;
  line-height: var(--rp-leading-lead);
  color: var(--rp-on-dark-90);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section-v1 .cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}

.cta-section-v1 .cta-primary {
  background: var(--rp-white);
  color: var(--rp-blue);
  padding: 16px 32px;
  border-radius: var(--rp-radius-md);
  font-family: var(--rp-font-label);
  font-size: var(--rp-text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--rp-shadow-button);
}

.cta-section-v1 .cta-primary:hover {
  background: var(--rp-grey-50);
  transform: translateY(-2px);
  box-shadow: var(--rp-shadow-button-hover);
}

.cta-section-v1 .cta-secondary {
  background: transparent;
  color: var(--rp-white);
  padding: 14px 32px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--rp-radius-md);
  font-family: var(--rp-font-label);
  font-size: var(--rp-text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-section-v1 .cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--rp-white);
}

.cta-section-v1 .trust-indicators {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section-v1 .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.cta-section-v1 .trust-icon {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--rp-white);
  flex-shrink: 0;
}

.cta-section-v1 .trust-text {
  font-family: var(--rp-font-label);
  font-size: 12px;
  font-weight: 600;
  color: var(--rp-on-dark-80);
  letter-spacing: 0.05em;
  text-align: left;
}

@media (max-width: 768px) {
  .cta-section-v1 .cta-container {
    padding: 0 var(--rp-gutter-mobile);
  }
  .cta-section-v1 .cta-headline {
    font-size: var(--rp-text-h2-mobile);
  }
  .cta-section-v1 .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-section-v1 .trust-indicators {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cta-section-v1 .trust-item {
    justify-content: flex-start;
  }
}


/* ==========================================================================
   9. Footer
   ========================================================================== */

.footer-section-v1 {
  background: var(--rp-navy-900);
  padding: 60px 0 24px;
}

.footer-section-v1 .footer-container {
  max-width: var(--rp-container);
  margin: 0 auto;
  padding: 0 var(--rp-gutter);
}

.footer-section-v1 .footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rp-on-dark-border);
}

.footer-section-v1 .brand-name {
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h3);
  font-weight: 800;
  color: var(--rp-white);
  margin-bottom: 16px;
  letter-spacing: var(--rp-tracking-heading);
}

.footer-section-v1 .brand-description {
  font-family: var(--rp-font-body);
  font-size: var(--rp-text-small);
  font-weight: 400;
  line-height: var(--rp-leading-lead);
  color: var(--rp-on-dark-70);
  margin-bottom: 32px;
  max-width: 400px;
}

.footer-section-v1 .contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section-v1 .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section-v1 .contact-label {
  font-family: var(--rp-font-label);
  font-size: 14px;
  font-weight: 600;
  color: var(--rp-on-dark-60);
  min-width: 60px;
}

.footer-section-v1 .contact-link {
  font-family: var(--rp-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--rp-blue-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section-v1 .contact-link:hover {
  color: var(--rp-white);
}

.footer-section-v1 .contact-text {
  font-family: var(--rp-font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--rp-on-dark-70);
}

.footer-section-v1 .footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-section-v1 .group-title {
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h4);
  font-weight: 700;
  color: var(--rp-white);
  margin-bottom: 16px;
  letter-spacing: var(--rp-tracking-heading);
}

.footer-section-v1 .link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section-v1 .footer-link {
  font-family: var(--rp-font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--rp-on-dark-70);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section-v1 .footer-link:hover {
  color: var(--rp-blue-bright);
}

.footer-section-v1 .footer-bottom {
  padding-top: 32px;
  text-align: center;
}

.footer-section-v1 .copyright {
  font-family: var(--rp-font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--rp-on-dark-50);
  margin-bottom: 8px;
}

.footer-section-v1 .tagline {
  font-family: var(--rp-font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--rp-on-dark-40);
  font-style: italic;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-section-v1 .footer-container {
    padding: 0 var(--rp-gutter-mobile);
  }
  .footer-section-v1 .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-section-v1 .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ==========================================================================
   10. Building blocks for new pages
   --------------------------------------------------------------------------
   Generic versions of the patterns above, for content that doesn't fit an
   existing section. They use the same tokens, so they sit alongside the
   existing sections without visual drift.
   ========================================================================== */

/* Layout */

.rp-container {
  max-width: var(--rp-container);
  margin: 0 auto;
  padding: 0 var(--rp-gutter);
}

.rp-container--narrow {
  max-width: 800px;
}

.rp-section {
  position: relative;
  padding: var(--rp-section-pad) 0;
  background: var(--rp-white);
  color: var(--rp-text);
}

.rp-section--light {
  background: var(--rp-grey-50);
}

.rp-section--dark {
  background: var(--rp-gradient-dark);
  color: var(--rp-on-dark-80);
}

.rp-section--navy {
  background: var(--rp-navy-900);
  color: var(--rp-on-dark-70);
}

.rp-section--brand {
  background: var(--rp-gradient-brand);
  color: var(--rp-on-dark-90);
}

.rp-section--brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="2" height="2" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.rp-section--brand > * {
  position: relative;
  z-index: 2;
}

.rp-section-header {
  text-align: center;
  margin-bottom: var(--rp-header-gap);
}

.rp-section-header .rp-lead,
.rp-section-header .rp-text {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.rp-grid {
  display: grid;
  gap: 24px;
}

.rp-grid--2 {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rp-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.rp-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Typography */

.rp-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 12px;
  border-radius: var(--rp-radius-sm);
  background: var(--rp-blue-tint);
  color: var(--rp-blue);
  font-family: var(--rp-font-label);
  font-size: var(--rp-text-label);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.rp-section--dark .rp-badge,
.rp-section--navy .rp-badge,
.rp-section--brand .rp-badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--rp-white);
}

.rp-h1,
.rp-h2 {
  margin: 0 0 24px;
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h2);
  font-weight: 800;
  line-height: var(--rp-leading-tight);
  letter-spacing: var(--rp-tracking-heading);
  color: var(--rp-navy-900);
}

.rp-h1 {
  font-size: clamp(40px, 5vw, 62px);
}

.rp-h3 {
  margin: 0 0 16px;
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h3);
  font-weight: 700;
  letter-spacing: var(--rp-tracking-heading);
  color: var(--rp-navy-900);
}

.rp-h4 {
  margin: 0 0 16px;
  font-family: var(--rp-font-display);
  font-size: var(--rp-text-h4);
  font-weight: 700;
  letter-spacing: var(--rp-tracking-heading);
  color: var(--rp-navy-900);
}

.rp-section--dark :is(.rp-h1, .rp-h2, .rp-h3, .rp-h4),
.rp-section--navy :is(.rp-h1, .rp-h2, .rp-h3, .rp-h4),
.rp-section--brand :is(.rp-h1, .rp-h2, .rp-h3, .rp-h4) {
  color: var(--rp-white);
}

.rp-lead {
  margin: 0 0 24px;
  font-family: var(--rp-font-body);
  font-size: var(--rp-text-lead);
  font-weight: 400;
  line-height: var(--rp-leading-lead);
}

.rp-text {
  margin: 0 0 24px;
  font-family: var(--rp-font-body);
  font-size: var(--rp-text-body);
  font-weight: 400;
  line-height: var(--rp-leading-body);
}

.rp-text--muted {
  color: var(--rp-text-muted);
}

.rp-text-link {
  color: var(--rp-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rp-text-link:hover {
  color: var(--rp-blue-dark);
}

.rp-section--dark .rp-text-link,
.rp-section--navy .rp-text-link {
  color: var(--rp-blue-bright);
}

/* Buttons
   .rp-btn--primary / --outline-light  match the hero buttons
   .rp-btn--white / --ghost             match the call-to-action buttons */

.rp-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.rp-btn {
  display: inline-block;
  padding: 16px 34px;
  border: 2px solid transparent;
  border-radius: var(--rp-radius-sm);
  font-family: var(--rp-font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.rp-btn--primary {
  background: var(--rp-accent);
  border-color: var(--rp-accent);
  color: #ffffff;
}

.rp-btn--primary:hover {
  background: var(--rp-accent-hover);
  border-color: var(--rp-accent-hover);
}

.rp-btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
}

.rp-btn--outline-light:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
}

.rp-btn--outline-dark {
  background: transparent;
  border-color: var(--rp-accent);
  color: var(--rp-accent);
}

.rp-btn--outline-dark:hover {
  background: var(--rp-accent);
  color: #ffffff;
}

.rp-btn--white,
.rp-btn--ghost {
  border-radius: var(--rp-radius-md);
  font-family: var(--rp-font-label);
  font-size: var(--rp-text-small);
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.rp-btn--white {
  padding: 16px 32px;
  border: none;
  background: var(--rp-white);
  color: var(--rp-blue);
  box-shadow: var(--rp-shadow-button);
}

.rp-btn--white:hover {
  background: var(--rp-grey-50);
  transform: translateY(-2px);
  box-shadow: var(--rp-shadow-button-hover);
}

.rp-btn--ghost {
  padding: 14px 32px;
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
  color: var(--rp-white);
}

.rp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--rp-white);
}

/* Cards */

.rp-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--rp-radius-xl);
  background: var(--rp-white);
  box-shadow: 0 2px 12px rgba(13, 31, 45, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rp-card--hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--rp-shadow-card);
}

.rp-card__image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.rp-card__body {
  padding: 32px;
}

.rp-card--band {
  border-radius: 0;
  border-left: 4px solid var(--rp-blue);
  background: var(--rp-blue-wash);
  box-shadow: none;
}

.rp-section--dark .rp-card--band:nth-child(even) {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: rgba(255, 255, 255, 0.25);
}

/* Image with caption fade */

.rp-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--rp-radius-xl);
}

.rp-media img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.rp-media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 40px 32px 32px;
  background: var(--rp-gradient-image-fade);
  color: var(--rp-white);
  font-family: var(--rp-font-body);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
}

/* Stats */

.rp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 48px;
}

.rp-stat__number {
  display: block;
  font-family: var(--rp-font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--rp-blue);
}

.rp-stat__label {
  display: block;
  margin-top: 8px;
  font-family: var(--rp-font-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--rp-text-muted);
}

/* Tick list */

.rp-checklist {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.rp-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rp-font-label);
  font-size: var(--rp-text-small);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.rp-checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rp-blue-tint);
  color: var(--rp-blue);
  font-size: 12px;
  font-weight: 700;
}

.rp-section--dark .rp-checklist li::before,
.rp-section--navy .rp-checklist li::before,
.rp-section--brand .rp-checklist li::before {
  background: rgba(255, 255, 255, 0.2);
  color: var(--rp-white);
}

/* Forms */

.rp-form {
  display: grid;
  gap: 20px;
}

.rp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.rp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rp-label {
  font-family: var(--rp-font-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--rp-navy-900);
}

.rp-input,
.rp-select,
.rp-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid rgba(13, 31, 45, 0.18);
  border-radius: var(--rp-radius-md);
  background: var(--rp-white);
  color: var(--rp-text);
  font-family: var(--rp-font-body);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rp-textarea {
  min-height: 160px;
  resize: vertical;
}

.rp-input::placeholder,
.rp-textarea::placeholder {
  color: #9aa3ab;
}

.rp-input:focus,
.rp-select:focus,
.rp-textarea:focus {
  outline: none;
  border-color: var(--rp-blue);
  box-shadow: 0 0 0 3px var(--rp-blue-tint);
}

.rp-section--dark .rp-label,
.rp-section--navy .rp-label,
.rp-section--brand .rp-label {
  color: var(--rp-white);
}

/* Responsive */

@media (max-width: 768px) {
  .rp-container {
    padding: 0 var(--rp-gutter-mobile);
  }

  .rp-h1,
  .rp-h2 {
    font-size: var(--rp-text-h2-mobile);
  }

  .rp-h3 {
    font-size: var(--rp-text-h3-mobile);
  }

  .rp-grid--2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .rp-grid--3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rp-grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .rp-stats {
    gap: 32px;
  }

  .rp-form__row {
    grid-template-columns: 1fr;
  }

  .rp-card__body {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .rp-btn {
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }
}
