/* ============================================================
   Bright Valley Media - Shared Stylesheet
   Extracted common styles used across all pages.
   ============================================================ */

/* ====== RESET ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ====== VARIABLES ====== */
:root {
    --black: #1c1917;
    --dark: #292524;
    --gray-900: #292524;
    --gray-700: #44403c;
    --gray-500: #78716c;
    --gray-400: #a8a29e;
    --gray-300: #d6d3d1;
    --gray-200: #e7e5e3;
    --gray-100: #f5f5f4;
    --white: #ffffff;
    --off-white: #faf9f7;
    --label: #c4984a;
    --teal: #3B82F6;
    --teal-light: #2563EB;

    --heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --body: 'Montserrat', sans-serif;
}

/* ====== BASE ====== */
html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    background: var(--white);
    color: var(--black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; cursor: pointer; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ====== NAV ====== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s;
}

nav.scrolled {
    background: rgba(250,249,247,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.logo {
    font-family: var(--heading);
    font-size: 22px;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.3s;
}
.nav-link:hover { color: var(--black); }

.nav-book {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--teal);
    padding: 10px 24px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s;
}
.nav-book:hover { background: var(--teal-light); color: var(--white); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}
.hamburger span {
    width: 22px; height: 1.5px;
    background: var(--black);
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

.mobile-overlay {
    display: none;
    position: fixed; inset: 0;
    background: var(--black);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay a {
    font-family: var(--heading);
    font-size: 32px;
    color: var(--white);
    font-weight: 400;
}

/* ====== FOOTER ====== */
footer {
    padding: 24px 40px;
    background: var(--black);
    border-top: 1px solid var(--gray-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.f-copy {
    font-size: 11px;
    color: var(--gray-500);
}

.f-links {
    display: flex;
    gap: 28px;
}
.f-links a {
    font-size: 11px;
    color: var(--gray-500);
    transition: color 0.3s;
}
.f-links a:hover { color: var(--white); }


/* ====== REVEAL ANIMATION ====== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.vis { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}

/* ====== SHARED RESPONSIVE ====== */
/* Tighten nav spacing between 900 and 1200 so items don't wrap */
@media (max-width: 1200px) {
    .nav-right { gap: 22px; }
}

@media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-right .nav-link { display: none; }
    .nav-book { display: none; }
    .hamburger { display: flex; }

    footer { padding: 32px 24px; flex-direction: column; text-align: center; }
    .f-links { flex-wrap: wrap; justify-content: center; }
}

/* ====== EXPERT QUOTE CARD ====== */
.quote-card {
  background: var(--black);
  border-radius: 10px;
  padding: 32px 36px 28px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '\201C';
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 140px;
  font-weight: 900;
  color: var(--teal);
  line-height: 0.75;
  position: absolute;
  top: 16px;
  left: 24px;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}
.quote-card-text {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-300);
  line-height: 1.8;
  margin: 0 0 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.quote-card-attribution {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.quote-card-name {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.quote-card-role {
  font-size: 10px;
  color: var(--label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ====== ARTICLE IMAGES ====== */
.article-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    max-height: 480px;
}
.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.article-image figcaption {
    font-size: 0.78rem;
    color: var(--muted, #8ca0b3);
    padding: 8px 12px;
    background: rgba(0,0,0,0.25);
    font-style: italic;
    line-height: 1.4;
}

/* ============================================================
   CTA SYSTEM — sticky mobile bar, nav phone link, status pill,
   Quick Quote form, Free Strategy Call page. Injected by
   /js/cta-sticky-bar.js into every page that includes this CSS.
   ============================================================ */

/* ---- Nav phone link ----
   Inherits text color from the nav (which is white on dark heros, dark on scrolled/light heros).
   Uses currentColor for text + SVG; border is a muted version of currentColor. */
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 4px;
    color: var(--white);
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav-phone span { color: var(--white); }
.nav-phone:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.nav-phone:hover span { color: var(--black); }
.nav-phone svg { width: 12px; height: 12px; flex-shrink: 0; }
.nav-phone.after-hours { pointer-events: none; }
.nav-right .nav-phone + .nav-book { margin-left: 4px; }

/* When nav scrolls (white bg) OR on pages with dark nav text, flip the button to dark. */
nav.scrolled .nav-phone {
    color: var(--black);
    background: transparent;
    border-color: rgba(28,25,23,0.35);
}
nav.scrolled .nav-phone span { color: var(--black); }
nav.scrolled .nav-phone:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}
nav.scrolled .nav-phone:hover span { color: var(--white); }

/* Hide the dedicated phone pill on mid-width screens; hamburger takes over under 900px anyway */
@media (max-width: 1100px) {
    .nav-phone { display: none; }
}

/* ---- Availability status pill ---- */
.cta-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-top: 18px;
}
.cta-status .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.22);
}
.cta-status.after-hours .dot {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.22);
}

/* Light-background version */
.cta-status.on-light { color: var(--gray-700); }

/* ---- Hero secondary "Call Nathan" inline ---- */
.hero-call {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    padding: 13px 22px;
    border: 1.5px solid rgba(255,255,255,0.55);
    border-radius: 4px;
    transition: background 0.25s, border-color 0.25s, opacity 0.3s;
    letter-spacing: 0.02em;
}
.hero-call:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,1); }
.hero-call svg { width: 14px; height: 14px; flex-shrink: 0; }
.hero-call.after-hours { opacity: 0.35; pointer-events: none; }

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.hero-cta-row .divider {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

@media (max-width: 700px) {
    .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-cta-row .divider { display: none; }
    .hero-call { justify-content: center; }
}

/* ---- Sticky mobile bottom bar ---- */
.cta-sticky {
    display: none;
    flex-direction: column;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -8px 28px rgba(28,25,23,0.08);
    gap: 6px;
}
.cta-sticky-trust {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--gray-500);
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 2px 0 0;
}
.cta-sticky-row {
    display: flex;
    gap: 7px;
}
.cta-sticky a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    background: var(--off-white);
    border-radius: 8px;
    color: var(--black);
    min-height: 60px;
    transition: background 0.2s;
    text-align: center;
}
.cta-sticky a .cta-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
}
.cta-sticky a .cta-main { white-space: nowrap; }
.cta-sticky a .cta-trust {
    font-size: 9px;
    font-weight: 500;
    opacity: 0.65;
    letter-spacing: 0.02em;
    line-height: 1.2;
    max-width: 100%;
    padding: 0 2px;
}
.cta-sticky a svg { width: 16px; height: 16px; flex-shrink: 0; }
.cta-sticky a:active { background: var(--gray-200); }
.cta-sticky a.primary {
    background: var(--teal);
    color: var(--white);
}
.cta-sticky a.primary:active { background: var(--teal-light); }

