/* ============================================================
   GOWRISHANKAR S — ADVOCATE PORTFOLIO
   Design System & Full Styles
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --navy: #1a2744;
  --navy-dark: #111c33;
  --navy-deep: #0a1a36;
  --navy-light: #2a3a5c;
  --gold: #b8953e;
  --gold-light: #d4b366;
  --ivory: #faf8f4;
  --off-white: #f5f3ef;
  --pale-blue: #eef2f7;
  --pale-green: #e8f0e8;
  --forest-green: #1b5e3b;
  --forest-green-dark: #14472d;
  --text-dark: #1a2744;
  --text-body: #3a3a3a;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --border-light: #e0ddd6;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-display: 'Source Serif 4', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);

  --radius: 6px;
  --max-width: 1200px;
  --section-py: 60px;
  --nav-height: clamp(68px, 6.6vw, 92px);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* --- Shared --- */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header--left { text-align: left; }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.gold-underline {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto;
}
.section-header--left .gold-underline { margin: 0; }

/* ============================================================
   TOP NAVIGATION — Deep navy bar, gold logo, gold pill CTA
   ============================================================ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  background: var(--navy-deep);
  transition: box-shadow .3s ease;
}
.top-nav.is-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.top-nav__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3.4vw, 56px);
  height: 100%;
}

/* Gold hairline: appears only once the page scrolls (the hero's gold swoosh takes over at the top) */
.top-nav__gold-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8892f 0%, #ecd596 50%, #b8892f 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
.top-nav.is-scrolled .top-nav__gold-line { opacity: 1; }

