/* ══════════════════════════════════════════════════════
   PAGE-SPECIFIC: Content Removal Service
   All classes prefixed cr- to avoid conflicts.

   IMPORTANT: The @font-face declaration, .cr-hero,
   .cr-hero-grid, and .cr-hero-visual CLS-critical styles
   are declared in the inline <style> block inside
   content-removal-services.php <head> so they are
   available before any external CSS loads.
   ══════════════════════════════════════════════════════ */


/* ══════════════════════
   HERO
══════════════════════ */
.cr-hero {
  background:
    radial-gradient(circle at 80% 60%, rgba(30, 10, 60, 0.55) 0%, transparent 45%),
    radial-gradient(circle at 20% 40%, rgba(5, 30, 70, 0.65) 0%, transparent 50%),
    linear-gradient(135deg, #020c1b 0%, #071828 55%, #020c1b 100%);
  padding: 100px 0 70px;
  min-height: 745px;
  contain: layout; /* prevents hero reflow from affecting elements below */
}

.cr-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #f87171;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
  width: fit-content;
}

.cr-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.cr-hero h1 span { color: #f87171; }

.cr-hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 540px;
  min-height: 6em; /* reserves ~4 lines so font-swap can't shift elements below */
}

.cr-hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cr-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px 22px;
}

.cr-stat strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #f87171;
  line-height: 1;
  margin-bottom: 4px;
}

.cr-stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cr-hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* ══════════════════════
   BUTTONS
   (hover kept white — PageSpeed fix)
══════════════════════ */
.cr-btn-primary {
  background: #dc2626;
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 7px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0.28);
}

.cr-btn-primary:hover {
  background: #b91c1c;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.cr-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 7px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  background: transparent;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.18s ease;
  text-decoration: none;
}

.cr-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  transform: translateY(-3px);
}


/* ══════════════════════
   HERO VISUAL CARDS
   min-height reserves space → prevents CLS
══════════════════════ */
.cr-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 340px;        /* reserves space before font loads → prevents CLS */
  contain: layout style;    /* nothing inside can affect outside layout */
  overflow: hidden;         /* clips any internal shift within the reserved box */
  position: relative;
}

.cr-vis-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(6px);
  transition: border-color 0.3s;
}

.cr-vis-card:hover { border-color: rgba(248, 113, 113, 0.4); }

.cr-vis-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cr-vis-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 2px;
}

.cr-vis-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.cr-vis-tag {
  margin-left: auto;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.7rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ══════════════════════
   SHARED SECTION STYLES
══════════════════════ */
.cr-section { padding: 80px 0; }
.cr-section-alt { background: #f8fafc; }
.cr-section-dark { background: #0a2540; }

.cr-section-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #dc2626; /* original red restored */
  margin-bottom: 10px;
}

.cr-section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0a2540;
  line-height: 1.25;
  margin-bottom: 14px;
}

.cr-section-dark .cr-section-title { color: #fff; }
.cr-section-dark .cr-section-label { color: #f87171; }

.cr-section-sub {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 680px;
}

.cr-section-dark .cr-section-sub { color: rgba(255, 255, 255, 0.65); }
.cr-text-center { text-align: center; }
.cr-text-center .cr-section-sub { margin: 0 auto; }


/* ══════════════════════
   WHY IT MATTERS — Two Column
══════════════════════ */
.cr-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

/* PageSpeed fix: explicit aspect ratio via CSS to prevent layout shift */
.cr-two-col img {
  max-width: 450px;
  width: 100%;
  height: 600px;
  border-radius: 16px;
  display: block;
  object-fit: cover; /* change from contain → cover */
}

.cr-impact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.cr-impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
}

.cr-impact-list li .cr-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #dc2626;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 1px;
}


/* ══════════════════════
   THREE APPROACHES
══════════════════════ */
.cr-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.cr-approach-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.cr-approach-card:hover {
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.1);
  border-color: #dc2626;
  transform: translateY(-4px);
}

.cr-approach-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #f87171);
}

/* PageSpeed fix: raised opacity so ghost numbers pass WCAG AA on white */
.cr-approach-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: lch(9.77% 0 296.81 / 0.55);
  line-height: 1;
  margin-bottom: 12px;
}

.cr-approach-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 10px;
}

