/* ═══════════════════════════════════════════════════
   HOOG LAW — SHARED STYLESHEET
   All pages on hooglaw.com link to this file.
═══════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────────── */
:root {
  --navy:   #2D1F6E;
  --purple: #4B3BAF;
  --purple-light: #6254C8;
  --gold:   #C9A96E;
  --white:  #FFFFFF;
  --off-white: #F7F8FC;
  --light-gray: #EEF0F7;
  --mid-gray: #C5CAD9;
  --text-dark: #1A1F2E;
  --text-body: #3C4256;
  --text-muted: #6B7291;
  --shadow-sm: 0 2px 8px rgba(45,31,110,0.08);
  --shadow-md: 0 6px 24px rgba(45,31,110,0.12);
  --shadow-lg: 0 16px 48px rgba(45,31,110,0.16);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.25s ease;
}

/* ─── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── TYPOGRAPHY ──────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: 'Raleway', sans-serif; color: var(--navy); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── UTILITIES ───────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 80px 0; }
.section--sm { padding: 56px 0; }
.section--lg { padding: 112px 0; }
.text-center { text-align: center; }
.overline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.15rem; color: var(--text-body); line-height: 1.75; }
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--purple));
  border-radius: 2px;
  margin: 1.25rem 0 1.75rem;
}
.divider--center { margin: 1.25rem auto 1.75rem; }

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: var(--radius);
  cursor: pointer; border: none; transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold); color: var(--navy);
}
.btn--primary:hover { background: #D9B97E; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,169,110,0.35); }
.btn--outline-light {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.9); }
.btn--outline-navy {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

/* ─── NAV ─────────────────────────────────────────── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}
#site-nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.10); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 140px;
}
.nav-logo {
  display: flex; align-items: center;
}
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  font-family: 'Montserrat', sans-serif; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); padding: 0.5rem 0.85rem; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--purple); background: rgba(75,59,175,0.07); }
.nav-links a.btn--primary { color: var(--navy); padding: 0.5rem 1.1rem; }
.nav-links a.btn--primary.active { background: var(--gold); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* ─── HERO ────────────────────────────────────────── */
.hero {
  padding-top: 140px; /* nav offset */
  min-height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(155deg, rgba(20,10,60,0.75) 0%, rgba(45,31,110,0.68) 60%, rgba(75,59,175,0.58) 100%), url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(75,59,175,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(75,59,175,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}
.hero-content {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 2rem 8rem;
  max-width: 1180px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 2px; background: var(--gold); }
.hero h1 {
  color: var(--white); max-width: 750px; font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1; margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 580px;
  margin-bottom: 2.5rem; line-height: 1.75;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.hero-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; max-width: 700px;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}
.hero-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }
.hero-card-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.hero-card h4 { color: var(--white); font-family: 'Raleway', sans-serif; font-size: 1rem; margin-bottom: 0.5rem; }
.hero-card p { color: rgba(255,255,255,0.68); font-size: 0.85rem; line-height: 1.65; margin: 0; }

/* ─── INTRO BAND ──────────────────────────────────── */
.intro-band { background: var(--white); border-top: 3px solid var(--light-gray); }
.intro-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat-item { padding: 1.25rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-left: 3px solid var(--purple); }
.stat-number { font-family: 'Raleway', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; line-height: 1.4; }

/* ─── PRACTICE PREVIEW ────────────────────────────── */
.practice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.practice-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg); padding: 2.25rem; position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
  display: block;
}
.practice-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--purple));
}
.practice-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.practice-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.practice-card h3 { margin-bottom: 0.75rem; }
.practice-card p { font-size: 0.9rem; color: var(--text-body); }
.practice-card .card-link { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); transition: gap var(--transition); }
.practice-card:hover .card-link { gap: 0.7rem; }

/* ─── WHERE WE PRACTICE ───────────────────────────── */
.where-band {
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  position: relative; overflow: hidden;
}
.where-band::before {
  content: 'LONGMONT';
  position: absolute; right: -2rem; bottom: -1rem;
  font-family: 'Raleway', sans-serif; font-size: 10rem; font-weight: 900;
  color: rgba(45,31,110,0.04); letter-spacing: -0.05em;
  pointer-events: none; line-height: 1;
}
.where-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.where-band h2, .where-band h3 { color: var(--navy); }
.where-band p { color: var(--text-body); }
.where-map-placeholder {
  background: var(--off-white); border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg); height: 280px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--text-muted); font-size: 0.85rem;
}
.where-map-placeholder .map-icon { font-size: 2.5rem; }

/* ─── HOME CTA ────────────────────────────────────── */
.cta-band { background: var(--off-white); text-align: center; border-top: 1px solid var(--light-gray); }
.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band p { max-width: 520px; margin: 0 auto 2rem; color: var(--text-muted); }

