/* ===========================
   Mahabir Legal Hub
   Refined editorial law-firm aesthetic
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&display=swap');

:root {
  --ink: #0d1b2a;
  --ink-soft: #1a2b3f;
  --ink-deep: #07111c;
  --parchment: #faf6ef;
  --parchment-soft: #f5efe3;
  --parchment-warm: #f0e8d6;
  --gold: #b08d57;
  --gold-light: #d4b574;
  --gold-deep: #8b6c3f;
  --burgundy: #6b2737;
  --burgundy-soft: #8a3a4a;
  --slate: #475569;
  --slate-soft: #94a3b8;
  --line: #d4c5a9;
  --line-soft: #e8dec7;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-caps: 'Inter', 'Helvetica Neue', sans-serif;

  --container: 1240px;
  --container-narrow: 920px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--parchment);
  background-image:
    radial-gradient(ellipse at top, rgba(176, 141, 87, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(13, 27, 42, 0.03) 0%, transparent 60%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.55 0 0 0 0 0.34 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: 1.35rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-caps);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
  margin-bottom: 3px;
}

.script-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--burgundy);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
section { position: relative; padding: 110px 0; }

.utility-bar {
  background: var(--ink-deep);
  color: var(--parchment-soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 10px 0;
  position: relative;
  z-index: 50;
}

.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.utility-bar a { color: var(--gold-light); }
.utility-bar a:hover { color: var(--parchment); }
.utility-left, .utility-right { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.utility-item { display: inline-flex; align-items: center; gap: 8px; }

.nav-wrapper {
  position: sticky;
  top: 0;
  background: var(--parchment);
  border-bottom: 1px solid var(--line-soft);
  z-index: 40;
  backdrop-filter: blur(8px);
}

.nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand-mark { width: 54px; height: 54px; flex-shrink: 0; position: relative; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
}

.brand-tag {
  font-family: var(--font-caps);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-top: 6px;
}

.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }

.nav-links a {
  font-family: var(--font-caps);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--burgundy); }

.nav-cta {
  background: var(--ink);
  color: var(--parchment) !important;
  padding: 12px 24px !important;
  border: 1px solid var(--ink);
  transition: all 0.3s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--burgundy); border-color: var(--burgundy); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 60; }
.nav-toggle span { display: block; width: 26px; height: 1.6px; background: var(--ink); margin: 6px 0; transition: transform 0.35s ease, opacity 0.25s ease; transform-origin: center; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

.hero { padding: 80px 0 100px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.hero-content { position: relative; z-index: 3; }

.hero h1 { margin: 28px 0 24px; letter-spacing: -0.02em; line-height: 1.05; }
.hero h1 .accent { font-style: italic; color: var(--burgundy); font-weight: 500; }

.hero-lead { font-size: 1.08rem; color: var(--slate); max-width: 540px; margin-bottom: 38px; line-height: 1.7; }

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-bottom: 44px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cred-item {
  font-family: var(--font-caps);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cred-item svg { flex-shrink: 0; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 32px;
  font-family: var(--font-caps);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
.btn-primary:hover { background: var(--burgundy); border-color: var(--burgundy); transform: translateY(-1px); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--parchment); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); color: #fff; transform: translateY(-1px); }

.btn-arrow {
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s ease;
}

.btn-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn:hover .btn-arrow { width: 22px; }

.hero-visual { position: relative; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; }

.hero-portrait {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero-portrait::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(176, 141, 87, 0.4);
  pointer-events: none;
  z-index: 4;
}

.hero-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 1;
  filter: brightness(0.96) contrast(1.04);
}

.hero-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 27, 42, 0.05) 0%, rgba(13, 27, 42, 0.4) 55%, rgba(13, 27, 42, 0.9) 100%);
  z-index: 2;
}

.hero-portrait-caption {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  color: var(--parchment);
  padding: 0 32px;
}

.hero-portrait-caption .quote-sanskrit {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.hero-portrait-caption .quote-divider { width: 30px; height: 1px; background: var(--gold); margin: 14px auto; }

.hero-portrait-caption .quote-meaning {
  font-family: var(--font-caps);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--parchment-soft);
  opacity: 0.9;
}

.hero-est {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--burgundy);
  color: var(--parchment);
  padding: 18px 26px;
  z-index: 5;
}

.hero-est .num { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; display: block; }

.hero-est .label {
  font-family: var(--font-caps);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.95;
}

.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 auto; width: fit-content; }
.ornament .line { width: 60px; height: 1px; background: var(--line); }
.ornament .diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.ornament .diamond.outline { background: transparent; border: 1px solid var(--gold); }

.stats { background: var(--ink); color: var(--parchment); padding: 90px 0; position: relative; }

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(176, 141, 87, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(107, 39, 55, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px; position: relative; z-index: 2; }
.stat { text-align: center; position: relative; padding: 0 20px; }

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(176, 141, 87, 0.25);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

.stat-label {
  font-family: var(--font-caps);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment-soft);
  opacity: 0.9;
}

.section-header { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header h2 { margin: 18px 0 22px; }
.section-header p { font-size: 1.05rem; color: var(--slate); line-height: 1.75; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.service-card {
  background: var(--parchment-soft);
  padding: 44px 36px;
  border: 1px solid var(--line-soft);
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover {
  background: var(--parchment-warm);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -20px rgba(13, 27, 42, 0.18);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon { width: 56px; height: 56px; margin-bottom: 26px; color: var(--burgundy); }
.service-card h3 { margin-bottom: 14px; font-size: 1.55rem; }
.service-card p { color: var(--slate); font-size: 0.95rem; line-height: 1.7; }

.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-caps);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.service-card .read-more::after { content: '→'; transition: transform 0.3s ease; }
.service-card:hover .read-more::after { transform: translateX(4px); }

.pull-quote { background: var(--parchment-soft); padding: 100px 0; position: relative; }
.pull-quote-inner { max-width: 880px; margin: 0 auto; text-align: center; padding: 0 40px; }

.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 40px;
  font-style: italic;
}

.pull-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 36px;
}

.quote-author {
  font-family: var(--font-caps);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.page-header { background: var(--ink); color: var(--parchment); padding: 90px 0 100px; position: relative; overflow: hidden; }

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(176, 141, 87, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 60%, rgba(107, 39, 55, 0.18) 0%, transparent 50%);
}

.page-header-inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; }
.page-header .eyebrow { color: var(--gold-light); }
.page-header .eyebrow::before { background: var(--gold-light); }
.page-header h1 { color: var(--parchment); margin: 22px 0 22px; font-size: clamp(2.5rem, 5vw, 4rem); }
.page-header p { font-size: 1.1rem; color: var(--parchment-soft); opacity: 0.85; line-height: 1.7; }

.breadcrumbs {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  font-family: var(--font-caps);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.breadcrumbs a:hover { color: var(--parchment); }
.breadcrumbs span { opacity: 0.5; }

.content-block { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.content-block.reverse { grid-template-columns: 1.3fr 1fr; }
.content-block .visual { position: sticky; top: 100px; }

.portrait-frame {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 100%);
  position: relative;
  overflow: hidden;
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(176, 141, 87, 0.4);
  pointer-events: none;
  z-index: 4;
}

.portrait-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  z-index: 1;
}

.portrait-frame-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 27, 42, 0.05) 0%, rgba(13, 27, 42, 0.4) 55%, rgba(13, 27, 42, 0.92) 100%);
  z-index: 2;
}

.portrait-frame-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  padding: 0 32px;
  color: var(--parchment);
}

.portrait-frame-caption h4 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--parchment);
}

.portrait-frame-caption .role {
  font-family: var(--font-caps);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.portrait-frame-caption .ornament-mini { width: 50px; height: 1px; background: var(--gold); margin: 14px auto; }

.portrait-frame-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--parchment);
  z-index: 3;
}

.portrait-frame-content .crest-large { width: 130px; height: 130px; margin-bottom: 32px; }

.portrait-frame-content h4 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: var(--parchment);
  font-weight: 600;
}

.portrait-frame-content .role {
  font-family: var(--font-caps);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.portrait-frame-content .ornament-mini { width: 60px; height: 1px; background: var(--gold); margin: 22px 0; }

.content-text h2 { margin-bottom: 28px; }

.content-text .lead {
  font-size: 1.2rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 28px;
  font-family: var(--font-display);
  line-height: 1.5;
  font-weight: 500;
}

.content-text p { color: var(--slate); margin-bottom: 22px; line-height: 1.8; font-size: 1rem; }
.content-text strong { color: var(--ink); font-weight: 600; }

.timeline { position: relative; padding-left: 40px; margin-top: 40px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 8px;
  width: 13px;
  height: 13px;
  background: var(--gold);
  border: 2px solid var(--parchment);
  box-shadow: 0 0 0 1px var(--gold);
  transform: rotate(45deg);
}

.timeline-year {
  font-family: var(--font-caps);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--burgundy);
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
}

.timeline-item h4 { margin-bottom: 6px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.timeline-item p { color: var(--slate); font-size: 0.97rem; line-height: 1.75; }

.cred-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 50px; }

.cred-card { background: var(--parchment-soft); padding: 32px; border-left: 3px solid var(--gold); position: relative; }

.cred-card .label {
  font-family: var(--font-caps);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
  display: block;
}

.cred-card .value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cred-card .meta { font-size: 0.92rem; color: var(--slate); line-height: 1.7; }

.practice-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-soft); }

.practice-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 44px 30px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  align-items: start;
  transition: background 0.3s ease;
  position: relative;
}

.practice-row:hover { background: var(--parchment-soft); }
.practice-row:nth-child(2n) { border-right: none; }
.practice-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; color: var(--gold); line-height: 1; font-style: italic; }
.practice-row h3 { margin-bottom: 10px; font-size: 1.5rem; }
.practice-row p { color: var(--slate); font-size: 0.97rem; line-height: 1.7; margin-bottom: 14px; }
.practice-row ul { list-style: none; padding: 0; }

.practice-row li {
  font-family: var(--font-caps);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-block;
  margin: 4px 8px 4px 0;
  padding: 4px 12px;
  background: rgba(176, 141, 87, 0.12);
  border: 1px solid rgba(176, 141, 87, 0.3);
}

.notary-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.notary-service { background: var(--parchment); padding: 36px 30px; transition: all 0.3s ease; }
.notary-service:hover { background: var(--parchment-warm); }

.notary-service .num {
  font-family: var(--font-caps);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-bottom: 16px;
  display: block;
  text-transform: uppercase;
}

.notary-service h4 { margin-bottom: 10px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.notary-service p { color: var(--slate); font-size: 0.93rem; line-height: 1.65; }

.cta-strip { background: var(--burgundy); color: var(--parchment); padding: 80px 0; position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(176, 141, 87, 0.18) 0%, transparent 60%); }

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.cta-strip h2 { color: var(--parchment); font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 600px; }
.cta-strip h2 em { color: var(--gold-light); font-style: italic; }
.cta-strip .btn-primary { background: var(--parchment); color: var(--ink); border-color: var(--parchment); }
.cta-strip .btn-primary:hover { background: var(--ink); color: var(--parchment); border-color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }

.contact-info-card { background: var(--parchment-soft); padding: 50px; border: 1px solid var(--line-soft); position: relative; }
.contact-info-card::before { content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 3px; background: var(--gold); }

.contact-block { padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.contact-block:last-child { border-bottom: none; padding-bottom: 0; }
.contact-block:first-child { padding-top: 0; }

.contact-block .label {
  font-family: var(--font-caps);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
  display: block;
}

.contact-block .value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.contact-block a:hover { color: var(--burgundy); }
.contact-block .meta { font-size: 0.92rem; color: var(--slate); margin-top: 6px; line-height: 1.7; }

.map-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line-soft); background: var(--ink); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

.contact-form { margin-top: 50px; background: var(--parchment-soft); padding: 50px; border-top: 3px solid var(--whatsapp); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--font-caps);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  background: var(--parchment);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.3s ease;
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--whatsapp); }
.form-field textarea { resize: vertical; min-height: 140px; }

.whatsapp-note {
  background: rgba(37, 211, 102, 0.08);
  border-left: 3px solid var(--whatsapp);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.whatsapp-note svg { flex-shrink: 0; margin-top: 2px; }

.footer { background: var(--ink-deep); color: var(--parchment-soft); padding: 80px 0 0; position: relative; z-index: 5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer-brand .brand-name { color: var(--parchment); }
.footer-brand .brand-tag { color: var(--gold-light); }

.footer-brand p { margin-top: 22px; font-size: 0.93rem; line-height: 1.75; color: var(--parchment-soft); opacity: 0.7; max-width: 320px; }

.footer-col h5 {
  font-family: var(--font-caps);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--parchment-soft); opacity: 0.75; font-size: 0.93rem; transition: all 0.3s ease; }
.footer-col a:hover { color: var(--gold-light); opacity: 1; }
.footer-col p { font-size: 0.93rem; line-height: 1.75; color: var(--parchment-soft); opacity: 0.7; margin-bottom: 12px; }

.footer-bottom {
  border-top: 1px solid rgba(176, 141, 87, 0.18);
  padding: 26px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--parchment-soft);
  opacity: 0.7;
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gold-light); font-weight: 500; }
.footer-bottom a:hover { color: var(--parchment); }

.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
  transition: all 0.3s ease;
}

.float-wa:hover { background: var(--whatsapp-dark); transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* Credentials page - documents on file grid */
.cred-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
  align-items: start;
}

