/* ═══════════════════════════════════════════════
   SUSHIL YADAV & Associates — White Glove Edition
   Barrister's Chambers · Light Mode · v2
   ═══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg:           #FAF8F4;
  --bg-white:     #FFFFFF;
  --bg-warm:      #EFE9DF;
  --gold:         #C9A84C;
  --gold-text:    #7A5F14;
  --gold-hi:      #B8942F;
  --text:         #1C1917;
  --muted:        #6B6460;
  --border:       rgba(28,25,23,0.1);
  --border-gold:  rgba(201,168,76,0.45);

  /* Layered float shadows — zero blur at close range, spread at distance */
  --shadow-card:
    0 1px 2px  rgba(28,25,23,0.04),
    0 4px 12px rgba(28,25,23,0.06),
    0 16px 32px rgba(28,25,23,0.05);
  --shadow-card-hover:
    0 2px 4px  rgba(28,25,23,0.05),
    0 12px 32px rgba(28,25,23,0.10),
    0 28px 52px rgba(28,25,23,0.08);
  --shadow-sm:    0 1px 3px rgba(28,25,23,0.06), 0 3px 8px rgba(28,25,23,0.04);
  --shadow-lg:    0 12px 36px rgba(28,25,23,0.12), 0 4px 12px rgba(28,25,23,0.06);

  --r-card:  16px;
  --r-sm:    10px;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  -apple-system, 'SF Pro Display', BlinkMacSystemFont,
           'Segoe UI', system-ui, sans-serif;
  --ease:  0.3s ease;
  --max:   1100px;
  --nav-h: 72px;
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ──────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 600; }
h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; }
p  { color: var(--muted); }
p + p { margin-top: 0.9rem; }
strong { color: var(--text); font-weight: 600; }

/* ── LAYOUT ──────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  border-radius: var(--r-sm);
  transition: background var(--ease), color var(--ease), border-color var(--ease),
              transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-transform: uppercase;
}
.btn-gold {
  background: var(--gold);
  color: var(--text);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(28,25,23,0.3);
}
.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-full { width: 100%; border-radius: var(--r-sm); }
.btn-nav {
  padding: 0.5rem 1.25rem;
  font-size: 0.72rem;
  background: var(--gold);
  color: var(--text);
  border: 1px solid var(--gold);
}
.btn-nav:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── SECTION ATOMS ───────────────────────────── */
.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-sub { font-size: 1rem; color: var(--muted); margin-top: 0.35rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.75rem;
  border-radius: 1px;
}
.gold-rule.centered { margin-left: auto; margin-right: auto; }

/* ── CARD ICON CHIP ──────────────────────────── */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(201,168,76,0.1);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--gold-text);
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease);
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}
.why-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}

/* ── NAVBAR ──────────────────────────────────── */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}
#navbar.scrolled {
  background: rgba(250,248,244,0.97);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 1px 16px rgba(28,25,23,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  transition: opacity var(--ease);
}
.nav-logo:hover { opacity: 0.7; }
.logo-monogram {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  background: rgba(201,168,76,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text);
  font-variant: small-caps;
}
.logo-sub { font-size: 0.58rem; color: var(--muted); letter-spacing: 0.1em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; margin-left: auto; }
.nav-links a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
  position: relative;
  transition: color var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 80%;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%) scaleX(0);
  transition: transform var(--ease);
  transform-origin: center;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-overlay {
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  bottom: 0;
  background: rgba(250,248,244,0.99);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  border-top: 2px solid var(--gold);
}
.nav-overlay.open { visibility: visible; opacity: 1; pointer-events: auto; }
.nav-overlay a {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: color var(--ease);
}
.nav-overlay a:hover { color: var(--gold-text); }
.nav-overlay .overlay-cta { font-family: var(--sans); font-size: 0.85rem; margin-top: 0.5rem; }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      0deg, transparent, transparent 47px,
      rgba(201,168,76,0.07) 47px, rgba(201,168,76,0.07) 48px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 47px,
      rgba(201,168,76,0.07) 47px, rgba(201,168,76,0.07) 48px
    );
  will-change: transform;
}

/* SVG scales watermark */
.hero-watermark {
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 36vw, 520px);
  color: rgba(201,168,76,0.09);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-watermark svg { width: 100%; height: auto; display: block; }

