/*
Theme Name:   Blocksy Child Response24
Theme URI:    https://response24.co.uk
Description:  Dark professional child theme for Response24 built on Blocksy Premium
Author:       Response24
Author URI:   https://response24.co.uk
Template:     blocksy
Version:      2.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  blocksy-child-response24
*/

/* ========================================
   RESPONSE24 BRAND IDENTITY - DARK THEME
   ======================================== */

:root {
  --r24-red:        #CC0000;
  --r24-dark:       #111111;
  --r24-card:       #1A1A1A;
  --r24-section:    #F4F4F4;
  --r24-border-dk:  #2A2A2A;
  --r24-border-lt:  #DDDDDD;
  --r24-white:      #FFFFFF;
  --r24-text-grey:  rgba(255,255,255,0.72);
  --r24-text-dark:  #1A1A1A;
  --r24-text-mid:   #595959;
  --r24-max:        1200px;
  --r24-font:       'IBM Plex Sans', Arial, Helvetica, sans-serif;
}

/* SUBTLE TEXTURE ENHANCEMENT FOR LIGHT SECTIONS:
   Adds paper-like texture to light grey sections for tactile quality.
   Applied via background-image on sections using var(--r24-section). */

/* ========================================
   GLOBAL RESETS & BASE STYLES
   ======================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--r24-text-dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FONT TRIAL — IBM PLEX SANS

   To revert to Arial:
   1. Set --r24-font back to "Arial, Helvetica, sans-serif" in :root
   2. Remove the Google Fonts enqueue in functions.php
   3. Delete this entire block
   ═══════════════════════════════════════════════════════════════ */

/* Apply IBM Plex Sans globally */
body,
h1, h2, h3, h4, h5, h6,
p, a, li, span, button, input, textarea, select, label {
  font-family: var(--r24-font);
}

/* Heading weight and spacing adjustments for IBM Plex Sans */
h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-weight: 600;
}

/* Hero headings — large homepage and page hero headings */
.r24-hero h1,
.page-hero h1,
.r24-insurance-hero h1,
.r24-about-hero h1,
.r24-services-hero h1,
.r24-tech-hero h1,
.r24-contact-hero h1,
.r24-private-hero h1,
.r24-corporate-hero h1,
.r24-legal-hero h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Eyebrow labels — IBM Plex Sans has better letter-spacing at small sizes */
.r24-eyebrow,
.r24-insurance-eyebrow,
.r24-legal-eyebrow,
[class*="eyebrow"] {
  font-size: 12px;
  color: var(--r24-red);
  letter-spacing: 0.10em;
  font-weight: 600;
}

/* Button labels */
.r24-btn-primary,
.r24-btn-secondary,
.r24-cta-primary,
.r24-cta-secondary,
.r24-btn-cta-primary,
.r24-btn-cta-secondary,
.r24-footer-cta-btn,
button,
[class*="btn"] {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════════════
   END FONT TRIAL BLOCK
   ═══════════════════════════════════════════════════════════════ */

/* ========================================
   HEADER STYLING OVERRIDE
   ======================================== */

/* Force dark header background */
#header,
.ct-header,
[data-id="header"],
.site-header {
  background-color: var(--r24-dark) !important;
  background: var(--r24-dark) !important;
}

/* Ensure logo and navigation are visible on dark background */
#header a,
.ct-header a,
[data-id="header"] a {
  color: var(--r24-white) !important;
}

/* Style navigation menu links */
.ct-header .menu a,
#header .menu a,
[data-id="header"] .menu a {
  color: var(--r24-white) !important;
}

.ct-header .menu a:hover,
#header .menu a:hover,
[data-id="header"] .menu a:hover {
  color: var(--r24-red) !important;
}

/* Mobile menu toggle */
.ct-header-mobile .ct-menu-toggle,
#header .ct-menu-toggle {
  color: var(--r24-white) !important;
}