.cred-doc-frame {
  background: var(--parchment-soft);
  padding: 24px;
  border: 1px solid var(--line-soft);
}

.cred-doc-frame img { width: 100%; height: auto; display: block; }

.cred-doc-seal {
  background: var(--ink);
  padding: 60px 50px;
  border: 1px solid var(--line-soft);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--parchment);
  position: relative;
}

.cred-doc-seal::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(176, 141, 87, 0.4);
  pointer-events: none;
}

.cred-doc-seal svg { width: 140px; height: 140px; margin-bottom: 30px; }

.cred-doc-seal h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 8px;
}

.cred-doc-seal .seal-divider { width: 50px; height: 1px; background: var(--gold); margin: 14px auto; }

.cred-doc-seal .seal-meta {
  font-family: var(--font-caps);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0;
}

.cred-doc-seal .seal-meta + .seal-meta { margin-top: 6px; }

.cred-doc-caption { padding: 20px 8px 0; }

.cred-doc-caption .doc-label {
  font-family: var(--font-caps);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
  display: block;
}

.cred-doc-caption h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.cred-doc-caption p {
  color: var(--slate);
  font-size: 0.93rem;
  line-height: 1.7;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.reveal.d1 { animation-delay: 0.1s; }
.reveal.d2 { animation-delay: 0.25s; }
.reveal.d3 { animation-delay: 0.4s; }
.reveal.d4 { animation-delay: 0.55s; }
.reveal.d5 { animation-delay: 0.7s; }

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

/* Tablet & small laptop */
@media (max-width: 1024px) {
  section { padding: 90px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .hero { padding: 60px 0 90px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
  .stat:nth-child(2)::after { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .content-block, .content-block.reverse { grid-template-columns: 1fr; gap: 50px; }
  .content-block .visual { position: relative; top: auto; max-width: 420px; margin: 0 auto; }
  .practice-list { grid-template-columns: 1fr; }
  .practice-row { border-right: none !important; }
  .notary-services { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cred-docs-grid { grid-template-columns: 1fr; gap: 50px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .page-header { padding: 70px 0 80px; }
  .nav-links { gap: 28px; }
  .nav-links a { font-size: 0.74rem; letter-spacing: 0.14em; }
}

/* Tablet portrait */
@media (max-width: 880px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 0.12em; }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 15px; }
  section { padding: 64px 0; }
  .container, .container-narrow { padding: 0 20px; }

  /* Utility bar - stack on mobile */
  .utility-bar { padding: 8px 0; font-size: 0.72rem; }
  .utility-bar .container { flex-direction: column; gap: 4px; }
  .utility-left, .utility-right { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .utility-item { font-size: 0.72rem; }

  /* Nav */
  .nav-wrapper { z-index: 80; }
  .nav { padding: 14px 0; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 1.25rem; }
  .brand-tag { font-size: 0.55rem; letter-spacing: 0.2em; }

  /* Mobile menu - slides in from right, covers below nav */
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--parchment);
    background-image:
      radial-gradient(ellipse at top, rgba(176, 141, 87, 0.06) 0%, transparent 60%),
      radial-gradient(ellipse at bottom, rgba(13, 27, 42, 0.04) 0%, transparent 60%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 28px 28px 60px;
    gap: 0;
    z-index: 50;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: hidden;
    border-top: 1px solid var(--line-soft);
    border-bottom: none;
    box-shadow: none;
    display: flex;
  }
  .nav-links.open { transform: translateX(0); visibility: visible; }
  .nav-links a {
    padding: 22px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.18em;
  }
  .nav-links a::after { display: none; }
  .nav-links li:last-child a { border-bottom: none; margin-top: 14px; }
  .nav-cta { padding: 18px 24px !important; text-align: center; background: var(--ink) !important; color: var(--parchment) !important; }
  .nav-toggle { display: block; }

  /* Hero - photo first on mobile, then content */
  .hero { padding: 30px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-content { display: flex; flex-direction: column; }
  .hero-content > .eyebrow { order: 1; }
  .hero-content > h1 { order: 2; }
  .hero-content > .hero-lead { order: 3; }
  .hero-content > .hero-credentials { order: 4; }
  .hero-content > .btn-row { order: 5; }
  .hero h1 { font-size: clamp(2.05rem, 8.6vw, 2.7rem); margin: 18px 0 18px; line-height: 1.08; }
  .hero-lead { font-size: 0.97rem; margin-bottom: 26px; line-height: 1.65; }
  .hero-credentials { gap: 10px 22px; padding: 18px 0; margin-bottom: 28px; }
  .cred-item { font-size: 0.66rem; letter-spacing: 0.12em; }

  /* Mobile hero visual - photo above text */
  .hero-visual {
    order: -1;
    max-width: 100%;
    aspect-ratio: 4/5;
    min-height: 360px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-portrait::before { inset: 10px; }
  .hero-portrait-caption { bottom: 22px; padding: 0 24px; }
  .hero-portrait-caption .quote-sanskrit { font-size: 1.35rem; }
  .hero-portrait-caption .quote-meaning { font-size: 0.6rem; letter-spacing: 0.26em; }
  .hero-portrait-caption .quote-divider { margin: 10px auto; }

  /* Reposition the est badge: inline below visual, centered */
  .hero-est {
    position: absolute;
    bottom: 14px;
    right: 14px;
    left: auto;
    padding: 10px 16px;
    background: rgba(107, 39, 55, 0.96);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .hero-est .num { font-size: 1.3rem; display: inline; line-height: 1; }
  .hero-est .label { font-size: 0.55rem; margin-top: 0; letter-spacing: 0.18em; line-height: 1.1; max-width: 70px; }

  /* Buttons */
  .btn { padding: 15px 24px; font-size: 0.74rem; letter-spacing: 0.16em; }
  .btn-row { flex-direction: column; gap: 12px; align-items: stretch; }
  .btn-row .btn { justify-content: center; width: 100%; }
  .cta-strip-inner { flex-direction: column; align-items: stretch; gap: 26px; }
  .cta-strip-inner .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stats { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 44px; }
  .stat::after { display: none !important; }
  .stat-num { font-size: clamp(2.4rem, 12vw, 3.4rem); }

  /* Section header */
  .section-header { margin-bottom: 50px; }
  .section-header h2 { margin: 14px 0 18px; }
  .section-header p { font-size: 0.97rem; }

  /* Services grid */
  .services-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-card { padding: 32px 26px; }
  .service-card h3 { font-size: 1.4rem; }

  /* Pull quote */
  .pull-quote { padding: 64px 0; }
  .pull-quote-inner { padding: 0 24px; }
  .quote-mark { font-size: 4.5rem; margin-bottom: 24px; }

  /* Page header */
  .page-header { padding: 56px 0 64px; }
  .page-header h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .page-header p { font-size: 1rem; }
  .breadcrumbs { font-size: 0.62rem; letter-spacing: 0.16em; margin-top: 26px; }

  /* Content block (about) */
  .content-block .visual { max-width: 320px; }

  /* Timeline */
  .timeline { padding-left: 32px; }
  .timeline::before { left: 4px; }
  .timeline-item::before { left: -32px; width: 11px; height: 11px; }
  .timeline-item h4 { font-size: 1.15rem; }
  .timeline-item p { font-size: 0.93rem; }

  /* Cred list */
  .cred-list { grid-template-columns: 1fr !important; gap: 18px; }
  .cred-card { padding: 26px 22px; }
  .cred-card .value { font-size: 1.15rem; }

  /* Practice list */
  .practice-row { grid-template-columns: 50px 1fr; gap: 18px; padding: 32px 22px; }
  .practice-num { font-size: 1.9rem; }
  .practice-row h3 { font-size: 1.35rem; }
  .practice-row p { font-size: 0.93rem; }
  .practice-row li { font-size: 0.65rem; padding: 3px 9px; }

  /* Notary services */
  .notary-services { grid-template-columns: 1fr; }
  .notary-service { padding: 28px 24px; }

  /* CTA strip */
  .cta-strip { padding: 64px 0; }
  .cta-strip h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Contact grid */
  .contact-grid { gap: 36px; }
  .contact-info-card { padding: 36px 26px; }
  .contact-info-card h3 { font-size: 1.5rem; }
  .contact-block { padding: 20px 0; }
  .contact-block .value { font-size: 1.15rem; }
  .map-frame { aspect-ratio: 4/4; }

  /* Form */
  .contact-form { padding: 32px 24px; margin-top: 36px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; margin-bottom: 20px; }
  .form-field input, .form-field textarea, .form-field select { font-size: 0.95rem; padding: 12px 14px; }
  .form-field textarea { min-height: 120px; }
  .whatsapp-note { padding: 14px 16px; font-size: 0.86rem; }
  .contact-form .btn { width: 100%; justify-content: center; }

  /* Credentials docs grid */
  .cred-docs-grid { grid-template-columns: 1fr; gap: 40px; max-width: 100%; }
  .cred-doc-seal { padding: 44px 32px; }
  .cred-doc-seal svg { width: 110px; height: 110px; margin-bottom: 22px; }
  .cred-doc-seal h4 { font-size: 1.4rem; }

  /* Footer */
  .footer { padding: 60px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 44px; }
  .footer-col h5 { margin-bottom: 16px; }
  .footer-bottom { padding: 22px 0; font-size: 0.78rem; }

  /* Floating WhatsApp - hide when menu is open */
  .float-wa { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .float-wa svg { width: 26px; height: 26px; }
  body.nav-open .float-wa { display: none; }

  /* Ornaments */
  .ornament .line { width: 40px; }
}

/* Small mobile */
@media (max-width: 420px) {
  .container, .container-narrow { padding: 0 16px; }
  section { padding: 52px 0; }

  .utility-bar { padding: 7px 0; }
  .utility-item { font-size: 0.66rem; }
  .utility-left, .utility-right { gap: 10px; }

  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.1rem; }
  .brand-tag { font-size: 0.5rem; letter-spacing: 0.18em; }
  .brand { gap: 10px; }

  .nav-links { padding: 24px 22px 50px; top: 64px; }
  .nav-links a { font-size: 0.9rem; padding: 20px 0; }

  .hero { padding: 24px 0 60px; }
  .hero h1 { font-size: 1.85rem; line-height: 1.1; }
  .hero-lead { font-size: 0.93rem; }
  .hero-credentials { gap: 9px 14px; padding: 14px 0; margin-bottom: 22px; }
  .cred-item { font-size: 0.6rem; }
  .hero-visual { min-height: 320px; }
  .hero-est { bottom: 12px; right: 12px; padding: 9px 14px; gap: 8px; }
  .hero-est .num { font-size: 1.15rem; }
  .hero-est .label { font-size: 0.5rem; max-width: 60px; }

  .btn { padding: 13px 20px; font-size: 0.7rem; letter-spacing: 0.14em; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.24em; }

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

  .service-card { padding: 28px 22px; }

  .practice-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 18px; }
  .practice-num { font-size: 1.5rem; }
  .practice-row h3 { font-size: 1.2rem; }

  .contact-info-card, .contact-form { padding: 26px 20px; }
  .contact-block .value { font-size: 1.05rem; }

  .cred-doc-seal { padding: 36px 24px; }
  .cred-doc-seal svg { width: 90px; height: 90px; }
  .cred-doc-seal h4 { font-size: 1.2rem; }

  .float-wa { bottom: 14px; right: 14px; width: 48px; height: 48px; }
  .float-wa svg { width: 24px; height: 24px; }

  .pull-quote-inner { padding: 0 18px; }
  .pull-quote blockquote { font-size: 1.25rem; }

  .timeline-year { font-size: 0.66rem; letter-spacing: 0.16em; }
}