/* Gold hairline at bottom of hero */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
  max-width: 820px;
}
.hero-overline {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.75rem;
  display: block;
}
.hero h1 { color: var(--text); margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.85; margin-bottom: 2.75rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse-line 2s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.18; }
}
.animate-item { opacity: 0; transform: translateY(22px); }
.animate-item.in { animation: fade-up 0.9s cubic-bezier(0.22,1,0.36,1) forwards; }
.animate-item:nth-child(1).in { animation-delay: 0.15s; }
.animate-item:nth-child(2).in { animation-delay: 0.35s; }
.animate-item:nth-child(3).in { animation-delay: 0.55s; }
.animate-item:nth-child(4).in { animation-delay: 0.75s; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* ── ABOUT ───────────────────────────────────── */
.about { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 5rem;
  align-items: start;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 2rem 1.25rem;
  text-align: center;
  cursor: default;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── PRACTICE ────────────────────────────────── */
.practice { background: var(--bg); }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.practice-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-card);
  padding: 1.75rem 1.5rem;
  cursor: default;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}
.practice-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: var(--shadow-card-hover);
}
.practice-card:hover .card-icon {
  background: rgba(201,168,76,0.16);
  transform: scale(1.08);
}
.practice-card h3 {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.practice-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── FOUNDER ─────────────────────────────────── */
.founder { background: var(--bg-white); }
.founder-grid { display: grid; grid-template-columns: 300px 1fr; gap: 5rem; align-items: start; }
.portrait-card {
  width: 300px;
  height: 400px;
  background: linear-gradient(160deg, var(--bg-warm) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}
.portrait-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(201,168,76,0.12), transparent 65%);
  pointer-events: none;
}
.portrait-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.portrait-initials { font-family: var(--serif); font-size: 5.5rem; font-weight: 700; color: var(--gold-text); line-height: 1; letter-spacing: -0.02em; }
.portrait-caption { font-size: 0.8rem; color: var(--text); letter-spacing: 0.08em; text-align: center; padding: 0 1.25rem; }
.portrait-title { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }
.portrait-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: calc(var(--r-card) - 2px); }
.founder-bio p { margin-bottom: 0; }
.founder-bio p + p { margin-top: 0.9rem; }
.credential-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0 1rem; }
.pill {
  font-size: 0.7rem;
  color: var(--gold-text);
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.85rem;
  background: rgba(201,168,76,0.07);
  letter-spacing: 0.03em;
  border-radius: 6px;
}
.expertise-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.68rem;
  color: var(--muted);
  background: rgba(28,25,23,0.04);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  letter-spacing: 0.02em;
  border-radius: 5px;
}

/* ── WHY US ──────────────────────────────────── */
.why-us { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-card);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: default;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}
.why-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: var(--shadow-card-hover);
}
.why-card:hover .card-icon {
  background: rgba(201,168,76,0.16);
  transform: scale(1.08);
}
.why-card h3 { font-family: var(--sans); font-size: 0.88rem; font-weight: 600; color: var(--text); margin: 0.75rem 0 0.6rem; letter-spacing: 0.02em; }
.why-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── TESTIMONIAL ─────────────────────────────── */
.testimonial { position: relative; background: var(--text); text-align: center; overflow: hidden; }
.testimonial-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg, transparent, transparent 22px,
    rgba(201,168,76,0.04) 22px, rgba(201,168,76,0.04) 23px
  );
  pointer-events: none;
}
.quote-block { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.quote-open {
  display: block;
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.45;
  line-height: 0.8;
  margin-bottom: 1rem;
  user-select: none;
}
blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--gold);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
cite { font-size: 0.82rem; color: rgba(250,248,244,0.45); letter-spacing: 0.1em; font-style: normal; display: block; }

/* ── CONTACT ─────────────────────────────────── */
.contact { background: var(--bg-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.5rem 0; }
.contact-details li { display: flex; gap: 0.8rem; font-size: 0.88rem; color: var(--muted); align-items: flex-start; }
.contact-details li span:first-child { flex-shrink: 0; }
.contact-details a { color: var(--gold-text); transition: color var(--ease); }
.contact-details a:hover { color: var(--text); }
.contact-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }

.map-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}
.map-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.map-pin { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.map-info { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; }
.map-info strong { color: var(--text); font-size: 0.88rem; }
.map-info span   { color: var(--muted); }
.map-link { color: var(--gold-text); font-size: 0.78rem; margin-top: 0.5rem; letter-spacing: 0.02em; transition: color var(--ease); }
.map-link:hover { color: var(--text); }

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6460' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: white; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; border-radius: 8px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.14);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(107,100,96,0.45); }
.form-success { flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3.5rem 2rem; gap: 1.25rem; }
.form-success:not([hidden]) { display: flex; }
.form-success[hidden] { display: none; }
.success-check { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold-text); font-size: 1.4rem; }
.form-success p { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--text); margin: 0; }

