/* ============================================
   CASCADE ROOFING — SHARED STYLES
   Used by all service sub-pages
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1a1815;
  --ink-soft: #2d2925;
  --paper: #f5f0e6;
  --paper-warm: #ebe3d3;
  --cream: #faf6ee;
  --clay: #c2562a;
  --clay-dark: #9e4220;
  --clay-light: #e8794e;
  --rust: #7d3618;
  --moss: #4a5240;
  --line: rgba(26, 24, 21, 0.12);
  --line-strong: rgba(26, 24, 21, 0.25);
  --font-display: 'Inter Tight', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(26, 24, 21, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 24, 21, 0.10);
  --shadow-lg: 0 20px 60px rgba(26, 24, 21, 0.18);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--clay); color: var(--cream); }

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 238, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-mark { display: flex; align-items: center; }
.header-mark-img { height: 38px; width: auto; display: block; transition: opacity 0.2s ease; }
.header-mark:hover .header-mark-img { opacity: 0.85; }
.header-calls { display: flex; align-items: center; gap: 8px; }
.call-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--ink); color: var(--cream); border-radius: 999px; font-size: 14px; font-weight: 600; transition: background 0.2s ease, transform 0.2s ease; }
.call-btn:hover { background: var(--clay); transform: translateY(-1px); }
.call-btn svg { width: 14px; height: 14px; }
.call-btn-label { font-size: 11px; font-weight: 500; opacity: 0.7; letter-spacing: 0.05em; text-transform: uppercase; margin-right: 4px; }

@media (max-width: 760px) {
  .header-inner { padding: 12px 16px; }
  .header-mark-img { height: 30px; }
  .header-calls .call-btn-label, .header-calls .call-btn-name { display: none; }
  .call-btn { padding: 9px 12px; }
}

/* ===== PAGE HERO ===== */
.page-hero { padding: 64px 32px 56px; background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 60%; height: 200%; background: radial-gradient(circle at center, rgba(194, 86, 42, 0.25), transparent 60%); pointer-events: none; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-light); margin-bottom: 20px; }
.breadcrumb a { transition: opacity 0.2s ease; opacity: 0.85; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.6; }
.page-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.025em; color: var(--cream); margin-bottom: 16px; max-width: 800px; }
.page-lead { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: rgba(245, 240, 230, 0.85); max-width: 720px; }

/* ===== PAGE BODY ===== */
.page-body { padding: 72px 32px; }
.page-body-inner { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 48px; }
.page-body h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; color: var(--ink); }
.page-body h2:not(:first-child) { margin-top: 16px; }
.page-body h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-top: 28px; margin-bottom: 10px; color: var(--ink); }
.page-body p { color: var(--ink-soft); margin-bottom: 16px; max-width: 760px; }
.page-body ul { list-style: none; margin-bottom: 24px; padding: 0; }
.page-body ul li { padding: 8px 0 8px 28px; position: relative; color: var(--ink-soft); }
.page-body ul li::before { content: ''; position: absolute; left: 4px; top: 16px; width: 12px; height: 2px; background: var(--clay); border-radius: 1px; }
.page-body strong { color: var(--ink); font-weight: 600; }

/* Content cards */
.content-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 28px 32px; box-shadow: var(--shadow-sm); }
.content-card h3 { margin-top: 0; color: var(--ink); font-size: 1.2rem; }
.content-card:first-of-type h3 { margin-top: 0; }
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .cards-grid { grid-template-columns: 1fr; } }

/* ===== STICKY BOOK CTA ===== */
.sticky-cta { position: fixed; bottom: 24px; right: 24px; z-index: 60; background: var(--clay); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: 0 12px 30px rgba(194, 86, 42, 0.4); display: inline-flex; align-items: center; gap: 10px; transition: transform 0.2s ease, background 0.2s ease; }
.sticky-cta:hover { background: var(--clay-dark); transform: translateY(-2px); }
.sticky-cta svg { width: 16px; height: 16px; }

@media (max-width: 720px) { .sticky-cta { display: none; } }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%); color: var(--cream); padding: 72px 32px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(194, 86, 42, 0.18), transparent 70%); pointer-events: none; }
.cta-banner-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; color: var(--cream); margin-bottom: 16px; }
.cta-banner p { color: rgba(245, 240, 230, 0.8); margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: transform 0.2s ease, background 0.2s ease; }
.btn-primary { background: var(--clay); color: var(--cream); }
.btn-primary:hover { background: var(--clay-light); transform: translateY(-1px); }
.btn-secondary { background: rgba(245, 240, 230, 0.1); color: var(--cream); border: 1px solid rgba(245, 240, 230, 0.25); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(245, 240, 230, 0.18); transform: translateY(-1px); }
.btn-primary svg, .btn-secondary svg { width: 16px; height: 16px; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: rgba(245, 240, 230, 0.7); border-top: 1px solid rgba(245, 240, 230, 0.08); padding: 40px 32px 32px; font-size: 13px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(245, 240, 230, 0.15); border-radius: 50%; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.footer-socials a:hover { background: var(--clay); border-color: var(--clay); color: var(--cream); }
.footer-socials svg { width: 16px; height: 16px; }

/* ===== MOBILE STICKY CALL ===== */
.mobile-call { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px; background: rgba(26, 24, 21, 0.95); backdrop-filter: blur(12px); border-top: 1px solid rgba(245, 240, 230, 0.12); gap: 8px; }
.mobile-call a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; background: var(--clay); color: var(--cream); border-radius: 8px; font-size: 13px; font-weight: 700; }
.mobile-call a:nth-child(2) { background: var(--ink-soft); border: 1px solid rgba(245, 240, 230, 0.2); }
.mobile-call a:nth-child(3) { background: var(--clay-dark); }
.mobile-call svg { width: 14px; height: 14px; }
@media (max-width: 720px) { .mobile-call { display: flex; } body { padding-bottom: 76px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