/* Dropdown menus */
.ct-header .sub-menu,
#header .sub-menu {
  background-color: var(--r24-card) !important;
}

.ct-header .sub-menu a,
#header .sub-menu a {
  color: var(--r24-white) !important;
}

.ct-header .sub-menu a:hover,
#header .sub-menu a:hover {
  background-color: var(--r24-dark) !important;
  color: var(--r24-red) !important;
}

/* ========================================
   HOMEPAGE SECTIONS
   ======================================== */

/* Full-width section wrapper */
.r24-section {
  width: 100%;
  position: relative;
}

/* Content container - constrained to max-width */
.r24-container {
  max-width: var(--r24-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   SECTION 1 - HERO
   ======================================== */

/* Grid background pattern applied to other hero sections (not homepage) */
.r24-insurance-hero,
.r24-about-hero,
.r24-service-hero,
.r24-tech-hero,
.r24-history-hero,
.r24-contact-hero,
.r24-private-hero,
.r24-insights-hero,
.r24-insight-hero,
.r24-legal-hero {
  background-color: var(--r24-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  position: relative;
  overflow: hidden;
}

/* Homepage hero — canvas-based animation */
#r24-hero {
  position: relative;
  overflow: hidden;
  background: #111111;
  min-height: 560px;
  color: var(--r24-white);
  padding: 100px 0;
  text-align: center;
}

/* Hero content sits above canvas */
.r24-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.r24-hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--r24-white);
  margin: 0 0 28px 0;
  line-height: 1.2;
}

.r24-hero .hero-subheadline {
  font-size: 19px;
  font-weight: 400;
  color: var(--r24-text-grey);
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.r24-hero .hero-strapline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 40px 0;
}

.r24-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* BUTTON SYSTEM:
   Primary buttons (red fill, white text): .r24-btn-primary, .r24-cta-primary, .r24-insurance-btn-primary
   Secondary buttons (transparent, white border): .r24-btn-secondary, .r24-cta-secondary
   NOTE: Multiple class names exist for historical reasons. Ideally these would be consolidated
   to .r24-btn-primary and .r24-btn-secondary across all templates. Current classes serve
   identical visual purposes with consistent padding (15px 30px) and sizing (15px font). */

.r24-btn-primary {
  background: var(--r24-red);
  color: var(--r24-white);
  border: none;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

.r24-btn-primary:hover {
  background: #AA0000;
  color: var(--r24-white);
  text-decoration: none;
}

.r24-btn-secondary {
  background: transparent;
  color: var(--r24-white);
  border: 2px solid rgba(255, 255, 255, 0.40);
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.r24-btn-secondary:hover {
  border-color: var(--r24-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--r24-white);
  text-decoration: none;
}

/* ========================================
   SECTION 2 - STAT COUNTERS
   ======================================== */

.r24-stats {
  background-color: var(--r24-red);
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    );
  color: var(--r24-white);
  padding: 40px 0;
  position: relative;
}

.r24-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Hide any injected elements beyond the 4 stat items */
.r24-stats-grid > *:not(.r24-stat-item),
.r24-stats-grid > .r24-stat-item:nth-child(n+5) {
  display: none !important;
}

.r24-stat-item {
  text-align: center;
  padding: 12px 20px;
}

.r24-stat-number {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--r24-white);
  line-height: 1;
  margin: 0 0 6px 0;
}

.r24-stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* ========================================
   RESPONSIVE - TABLET (768px - 1023px)
   ======================================== */

@media (max-width: 1023px) {
  .r24-hero {
    padding: 85px 0;
  }

  .r24-hero h1 {
    font-size: 36px;
  }

  .r24-hero .hero-subheadline {
    font-size: 17px;
  }

  .r24-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .r24-stat-number {
    font-size: 40px;
  }
}

/* ========================================
   RESPONSIVE - MOBILE (below 768px)
   ======================================== */

