/* Vo, Pham & Tran Law Firm — single-file stylesheet
   Palette: deep navy + warm gold + ivory paper.
   Typography: Cormorant Garamond (display) + Inter (text). */

:root {
  --navy: #0e2f4f;
  --navy-deep: #08213a;
  --navy-soft: #1c4773;
  --gold: #c9a866;
  --gold-deep: #a98344;
  --paper: #f7f3eb;
  --ink: #11243a;
  --ink-soft: #4a5b6e;
  --line: #e6dec9;
  --shadow: 0 18px 48px -28px rgba(8, 33, 58, .35);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--navy-deep);
  letter-spacing: -.005em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; font-weight: 600; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); line-height: 1.15; font-weight: 600; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }
strong { color: var(--ink); }

.kicker {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 .9rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 235, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__wrap {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1.5rem;
  padding: .85rem 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name-top { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.15rem; color: var(--navy-deep); }
.brand__name-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }

.nav__links { display: flex; gap: 1.6rem; justify-content: center; }
.nav__links a {
  font-size: .92rem; color: var(--ink); font-weight: 500;
  position: relative; padding: .25rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: .85rem; justify-content: end; }
.lang {
  border: 1px solid var(--line); background: transparent;
  padding: .45rem .65rem; border-radius: 999px;
  font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; letter-spacing: .04em;
}
.lang:hover { border-color: var(--gold); color: var(--navy); }
.lang__sep { margin: 0 .35em; color: var(--line); }
.lang [data-lang-en], .lang [data-lang-vi] { transition: color .15s; }
.nav[data-lang="en"] .lang [data-lang-en] { color: var(--navy); }
.nav[data-lang="vi"] .lang [data-lang-vi] { color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.3rem; border-radius: 10px;
  font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; transition: all .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--navy); color: var(--paper); }
.btn--primary:hover { background: var(--navy-deep); color: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% 20%, rgba(201,168,102,.18), transparent 60%),
    linear-gradient(180deg, #fbf7ef 0%, var(--paper) 100%);
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem clamp(3rem, 6vw, 5rem);
}
.hero__inner {
  max-width: var(--maxw); margin: 0 auto;
  position: relative; z-index: 2;
  max-width: 760px;
}
.hero__eyebrow {
  font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1.25rem; font-weight: 600;
}
.hero__title { font-weight: 600; }
.hero__lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 620px; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.hero__chips li {
  font-size: .82rem; color: var(--navy-deep);
  padding: .35rem .7rem; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.55);
}
.hero__seal {
  position: absolute; right: -40px; bottom: -40px;
  width: 360px; max-width: 45vw;
  color: rgba(14, 47, 79, .07);
  pointer-events: none; z-index: 1;
}
.hero__seal svg { width: 100%; height: auto; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(3rem, 6vw, 5.5rem) 1.25rem;
}
.section--alt { background: #fbf7ef; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__inner { max-width: var(--maxw); margin: 0 auto; }

.two-col {
  display: grid; gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 820px) {
  .two-col { grid-template-columns: 1.15fr .85fr; }
  .two-col--reverse { grid-template-columns: .85fr 1.15fr; }
  .two-col--reverse > :first-child { order: 1; }
  .two-col--reverse > :last-child { order: 2; }
  .two-col--contact { grid-template-columns: 1fr 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card--quiet { background: rgba(255,255,255,.7); }
.card h3 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--navy); }
.stats { display: grid; grid-template-columns: 1fr; gap: .9rem; margin: 0; padding: 0; }
.stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .85rem; border-bottom: 1px dashed var(--line); }
.stats > div:last-child { border-bottom: 0; padding-bottom: 0; }
.stats dt { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.stats dd { margin: 0; font-weight: 600; color: var(--navy-deep); text-align: right; }

/* ---------- Practice tiles ---------- */
.grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.tile__icon {
  width: 42px; height: 42px;
  background: linear-gradient(160deg, var(--navy), var(--navy-soft));
  color: var(--gold);
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: "Cormorant Garamond", serif; font-size: 1.4rem; font-weight: 700;
  margin-bottom: 1rem;
}
.tile h3 { margin: 0 0 .35rem; }
.tile p { margin: 0; font-size: .94rem; color: var(--ink-soft); }

/* ---------- Attorney profile ---------- */
.profile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.profile__photo {
  width: 170px; height: 170px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--gold);
  box-shadow: 0 8px 26px -10px rgba(8,33,58,.4);
  overflow: hidden;
  background: var(--navy);
}
.profile__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.profile__name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem; font-weight: 600;
  color: var(--navy-deep);
  margin: 0;
}
.post-nominal { color: var(--gold-deep); font-size: 1.15rem; margin-left: .15em; }
.profile__title { color: var(--ink-soft); font-size: .95rem; margin: .25rem 0 .5rem; }
.profile__bar { color: var(--ink-soft); font-size: .82rem; margin: 0; letter-spacing: .04em; }

.bullets { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.bullets li { padding: .65rem 0; border-bottom: 1px dashed var(--line); font-size: .96rem; color: var(--ink-soft); }
.bullets li:last-child { border-bottom: 0; }
.bullets strong { color: var(--navy-deep); margin-right: .35em; }

/* ---------- Partners ---------- */
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.partners-grid { gap: 1.5rem; margin-top: 2.5rem; }
.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.25rem;
  align-items: start;
  box-shadow: var(--shadow);
}
.member--vertical {
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
.member--vertical .member__avatar { width: 96px; height: 96px; margin-bottom: .25rem; }
.member__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 6px 18px -8px rgba(8,33,58,.35);
}
.member__avatar svg { width: 100%; height: 100%; display: block; }
.member__avatar--photo { background: var(--navy); }
.member__avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member__body { min-width: 0; }
.member__name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem; font-weight: 600; color: var(--navy-deep);
  margin: 0 0 .15rem;
}
.member__role {
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; color: var(--gold-deep); font-weight: 600;
  margin: 0 0 .85rem;
}
.member p { font-size: .94rem; margin-bottom: .85rem; }
.bullets--tight { margin-top: .85rem; }
.bullets--tight li { padding: .45rem 0; font-size: .88rem; }
@media (max-width: 540px) {
  .member { grid-template-columns: 1fr; text-align: left; }
  .member__avatar { margin-bottom: .25rem; }
}

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list__label {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.contact-list a { font-weight: 500; color: var(--navy-deep); font-size: 1.05rem; }
.contact-list address { font-style: normal; color: var(--ink); }
.contact-list__hint { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: .15rem; }

.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
  position: relative;
}
.map-card iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.foot {
  background: var(--navy-deep);
  color: rgba(247,243,235,.78);
  padding: 2.5rem 1.25rem 2rem;
}
.foot__wrap {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .foot__wrap { grid-template-columns: auto 1fr; align-items: start; gap: 3rem; } }
.foot__brand { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; color: var(--gold); margin: 0 0 .25rem; }
.foot__addr { margin: 0; font-size: .9rem; }
.foot__legal { font-size: .78rem; line-height: 1.55; color: rgba(247,243,235,.6); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 740px) {
  .nav__links { display: none; }
  .nav__wrap { grid-template-columns: auto 1fr; }
  .nav__cta .btn { display: none; }
  .contact-list li { grid-template-columns: 1fr; gap: .15rem; }
  .hero__seal { display: none; }
}
