/* ── Reset & variables ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #1a3a47;
  --primary-dark: #0f2530;
  --primary-mid:  #2a5263;
  --accent:       #0C71C3;
  --accent-light: #50a9d3;
  --gold:         #c8962a;
  --text:         #1a1a1a;
  --text-light:   #555;
  --text-muted:   #888;
  --border:       #e0e0e0;
  --bg-light:     #f6f7f8;
  --white:        #ffffff;
  --radius:       4px;
  --shadow:       0 2px 12px rgba(0,0,0,.08);
  --shadow-md:    0 4px 24px rgba(0,0,0,.13);
  --max-w:        1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 92%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #0a5fa3; color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b07e1e; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.header-top { border-bottom: 1px solid rgba(255,255,255,.08); }

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
  gap: 1rem;
}

.logo img { height: 64px; width: auto; }

.btn-text-charlie {
  display: none;
  align-items: center;
  gap: .45rem;
  background: var(--accent);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .6rem 1.4rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background .2s;
}
.btn-text-charlie:hover { background: #0a5fa3; color: #fff; text-decoration: none; }

.header-cta { display: none; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.header-cta .cta-label { font-size: .65rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2rem; }
.header-cta .cta-phone {
  display: flex; align-items: center; gap: .35rem;
  font-size: 1.55rem; font-weight: 800; color: #fff; letter-spacing: .01em;
  text-decoration: none;
}
.header-cta .cta-phone:hover { color: var(--gold); text-decoration: none; }
.header-cta .cta-phone svg { color: var(--gold); }

/* hamburger */
.nav-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: .3s; }

.header-nav { background: rgba(0,0,0,.18); }
.header-nav .container { display: flex; justify-content: center; }

.site-nav ul { list-style: none; display: flex; gap: 0; }
.site-nav a {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .7rem 1.1rem;
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }

.mobile-menu {
  display: none;
  background: var(--primary);
  padding: 1rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu a {
  display: block;
  padding: .75rem 1.5rem;
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu .mobile-text-charlie {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: .75rem 1.5rem .25rem;
  padding: .7rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 5px;
  border-bottom: none;
}
.mobile-menu .mobile-text-charlie:hover { background: #0a5fa3; text-decoration: none; }
.mobile-menu .mobile-phone {
  display: block;
  padding: .75rem 1.5rem 1rem;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
}

@media (min-width: 768px) {
  .btn-text-charlie { display: flex; }
  .header-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero { background: var(--primary-dark); line-height: 0; }
.hero picture, .hero img { width: 100%; display: block; height: auto; }

/* ── CTA strip ───────────────────────────────────────────── */
.cta-strip { background: var(--white); padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.cta-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid #c0d8e8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 2rem;
}
.cta-strip-text { font-size: 1.35rem; font-weight: 700; color: var(--text-light); }
@media (min-width: 600px) {
  .cta-strip-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 820px;
    margin: 0 auto;
  }
}

/* ── Section defaults ────────────────────────────────────── */
.section { padding: 3.5rem 0; }
.section-gray { background: var(--bg-light); }
.section-dark { background: var(--primary-dark); }
.section-title { margin-bottom: 1.5rem; }
.section-title.centered { text-align: center; }
.section-sub { color: var(--text-light); font-size: 1.05rem; margin-bottom: 2rem; }
.section-sub.centered { text-align: center; }

/* ── Why Hire ────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.why-text h2 { margin-bottom: 1.25rem; }
.why-text ul { list-style: none; padding: 0; }
.why-text ul li {
  padding: .55rem 0 .55rem 1.75rem;
  position: relative;
  color: var(--text);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
}
.why-text ul li:last-child { border-bottom: none; }
.why-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.why-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .why-grid { grid-template-columns: 3fr 2fr; }
  .why-photo img { max-width: 100%; }
}

/* ── Quote ───────────────────────────────────────────────── */
.quote-section { background: var(--white); padding: 3rem 0; }
.quote-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid #b8d4e8;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  background: var(--white);
}
.quote-card blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: .75rem;
}
.quote-card cite { color: var(--text-muted); font-size: .9rem; font-style: normal; }

/* ── Practice areas ──────────────────────────────────────── */
.practice-section { background: var(--bg-light); padding: 3.5rem 0; }
.pa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.pa-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s, background .25s, border-color .25s;
  text-decoration: none;
  color: inherit;
}
.pa-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.02);
  text-decoration: none;
  background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  border-color: transparent;
}
.pa-card:hover h3 { color: #fff; }
.pa-card:hover p  { color: rgba(255,255,255,.8); }
.pa-card.featured  { background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary-mid) 100%); border-color: transparent; }
.pa-card.featured h3, .pa-card.featured p { color: rgba(255,255,255,.92); }
.pa-card img { width: 64px; height: auto; margin-bottom: 1rem; }
.pa-card h3 { color: var(--primary); margin-bottom: .6rem; }
.pa-card p { font-size: .92rem; color: var(--text-light); line-height: 1.6; }
.pa-card.featured { background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary-mid) 100%); border-color: transparent; }
.pa-card.featured h3, .pa-card.featured p { color: rgba(255,255,255,.92); }
.pa-card.featured p { color: rgba(255,255,255,.75); }
.pa-all-link { text-align: center; margin-top: 2rem; }
@media (min-width: 640px) { .pa-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Team ────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}
.team-card img { width: 100%; height: 280px; object-fit: cover; object-position: top; }
.team-card-body { padding: 1.5rem; }
.team-card h3 { margin-bottom: .25rem; }
.team-card .role { font-size: .8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.team-card p { font-size: .9rem; color: var(--text-light); }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; max-width: 720px; margin-left: auto; margin-right: auto; } }

/* ── Reviews ─────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.review-stars { color: #f4b800; font-size: 1.1rem; margin-bottom: .5rem; }
.review-text { font-size: .93rem; color: var(--text-light); line-height: 1.65; margin-bottom: .75rem; font-style: italic; }
.review-author { font-size: .85rem; font-weight: 700; color: var(--text); }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Badges ──────────────────────────────────────────────── */
.badges-section { background: var(--white); padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.badges-inner { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.badges-inner img { height: 60px; width: auto; opacity: .8; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact-left p { color: var(--text-light); font-size: 1rem; }

.contact-left input,
.contact-left textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  margin-bottom: .75rem;
  transition: border-color .2s;
}
.contact-left input:focus,
.contact-left textarea:focus { border-color: var(--accent); outline: none; }
.contact-left textarea { height: 120px; resize: vertical; }
.contact-right p { color: var(--text-light); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.75); padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-col h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; font-family: inherit; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-disclaimer { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: .5rem; line-height: 1.5; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ── Dev credit ──────────────────────────────────────────────────────────── */
.footer-credit {
  display: block; width: 100%; text-align: center;
  margin-top: .85rem; padding-bottom: .25rem;
  font-size: .68rem; letter-spacing: .08em;
  color: rgba(255,255,255,.28);
}
.footer-credit a { color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.footer-credit a:hover { color: rgba(255,255,255,.65); }
