:root {
  --navy-950: #071426;
  --navy-900: #0b1f3a;
  --navy-800: #123055;
  --navy-700: #1a416f;
  --gold-500: #c7a45d;
  --gold-400: #d7b96f;
  --gold-200: #ead9ad;
  --ivory: #f8f5ed;
  --warm-white: #fffdf8;
  --mist: #f3f5f7;
  --slate: #5f6b7a;
  --charcoal: #202938;
  --line: #dce2e8;
  --danger: #b42318;
  --success: #176b43;
  --shadow-sm: 0 10px 30px rgba(8, 30, 57, 0.08);
  --shadow-md: 0 22px 55px rgba(8, 30, 57, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--warm-white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(199, 164, 93, 0.45);
  outline-offset: 3px;
}

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; scroll-margin-top: 90px; }
.section-muted { background: var(--mist); }
.centered { text-align: center; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 10px 16px;
  background: #fff;
  color: var(--navy-900);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { top: 14px; }

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #9a7333; }
h1, h2, h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  color: var(--navy-900);
}
h1 { font-size: clamp(3rem, 6vw, 5.6rem); letter-spacing: -0.035em; }
h2 { margin-bottom: 20px; font-size: clamp(2.35rem, 4vw, 4rem); letter-spacing: -0.025em; }
h3 { font-size: 1.55rem; }
p { margin-top: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-gold { color: var(--navy-950); background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); box-shadow: 0 12px 28px rgba(199, 164, 93, 0.22); }
.btn-gold:hover { box-shadow: 0 18px 34px rgba(199, 164, 93, 0.3); }
.btn-navy { color: white; background: var(--navy-900); box-shadow: 0 12px 28px rgba(11, 31, 58, 0.18); }
.btn-navy:hover { background: var(--navy-800); }
.btn-light { color: var(--navy-900); background: rgba(255,255,255,0.95); }
.btn-ghost { color: var(--navy-900); background: transparent; border-color: rgba(11,31,58,.16); }
.btn-outline { color: var(--navy-900); background: transparent; border-color: rgba(11,31,58,.22); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.site-header.scrolled {
  background: rgba(255, 253, 248, 0.93);
  backdrop-filter: blur(16px);
  border-color: rgba(11,31,58,.08);
  box-shadow: 0 8px 24px rgba(7,20,38,.08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 290px; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(199,164,93,.45); border-radius: 50%; color: var(--gold-500);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-mark path, .brand-mark circle { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand strong { display: block; color: var(--navy-900); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.25rem; line-height: 1.05; }
.brand small { display: block; margin-top: 4px; color: var(--slate); font-size: .68rem; line-height: 1.2; }
.desktop-nav { display: flex; align-items: center; gap: 23px; }
.desktop-nav a { position: relative; color: #324051; font-size: .9rem; font-weight: 600; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--gold-500); transition: right 180ms ease; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--navy-900); }

.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1300; width: min(380px, 88vw);
  padding: 24px; background: var(--warm-white); transform: translateX(105%); transition: transform 240ms ease;
  box-shadow: -20px 0 50px rgba(7,20,38,.18);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-weight: 800; }
.mobile-nav nav { display: grid; padding: 22px 0; }
.mobile-nav nav a { padding: 12px 4px; border-bottom: 1px solid rgba(220,226,232,.7); font-weight: 700; }
.icon-button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--mist); color: var(--navy-900); font-size: 1.7rem; line-height: 1; }
.nav-backdrop { position: fixed; inset: 0; z-index: 1200; background: rgba(3,10,20,.5); opacity: 0; visibility: hidden; transition: 200ms ease; }
.nav-backdrop.open { opacity: 1; visibility: visible; }

.hero {
  position: relative;
  min-height: 860px;
  padding: calc(var(--header-height) + 90px) 0 90px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 75% 22%, rgba(199,164,93,.18), transparent 28%),
    linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 58%, #173d67 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(30deg, rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(150deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 84px 84px;
}
.hero::after { content: ""; position: absolute; left: -180px; bottom: -260px; width: 520px; height: 520px; border: 1px solid rgba(199,164,93,.2); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 70px; }
.hero h1 { color: white; margin-bottom: 24px; }
.hero h1 span { color: var(--gold-400); }
.hero-copy { max-width: 700px; color: rgba(255,255,255,.78); font-size: 1.1rem; }
.hero-identity { display: flex; flex-direction: column; margin: 30px 0; padding-left: 18px; border-left: 2px solid var(--gold-500); }
.hero-identity strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.55rem; }
.hero-identity span { color: rgba(255,255,255,.72); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero .text-link { margin-left: 4px; color: white; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.trust-row span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: rgba(255,255,255,.72); font-size: .75rem; }
.hero-art { position: relative; }
.hero-art-card {
  position: relative; min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  backdrop-filter: blur(8px); box-shadow: 0 40px 90px rgba(0,0,0,.22);
}
.hero-art-card::before, .hero-art-card::after { content: ""; position: absolute; border: 1px solid rgba(199,164,93,.34); border-radius: 50%; }
.hero-art-card::before { width: 340px; height: 340px; }
.hero-art-card::after { width: 410px; height: 410px; opacity: .5; }
.legal-emblem { position: relative; z-index: 2; width: 235px; color: var(--gold-400); }
.legal-emblem circle, .legal-emblem path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hero-art-caption { position: relative; z-index: 2; display: flex; gap: 16px; margin-top: 36px; color: rgba(255,255,255,.72); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue { position: absolute; left: 50%; bottom: 25px; z-index: 3; width: 28px; height: 46px; border: 1px solid rgba(255,255,255,.38); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: var(--gold-400); transform: translateX(-50%); animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0%,100% { opacity:.3; transform: translate(-50%,0); } 50% { opacity:1; transform: translate(-50%,15px); } }

.two-column { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 90px; }
.about-visual { position: relative; }
.portrait-placeholder {
  min-height: 570px; display: grid; place-items: center; align-content: center; gap: 16px;
  border-radius: var(--radius-lg); color: var(--navy-900);
  background: linear-gradient(145deg, #e8edf2, #f9f6ee); box-shadow: var(--shadow-md); overflow: hidden;
}
.portrait-placeholder::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(199,164,93,.4); border-radius: 24px; }
.portrait-initials { position: relative; z-index: 1; display: grid; place-items: center; width: 150px; height: 150px; border: 1px solid rgba(11,31,58,.18); border-radius: 50%; font-family: "Cormorant Garamond", Georgia, serif; font-size: 4rem; color: var(--gold-500); }
.portrait-placeholder p { position: relative; z-index: 1; color: var(--slate); font-size: .85rem; }
.seal-card { position: absolute; right: -26px; bottom: 34px; display: flex; align-items: center; gap: 12px; width: 275px; padding: 18px 20px; border-radius: 16px; background: white; box-shadow: var(--shadow-md); }
.seal-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--navy-900); background: var(--gold-200); font-weight: 900; }
.seal-card strong, .seal-card small { display: block; }
.seal-card small { color: var(--slate); }
.section-copy > p:not(.eyebrow) { color: var(--slate); font-size: 1.05rem; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.value-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; transition: 180ms ease; }
.value-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(199,164,93,.5); }
.value-grid article > span { color: var(--gold-500); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.value-grid h3 { margin: 8px 0 8px; font-size: 1.35rem; }
.value-grid p { margin-bottom: 0; color: var(--slate); font-size: .9rem; }

.section-heading { max-width: 730px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; }
.section-heading p:not(.eyebrow) { color: var(--slate); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 245px; padding: 30px; border: 1px solid #e2e7eb; border-radius: var(--radius-md); background: white; overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.service-card::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--gold-500); transition: right 180ms ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(199,164,93,.38); }
.service-card:hover::after { right: 0; }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 26px; border-radius: 14px; color: var(--gold-500); background: #fbf4e4; font-family: Georgia, serif; font-weight: 800; }
.service-card h3 { margin-bottom: 11px; font-size: 1.45rem; }
.service-card p { margin-bottom: 0; color: var(--slate); font-size: .9rem; }
.section-note { max-width: 860px; margin: 30px auto 24px; text-align: center; color: var(--slate); font-size: .86rem; }

.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.office-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); transition: transform 180ms ease, box-shadow 180ms ease; overflow: hidden; }
.office-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 190px; height: 190px; border-radius: 50%; background: rgba(199,164,93,.09); }
.office-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.office-card-top { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.office-number { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: var(--gold-500); background: var(--navy-900); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; }
.office-card h3 { margin-bottom: 0; font-size: 2rem; }
.office-card .eyebrow { margin-bottom: 4px; color: #9a7333; }
.office-detail { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(220,226,232,.75); }
.office-detail > span { color: var(--gold-500); }
.office-detail p { margin: 0; color: var(--slate); }
.office-detail a { color: var(--navy-900); font-weight: 800; }
.office-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.appointment-section { color: white; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.appointment-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: start; }
.appointment-intro { position: sticky; top: 120px; }
.appointment-intro h2 { color: white; }
.appointment-intro > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.appointment-points { display: grid; gap: 18px; margin: 34px 0; }
.appointment-points > div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; }
.appointment-points span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(199,164,93,.45); border-radius: 50%; color: var(--gold-400); font-size: .72rem; font-weight: 800; }
.appointment-points p { margin: 0; color: rgba(255,255,255,.66); font-size: .9rem; }
.appointment-points strong { color: white; }
.privacy-callout { padding: 18px 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.055); font-size: .85rem; }
.consultation-form { position: relative; padding: 36px; border-radius: var(--radius-lg); color: var(--charcoal); background: white; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.form-progress { position: absolute; left: 36px; right: 36px; top: 18px; height: 3px; border-radius: 3px; background: #edf0f2; overflow: hidden; }
.form-progress span { display: block; width: 10%; height: 100%; border-radius: inherit; background: var(--gold-500); transition: width 200ms ease; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 19px; margin-top: 10px; }
.form-field { display: grid; gap: 7px; }
.form-field.full-width { grid-column: 1 / -1; }
.form-field label, .form-field legend, .consultation-dialog > label { color: #293649; font-size: .85rem; font-weight: 700; }
.form-field label span, .form-field legend span { color: var(--danger); }
.form-field input, .form-field select, .form-field textarea, .consultation-dialog select {
  width: 100%; border: 1px solid #cfd6dd; border-radius: 11px; color: var(--charcoal); background: white; transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-field input, .form-field select, .consultation-dialog select { height: 48px; padding: 0 13px; }
.form-field textarea { min-height: 120px; padding: 12px 13px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .consultation-dialog select:focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(199,164,93,.12); outline: 0; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: var(--danger); }
.field-error { min-height: 16px; color: var(--danger); font-size: .73rem; }
.contact-method { display: flex; flex-wrap: wrap; gap: 16px 22px; margin: 0; padding: 0; border: 0; }
.contact-method legend { width: 100%; margin-bottom: 5px; }
.contact-method label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.contact-method input { width: 17px; height: 17px; accent-color: var(--navy-900); }
.upload-field input[type="file"] { height: auto; padding: 12px; }
.upload-note { color: var(--slate); font-size: .72rem; }
.consent-field label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-weight: 500; }
.consent-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy-900); }
.form-alert { display: none; margin: 20px 0 14px; padding: 12px 14px; border-radius: 10px; font-size: .85rem; }
.form-alert.show { display: block; }
.form-alert.success { color: var(--success); background: #eaf7f0; border: 1px solid #bfe2ce; }
.form-alert.error { color: var(--danger); background: #fff0ee; border: 1px solid #f1c4be; }
.form-privacy { margin: 12px 0 0; color: var(--slate); text-align: center; font-size: .75rem; }
.submit-button.loading { pointer-events: none; opacity: .84; }
.button-loader { display: none; width: 18px; height: 18px; border: 2px solid rgba(11,31,58,.25); border-top-color: var(--navy-900); border-radius: 50%; animation: spin .8s linear infinite; }
.submit-button.loading .button-loader { display: inline-block; }
.submit-button.loading .button-label { margin-right: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.accordion { display: grid; gap: 12px; }
.accordion details { border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.accordion summary { position: relative; padding: 20px 54px 20px 22px; color: var(--navy-900); font-weight: 800; list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold-500); font-size: 1.5rem; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { padding: 0 22px 20px; margin: 0; color: var(--slate); }

.contact-section { background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; }
.contact-card, .quick-form { padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-card { color: white; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); }
.contact-card h2 { margin-bottom: 4px; color: white; }
.designation { color: rgba(255,255,255,.65); }
.contact-list { display: grid; gap: 14px; margin: 34px 0; }
.contact-list a { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.05); }
.contact-list a > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--gold-400); background: rgba(199,164,93,.12); }
.contact-list small, .contact-list strong { display: block; }
.contact-list small { color: rgba(255,255,255,.56); }
.contact-list strong { overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.direction-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; color: var(--gold-400); font-weight: 700; font-size: .86rem; }
.quick-form { background: white; }
.quick-form h3 { margin-bottom: 24px; font-size: 2rem; }
.quick-form .form-field { margin-bottom: 16px; }

.legal-strip { padding: 34px 0; border-top: 1px solid var(--line); background: #edf1f5; }
.legal-strip .container { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; }
.legal-strip strong { color: var(--navy-900); }
.legal-strip p { margin: 0; color: var(--slate); font-size: .8rem; }
.legal-strip a { color: var(--navy-900); font-weight: 800; white-space: nowrap; }

.site-footer { padding: 70px 0 18px; color: rgba(255,255,255,.72); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.footer-brand { min-width: 0; margin-bottom: 18px; }
.footer-brand strong { color: white; }
.footer-brand small { color: rgba(255,255,255,.58); }
.footer-grid p { max-width: 380px; font-size: .88rem; }
.footer-grid h3 { margin-bottom: 17px; color: white; font-family: "Inter", sans-serif; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { font-size: .86rem; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; font-size: .75rem; }

.desktop-float { position: fixed; right: 22px; bottom: 95px; z-index: 900; display: grid; gap: 9px; }
.desktop-float a, .desktop-float button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; color: white; background: var(--navy-900); box-shadow: var(--shadow-sm); font-weight: 800; }
.desktop-float a:hover, .desktop-float button:hover { transform: translateY(-2px); background: var(--gold-500); color: var(--navy-950); }
.mobile-action-bar { display: none; }
.back-to-top { position: fixed; right: 24px; bottom: 30px; z-index: 900; width: 46px; height: 46px; border: 0; border-radius: 50%; color: white; background: var(--navy-900); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: 180ms ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.consultation-dialog { width: min(520px, calc(100% - 28px)); padding: 30px; border: 0; border-radius: 22px; box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.consultation-dialog::backdrop { background: rgba(4,12,23,.7); backdrop-filter: blur(5px); }
.dialog-header { display: flex; justify-content: space-between; gap: 20px; }
.dialog-header h2 { margin-bottom: 8px; font-size: 2.4rem; }
.consultation-dialog > p { color: var(--slate); }
.consultation-dialog > label { display: block; margin: 20px 0 7px; }
.dialog-actions { display: flex; gap: 10px; margin-top: 24px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: none; }

.legal-page { padding-top: calc(var(--header-height) + 65px); }
.legal-page-hero { padding: 75px 0 55px; color: white; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.legal-page-hero h1 { margin-bottom: 12px; color: white; font-size: clamp(2.8rem, 5vw, 4.7rem); }
.legal-page-hero p { max-width: 760px; color: rgba(255,255,255,.7); }
.legal-content { max-width: 860px; padding: 70px 0 110px; }
.legal-content h2 { margin-top: 42px; font-size: 2.1rem; }
.legal-content h3 { margin-top: 26px; font-size: 1.4rem; }
.legal-content p, .legal-content li { color: var(--slate); }
.legal-content ul { padding-left: 22px; }
.legal-content .notice { padding: 20px 22px; border-left: 4px solid var(--gold-500); border-radius: 0 12px 12px 0; background: var(--ivory); }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn-ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr .72fr; gap: 35px; }
  .hero-art-card { min-height: 430px; }
  .legal-emblem { width: 180px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .appointment-grid { grid-template-columns: 1fr; }
  .appointment-intro { position: static; max-width: 780px; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 800px) {
  :root { --header-height: 72px; }
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 76px 0; }
  .brand { min-width: 0; }
  .brand strong { font-size: 1.06rem; }
  .brand small { display: none; }
  .header-actions .btn-gold { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 65px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero .text-link { justify-content: center; margin: 8px 0 0; }
  .trust-row { margin-top: 30px; }
  .trust-row span { flex: 1 1 100%; text-align: center; }
  .two-column { grid-template-columns: 1fr; gap: 55px; }
  .portrait-placeholder { min-height: 430px; }
  .seal-card { right: 14px; bottom: -24px; }
  .section-copy { margin-top: 20px; }
  .value-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .office-grid { grid-template-columns: 1fr; }
  .consultation-form { padding: 28px 20px; }
  .form-progress { left: 20px; right: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card, .quick-form { padding: 28px 22px; }
  .legal-strip .container { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .desktop-float, .back-to-top { display: none; }
  .mobile-action-bar {
    position: fixed; inset: auto 0 0; z-index: 1000; display: grid; grid-template-columns: repeat(4,1fr);
    padding: 8px 6px max(8px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px rgba(7,20,38,.1); backdrop-filter: blur(12px);
  }
  .mobile-action-bar a, .mobile-action-bar button { display: grid; place-items: center; gap: 2px; min-height: 48px; border: 0; color: var(--navy-900); background: transparent; font-size: .7rem; font-weight: 700; }
  .mobile-action-bar span { color: var(--gold-500); font-size: 1rem; }
  .site-footer { padding-bottom: 94px; }
}

@media (max-width: 520px) {
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.55rem; }
  .hero-copy { font-size: 1rem; }
  .office-card { padding: 26px 20px; }
  .office-actions .btn { width: 100%; }
  .contact-list a { grid-template-columns: 42px 1fr; }
  .contact-list strong { font-size: .82rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .dialog-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Adv. Pratima Legal Image ===== */

.portrait-placeholder {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

.portrait-placeholder .portrait-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.about-visual {
    position: relative;
}

.about-visual .seal-card {
    position: absolute;
    z-index: 10;
}


/* ==================================================
   FINAL MOBILE / TABLET OPTIMISATION
   ================================================== */

/* Prevent horizontal overflow */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* Tablet and mobile */
@media (max-width: 800px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    /* About / Lady Justice image */
    .about-visual {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        position: relative;
    }

    .portrait-placeholder {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 10;
        overflow: hidden;
        position: relative;
        padding: 0 !important;
    }

    .portrait-placeholder .portrait-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: inherit;
    }

    /* Keep decorative gold inner border above image */
    .portrait-placeholder::before {
        z-index: 2;
        pointer-events: none;
    }

    /* Notary card stays over image */
    .about-visual .seal-card {
        position: absolute;
        z-index: 10;
        right: 14px;
        bottom: -24px;
        width: min(275px, calc(100% - 28px));
    }

    /* Forms */
    .form-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
    }

    textarea {
        resize: vertical;
    }

    /* Prevent long email/links overflowing */
    .contact-list a,
    .footer-grid a {
        overflow-wrap: anywhere;
    }
}

/* Phones */
@media (max-width: 520px) {

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: clamp(2.35rem, 12vw, 3.1rem);
        line-height: 1.03;
    }

    h2 {
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.08;
    }

    /* Lady Justice image */
    .about-visual {
        margin-bottom: 35px;
    }

    .portrait-placeholder {
        aspect-ratio: 4 / 3;
        border-radius: 24px;
    }

    .portrait-placeholder::before {
        inset: 14px;
        border-radius: 18px;
    }

    .portrait-placeholder .portrait-image {
        object-position: center;
    }

    /* Smaller floating Notary card */
    .about-visual .seal-card {
        right: 10px;
        bottom: -32px;
        width: calc(100% - 20px);
        padding: 14px 16px;
        gap: 10px;
    }

    .seal-card strong {
        font-size: .92rem;
    }

    .seal-card small {
        font-size: .78rem;
    }

    /* Form */
    .consultation-form,
    .contact-card,
    .quick-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    input,
    select,
    textarea {
        width: 100%;
        font-size: 16px;
    }

    .submit-button,
    .form-grid .btn {
        width: 100%;
    }

    /* Office buttons */
    .office-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .office-actions .btn {
        width: 100%;
    }
}