@media (max-width: 767px) {
  .r24-hero {
    padding: 60px 0;
  }

  .r24-hero h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .r24-hero .hero-subheadline {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .r24-hero .hero-strapline {
    font-size: 12px;
    margin-bottom: 32px;
  }

  .r24-hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .r24-btn-primary,
  .r24-btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .r24-stats {
    padding: 36px 0;
  }

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

  .r24-stat-number {
    font-size: 36px;
  }

  .r24-stat-label {
    font-size: 13px;
  }
}

/* ========================================
   SECTION 3 - AUDIENCE BLOCKS
   ======================================== */

/* CARD BORDER CONVENTION:
   - Vertical cards (portrait orientation): border-top: 3px solid var(--r24-red)
   - Horizontal panels (landscape/wide): border-left: 4px solid var(--r24-red)
   This convention is used consistently across the site for visual clarity. */

.r24-audience {
  background-color: var(--r24-dark);
  color: var(--r24-white);
  padding: 80px 0;
}

.r24-audience-header {
  text-align: center;
  margin-bottom: 52px;
}

.r24-audience-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--r24-white);
  margin: 0 0 12px 0;
}

.r24-audience-header p {
  font-size: 17px;
  color: var(--r24-text-grey);
  max-width: 560px;
  margin: 0 auto;
}

.r24-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.r24-audience-card {
  background: var(--r24-card);
  border: 1px solid var(--r24-border-dk);
  border-top: 3px solid var(--r24-red);
  border-radius: 4px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.r24-audience-card:hover {
  background: #222222;
  border-color: var(--r24-red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.r24-card-icon {
  display: block;
  margin-bottom: 16px;
  color: var(--r24-red);
  line-height: 1;
}

.r24-card-icon svg {
  display: block;
}

/* On hover — icon brightens with card hover state */
.r24-audience-card:hover .r24-card-icon {
  color: #ff1a1a;
  transition: color 0.2s ease;
}

.r24-audience-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--r24-white);
  margin: 0 0 12px 0;
}

.r24-audience-card p {
  font-size: 15px;
  color: var(--r24-text-grey);
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.r24-audience-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--r24-red);
  text-decoration: none;
  display: inline-block;
  transition: text-decoration 0.2s ease;
}

.r24-audience-card a:hover {
  text-decoration: underline;
}

/* Responsive - Tablet */
@media (max-width: 1023px) {
  .r24-audience {
    padding: 55px 0;
  }

  .r24-audience-header h2 {
    font-size: 28px;
  }

  .r24-audience-header p {
    font-size: 16px;
  }

  .r24-audience-header {
    margin-bottom: 40px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .r24-audience {
    padding: 55px 0;
  }

  .r24-audience-header h2 {
    font-size: 24px;
  }

  .r24-audience-header p {
    font-size: 15px;
  }

  .r24-audience-header {
    margin-bottom: 36px;
  }

  .r24-audience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .r24-audience-card {
    padding: 28px;
  }
}

/* ========================================
   SECTION 4 - PARTNER NETWORK
   ======================================== */

.r24-partners {
  background-color: var(--r24-section);
  background-image:
    url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="300" height="300" filter="url(%23noise)" opacity="0.02"/></svg>');
  color: var(--r24-text-dark);
  padding: 80px 0;
}

.r24-partners-header {
  text-align: center;
  margin-bottom: 52px;
}

.r24-partners-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--r24-text-dark);
  margin: 0 0 12px 0;
}

.r24-partners-header p {
  font-size: 17px;
  color: var(--r24-text-mid);
  max-width: 640px;
  margin: 0 auto;
}

.r24-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.r24-partner-panel {
  background: var(--r24-white);
  border: 1px solid var(--r24-border-lt);
  border-left: 4px solid var(--r24-red);
  border-radius: 4px;
  padding: 28px;
}