@media (max-width: 900px) {
    .cta-sticky { display: flex; }
    body.cta-sticky-pad { padding-bottom: 90px; }
    body.cta-sticky-pad footer { padding-bottom: 100px; }
}
@media (max-width: 380px) {
    /* Extra tight screens — drop trust text to keep the bar clean */
    .cta-sticky a .cta-trust { display: none; }
    .cta-sticky a { min-height: 54px; }
    body.cta-sticky-pad { padding-bottom: 78px; }
    body.cta-sticky-pad footer { padding-bottom: 88px; }
}

/* ---- Quick Quote form (service + pricing pages) ---- */
.quick-quote {
    background: var(--off-white);
    padding: 80px 40px;
    border-top: 1px solid var(--gray-200);
}
.quick-quote .qq-inner {
    max-width: 780px;
    margin: 0 auto;
}
.quick-quote .qq-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--label);
    margin-bottom: 14px;
}
.quick-quote h2 {
    font-family: var(--heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 850;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 14px;
}
.quick-quote h2 em { font-style: italic; }
.quick-quote .qq-sub {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 32px;
}
.quick-quote .qq-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(28,25,23,0.04);
}
.qq-field { margin-bottom: 18px; }
.qq-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-700);
    margin-bottom: 7px;
}
.qq-field input,
.qq-field textarea {
    width: 100%;
    padding: 13px 15px;
    font-family: var(--body);
    font-size: 15px;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 5px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.qq-field input:focus,
.qq-field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.13);
}
.qq-field textarea { min-height: 88px; resize: vertical; font-family: var(--body); }
.qq-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
}
.qq-foot .qq-note {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.01em;
}
.qq-submit {
    background: var(--teal);
    color: var(--white);
    font-family: var(--body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.25s;
}
.qq-submit:hover { background: var(--teal-light); }
.qq-submit svg { width: 11px; height: 11px; }
.qq-alt {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: var(--gray-500);
}
.qq-alt a { color: var(--teal); font-weight: 600; }
.qq-success {
    background: #ecfdf5;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 20px;
    color: #14532d;
    font-size: 14px;
    line-height: 1.55;
    display: none;
}
.qq-success.show { display: block; }

@media (max-width: 700px) {
    .quick-quote { padding: 48px 22px; }
    .quick-quote .qq-card { padding: 22px; }
    .qq-foot { flex-direction: column; align-items: stretch; }
    .qq-submit { width: 100%; justify-content: center; }
}

/* ---- Free Strategy Call page styles ---- */
.fsc-hero {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--gray-100) 100%);
    padding: 96px 40px 56px;
    border-bottom: 1px solid var(--gray-200);
    margin-top: 70px;
}
.fsc-hero .fsc-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
}
.fsc-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--label);
    margin-bottom: 18px;
}
.fsc-hero h1 {
    font-family: var(--heading);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 850;
    letter-spacing: -0.028em;
    line-height: 1.02;
    color: var(--black);
    margin-bottom: 22px;
}
.fsc-hero h1 em { font-style: italic; }
.fsc-lead {
    font-size: 17px;
    color: var(--gray-700);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 24px;
}
.fsc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
}
.fsc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}
.fsc-chip svg { width: 13px; height: 13px; color: var(--teal); }
.fsc-cta-group {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.fsc-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.25s;
}
.fsc-cta-primary:hover { background: var(--teal-light); }
.fsc-cta-primary svg { width: 12px; height: 12px; }
.fsc-cta-call {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    transition: border-color 0.25s, background 0.25s;
}
.fsc-cta-call:hover { border-color: var(--black); background: var(--off-white); }
.fsc-cta-call svg { width: 13px; height: 13px; }