/* ─── PAGE HEADER ─────────────────────────────────── */
.page-header {
  padding: 180px 0 64px;   /* nav is 140px tall; clears it cleanly */
  background: linear-gradient(135deg, #1E1260 0%, #3A2A8A 100%);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); margin-bottom: 1rem; }
.page-header .lead { color: rgba(255,255,255,0.78); max-width: 680px; }
.breadcrumb { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ─── ABOUT PAGE ──────────────────────────────────── */
.about-story .container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-story-aside { padding-top: 0.5rem; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-left: 3px solid var(--purple); }
.value-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.value-item strong { display: block; color: var(--navy); font-family: 'Raleway', sans-serif; font-weight: 700; margin-bottom: 0.25rem; }
.value-item p { font-size: 0.88rem; margin: 0; color: var(--text-body); }

/* ─── ATTORNEY BIO ────────────────────────────────── */
.bio-layout .container { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.bio-photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.bio-headshot-img { width: 100%; border-radius: 10px; box-shadow: 0 6px 24px rgba(45,31,110,0.2); display: block; }
.bio-sidebar { background: var(--off-white); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; border: 1px solid var(--light-gray); }
.bio-sidebar h4 { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; margin-top: 1.1rem; }
.bio-sidebar h4:first-child { margin-top: 0; }
.bio-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.bio-sidebar ul li { font-size: 0.76rem; color: var(--text-body); padding-left: 0.85rem; position: relative; line-height: 1.45; }
.bio-sidebar ul li::before { content: '–'; position: absolute; left: 0; color: var(--purple); }
.bio-focus { background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius-lg); padding: 0.85rem 1rem; margin-top: 1rem; }
.bio-focus p { font-size: 0.75rem; color: var(--text-muted); font-style: italic; line-height: 1.6; margin: 0; }
.bio-section { margin-bottom: 2.5rem; }
.bio-section h3 { margin-bottom: 1rem; }

/* ─── PRACTICE AREAS PAGE ─────────────────────────── */
.pa-intro { display: grid; grid-template-columns: 1fr; gap: 0; }
.pa-section { padding: 72px 0; }
.pa-section:nth-child(even) { background: var(--off-white); }
.pa-section-header { max-width: 720px; margin-bottom: 2.5rem; }
.pa-section-header h2 { margin-bottom: 0.75rem; }
.pa-section-header p { color: var(--text-body); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg); padding: 1.75rem; position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: block;
}
.pa-section:nth-child(even) .service-card { background: var(--white); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--mid-gray); }
.service-card-num { font-family: 'Raleway', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.service-card h4 { color: var(--navy); margin-bottom: 0.6rem; font-size: 1rem; }
.service-card p { font-size: 0.875rem; color: var(--text-body); line-height: 1.65; margin: 0; }
.service-card .card-link { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); transition: gap var(--transition); }
.service-card:hover .card-link { gap: 0.7rem; }
.business-owner-callout {
  background: linear-gradient(135deg, #2D1F6E, #4B3BAF);
  border-radius: var(--radius-lg); padding: 2.25rem 2.5rem; margin-top: 2.5rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
  color: var(--white);
}
.callout-icon { font-size: 2rem; flex-shrink: 0; }
.business-owner-callout h4 { color: var(--gold); font-family: 'Raleway', sans-serif; margin-bottom: 0.5rem; }
.business-owner-callout p { color: rgba(255,255,255,0.82); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ─── CONTACT PAGE ────────────────────────────────── */
.contact-layout .container { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
  border: 1.5px solid var(--mid-gray); border-radius: var(--radius);
  padding: 0.75rem 1rem; background: var(--white); color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--purple); box-shadow: 0 0 0 3px rgba(75,59,175,0.1);
}
.form-disclaimer { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; padding-top: 0.25rem; }
.contact-info-card {
  background: #2D1F6E; color: var(--white);
  border-radius: var(--radius-lg); padding: 2.25rem; position: sticky; top: 90px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.15rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-detail-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; color: var(--gold); }
.contact-detail-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; font-weight: 600; }
.contact-detail-value { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.55; }
.contact-detail-value a { color: rgba(255,255,255,0.85); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); }
.service-area { background: rgba(255,255,255,0.07); border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 1.5rem; }
.service-area p { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.65; margin: 0; }

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--text-dark); color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.footer-brand { font-family: 'Raleway', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.45); font-style: italic; }
.footer-links { display: flex; flex-direction: column; gap: 0.35rem; text-align: right; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; font-size: 0.74rem; color: rgba(255,255,255,0.35); line-height: 1.7; }

/* ─── MOBILE NAV ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 92px; left: 0; right: 0; background: var(--white); padding: 1.5rem 2rem 2rem; gap: 0.5rem; border-top: 1px solid var(--light-gray); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .intro-band .container, .where-band .container, .about-story .container, .bio-layout .container, .contact-layout .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .practice-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-links { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
  .service-grid { grid-template-columns: 1fr; }
  .bio-photo-strip { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: 1fr; }
  .page-header { padding: 160px 0 50px; }
