/* ====== Design tokens ====== */
:root {
  --brand-navy: #0A2540;
  --brand-yellow: #E6C34A;
  --brand-tan: #C2A06B;
  --ink: #0b1320;
  --muted: #64748b;
  --bg: #ffffff;
  --card: #ffffff;
  --line: #e5e7eb;
  --shadow: 0 20px 45px rgba(2,8,23,.12);
}

/* ====== Base ====== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ====== Header / Nav - CENTERED DESIGN ====== */
.site-header {
  background: var(--brand-navy);
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Logo centered, no white card */
.brand {
  display: inline-block;
  text-decoration: none;
}

.brand img {
  display: block;
  height: auto;
  max-height: 120px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Navigation centered below logo */
.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 18px;
  font-weight: 600;
}

.main-nav a {
  color: var(--brand-yellow);
  text-decoration: none;
  transition: opacity 0.2s;
}

.main-nav a:hover {
  opacity: 0.85;
}

/* ====== Hero ====== */
.hero {
  background: linear-gradient(180deg, #f9fafb, transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 3rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-weight: 700;
}

.hero .sub {
  color: var(--muted);
  max-width: 55ch;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  background: #f1f5f9;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}

.hero-photo img {
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* ====== Sections ====== */
.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--ink);
}

/* ====== Grid & Cards ====== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.card li {
  margin-bottom: 0.5rem;
}

/* Practice Area Cards - Yellow Background */
#practice .card {
  background: var(--brand-yellow);
  border: 1px solid rgba(0,0,0,.08);
}

#practice .card h3 {
  color: var(--brand-navy);
  font-weight: 700;
}

#practice .card li {
  color: #1d232b;
}

/* Quote cards */
.quote {
  background: #f8fafc;
  border: 1px solid var(--line);
}

.quote .big {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Facts list */
.facts {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.facts li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.facts li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-yellow);
  font-weight: bold;
}

/* ====== Buttons ====== */
.btn {
  display: inline-block;
  border: none;
  background: var(--brand-yellow);
  color: var(--brand-navy);
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(230, 195, 74, 0.3);
  transition: all 0.2s;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 195, 74, 0.4);
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--brand-yellow);
  color: var(--brand-navy);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--brand-yellow);
}

.btn-light {
  background: var(--brand-yellow);
  color: var(--brand-navy);
}

/* ====== CTA Strip ====== */
.cta-strip {
  background: var(--brand-navy);
  padding: 3rem 0;
  text-align: center;
}

.cta-strip h3 {
  color: white;
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
}

.cta-strip-inner .cta-row {
  justify-content: center;
}

/* ====== Contact Form ====== */
.form-row {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-yellow);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.micro {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Contact card */
.contact-card h3 {
  margin-bottom: 1rem;
}

.map-embed {
  margin-top: 1.5rem;
}

/* ====== Footer ====== */
.footer {
  border-top: 1px solid var(--line);
  background: #fafafa;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #475569;
  font-size: 0.9rem;
}

.footer .links {
  display: flex;
  gap: 1.5rem;
}

.footer .links a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.footer .links a:hover {
  color: var(--brand-navy);
}

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .main-nav {
    gap: 24px;
    font-size: 16px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