/* Icon styling for partner panels (light background) */
.r24-partner-panel .r24-card-icon {
  display: block;
  margin-bottom: 16px;
  color: var(--r24-red);
  line-height: 1;
}

.r24-partner-panel .r24-card-icon svg {
  display: block;
}

.r24-partner-panel h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--r24-text-dark);
  margin: 0 0 10px 0;
}

.r24-partner-specialism {
  font-size: 14px;
  color: var(--r24-text-dark);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.r24-partner-lines-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--r24-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin: 0 0 4px 0;
}

.r24-partner-lines-content {
  font-size: 13px;
  color: var(--r24-text-mid);
  margin: 0;
  line-height: 1.5;
}

/* Responsive - Tablet */
@media (max-width: 1023px) {
  .r24-partners {
    padding: 55px 0;
  }

  .r24-partners-header h2 {
    font-size: 28px;
  }

  .r24-partners-header p {
    font-size: 16px;
  }

  .r24-partners-header {
    margin-bottom: 40px;
  }

  .r24-partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .r24-partners {
    padding: 55px 0;
  }

  .r24-partners-header h2 {
    font-size: 24px;
  }

  .r24-partners-header p {
    font-size: 15px;
  }

  .r24-partners-header {
    margin-bottom: 36px;
  }

  .r24-partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .r24-partner-panel {
    padding: 24px;
  }
}

/* ========================================
   SECTION 5 - CONNECT PLATFORM
   ======================================== */

.r24-connect {
  background-color: var(--r24-dark);
  color: var(--r24-white);
  padding: 80px 0;
}

.r24-connect-header {
  text-align: center;
  margin-bottom: 52px;
}

.r24-connect-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--r24-white);
  margin: 0 0 12px 0;
}

.r24-connect-header p {
  font-size: 16px;
  color: var(--r24-text-grey);
  max-width: 600px;
  margin: 0 auto;
}

.r24-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.r24-connect-column {
  background: var(--r24-card);
  border: 1px solid var(--r24-border-dk);
  border-top: 3px solid var(--r24-red);
  border-radius: 4px;
  padding: 36px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.r24-connect-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--r24-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin: 0 0 14px 0;
}

.r24-connect-column h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--r24-white);
  margin: 0 0 14px 0;
}

.r24-connect-description {
  font-size: 15px;
  color: var(--r24-text-grey);
  line-height: 1.7;
  margin: 0 0 24px 0;
}

.r24-connect-divider {
  border: none;
  border-top: 1px solid var(--r24-border-dk);
  margin: 0 0 20px 0;
}

.r24-connect-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.r24-connect-features li {
  font-size: 14px;
  color: var(--r24-text-grey);
  line-height: 2.2;
  margin: 0;
  padding: 0;
}

.r24-connect-features li::before {
  content: "· ";
  color: var(--r24-red);
  font-weight: 700;
  margin-right: 8px;
}