/* ── FOOTER ──────────────────────────────────── */
.footer { background: var(--text); border-top: none; padding: 4.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer .logo-monogram { color: var(--gold); border-color: rgba(201,168,76,0.5); background: rgba(201,168,76,0.08); border-radius: 8px; }
.footer .logo-name { color: var(--gold); }
.footer .logo-sub  { color: rgba(250,248,244,0.4); }
.footer-tagline { font-family: var(--serif); font-style: italic; color: rgba(250,248,244,0.45); font-size: 0.95rem; }
.footer-nav h4,
.footer-contact-info h4 { font-family: var(--sans); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav a { font-size: 0.85rem; color: rgba(250,248,244,0.5); transition: color var(--ease); }
.footer-nav a:hover { color: var(--bg); }
.footer-contact-info { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-contact-info p { display: flex; gap: 0.5rem; font-size: 0.85rem; color: rgba(250,248,244,0.5); align-items: flex-start; margin: 0; }
.footer-contact-info a { color: rgba(250,248,244,0.5); transition: color var(--ease); }
.footer-contact-info a:hover { color: var(--bg); }
.footer-bottom { border-top: 1px solid rgba(250,248,244,0.1); padding: 1.35rem 0; }
.footer-bottom p { font-size: 0.75rem; color: rgba(250,248,244,0.28); text-align: center; margin: 0; letter-spacing: 0.03em; }

/* ── SCROLL ANIMATIONS ───────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .about-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats  { grid-template-columns: repeat(4, 1fr); }
  .founder-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .portrait-card { width: 100%; max-width: 280px; height: 340px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links, .btn-nav { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 4.5rem 0; }
  .hero-sub { font-size: 0.95rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 300px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  blockquote { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-btns { flex-direction: column; }
  .contact-btns .btn { text-align: center; }
  .hero-watermark { width: 55vw; right: -6vw; }
  .why-grid {
    grid-template-columns: repeat(5, 230px);
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(28,25,23,0.08);
  }
  .why-grid::-webkit-scrollbar { height: 3px; }
  .why-grid::-webkit-scrollbar-track { background: rgba(28,25,23,0.06); }
  .why-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  h2 { font-size: 1.8rem; }
  .hero-watermark { display: none; }
}

/* ── TEAM ────────────────────────────────────── */
.team { background: var(--bg-warm); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.team-card {
  background: var(--bg-white);
  border: 1px solid #e8e0d0;
  border-radius: var(--r-card);
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold);
}
.team-portrait {
  width: 96px;
  height: 116px;
  border-radius: 14px;
  background: linear-gradient(145deg, #EFE9DF 0%, #E0D5C5 100%);
  border: 2px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  overflow: hidden;
  position: relative;
}
.team-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}
.team-initials {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-text);
  letter-spacing: 0.02em;
}
.team-name {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.3rem;
  line-height: 1.3;
}
.team-role {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: rgba(201,168,76,0.1);
  padding: 0.2em 0.65em;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.team-focus {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── BLOG ────────────────────────────────────── */
.blog { background: var(--bg); }
.blog-carousel { margin-top: 2.5rem; }
.carousel-track-wrap { overflow: hidden; border-radius: var(--r-card); }
.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.blog-card {
  flex: 0 0 calc(33.333% - 0.84rem);
  background: var(--bg-white);
  border: 1px solid #e8e0d0;
  border-radius: var(--r-card);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold);
}
.blog-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: rgba(201,168,76,0.1);
  display: inline-block;
  padding: 0.2em 0.65em;
  border-radius: 4px;
  align-self: flex-start;
}
.blog-card-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}
.blog-card-excerpt {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.73rem;
  color: var(--muted);
  border-top: 1px solid #e8e0d0;
  padding-top: 0.75rem;
  margin-top: auto;
  gap: 0.5rem;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #d0c8bc;
  background: var(--bg-white);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
  flex-shrink: 0;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.carousel-btn:disabled { opacity: 0.3; pointer-events: none; }
.carousel-dots { display: flex; gap: 0.4rem; align-items: center; }
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d0c8bc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.carousel-dot.active { background: var(--gold-text); transform: scale(1.35); }
@media (max-width: 900px) {
  .blog-card { flex-basis: calc(50% - 0.625rem); }
}
@media (max-width: 600px) {
  .blog-card { flex-basis: 100%; }
  .blog-card-meta { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
}

/* ── DISCLAIMER POPUP ────────────────────────── */
.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,25,23,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.disclaimer-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.disclaimer-box {
  background: var(--bg-white);
  border: 1px solid #e8e0d0;
  border-top: 3px solid var(--gold);
  border-radius: var(--r-card);
  padding: 2.5rem 2.25rem 2rem;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(28,25,23,0.18);
}
.disclaimer-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold-text);
}
.disclaimer-icon svg { width: 24px; height: 24px; }
.disclaimer-box h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}
.disclaimer-body {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.disclaimer-body strong { color: var(--text); font-weight: 600; }
.disclaimer-accept {
  width: 100%;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  cursor: pointer;
}
.disclaimer-accept input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-text);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.disclaimer-accept label {
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.55;
}
.disclaimer-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--gold-text);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.disclaimer-btn:hover { background: var(--gold-hi); transform: translateY(-1px); }
.disclaimer-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* ── WHATSAPP FAB ────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 2px 6px rgba(0,0,0,0.15);
  z-index: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 3px 10px rgba(0,0,0,0.18);
}

