/* ============================================================================
   PERSONALINJURYATTORNEYSSAVANNAH.COM
   Kenneth S. Nugent, P.C. — Savannah Office
   Design system: Savannah Bananas palette (navy / yellow / green)
   Display: Cormorant Garamond | Body: Outfit | Utility: Barlow Condensed
   ============================================================================ */

:root {
  --navy: #0B2545;
  --navy-deep: #071A32;
  --navy-light: #14406E;
  --yellow: #FFD100;
  --yellow-deep: #E6BC00;
  --yellow-pale: #FFF6D6;
  --green: #1A6B3C;
  --green-deep: #114A29;
  --green-pale: #E7F3EC;
  --white: #FFFFFF;
  --cream: #FBF9F3;
  --ink: #16202B;
  --ink-soft: #4A5560;
  --line: #E3DFD3;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-utility: "Barlow Condensed", sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(11,37,69,0.08);
  --shadow-md: 0 10px 30px rgba(11,37,69,0.14);
  --shadow-lg: 0 24px 60px rgba(11,37,69,0.20);

  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.eyebrow {
  font-family: var(--font-utility);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--green-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--yellow-deep); display: inline-block; }

.prose h2 { margin-top: 2.4em; margin-bottom: 0.6em; }
.prose h3 { margin-top: 1.8em; margin-bottom: 0.5em; color: var(--green-deep); }
.prose p { margin-bottom: 1.1em; color: var(--ink-soft); font-size: 1.05rem; }
.prose ul, .prose ol { margin: 0 0 1.3em 1.4em; list-style: disc; color: var(--ink-soft); }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-utility);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--navy-deep); box-shadow: var(--shadow-sm); }
.btn--yellow:hover { background: var(--yellow-deep); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.55); }
.btn--outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-light); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-deep); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  border-bottom: 3px solid var(--yellow);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container); margin: 0 auto;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--yellow); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.2; }
.brand-text .name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.brand-text .tag { font-family: var(--font-utility); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem; color: var(--yellow); display: block; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.94rem; font-weight: 500;
  padding: 10px 14px; border-radius: var(--radius-sm);
  position: relative;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.main-nav .dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: 100%; left: 0; margin-top: 6px;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px;
  min-width: 300px; columns: 2; column-gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.18s ease;
}
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { color: var(--navy); font-size: 0.88rem; padding: 8px 10px; display: block; break-inside: avoid; }
.dropdown-panel a:hover { background: var(--green-pale); color: var(--green-deep); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { color: var(--white); text-align: right; font-family: var(--font-utility); }
.header-phone .num { font-size: 1.15rem; font-weight: 700; color: var(--yellow); display: block; letter-spacing: 0.02em; }
.header-phone .label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }

.nav-toggle { display: none; color: var(--white); font-size: 1.6rem; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 300;
  background: var(--navy-deep);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 20px;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mobile-drawer-close { color: var(--white); font-size: 1.8rem; }
.mobile-drawer a {
  display: block; color: var(--white); padding: 14px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.05rem;
}
.mobile-drawer .mob-group-label {
  color: var(--yellow); font-family: var(--font-utility);
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem;
  margin: 18px 0 6px;
}
.mobile-drawer .call-btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-deep);
  flex-shrink: 0;
}
.hero-media iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: auto;
}
.hero-inner {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 48px;
  align-items: center;
  padding: 80px 24px 50px;
  width: 100%;
}
.hero-content { max-width: none; }
.hero .eyebrow { color: var(--yellow); }
.hero .eyebrow::before { background: var(--green); }
.hero h1 { color: var(--white); margin: 18px 0 20px; }
.hero h1 em { font-style: italic; color: var(--yellow); }
.hero-sub { color: rgba(255,255,255,0.86); font-size: 1.18rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; }
.hero-stats .stat { color: var(--white); }
.hero-stats .stat b { font-family: var(--font-display); font-size: 2.1rem; color: var(--yellow); display: block; line-height: 1; }
.hero-stats .stat span { font-family: var(--font-utility); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.76rem; color: rgba(255,255,255,0.7); }

.mute-toggle {
  position: absolute; z-index: 4; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(7,26,50,0.68); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white); padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-utility); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem;
}
.mute-toggle:hover { border-color: var(--yellow); color: var(--yellow); }
.mute-toggle svg { width: 16px; height: 16px; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-media { max-width: 560px; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 80px 20px 50px; }
  .hero-media { max-width: 100%; }
}


/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--green { background: var(--green-deep); color: var(--white); }
.section--green h2 { color: var(--white); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 16px; }
.section--navy .section-head p, .section--green .section-head p { color: rgba(255,255,255,0.78); }