/* Brand: laurel logo + name + ADVOCATE */
.top-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity .2s;
}
.top-nav__brand:hover { opacity: .88; }
.top-nav__logo { flex-shrink: 0; display: flex; }
.top-nav__logo svg { display: block; width: clamp(44px, 4.6vw, 66px); height: auto; }
.top-nav__brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.top-nav__brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.35vw, 2.05rem);
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.1;
  background: linear-gradient(180deg, #f7e5ab 0%, #dcb862 55%, #c19536 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-light);
}
.top-nav__brand-role {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-nav__brand-role-text {
  font-family: var(--font-display);
  font-size: clamp(.62rem, .95vw, .85rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: .34em;
  padding-left: .34em;
  line-height: 1;
}
.top-nav__brand-dash {
  flex: 1;
  height: 1.5px;
  min-width: 10px;
  background: linear-gradient(90deg, #c9a24b, #ecd596);
}

/* Nav links */
.top-nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-nav__link {
  font-family: var(--font-display);
  font-size: clamp(.92rem, 1.3vw, 1.15rem);
  font-weight: 500;
  color: var(--white);
  padding: 8px clamp(10px, 1.4vw, 20px);
  border-radius: 6px;
  transition: color .2s;
  white-space: nowrap;
}
.top-nav__link:hover { color: #ecd596; }
.top-nav__link:focus-visible { outline: 2px solid #ecd596; outline-offset: 2px; }

/* Vertical gold divider before CTA */
.top-nav__divider {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #c9a24b, transparent);
  margin: 0 clamp(6px, 1vw, 14px);
}

/* CTA: gold gradient pill */
.top-nav__link--cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: italic;
  font-weight: 600;
  color: var(--navy-deep);
  padding: 11px clamp(16px, 1.8vw, 26px);
  border-radius: 10px;
  background: linear-gradient(180deg, #f3d98f 0%, #d9b254 55%, #c39637 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 10px rgba(0,0,0,.35);
  transition: filter .2s, transform .15s;
}
.top-nav__link--cta:hover {
  color: var(--navy-deep);
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* Hamburger — mobile only */
.top-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}
.top-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ecd596;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.top-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.top-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SECTION A: Hero — cream panel fading into the statue photo
   ============================================================ */
.hero {
  --wave-top: clamp(34px, 4.4vw, 66px);
  --wave-bottom: clamp(46px, 7.4vw, 108px);
  --q-indent: clamp(0px, 2.4vw, 36px);
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 45vw, 780px);
  background:
    radial-gradient(ellipse 60% 70% at 28% 48%, #fffdf9 0%, rgba(255,253,249,0) 70%),
    linear-gradient(100deg, #fbeedb 0%, #fdf5e8 35%, #f7e7cc 100%);
}

/* Curved navy + gold swooshes */
.hero__wave {
  position: absolute;
  left: 0;
  width: 100%;
  display: block;
  z-index: 4;
  pointer-events: none;
}
.hero__wave--top { top: -1px; height: var(--wave-top); }
.hero__wave--bottom { bottom: -1px; height: var(--wave-bottom); }

/* Photo: square, anchored right, left edge dissolves into the cream */
.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  aspect-ratio: 1 / 1;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 16%, #000 40%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 16%, #000 40%);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Laurel sprig on the left edge */
.hero__laurel {
  position: absolute;
  left: -8px;
  top: 24%;
  width: clamp(56px, 7vw, 108px);
  z-index: 2;
  opacity: .9;
  pointer-events: none;
}
.hero__laurel svg { display: block; width: 100%; height: auto; }

/* Text column */
.hero__card {
  position: relative;
  z-index: 3;
  max-width: 1600px;
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: calc(var(--wave-top) + 20px) 24px calc(var(--wave-bottom) + 6px) clamp(24px, 7.6vw, 140px);
}
.hero__card-inner { max-width: min(44vw, 700px); }

/* Name block: centred on itself, like the reference */
.hero__nameblock {
  width: fit-content;
  max-width: 100%;
  text-align: center;
  margin: 0 0 clamp(22px, 3.2vw, 46px) var(--q-indent);
}
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.75vw, 3.6rem);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: .005em;
  line-height: 1.08;
  margin-bottom: clamp(8px, 1vw, 14px);
}
.hero__designation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 16px);
  margin-bottom: clamp(6px, .8vw, 10px);
}
.hero__designation-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.65rem);
  font-weight: 500;
  color: var(--navy-deep);
  letter-spacing: .22em;
  padding-left: .22em;
  line-height: 1;
}
.hero__designation-dash {
  display: inline-block;
  width: clamp(36px, 5.2vw, 78px);
  height: 2px;
  background: linear-gradient(90deg, #b8892f, #d8b15a);
}
.hero__location {
  font-family: var(--font-sans);
  font-size: clamp(.92rem, 1.35vw, 1.2rem);
  color: var(--navy-deep);
  letter-spacing: .01em;
}

/* Quote */
.hero__quote {
  padding-left: var(--q-indent);
  margin-bottom: clamp(16px, 2vw, 28px);
}
.hero__quote p {
  position: relative;
  max-width: 21em;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.45vw, 2.35rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.27;
  letter-spacing: -.005em;
}
.quote-mark {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #cf9a2e;
  line-height: 0;
}
.quote-mark--open {
  position: absolute;
  left: -.78em;
  top: .42em;
  font-size: 1.55em;
}
.quote-mark--close {
  font-size: 1.55em;
  margin-left: .12em;
  vertical-align: -.28em;
}
.hero__quote footer {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 18px);
  margin: clamp(10px, 1.2vw, 16px) 0 0 calc(-1 * var(--q-indent));
  font-family: var(--font-sans);
  font-size: clamp(.85rem, 1.3vw, 1.15rem);
  color: var(--navy-deep);
}
.hero__quote footer cite { font-style: normal; }
.hero__quote-dash {
  display: inline-block;
  flex: 0 0 auto;
  width: clamp(30px, 4.2vw, 60px);
  height: 2px;
  background: linear-gradient(90deg, #b8892f, #d8b15a);
}

/* Tagline */
.hero__tagline {
  font-family: var(--font-sans);
  font-size: clamp(.92rem, 1.4vw, 1.25rem);
  color: var(--navy-deep);
  max-width: 30em;
  line-height: 1.55;
}

/* ============================================================
   SECTION B: Areas of Practice
   ============================================================ */
.practices {
  padding: var(--section-py) 30px;
  background: var(--off-white);
}
.practices__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.practice-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  height: 180px;
  text-align: center;
  cursor: default;
  transition: box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
}
.practice-card:hover,
.practice-card:focus-within {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.practice-card.is-active {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

/* Icon */
.practice-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--navy);
  flex-shrink: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.practice-card__icon svg {
  width: 100%;
  height: 100%;
}

/* Title — fades out on hover */
.practice-card__title {
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .2px;
  line-height: 1.35;
  transition: opacity .3s ease, transform .3s ease;
}

/* Description — overlays on hover */
.practice-card__desc {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  font-size: .88rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.6;
  background: var(--navy);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
  border-radius: var(--radius);
}

/* Hover / active states */
.practice-card:hover .practice-card__icon,
.practice-card:focus-within .practice-card__icon,
.practice-card.is-active .practice-card__icon {
  opacity: 0;
  transform: translateY(-8px);
}
.practice-card:hover .practice-card__title,
.practice-card:focus-within .practice-card__title,
.practice-card.is-active .practice-card__title {
  opacity: 0;
  transform: translateY(-8px);
}
.practice-card:hover .practice-card__desc,
.practice-card:focus-within .practice-card__desc,
.practice-card.is-active .practice-card__desc {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================================
   SECTION C: About
   ============================================================ */
.about {
  padding: var(--section-py) 30px;
  background: var(--pale-blue);
}
.about__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 50px;
}
.about__portrait {
  flex: 0 0 300px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about__portrait img {
  width: 100%;
  height: auto;
  display: block;
}
.about__text {
  flex: 1;
}
.about__text p {
  font-size: .95rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ============================================================
   SECTION D: Chatbot Banner
   ============================================================ */
.chatbot-banner {
  padding: 30px;
  background: var(--ivory);
}
.chatbot-banner__container {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--pale-green);
  border: 1px solid #c3d8c3;
  border-radius: var(--radius);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.chatbot-banner__icon {
  flex: 0 0 80px;
}
.chatbot-banner__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.chatbot-banner__text {
  flex: 1;
}
.chatbot-banner__label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--forest-green);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.chatbot-banner__text h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.chatbot-banner__text p {
  font-size: .85rem;
  color: var(--text-body);
  line-height: 1.5;
}
.chatbot-banner__action {
  flex: 0 0 auto;
  text-align: center;
}
.chatbot-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest-green);
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: background .2s;
  white-space: nowrap;
}
.chatbot-banner__btn:hover,
.chatbot-banner__btn:focus-visible {
  background: var(--forest-green-dark);
}
.chatbot-banner__disclaimer {
  font-size: .68rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 200px;
  line-height: 1.4;
}