.cr-approach-card p {
  font-size: 0.875rem;
  color: #444d5a;
  line-height: 1.7;
}

.cr-approach-tag {
  display: inline-block;
  margin-top: 16px;
  background: #fef2f2;
  color: #dc2626;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ══════════════════════
   WHAT WE REMOVE
══════════════════════ */
.cr-remove-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.cr-remove-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.cr-remove-card:hover {
  box-shadow: 0 6px 24px rgba(220, 38, 38, 0.08);
  border-color: #fca5a5;
}

.cr-remove-num {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cr-remove-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 10px;
}

.cr-remove-card p {
  font-size: 0.855rem;
  color: #64748b;
  line-height: 1.7;
}


/* ══════════════════════
   THE PROCESS — Steps
══════════════════════ */
.cr-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.cr-process-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.2s, border-color 0.2s;
}

.cr-process-step:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(248, 113, 113, 0.35);
}

/* PageSpeed fix: raised from 0.25 to 0.45 so it passes WCAG AA on dark bg */
.cr-process-step-num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(248, 113, 113, 0.75);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.cr-process-step h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cr-process-step p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255);
  line-height: 1.7;
}


/* ══════════════════════
   WHY SAGE TITANS
══════════════════════ */
.cr-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.cr-why-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.cr-why-card:hover {
  box-shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
  border-color: #0a2540;
  transform: translateY(-3px);
}

.cr-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.cr-why-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 8px;
}

.cr-why-card p {
  font-size: 0.855rem;
  color: #3f4957;
  line-height: 1.7;
}


/* ══════════════════════
   COVERAGE STRIP
══════════════════════ */
.cr-coverage-strip {
  background: #0a2540;
  padding: 48px 0;
}

.cr-coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.cr-cov-item strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f87171;
  margin-bottom: 6px;
}

.cr-cov-item p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}


/* ══════════════════════
   CTA BANNER
   Blue gradient kept as per the fix (not red)
══════════════════════ */
.cr-cta-banner {
  background:
    radial-gradient(circle at 30% 50%, rgba(29, 78, 216, 0.35) 0%, transparent 60%),
    radial-gradient(circle at 75% 30%, rgba(6, 182, 212, 0.2)  0%, transparent 55%),
    linear-gradient(135deg, #0a2540 0%, #1e3a8a 50%, #0c2a6e 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cr-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(99, 179, 237, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cr-cta-banner h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

.cr-cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
  position: relative;
}

/* CTA banner main button — white bg, navy text, always readable */
.cr-cta-main-btn {
  display: inline-block;
  background: #fff !important;
  color: #0a2540 !important;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 40px;
  border-radius: 7px;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

.cr-cta-main-btn:hover {
  background: #f0f7ff !important;
  color: #0a2540 !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

.cr-cta-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
  position: relative;
}

.cr-cta-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}


/* ══════════════════════
   RESPONSIVE
══════════════════════ */
@media (max-width: 900px) {
  .cr-hero-grid        { grid-template-columns: 1fr; }
  .cr-hero-visual      { display: none; }
  .cr-two-col          { grid-template-columns: 1fr; }
  .cr-two-col img      { max-height: 360px; aspect-ratio: auto; }
  .cr-approach-grid    { grid-template-columns: 1fr; }
  .cr-remove-grid      { grid-template-columns: 1fr 1fr; }
  .cr-process-grid     { grid-template-columns: 1fr; }
  .cr-why-grid         { grid-template-columns: 1fr 1fr; }
  .cr-coverage-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .cr-section          { padding: 60px 0; }
  .cr-hero             { padding: 70px 0 50px; min-height: auto; }
  .cr-hero-lead        { min-height: 0; } /* remove height reservation on small screens */
  .cr-remove-grid      { grid-template-columns: 1fr; }
  .cr-why-grid         { grid-template-columns: 1fr; }
  .cr-hero-stats       { gap: 16px; }
  .cr-coverage-grid    { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   FOOTER TOUCH TARGET FIX — Google PageSpeed mobile requirement
   Min 48×48px touch area for footer copyright links
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .copyright-sec ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .copyright-sec ul li { display: block; }
  .copyright-sec ul li a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px !important;
    font-size: 14px;
  }
}