/* Skyline divider - signature element referencing Bull St / historic Savannah */
.skyline-divider { width: 100%; height: 64px; display: block; }
.skyline-divider path { fill: var(--cream); }
.skyline-divider.on-navy path { fill: var(--navy); }
.skyline-divider.on-green path { fill: var(--green-deep); }
.skyline-divider--cream-top {
  margin-bottom: -64px;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.skyline-divider.flip { transform: rotate(180deg); }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 28px 24px; border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--yellow); }
.service-card .icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--green-pale); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 1.5rem;
}
.service-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 14px; }
.service-card .more { color: var(--green-deep); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .more::after { content: "→"; transition: transform 0.18s ease; }
.service-card:hover .more::after { transform: translateX(4px); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-deep); padding: 26px 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.trust-item { color: rgba(255,255,255,0.85); font-family: var(--font-utility); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.86rem; display: flex; align-items: center; gap: 10px; }
.trust-item b { color: var(--yellow); font-family: var(--font-display); font-size: 1.5rem; text-transform: none; letter-spacing: 0; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step .num { font-family: var(--font-display); font-size: 3rem; color: var(--yellow); line-height: 1; }
.step h3 { margin: 10px 0 8px; }
.step p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px; text-align: left; font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; color: var(--navy); gap: 20px;
}
.faq-q .plus { font-size: 1.6rem; color: var(--green-deep); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 4px 22px; color: var(--ink-soft); }

/* ---------- Map / office section ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
@media (max-width: 900px) { .office-grid { grid-template-columns: 1fr; } }
.office-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 380px; border: 4px solid var(--white); }
.office-map iframe { width: 100%; height: 100%; min-height: 380px; }
.office-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.office-card h3 { margin-bottom: 18px; }
.office-detail { display: flex; gap: 14px; margin-bottom: 18px; }
.office-detail .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow-pale); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.office-detail b { display: block; color: var(--navy); font-size: 0.95rem; }
.office-detail span { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--yellow); border-radius: var(--radius-lg);
  padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--navy-deep); }
.cta-banner p { color: var(--navy); opacity: 0.85; margin-top: 8px; }

/* ---------- Sidebar / practice-area page layout ---------- */
.page-hero {
  background: var(--navy); color: var(--white); padding: 64px 0 46px;
  border-bottom: 4px solid var(--yellow);
}
.breadcrumb { font-family: var(--font-utility); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.breadcrumb a { color: var(--yellow); }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255,255,255,0.82); max-width: 680px; margin-top: 14px; font-size: 1.08rem; }
.page-hero .hero-quick-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; padding: 64px 0; }
@media (max-width: 980px) { .content-grid { grid-template-columns: 1fr; } }
.content-body {}
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-cta {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
  padding: 30px; text-align: center;
}
.sidebar-cta h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-bottom: 18px; }
.sidebar-cta .phone-big { font-family: var(--font-display); font-size: 1.8rem; color: var(--yellow); display: block; margin-bottom: 14px; }
.sidebar-box { background: var(--white); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--line); }
.sidebar-box h3 { font-size: 1.05rem; margin-bottom: 14px; }
.sidebar-box ul { list-style: none; margin: 0; }
.sidebar-box ul li { margin-bottom: 4px; }
.sidebar-box ul a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--ink-soft); }
.sidebar-box ul a:hover { background: var(--green-pale); color: var(--green-deep); }
.sidebar-box .stat-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.sidebar-box .stat-line b { color: var(--navy); }

.statute-box {
  background: var(--green-pale); border-left: 4px solid var(--green);
  border-radius: var(--radius-sm); padding: 20px 24px; margin: 24px 0;
}
.statute-box b { color: var(--green-deep); font-family: var(--font-utility); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; }
.warning-box {
  background: var(--yellow-pale); border-left: 4px solid var(--yellow-deep);
  border-radius: var(--radius-sm); padding: 20px 24px; margin: 24px 0;
}
.warning-box b { color: #7A5B00; font-family: var(--font-utility); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; }

table.data-table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; font-size: 0.94rem; }
table.data-table th { background: var(--navy); color: var(--white); text-align: left; padding: 12px 16px; font-family: var(--font-utility); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8rem; }
table.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
table.data-table tr:nth-child(even) td { background: rgba(11,37,69,0.02); }

/* Related practice areas strip */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.related-card a.title { color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.related-card p { color: var(--ink-soft); font-size: 0.88rem; margin: 8px 0 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: var(--white); font-family: var(--font-utility); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--yellow); }
.footer-col p { font-size: 0.92rem; margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.footer-bottom a { text-decoration: underline; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge {
  background: rgba(255,255,255,0.1); color: var(--white); padding: 8px 16px;
  border-radius: 999px; font-size: 0.8rem; font-family: var(--font-utility);
  text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid rgba(255,255,255,0.2);
}

/* Skip link for a11y */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--navy-deep);
  padding: 12px 20px; z-index: 999; font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