.fsc-nathan-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(28,25,23,0.05);
}
.fsc-photo {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    background: linear-gradient(135deg, #3B82F6, #1c1917);
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}
.fsc-nathan-name { font-family: var(--heading); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.fsc-nathan-title { font-size: 13px; color: var(--gray-500); margin: 4px 0 14px; }
.fsc-nathan-bio { font-size: 14px; color: var(--gray-700); line-height: 1.55; }
.fsc-nathan-stats {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}
.fsc-nathan-stats > div { flex: 1; }
.fsc-stat-num { font-family: var(--heading); font-weight: 850; font-size: 22px; color: var(--black); }
.fsc-stat-label { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; }

/* Deliverable / framework */
.fsc-deliverable { padding: 88px 40px; background: var(--white); }
.fsc-deliverable .fsc-inner { max-width: 1180px; margin: 0 auto; }
.fsc-deliverable h2 {
    font-family: var(--heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 850;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 14px;
    max-width: 740px;
}
.fsc-deliverable h2 em { font-style: italic; }
.fsc-deliverable .fsc-intro {
    font-size: 17px;
    color: var(--gray-700);
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 44px;
}
.fsc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.fsc-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 26px;
    transition: all 0.2s;
}
.fsc-card:hover {
    border-color: var(--gray-400);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(28,25,23,0.06);
}
.fsc-card .fsc-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--teal);
    margin-bottom: 12px;
}
.fsc-card h3 { font-family: var(--heading); font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.fsc-card ul { list-style: none; padding: 0; font-size: 13px; color: var(--gray-700); line-height: 1.7; }
.fsc-card ul li { position: relative; padding-left: 15px; }
.fsc-card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 5px; height: 5px;
    background: var(--label);
    border-radius: 50%;
}

/* Booking */
.fsc-booking {
    padding: 80px 40px;
    background: var(--off-white);
    border-top: 1px solid var(--gray-200);
}
.fsc-booking .fsc-inner { max-width: 960px; margin: 0 auto; }
.fsc-booking h2 {
    font-family: var(--heading);
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 850;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}
.fsc-booking h2 em { font-style: italic; }
.fsc-booking-sub {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.55;
    max-width: 620px;
    margin-bottom: 36px;
}
.fsc-fallback {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: var(--gray-500);
}
.fsc-fallback a { color: var(--teal); font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
    .fsc-hero { padding: 92px 22px 40px; }
    .fsc-hero .fsc-hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .fsc-nathan-card { order: 2; }
    .fsc-deliverable { padding: 56px 22px; }
    .fsc-grid { grid-template-columns: 1fr; }
    .fsc-booking { padding: 48px 22px; }
}