/* ============================================================
   SECTION E: Contact
   ============================================================ */
.contact {
  padding: var(--section-py) 30px;
  background: var(--ivory);
}
.contact__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact__card {
  background: var(--pale-blue);
  border: 1px solid #dde3ec;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  border: 1.5px solid var(--navy);
}
.contact__card h3 {
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}
.contact__card p {
  font-size: .85rem;
  color: var(--text-body);
  line-height: 1.55;
}
.contact__card a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact__card a:hover { color: var(--gold); }
.contact__wa-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

/* ============================================================
   SECTION F: Footer
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 22px 30px;
  text-align: center;
}
.footer p {
  font-size: .75rem;
  color: #b0b8c8;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   CHATBOT MODAL
   ============================================================ */
.chatbot-modal[hidden] { display: none; }
.chatbot-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.chatbot-modal__window {
  position: relative;
  width: 420px;
  max-width: 95vw;
  max-height: 80vh;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatIn .25s ease;
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chatbot-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--forest-green);
  color: var(--white);
}
.chatbot-modal__header h3 {
  font-size: 1rem;
  font-weight: 600;
}
.chatbot-modal__close {
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
}
.chatbot-modal__close:hover { background: rgba(255,255,255,.15); }
.chatbot-modal__disclaimer {
  padding: 10px 18px;
  background: #fef9e7;
  border-bottom: 1px solid #f0e8c0;
}
.chatbot-modal__disclaimer p {
  font-size: .7rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.chatbot-modal__messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chatbot-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .85rem;
  line-height: 1.5;
}
.chatbot-msg--bot {
  align-self: flex-start;
  background: #eef6ee;
  color: var(--text-dark);
  border-bottom-left-radius: 2px;
}
.chatbot-msg--user {
  align-self: flex-end;
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 2px;
}
.chatbot-modal__input {
  display: flex;
  padding: 10px 14px;
  border-top: 1px solid var(--border-light);
  gap: 8px;
}
.chatbot-modal__input input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: .85rem;
  outline: none;
  font-family: var(--font-sans);
}
.chatbot-modal__input input:focus { border-color: var(--forest-green); }
.chatbot-modal__input button {
  background: var(--forest-green);
  color: var(--white);
  border-radius: 6px;
  padding: 0 14px;
  transition: background .2s;
}
.chatbot-modal__input button:hover { background: var(--forest-green-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet landscape */
@media (max-width: 1100px) {
  .practices__grid { grid-template-columns: repeat(3, 1fr); }
  .top-nav__link { padding: 8px 10px; }
}

/* Stacked hero */
@media (max-width: 960px) {
  /* Hero: text first, photo underneath */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: linear-gradient(180deg, #fffaf1 0%, #fbeedb 100%);
  }
  .hero__card {
    min-height: 0;
    padding: calc(var(--wave-top) + 18px) 24px 8px;
  }
  .hero__card-inner { max-width: 640px; }
  .hero__nameblock { margin-left: 0; }
  .hero__quote { padding-left: 1.1em; }
  .hero__quote p { font-size: clamp(1.25rem, 4.6vw, 1.7rem); }
  .hero__quote footer { margin-left: -1.1em; }
  .hero__photo {
    position: relative;
    top: auto; right: auto;
    align-self: flex-end;
    width: min(100%, 640px);
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: -24px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%), linear-gradient(to right, transparent 0%, #000 22%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 24%), linear-gradient(to right, transparent 0%, #000 22%);
    mask-composite: intersect;
  }
  .hero__laurel { display: none; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root {
    --section-py: 44px;
    --nav-height: 60px;
  }

  /* Nav collapses */
  .top-nav__inner { padding: 0 20px; }
  .top-nav__hamburger { display: flex; }
  .top-nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-top: 1px solid rgba(201,162,75,.35);
    flex-direction: column;
    padding: 16px 20px 22px;
    gap: 4px;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s ease, opacity .3s ease, visibility 0s linear .35s;
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
    z-index: 800;
  }
  .top-nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .35s ease, opacity .3s ease;
  }
  .top-nav__link {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 1.05rem;
  }
  .top-nav__divider {
    width: 60%;
    height: 1px;
    margin: 6px auto;
    background: linear-gradient(90deg, transparent, #c9a24b, transparent);
  }
  .top-nav__link--cta {
    margin-left: 0;
    justify-content: center;
    margin-top: 4px;
  }

  /* Practices */
  .practices__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .practice-card { height: 160px; }

  /* About */
  .about__container { flex-direction: column; gap: 30px; }
  .about__portrait { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }

  /* Chatbot banner */
  .chatbot-banner__container { flex-direction: column; text-align: center; padding: 24px 20px; }
  .chatbot-banner__disclaimer { margin: 8px auto 0; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }

  .section-header h2 { font-size: 1.6rem; }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --nav-height: 56px;
  }

  .hero__card { padding-left: 18px; padding-right: 18px; }

  .practices__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .practice-card { height: 150px; padding: 16px 12px; }
  .practice-card__title { font-size: .82rem; }
  .practice-card__desc { font-size: .82rem; padding: 16px 12px; }
  .practice-card__icon { width: 40px; height: 40px; }

  .chatbot-banner__text h2 { font-size: 1.2rem; }
  .chatbot-banner__btn { font-size: .82rem; padding: 10px 18px; }

  .top-nav__brand { gap: 9px; }
  .top-nav__brand-role { gap: 6px; }
}

@media (max-width: 360px) {
  .hero__name { font-size: 1.6rem; }
  .top-nav__brand-name { font-size: 1.05rem; }
  .practices__grid { grid-template-columns: 1fr; }
  .practice-card { height: 140px; }
}

