/* ===================================================================
   HWK Law Group — Stylesheet
   Headings: Playfair Display · Body: Inter (system sans fallback)
=================================================================== */

:root{
  --navy-950: #0a1a2e;
  --navy-900: #0f2140;
  --navy-800: #14284f;
  --navy-700: #1c3866;
  --navy-600: #26497f;
  --blue-500: #2f5c9e;
  --blue-accent: #3f6fb8;
  --steel-400: #8fa1b8;
  --steel-300: #b9c6d6;
  --steel-100: #eef2f7;
  --accent: #5c85b8;
  --accent-soft: #a9c3e0;
  --ink: #16212f;
  --ink-soft: #4a5768;
  --paper: #ffffff;
  --paper-alt: #f6f8fb;
  --line: #e2e8f0;

  --font-head: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 33, 64, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 33, 64, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 26, 46, 0.18);
  --ease: cubic-bezier(.22,.68,.32,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ margin:0; padding:0; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img{ max-width: 100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
ul{ margin:0; padding:0; list-style:none; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4{
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-accent);
}
.eyebrow::before{
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

.section{ padding: 128px 0; }
.section--tight{ padding: 84px 0; }
.section--alt{ background: var(--paper-alt); }
.section--navy{ background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: var(--steel-300); }
.section--navy h2, .section--navy h3{ color: #fff; }

.section-head{
  max-width: 700px;
  margin: 0 0 64px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin-top: 18px; }
.section-head p{ color: var(--ink-soft); font-size: 1.08rem; margin-top: 18px; }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary{ background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn--primary:hover{ background: var(--navy-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.hero .btn--primary,
.section--navy .btn--primary{ background: #fff; color: var(--navy-900); border-color: #fff; }
.hero .btn--primary:hover,
.section--navy .btn--primary:hover{ background: var(--steel-100); }
.btn--ghost{ border-color: rgba(255,255,255,0.35); color: #fff; }
.btn--ghost:hover{ border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--outline{ border-color: var(--navy-700); color: var(--navy-800); }
.btn--outline:hover{ background: var(--navy-800); color:#fff; }
.btn--sm{ padding: 12px 22px; font-size: 0.78rem; }

/* ---------------------------------- Header ---------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-scrolled{ box-shadow: var(--shadow-sm); }

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  transition: padding .3s var(--ease);
}
.site-header.is-scrolled .header-inner{ padding: 10px 0; }

.brand{
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-logo{ height: 40px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand-logo{ height: 34px; }
.brand-divider{
  width: 1px;
  height: 32px;
  background: var(--line);
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .brand-divider{ height: 26px; }

.main-nav{ display: flex; align-items: center; gap: 4px; }
.main-nav a{
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-800);
  border-radius: 4px;
  transition: color .2s, background .2s;
  position: relative;
}
.main-nav a:hover{ color: var(--blue-accent); background: var(--steel-100); }
.main-nav a.active{ color: var(--blue-accent); }

/* Services hover dropdown (desktop only) */
.nav-item{ position: relative; }
.nav-item > a{ display: inline-flex; align-items: center; gap: 6px; }
.nav-caret{ width: 10px; height: 10px; transition: transform .2s var(--ease); }
.nav-item:hover .nav-caret{ transform: rotate(180deg); }

.dropdown{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s var(--ease), visibility .18s;
  z-index: 50;
}
.dropdown-inner{
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
}
.dropdown-inner a{
  white-space: nowrap;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--blue-accent);
}
.dropdown-inner a:hover{ color: var(--navy-900); background: var(--steel-100); }
.dropdown-inner a.active{ background: var(--steel-100); }
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-cta{ display:flex; align-items:center; gap: 10px; }

.nav-toggle{
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span{ width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; }

/* ---------------------------------- Hero ---------------------------------- */
.hero{
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-800) 0%, var(--navy-950) 55%, #060f1d 100%);
  color: #fff;
  padding: 156px 0 140px;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, black 20%, transparent 75%);
  opacity: 0.5;
}
.hero::after{
  content:"";
  position:absolute;
  width: 640px; height: 640px;
  right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(63,111,184,0.35), transparent 70%);
  filter: blur(10px);
}
.hero-inner{
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-brand{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 32px;
}
.hero-mark{ height: 88px; width: auto; filter: brightness(0) invert(1) drop-shadow(0 6px 22px rgba(0,0,0,0.35)); }
.hero-brand-divider{ width: 1px; height: 56px; background: rgba(255,255,255,0.25); }
.hero .eyebrow{ justify-content: center; color: var(--steel-300); }
.hero .eyebrow::before{ background: var(--accent-soft); }
.hero h1{
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 24px 0 26px;
}
.hero h1 em{ font-style: italic; color: var(--accent-soft); }
.hero p.lede{
  font-size: 1.15rem;
  color: var(--steel-300);
  max-width: 560px;
  margin: 0 auto 44px;
}
.hero-actions{ display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------- Page Hero (interior pages) ---------------------------------- */
.page-hero{
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-800) 0%, var(--navy-950) 55%, #060f1d 100%);
  color: #fff;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 0;
  text-align: center;
}
.page-hero .eyebrow{ margin-bottom: 18px; }
.page-hero h1{
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  max-width: 760px;
  margin: 0 auto;
}

/* ---------------------------------- Service Tabs ---------------------------------- */
.service-tabs{
  background: var(--steel-100);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.service-tabs::-webkit-scrollbar{ display: none; }
.service-tabs .container{
  display: flex;
  justify-content: center;
  gap: 2px;
}
.service-tabs a{
  flex-shrink: 0;
  padding: 18px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-400);
  border-bottom: 2px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.service-tabs a:hover{ color: var(--navy-800); }
.service-tabs a.active{
  color: var(--navy-900);
  font-weight: 700;
  background: #fff;
  border-bottom-color: var(--accent);
}

/* ---------------------------------- Who We Are ---------------------------------- */
.who-copy{
  max-width: 740px;
  margin: 0 auto;
}
.who-copy p{ color: var(--ink-soft); margin: 0 0 22px; font-size: 1.08rem; text-align: left; }
.who-copy p:last-of-type{ margin-bottom: 0; }
.who-copy strong{ color: var(--navy-900); }
.pull-quote{
  margin: 36px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy-800);
}
.pull-quote.center{
  text-align: center;
  border-left: none;
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  font-size: 1.4rem;
}
.who-cta{ margin-top: 44px; text-align: center; }

/* ---------------------------------- Services ---------------------------------- */
.practice-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.practice-card{
  display: block;
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.practice-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.practice-card .icon{
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--steel-100);
  display: flex; align-items:center; justify-content:center;
  margin-bottom: 22px;
  color: var(--blue-accent);
}
.practice-card .icon svg{ width: 22px; height: 22px; }
.practice-card h4{ font-size: 1.06rem; margin-bottom: 10px; }
.practice-card p{ font-size: 0.92rem; color: var(--ink-soft); margin:0; line-height: 1.65; }
.practice-card .read-more{
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-top: 16px;
}

.affiliations{
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
}
.affiliations.center{ justify-content: center; }
.affiliations .badges{ display:flex; gap: 48px; flex-wrap: wrap; align-items:center; }
.badge-logo{ height: 72px; width: auto; }
.badge-logo--wc{ height: 60px; }

/* ---------------------------------- Team ---------------------------------- */
.team-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}
.team-grid--3{
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.team-grid--1{ display: flex; justify-content: center; }
.team-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.team-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar{
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-accent), var(--navy-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}
.team-card h4{ font-size: 1.05rem; margin-bottom: 4px; }
.team-role{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.team-card p{ font-size: 0.9rem; color: var(--ink-soft); margin: 0; line-height: 1.65; }
.team-phone{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
}
.team-phone:hover{ color: var(--navy-800); }

/* ---------------------------------- Video Embed ---------------------------------- */
.video-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
}
.video-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption{
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  text-align: center;
}

/* ---------------------------------- Document / Feature Checklist Grid ---------------------------------- */
.doc-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0;
}
.doc-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.4;
}
.doc-item svg{ width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ---------------------------------- Process Timeline ---------------------------------- */
.timeline{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.timeline-step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  border-top: 3px solid var(--accent);
}
.timeline-step .num{
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.timeline-step h4{ font-size: 1rem; margin-bottom: 10px; line-height: 1.35; }
.timeline-step p{ font-size: 0.88rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ---------------------------------- Text + Video Split ---------------------------------- */
.split-with-media{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

/* ---------------------------------- Service Detail Pages ---------------------------------- */
.service-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-block{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.service-block .icon{
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--steel-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--blue-accent);
}
.service-block .icon svg{ width: 22px; height: 22px; }
.service-block h4{ font-size: 1.12rem; margin-bottom: 18px; }
.service-block p{ font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; margin: 0; }
.service-block ul{ display: flex; flex-direction: column; gap: 12px; }
.service-block li{
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.service-block li::before{
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.faq-group{ margin-bottom: 56px; }
.faq-group:last-child{ margin-bottom: 0; }
.faq-group-title{
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy-900);
  margin: 0 0 8px;
}
.faq-group-intro{ color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 24px; line-height: 1.65; }
.faq-list{ border-top: 1px solid var(--line); }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.98rem;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .plus{
  position: relative;
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy-800);
}
.faq-item summary .plus::before,
.faq-item summary .plus::after{
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-item summary .plus::before{ width: 10px; height: 1.6px; }
.faq-item summary .plus::after{ width: 1.6px; height: 10px; transition: transform .25s var(--ease); }
.faq-item[open] summary{ color: var(--accent); }
.faq-item[open] summary .plus{ border-color: var(--accent); color: var(--accent); }
.faq-item[open] summary .plus::after{ transform: translate(-50%, -50%) scaleY(0); }
.faq-item p{ margin: 0 0 24px; padding-right: 40px; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; }

/* ---------------------------------- News ---------------------------------- */
.news-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.news-head .section-head{ margin: 0; }

.news-rail{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.news-card{
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-card figure{
  margin:0;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display:flex; align-items:center; justify-content:center;
  position: relative;
  overflow: hidden;
}
.news-card figure::before{
  content:"";
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
}
.news-card figure span{
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  text-align: center;
  padding: 0 18px;
  letter-spacing: 0.02em;
}
.news-card .body{ padding: 28px 26px 28px; display:flex; flex-direction:column; gap: 12px; flex:1; }
.news-card .tag{ font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.news-card h4{ font-size: 1.04rem; line-height:1.35; }
.news-card p{ font-size: 0.9rem; color: var(--ink-soft); margin:0; flex:1; line-height: 1.65; }
.news-card .read-more{
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-top: 6px;
}

/* ---------------------------------- Blog ---------------------------------- */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card{
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card .tag{ font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.blog-card h4{ font-size: 1.04rem; line-height: 1.35; }
.blog-card p{ font-size: 0.9rem; color: var(--ink-soft); margin: 0; flex: 1; line-height: 1.65; }

/* ---------------------------------- Resources ---------------------------------- */
.resource-columns{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.resource-group h4{
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.resource-list{ display: flex; flex-direction: column; gap: 4px; }
.resource-list a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.resource-list a:hover{ color: var(--blue-accent); background: var(--steel-100); }
.resource-list a svg{ width: 14px; height: 14px; flex-shrink: 0; color: var(--accent); }

/* ---------------------------------- Job Listings ---------------------------------- */
.job-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  margin-bottom: 24px;
}
.job-card:last-child{ margin-bottom: 0; }
.job-card h4{ font-size: 1.18rem; margin-bottom: 10px; }
.job-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 18px;
}
.job-meta span{
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.job-card p{ font-size: 0.94rem; color: var(--ink-soft); line-height: 1.7; margin: 0 0 14px; }
.job-card p:last-of-type{ margin-bottom: 20px; }

/* ---------------------------------- Testimonials ---------------------------------- */
.testi-carousel{
  position: relative;
  padding: 0 64px;
}
.testi-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 12px;
}
.testi-track::-webkit-scrollbar{ display: none; }
.testi-card{
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.testi-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-800);
  z-index: 5;
  transition: background .2s, color .2s, border-color .2s;
}
.testi-nav svg{ width: 18px; height: 18px; }
.testi-nav:hover{ background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.testi-nav.prev{ left: 0; }
.testi-nav.next{ right: 0; }
.testi-nav:disabled{ opacity: 0.35; pointer-events: none; }

.testi-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.testi-dots span{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--steel-300);
  transition: background .2s, transform .2s;
}
.testi-dots span.active{ background: var(--accent); transform: scale(1.3); }
.testi-top{ display:flex; align-items:center; gap:12px; margin-bottom: 18px; }
.testi-avatar{
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-accent), var(--navy-700));
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-head); font-weight:700;
}
.testi-name{ font-weight: 700; font-size: 0.92rem; color: var(--navy-900); }
.testi-stars{ color: var(--accent); font-size: 0.8rem; letter-spacing: 2px; }
.testi-card p{ font-size: 0.9rem; color: var(--ink-soft); margin:0; line-height: 1.65; }

/* ---------------------------------- CTA / Contact strip ---------------------------------- */
.contact-strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.contact-strip h4{
  color:#fff;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 20px;
  display:flex; align-items:center; gap:10px;
}
.contact-strip .icon{
  width: 30px; height:30px; border-radius:50%;
  background: rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  color: var(--accent-soft);
}
.contact-strip .icon svg{ width:15px; height:15px; }
.contact-strip a, .contact-strip p{ color: var(--steel-300); font-size: 0.92rem; margin: 0 0 6px; }
.contact-strip a:hover{ color: #fff; }
.contact-strip .loc-group b{ display:block; color:#fff; font-size:0.82rem; margin: 14px 0 6px; }
.contact-strip .loc-group b:first-child{ margin-top:0; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer{
  background: var(--navy-950);
  color: var(--steel-400);
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; gap: 20px; flex-wrap:wrap;
}
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width: 36px; height:36px; border-radius:50%;
  border: 1px solid rgba(255,255,255,0.16);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s, border-color .2s;
}
.footer-social a:hover{ background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-social svg{ width:16px; height:16px; }
.footer-legal{ font-size: 0.78rem; }

/* ---------------------------------- Contact Form (dark-context, shared) ---------------------------------- */
.contact-form{ display: grid; gap: 18px; text-align: left; }
.contact-form .form-field label{
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 13px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color .2s, background .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{ color: rgba(255,255,255,0.35); }
.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: var(--accent-soft);
  background: rgba(255,255,255,0.1);
}
.contact-form textarea{ resize: vertical; min-height: 108px; }
.contact-form .form-status{
  font-size: 0.85rem;
  color: var(--accent-soft);
  display: none;
}
.contact-form .form-status.visible{ display: block; }

.hero-form-card{
  margin: 48px auto 0;
  max-width: 440px;
  padding: 32px 30px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  text-align: left;
}
.hero-form-card h3{
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
}

.footer-form-wrap{
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-form-inner{ max-width: 620px; margin: 0 auto; text-align: center; }
.footer-form-inner h3{
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.footer-form-inner > p{ color: var(--steel-400); font-size: 0.94rem; margin: 0 0 30px; }
.footer-form-inner .contact-form{ text-align: left; }

/* ---------------------------------- Responsive ---------------------------------- */
@media (max-width: 980px){
  .header-cta{ display:none; }
  .main-nav{
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 10px 20px 20px;
    gap: 2px;
  }
  .main-nav.is-open{ display: flex; }
  .main-nav a{ padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; text-align: center; }
  .main-nav a:last-child{ border-bottom: none; }
  .nav-toggle{ display:flex; }
  .nav-item{ width: 100%; text-align: center; }
  .nav-item > a{ width: auto; }
  .nav-caret{ display: inline-block; }
  .nav-item.is-open > a .nav-caret{ transform: rotate(180deg); }
  .dropdown{
    position: static;
    padding-top: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    width: 100%;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s var(--ease);
  }
  .nav-item.is-open .dropdown{ max-height: 500px; }
  .dropdown-inner{
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: none;
    padding: 4px 0 10px;
  }
  .dropdown-inner a{
    text-align: center;
    padding: 9px 8px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  .dropdown-inner a.active{ background: none; font-weight: 700; }
  .service-tabs{ display: none; }
  .practice-grid{ grid-template-columns: repeat(2, 1fr); }
  .news-rail{ grid-template-columns: repeat(2, 1fr); }
  .team-grid{ grid-template-columns: repeat(2, 1fr); }
  .team-grid--3{ grid-template-columns: repeat(2, 1fr); }
  .service-grid{ grid-template-columns: 1fr; }
  .doc-grid{ grid-template-columns: repeat(2, 1fr); }
  .timeline{ grid-template-columns: repeat(2, 1fr); }
  .split-with-media{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: repeat(2, 1fr); }
  .resource-columns{ grid-template-columns: 1fr; gap: 32px; }
  .testi-track{ grid-auto-columns: calc((100% - 24px) / 2); }
  .contact-strip{ grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px){
  .section{ padding: 80px 0; }
  .practice-grid{ grid-template-columns: 1fr; }
  .news-rail{ grid-template-columns: 1fr; }
  .team-grid{ grid-template-columns: 1fr; }
  .team-grid--3{ grid-template-columns: 1fr; }
  .doc-grid{ grid-template-columns: 1fr; }
  .timeline{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: 1fr; }
  .faq-item p{ padding-right: 0; }
  .page-hero{ min-height: 320px; padding: 64px 0; }
  .testi-carousel{ padding: 0 48px; }
  .testi-nav{ width: 38px; height: 38px; }
  .testi-nav.prev{ left: -4px; }
  .testi-nav.next{ right: -4px; }
  .testi-track{ grid-auto-columns: 100%; }
  .hero{ padding: 128px 0 88px; }
  .hero-brand{ gap: 16px; }
  .hero-mark{ height: 56px; }
  .hero-brand-divider{ height: 38px; }
  .footer-inner{ flex-direction: column; text-align:center; }
}