.r24-connect-note {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
  font-style: italic;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   SECTION 6 - FOOTER CTA
   ======================================== */

.r24-footer-cta {
  background-color: var(--r24-red);
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    );
  color: var(--r24-white);
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.r24-cta-headline {
  font-size: 32px;
  font-weight: 800;
  color: var(--r24-white);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.r24-cta-subtext {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 36px 0;
  line-height: 1.4;
}

.r24-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.r24-btn-cta-primary {
  background: var(--r24-white);
  color: var(--r24-red);
  border: none;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

.r24-btn-cta-primary:hover {
  background: #F0F0F0;
  color: var(--r24-red);
  text-decoration: none;
}

.r24-btn-cta-secondary {
  background: transparent;
  color: var(--r24-white);
  border: 2px solid rgba(255, 255, 255, 0.50);
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.r24-btn-cta-secondary:hover {
  border-color: var(--r24-white);
  background: rgba(255, 255, 255, 0.12);
  color: var(--r24-white);
  text-decoration: none;
}

/* Responsive - Tablet */
@media (max-width: 1023px) {
  .r24-connect {
    padding: 55px 0;
  }

  .r24-connect-header h2 {
    font-size: 28px;
  }

  .r24-connect-header p {
    font-size: 15px;
  }

  .r24-connect-header {
    margin-bottom: 40px;
  }

  .r24-connect-grid {
    gap: 24px;
  }

  .r24-footer-cta {
    padding: 45px 0;
  }

  .r24-cta-headline {
    font-size: 30px;
  }

  .r24-cta-subtext {
    font-size: 16px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .r24-connect {
    padding: 55px 0;
  }

  .r24-connect-header h2 {
    font-size: 24px;
  }

  .r24-connect-header p {
    font-size: 14px;
  }

  .r24-connect-header {
    margin-bottom: 36px;
  }

  .r24-connect-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .r24-connect-column {
    padding: 28px;
  }

  .r24-connect-note {
    font-size: 12px;
  }

  .r24-footer-cta {
    padding: 45px 0;
  }

  .r24-cta-headline {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .r24-cta-subtext {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .r24-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .r24-btn-cta-primary,
  .r24-btn-cta-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* ========================================
   FOOTER
   ======================================== */

.r24-footer {
  background-color: #0A0A0A;
  color: var(--r24-white);
  font-family: Arial, Helvetica, sans-serif;
}

/* Footer Top Strip */
.r24-footer-top {
  background-color: #2A2A2A;
  padding: 18px 24px;
}

.r24-footer-top-content {
  max-width: var(--r24-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.r24-footer-top-content p {
  font-size: 14px;
  color: var(--r24-white);
  margin: 0;
  font-weight: 600;
}

.r24-footer-cta-btn {
  background: var(--r24-white);
  color: var(--r24-red);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.r24-footer-cta-btn:hover {
  background: #F0F0F0;
  color: var(--r24-red);
  text-decoration: none;
}

/* Footer Top Strip - Mobile */
@media (max-width: 600px) {
  .r24-footer-top-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Footer Main Body */
.r24-footer-main {
  padding: 60px 24px 40px;
}

.r24-footer-grid {
  max-width: var(--r24-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

/* Brand Column */
.r24-footer-logo {
  width: 160px;
  margin-bottom: 20px;
  display: block;
}

.r24-footer-brand-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 280px;
}

.r24-footer-address {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  margin-bottom: 4px;
}

.r24-footer-contact {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

/* Footer Column Headings */
.r24-footer-heading {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin: 0 0 16px 0;
}

/* Footer Navigation Lists */
.r24-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.r24-footer-nav li {
  margin-bottom: 10px;
}

.r24-footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.r24-footer-nav a:hover {
  color: var(--r24-white);
}

/* Footer Bottom Bar */
.r24-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.r24-footer-bottom-content {
  max-width: var(--r24-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.r24-footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.r24-footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.r24-footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.r24-footer-legal a:hover {
  color: rgba(255, 255, 255, 0.70);
}

/* Footer - Tablet */
@media (max-width: 900px) {
  .r24-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Footer - Mobile */
@media (max-width: 600px) {
  .r24-footer-main {
    padding: 50px 24px 35px;
  }

  .r24-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .r24-footer-brand-desc {
    max-width: 100%;
  }

  .r24-footer-bottom-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .r24-footer-legal {
    justify-content: center;
  }
}

/* ========================================
   LEGAL PAGES
   ======================================== */

/* Section 1 - Hero */
.r24-legal-hero {
  /* Grid background inherited from shared hero pattern */
  padding: 70px 24px 50px;
}

.r24-legal-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.r24-legal-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--r24-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.r24-legal-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--r24-white);
  margin: 0;
  line-height: 1.2;
}

.r24-legal-updated {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
  margin-bottom: 0;
}

/* Section 2 - Content Body */
.r24-legal-content {
  background: var(--r24-white);
}

.r24-legal-content-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.r24-legal-content-inner p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--r24-text-dark);
  margin-bottom: 24px;
}

.r24-legal-content-inner h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--r24-text-dark);
  margin: 36px 0 14px 0;
}

.r24-legal-content-inner h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--r24-text-dark);
  margin: 28px 0 10px 0;
}

/* Legal Pages - Mobile */
@media (max-width: 600px) {
  .r24-legal-hero {
    padding: 50px 24px 40px;
  }

  .r24-legal-hero h1 {
    font-size: 28px;
  }

  .r24-legal-content-inner {
    padding: 50px 24px 70px;
  }

  .r24-legal-content-inner p {
    font-size: 16px;
  }

  .r24-legal-content-inner h2 {
    font-size: 20px;
  }

  .r24-legal-content-inner h3 {
    font-size: 17px;
  }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */

/* Base state - elements start hidden and translated down */
.r24-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Visible state - triggered by IntersectionObserver */
.r24-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay classes for cascading reveals */
.r24-reveal-delay-1 { transition-delay: 0.1s; }
.r24-reveal-delay-2 { transition-delay: 0.2s; }
.r24-reveal-delay-3 { transition-delay: 0.3s; }
.r24-reveal-delay-4 { transition-delay: 0.4s; }
.r24-reveal-delay-5 { transition-delay: 0.5s; }
.r24-reveal-delay-6 { transition-delay: 0.6s; }

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .r24-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .r24-reveal-delay-1,
  .r24-reveal-delay-2,
  .r24-reveal-delay-3,
  .r24-reveal-delay-4,
  .r24-reveal-delay-5,
  .r24-reveal-delay-6 {
    transition-delay: 0s;
  }
}

/* ========================================
   STAT COUNTER ANIMATIONS
   ======================================== */

/* Stats appear with slight scale-up */
.r24-counter {
  display: inline-block;
}

/* ========================================
   CTA GLOW EFFECTS
   ======================================== */

@media (prefers-reduced-motion: no-preference) {
  @keyframes r24-glow {
    0%, 100% {
      box-shadow:
        0 0 8px rgba(204, 0, 0, 0.4),
        0 0 16px rgba(204, 0, 0, 0.2);
    }
    50% {
      box-shadow:
        0 0 16px rgba(204, 0, 0, 0.6),
        0 0 32px rgba(204, 0, 0, 0.3);
    }
  }

  /* Apply glow to primary CTAs in hero and CTA sections */
  .r24-hero .r24-btn-primary,
  .r24-cta-section .r24-btn-primary,
  .section-cta .r24-btn-primary {
    animation: r24-glow 3s ease-in-out infinite;
  }
}

/* Intensify glow on hover */
.r24-hero .r24-btn-primary:hover,
.r24-cta-section .r24-btn-primary:hover,
.section-cta .r24-btn-primary:hover {
  animation: none;
  box-shadow:
    0 0 24px rgba(204, 0, 0, 0.7),
    0 0 48px rgba(204, 0, 0, 0.4);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Subtle glow on stats bar */
.r24-stats {
  box-shadow: 0 8px 40px rgba(204, 0, 0, 0.25);
}

/* ========================================
   YOAST BREADCRUMBS
   ======================================== */

.r24-breadcrumb {
  background: var(--r24-card);
  padding: 10px 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  border-bottom: 1px solid var(--r24-border-dk);
}

.r24-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.r24-breadcrumb a:hover {
  color: var(--r24-red);
}

.r24-breadcrumb span[aria-current] {
  color: rgba(255,255,255,0.65);
}

/* ========================================
   TEAM PAGE — HEADSHOT IMAGES
   ======================================== */

.r24-team-photo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.r24-team-headshot {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--r24-red);
  display: block;
}

/* Subtle hover effect */
.r24-team-card:hover .r24-team-headshot {
  border-color: #ff1a1a;
  transition: border-color 0.2s ease;
}
