:root {
  --navy: #071829;
  --navy-2: #0b2236;
  --navy-3: #102b42;
  --gold: #cfa563;
  --gold-light: #ead2a7;
  --cream: #f7f4ee;
  --paper: #fffdfa;
  --ink: #142333;
  --muted: #64717c;
  --line: rgba(16, 43, 66, .12);
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(7, 24, 41, .10);
  --radius: 20px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--ink);
  border-bottom: 1px solid rgba(16,43,66,.1);
}

.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: max-content;
}
.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav > a:not(.btn) { color: var(--ink); transition: color .2s ease; }
.nav > a:not(.btn):hover { color: #a77836; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; }
.menu-toggle[aria-expanded="true"] span { background: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d7b374, #c6944c);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(201, 155, 85, .22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201, 155, 85, .32); filter: brightness(1.03); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-small { min-height: 42px; padding-inline: 18px; border-radius: 9px; }
.btn-large { min-height: 60px; padding-inline: 30px; font-size: 17px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background:
    linear-gradient(to right, rgba(247,244,238,.72) 0%, rgba(247,244,238,.32) 42%, transparent 62%),
    url("assets/hero-bg.jpg") center right / cover no-repeat;
  background-color: var(--cream);
  color: var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(to top, rgba(247,244,238,.9), transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: block;
  padding-top: 118px;
}
.hero-copy { padding: 90px 0 90px; max-width: 610px; }
.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a77836;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow span { width: 38px; height: 2px; background: var(--gold); }
.eyebrow-dark { color: #a77836; }
.hero h1,
.section h2,
.closing h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.025em;
}
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 3.1vw, 54px);
  line-height: 1.12;
  max-width: 560px;
}
.hero-subtitle {
  margin: 24px 0 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.text-link { font-size: 14px; font-weight: 700; color: var(--ink); }
.text-link span { color: #a77836; padding-left: 5px; }
.hero-note { margin-top: 25px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; max-width: 460px; }
.shield { width: 24px; height: 24px; border: 1px solid rgba(16,43,66,.2); border-radius: 50%; display: grid; place-items: center; color: #a77836; font-size: 12px; flex-shrink: 0; }

.section { padding: 96px 0; }
.services { background: var(--cream); }
.section-heading { max-width: 790px; margin-bottom: 50px; }
.centered { text-align: center; margin-inline: auto; }
.centered .eyebrow { justify-content: center; }
.centered .eyebrow span { display: none; }
.section h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; }
.section-heading > p:last-child { margin: 18px auto 0; max-width: 720px; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16, 43, 66, .07);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 28px 70px rgba(7,24,41,.13); }
.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fbf5e9;
  border: 1px solid rgba(207,165,99,.28);
  color: #b68643;
}
.icon-box svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 24px 0 12px; font-family: var(--font-display); font-size: 25px; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); }
.service-card a { display: inline-block; margin-top: 22px; color: #9a6e31; font-weight: 700; font-size: 14px; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); align-items: center; gap: 70px; }
.about-media { position: relative; }
.about-photo-wrap { position: relative; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); background: #eee9e1; aspect-ratio: .88; }
.about-photo-wrap::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(to top, rgba(7,24,41,.12), transparent); }
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.about-copy h2 { max-width: 660px; }
.about-copy > p:not(.eyebrow):not(.oab) { color: var(--muted); max-width: 660px; }
.about-copy .lead { font-size: 18px; color: var(--ink) !important; }
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.credentials > div { padding: 18px 16px; border-top: 1px solid var(--line); }
.credentials strong { display: block; font-size: 14px; margin-bottom: 6px; }
.credentials span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.oab { margin-top: 26px; font-weight: 700; color: #9a6e31 !important; letter-spacing: .04em; }

.closing {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 50%, rgba(207,165,99,.09), transparent 28%),
    linear-gradient(135deg, #061521 0%, #071829 60%, #0c2740 100%);
}
.closing::before {
  content: "§";
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 220px;
  color: rgba(207,165,99,.06);
}
.closing-inner { position: relative; z-index: 1; text-align: center; padding: 92px 0; max-width: 820px; }
.closing-inner .eyebrow { justify-content: center; }
.closing h2 { margin: 0; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.08; }
.closing p:not(.eyebrow) { margin: 20px auto 30px; max-width: 670px; color: rgba(255,255,255,.73); font-size: 17px; }
.privacy { display: block; margin-top: 17px; font-size: 12px; color: rgba(255,255,255,.56); }

.footer { background: #04111c; color: rgba(255,255,255,.72); padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.footer-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.footer h3 { margin: 0 0 10px; color: var(--gold-light); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer p { margin: 8px 0 0; font-size: 13px; line-height: 1.65; }
.footer-link { display: inline-block; margin-top: 12px; color: var(--gold-light); font-size: 13px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: rgba(255,255,255,.42); }

@media (max-width: 980px) {
  .nav { gap: 18px; }
  .hero h1 { font-size: clamp(34px, 4.4vw, 46px); max-width: 460px; }
  .service-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .credentials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .brand-logo { width: 178px; max-height: 44px; }
  .container { width: min(100% - 28px, 1180px); }
  .site-header { position: absolute; }
  .nav-wrap { height: 74px; }
  .menu-toggle { display: block; position: relative; z-index: 70; }
  .nav {
    position: fixed;
    inset: 0 0 auto;
    padding: 98px 24px 30px;
    background: rgba(4,17,28,.98);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    transform: translateY(-110%);
    transition: transform .25s ease;
    box-shadow: 0 16px 30px rgba(0,0,0,.18);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 8px; }
  .nav .btn { margin-top: 8px; }

  .hero {
    min-height: auto;
    background: var(--cream);
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 54vh;
    background: url("assets/hero-bg.jpg") 88% 15% / cover no-repeat;
  }
  .hero::after { inset: 32vh 0 auto; height: 24vh; background: linear-gradient(to bottom, transparent, var(--cream)); }
  .hero-grid { min-height: auto; padding-top: 0; }
  .hero-copy { padding: calc(54vh + 28px) 0 18px; max-width: none; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-copy .eyebrow span { display: none; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); margin-inline: auto; }
  .hero-subtitle { font-size: 16px; max-width: none; margin-inline: auto; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .btn { justify-content: center; }
  .hero-actions .text-link { text-align: center; }
  .hero-note { max-width: none; justify-content: center; }

  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { aspect-ratio: .93; max-width: 560px; }
  .credentials { grid-template-columns: 1fr; }
  .closing-inner { padding: 74px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .btn { width: 100%; }
  .text-link { font-size: 13px; }
  .service-card { padding: 30px 24px; }
  .about-grid { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
