:root {
  --bg: #f5f2eb;
  --surface: #ffffff;
  --surface-soft: #ebe7dd;
  --ink: #18212a;
  --muted: #5f6972;
  --deep: #142b3a;
  --deep-2: #1e4055;
  --accent: #b79254;
  --line: rgba(20, 43, 58, .14);
  --shadow: 0 24px 60px rgba(20, 43, 58, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-soft { background: var(--surface-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(20,43,58,.94);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { color: white; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: rgba(255,255,255,.88); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: white; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: white; margin: 5px 0; border-radius: 3px; }

.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(183,146,84,.25), transparent 28%),
    linear-gradient(135deg, var(--deep) 0%, #0e202c 100%);
  color: white;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 12px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); }
h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { margin-bottom: 24px; max-width: 780px; font-size: clamp(3.5rem, 8vw, 7.2rem); line-height: .94; font-weight: 500; letter-spacing: -.045em; }
.hero-text { max-width: 560px; margin: 0 0 34px; color: rgba(255,255,255,.75); font-size: 1.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 800; background: var(--accent); color: #10212c; }
.hero-card { padding: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(255,255,255,.08); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.card-label { display: block; margin-bottom: 10px; color: rgba(255,255,255,.67); font-size: .86rem; text-transform: uppercase; letter-spacing: .14em; }
.hero-card strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.05; font-weight: 500; }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; font-weight: 500; letter-spacing: -.035em; color: var(--deep); }
.lawyer-card { display: flex; align-items: center; gap: 22px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 45px rgba(20,43,58,.06); }
.initials { flex: 0 0 auto; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: white; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.lawyer-card h3 { margin-bottom: 4px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; }
.lawyer-card p { margin: 0; color: var(--muted); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 16px 38px rgba(20,43,58,.05); }
.service-number { font-size: .8rem; letter-spacing: .15em; color: var(--accent); font-weight: 800; }
.service-card h3 { margin: 50px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; line-height: 1.2; font-weight: 500; color: var(--deep); }
.service-card-accent { background: var(--deep); color: white; }
.service-card-accent h3 { color: white; }
.price { margin: 14px 0 0; color: var(--accent); font-size: 1.8rem; font-weight: 900; }

.site-footer { padding: 28px 0; background: #0d1e28; color: rgba(255,255,255,.72); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: white; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 190px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: #102631;
    box-shadow: 0 20px 50px rgba(0,0,0,.22);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 14px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1120px); }
  h1 { font-size: clamp(3rem, 17vw, 5.1rem); }
  .hero-card, .lawyer-card, .service-card { border-radius: 20px; }
  .lawyer-card { align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
