/* Chaya Posner Law — Shared Styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a3d1c;
  --navy-mid: #2a5c2d;
  --gold: #C9A55A;
  --gold-light: #E8C97A;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F0F2F5;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --text: #1a2e1a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { color: var(--gray-700); line-height: 1.8; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--gray-100); }

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,165,90,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-tag {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav > li { position: relative; }

.main-nav > li > a {
  display: block;
  padding: 8px 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 4px;
  transition: color 0.2s;
}

.main-nav > li > a:hover { color: var(--gold); }

.main-nav .has-dropdown:hover .dropdown { display: block; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  background: transparent;
  min-width: 200px;
  list-style: none;
}

.dropdown::before {
  content: '';
  display: block;
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: -1;
}

.dropdown li { position: relative; z-index: 1; }

.dropdown li a {
  display: block;
  padding: 10px 16px;
  color: var(--gray-700);
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
}

.dropdown li a:hover { background: var(--gray-50); color: var(--navy); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-phone:hover { color: var(--gold-light); }

/* Mobile nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--white);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3060 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A55A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,165,90,0.15);
  border: 1px solid rgba(201,165,90,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 { color: var(--white); margin-bottom: 20px; }

.hero h1 span { color: var(--gold); }

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 500px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  line-height: 1.4;
}

/* Section headers */
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title { color: var(--navy); margin-bottom: 16px; }
.section-title span { color: var(--gold); }
.section-desc { color: var(--gray-500); font-size: 1.05rem; max-width: 600px; }

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-2px); }

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,165,90,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.4rem;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Service areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.area-chip {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  transition: all 0.15s;
}

.area-chip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 80px 0;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section h2 span { color: var(--gold); }
.cta-section p { color: rgba(255,255,255,0.75); margin-bottom: 32px; }

.cta-checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.cta-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.cta-checklist li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: rgba(201,165,90,0.2);
  border: 1px solid rgba(201,165,90,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Attorney section */
.attorney-section {
  background: var(--gray-50);
  padding: 80px 0;
}

.attorney-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.attorney-image-wrap { position: relative; }

.attorney-image-wrap img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 540px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.attorney-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.4;
}

.attorney-quote {
  background: var(--navy);
  color: var(--white);
  padding: 24px 28px;
  border-radius: 10px;
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-2px); }

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Page image strip */
.page-img-strip {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.blog-card-body { padding: 24px; }

.blog-tag {
  display: inline-block;
  background: rgba(201,165,90,0.12);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.blog-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--gold); }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo-name { font-size: 1.25rem; margin-bottom: 4px; }
.footer-brand .logo-tag { display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.875rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-full {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding: 20px 0;
}

.footer-bottom-full .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 0.8rem; }
.footer-disclaimer { font-size: 0.75rem; max-width: 600px; opacity: 0.6; line-height: 1.6; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  padding: 80px 0;
  color: var(--white);
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Content image — shown inside content section */
.content-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 360px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: block;
  margin-bottom: 24px;
}

.page-img-strip { display: none; }

/* Practice areas list */
.pa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pa-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
}

.pa-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: var(--gold); }

.pa-card-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pa-card h3 { color: var(--navy); margin-bottom: 12px; }
.pa-card p { font-size: 0.95rem; }

.pa-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 16px;
}

/* Content section */
.content-section { padding: 80px 0; }

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.checklist li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Tag grid */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}

/* GHL Booking embed */
.booking-wrap {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

/* Steps */
.steps { display: flex; flex-direction: column; gap: 24px; }

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-body h4 { color: var(--navy); font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 4px; }
.step-body p { font-size: 0.9rem; }

/* Divider */
.divider { height: 1px; background: var(--gray-100); margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .attorney-inner { grid-template-columns: 1fr; }
  .attorney-image-wrap { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .pa-grid { grid-template-columns: 1fr; }
  .content-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .section { padding: 56px 0; }
}