/* ── OUR CLIENTS ─────────────────────────────── */
.our-clients { background: var(--bg-white); padding-top: 4rem; padding-bottom: 4rem; }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
  margin-top: 2.25rem;
}
.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.client-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(145deg, #EFE9DF 0%, #E0D5C5 100%);
  border: 2px solid rgba(201,168,76,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-text);
  letter-spacing: 0.03em;
  transition: border-color var(--ease), transform var(--ease);
  overflow: hidden;
}
.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.client-item:hover .client-avatar {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.client-name {
  font-size: 0.88rem;
  color: var(--text);
  text-align: center;
  letter-spacing: 0.01em;
  max-width: 140px;
  line-height: 1.35;
  font-weight: 500;
}

/* ── CLIENT TESTIMONIALS ─────────────────────── */
.testimonials { background: var(--bg-warm); }
.tc-carousel { margin-top: 2.5rem; }
.tc-track-wrap { overflow: hidden; }
.tc-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: stretch;
}
.tc-card {
  flex: 0 0 360px;
  background: var(--bg-white);
  border: 1px solid #e8e0d0;
  border-top: 3px solid var(--gold);
  border-radius: var(--r-card);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.tc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}
.tc-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.tc-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.tc-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #e8e0d0;
  margin-top: auto;
}
.tc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #EFE9DF 0%, #E0D5C5 100%);
  border: 1.5px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-text);
  flex-shrink: 0;
  overflow: hidden;
}
.tc-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tc-info { display: flex; flex-direction: column; gap: 0.15rem; }
.tc-name { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.tc-matter { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.03em; }
.tc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 1160px) {
  .tc-card { flex-basis: calc(50% - 10px); }
}
@media (max-width: 760px) {
  .tc-card { flex-basis: calc(100% - 0px); }
}
@media (max-width: 640px) {
  .clients-grid { gap: 1.5rem 1.75rem; }
  .client-avatar { width: 58px; height: 58px; font-size: 0.85rem; }
}

/* ── CARD READ-MORE ──────────────────────────── */
.practice-card[data-modal],
.blog-card[data-modal] { cursor: pointer; }
.practice-card[data-modal]:hover,
.blog-card[data-modal]:hover { border-color: var(--gold); }
.card-readmore {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-top: 0.75rem;
  transition: color var(--ease), gap var(--ease);
}
.practice-card:hover .card-readmore,
.blog-card:hover .card-readmore { color: var(--gold-hi); }

/* ── CONTENT MODAL ───────────────────────────── */
.content-modal[hidden] { display: none; }
.content-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.25s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,25,23,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  z-index: 1;
  background: var(--bg-white);
  border: 1px solid #e8e0d0;
  border-top: 3px solid var(--gold);
  border-radius: var(--r-card);
  padding: 2.5rem 2.25rem 2rem;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(28,25,23,0.2);
  animation: modalSlideIn 0.28s cubic-bezier(0.22,1,0.36,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.35); border-radius: 2px; }
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e8e0d0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background var(--ease), color var(--ease);
}
.modal-close:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.modal-close svg { width: 14px; height: 14px; }
.modal-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: rgba(201,168,76,0.1);
  display: inline-block;
  padding: 0.2em 0.7em;
  border-radius: 4px;
  margin-bottom: 0.9rem;
}
.modal-title {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text);
  margin: 0 0 1.25rem;
  padding-right: 1.5rem;
  line-height: 1.35;
}
.modal-body { font-size: 0.88rem; color: var(--muted); line-height: 1.8; }
.modal-body p { margin-bottom: 1rem; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-body h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin: 1.25rem 0 0.5rem; }
.modal-body ol, .modal-body ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.modal-body li { margin-bottom: 0.45rem; }
.modal-body strong { color: var(--text); font-weight: 600; }
.modal-body .blog-meta-line { font-size: 0.8rem; color: var(--gold-text); margin-bottom: 1.25rem; }

/* ── CLIENT LOGO ─────────────────────────────── */
.client-avatar { position: relative; overflow: visible; }
.client-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}
