/* ============================================
   Riley's Roofing — About Us Page CSS
   Extends styles.css — relies on the same
   :root tokens (--rr-green, --rr-black, etc.)
   defined in the main stylesheet. Enqueue this
   file ONLY on the About Us template, or append
   it to the bottom of the main stylesheet.
   ============================================ */

/* ── BREADCRUMB ── */
.rr-breadcrumb { margin-bottom: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; font-weight: 700; color: #9a9a9a; }
.rr-breadcrumb a { color: #9a9a9a; text-decoration: none; }
.rr-breadcrumb a:hover { color: var(--rr-green); }
.rr-breadcrumb [aria-current="page"] { color: var(--rr-green); }
.rr-breadcrumb-sep { margin: 0 8px; color: #555; }

/* ── ABOUT HERO ── */
.rr-about-hero { position: relative; min-height: 340px; background: #07090b; overflow: hidden; display: flex; align-items: center; }
.rr-about-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.78) 45%, rgba(0,0,0,.35) 100%),
    url('https://cms-staginglink3.com/riley-roofing/v1/wp-content/themes/twentytwentyfive/assets/images/hero-roof-house.jpeg') center 30%/cover no-repeat;
}
.rr-about-hero-inner { position: relative; padding: 56px 0 48px; max-width: 720px; }
.rr-about-hero h1 { font-family: var(--rr-font-head); font-size: 46px; line-height: .98; margin: 8px 0 16px; color: #fff; text-transform: uppercase; letter-spacing: -1px; }
.rr-about-hero h1 span { color: var(--rr-green); }
.rr-about-hero-text { color: #ccc; font-size: 16px; max-width: 540px; line-height: 1.55; margin-bottom: 4px; }

/* ── SHARED SECTION SPACING ── */
.rr-section { padding: 56px 0; background: #fff; }
.rr-section h2 { font-family: var(--rr-font-head); text-transform: uppercase; font-size: 28px; line-height: 1.1; letter-spacing: .3px; color: #111; margin: 0 0 20px; }
.rr-weather-section h2 { color: #fff; text-align: center; margin: 0 0 28px; }
.rr-weather-section .rr-section-kicker { text-align: center; }

/* ── INTRO / WHO WE ARE ── */
.rr-intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.rr-intro-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 8px; display: block; }
.rr-intro-copy p { font-size: 15px; line-height: 1.65; color: #3a3a3a; margin-bottom: 16px; }
.rr-intro-copy p:last-child { margin-bottom: 0; }
.rr-intro-copy a { color: var(--rr-green-dark); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(111,161,0,.35); }
.rr-intro-copy a:hover { text-decoration-color: var(--rr-green-dark); }

/* ── WEATHER SECTION ── */
.rr-weather-section { padding: 56px 0 60px; }
.rr-weather-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.rr-weather-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 22px 16px; text-align: center; }
.rr-weather-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 999px; background: rgba(147,201,18,.12); border: 2px solid var(--rr-green); color: var(--rr-green); font-size: 20px; margin-bottom: 12px; }
.rr-weather-card h3 { font-size: 14px; text-transform: uppercase; font-weight: 900; color: #fff; margin: 0 0 6px; letter-spacing: .2px; }
.rr-weather-card p { font-size: 12.5px; color: #b8b8b8; line-height: 1.5; margin: 0; }
.rr-weather-copy { max-width: 760px; margin: 0 auto 28px; text-align: center; color: #ccc; font-size: 15px; line-height: 1.6; }
.rr-pullquote { max-width: 760px; margin: 0 auto; border-left: 4px solid var(--rr-green); padding: 4px 0 4px 22px; font-family: var(--rr-font-head); font-size: 19px; line-height: 1.4; color: #fff; font-style: normal; text-transform: none; letter-spacing: .2px; }

/* ── HOW WE WORK ── */
.rr-howwework-section h2 { text-align: center; }
.rr-howwework-section .rr-section-kicker { text-align: center; }
.rr-value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.rr-value-card { border: 1px solid #e2e2e2; border-radius: 8px; padding: 26px 24px; background: #fafafa; }
.rr-value-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; background: var(--rr-green); color: #fff; font-size: 18px; margin-bottom: 14px; }
.rr-value-card h3 { font-size: 15px; text-transform: uppercase; font-weight: 900; margin: 0 0 8px; color: #111; }
.rr-value-card p { font-size: 13.5px; line-height: 1.6; color: #4a4a4a; margin: 0; }
.rr-value-card p a { color: var(--rr-green-dark); font-weight: 800; text-decoration: none; }

/* ── LOCAL & LICENSED ── */
.rr-local-section { background: var(--rr-gray); }
.rr-local-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.rr-local-copy p { font-size: 15px; line-height: 1.65; color: #3a3a3a; margin-bottom: 18px; }
.rr-trust-row { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rr-trust-row li { font-size: 13.5px; font-weight: 800; color: #222; display: flex; align-items: center; gap: 10px; }
.rr-trust-row i { color: var(--rr-green-dark); width: 18px; text-align: center; }
.rr-local-badge { display: flex; justify-content: center; }
.rr-local-badge svg { width: 160px; height: auto; }

/* ── ABOUT CTA BAND ── */
.rr-about-cta { background: var(--rr-gray); padding-top: 8px; }
.rr-about-cta .rr-callout p a { color: #050607; font-weight: 800; text-decoration: underline; }
.rr-about-cta .rr-callout-dark p a { color: #fff; }

/* ── NAV ACTIVE STATE ── */
.rr-nav a.is-active { color: var(--rr-green); position: relative; }
.rr-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--rr-green); }

/* ================================================
   TABLET — max 1024px
   ================================================ */
@media (max-width: 1024px) {
  .rr-about-hero h1 { font-size: 38px; }
  .rr-intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .rr-intro-media img { min-height: 260px; }
  .rr-weather-grid { grid-template-columns: repeat(2, 1fr); }
  .rr-local-grid { grid-template-columns: 1fr; gap: 28px; }
  .rr-local-badge { order: -1; }
}

/* ================================================
   MOBILE — max 768px
   ================================================ */
@media (max-width: 768px) {
  .rr-about-hero { min-height: auto; }
  .rr-about-hero-inner { padding: 36px 0 32px; }
  .rr-about-hero h1 { font-size: 30px; letter-spacing: -.5px; }
  .rr-about-hero-text { font-size: 14px; }
  .rr-hero-actions { flex-direction: column; gap: 10px; }
  .rr-hero-actions .rr-btn { width: 100%; justify-content: center; }

  .rr-section { padding: 40px 0; }
  .rr-section h2 { font-size: 22px; }

  .rr-value-grid { grid-template-columns: 1fr; }
  .rr-weather-grid { grid-template-columns: 1fr; }
  .rr-pullquote { font-size: 16px; }

  .rr-callout-grid { grid-template-columns: 1fr !important; gap: 10px; padding: 0 16px 16px; }
  .rr-callout-green { border-radius: 8px; }
  .rr-callout-dark { border-radius: 8px; }
}

/* ================================================
   SMALL MOBILE — max 480px
   ================================================ */
@media (max-width: 480px) {
  .rr-about-hero h1 { font-size: 26px; }
  .rr-local-badge svg { width: 130px; }
}
