/* ==========================================================================
   Deshmukh & Associates — Advocates & Legal Consultants, Thane
   Persona: traditional-authority | Playfair Display + Source Sans 3
   ========================================================================== */

:root {
  --navy: #1B2A4A;
  --navy-deep: #14203A;
  --navy-ink: #10192E;
  --charcoal: #22262E;
  --parchment: #F7F5F0;
  --parchment-deep: #EFEBE1;
  --gold: #B08D3E;
  --gold-bright: #C6A254;
  --gold-line: rgba(176, 141, 62, 0.45);
  --ink: #2B2F38;
  --muted: #5B6070;
  --muted-light: #A9AFBE;
  --line: #E3DDCF;
  --white: #FFFFFF;
  --radius: 2px;
  --shadow: 0 10px 30px rgba(20, 32, 58, 0.08);
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section[id], article[id] { scroll-margin-top: 110px; }

/* ---------- Small-caps eyebrow labels & gold rules ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.gold-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 1.1rem 0 1.4rem;
}

.gold-rule.centered { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--navy-ink); }

.btn-ghost {
  background: transparent;
  color: var(--parchment);
  border-color: var(--gold-line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-navy {
  background: var(--navy);
  color: var(--parchment);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid var(--gold-line);
  box-shadow: 0 4px 18px rgba(16, 25, 46, 0.35);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-mark { width: 40px; height: 40px; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--parchment);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.85);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover { color: var(--gold-bright); }

.site-nav a.active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

.site-nav .nav-phone {
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 8px 16px;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
}
.site-nav .nav-phone:hover { border-color: var(--gold); color: var(--parchment); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-bright);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  background:
    linear-gradient(160deg, rgba(27, 42, 74, 0.0) 0%, rgba(16, 25, 46, 0.55) 100%),
    repeating-linear-gradient(115deg, var(--navy) 0px, var(--navy) 46px, var(--navy-deep) 46px, var(--navy-deep) 92px);
  padding: 84px 0 92px;
}

.hero-frame {
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 72px);
  position: relative;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(176, 141, 62, 0.18);
  border-radius: var(--radius);
  pointer-events: none;
}

.hero h1 {
  color: var(--parchment);
  max-width: 15ch;
  margin-bottom: 1.2rem;
}

.hero h1 em { font-style: italic; color: var(--gold-bright); }

.hero-lead {
  color: rgba(247, 245, 240, 0.82);
  font-size: 1.12rem;
  max-width: 58ch;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Facts strip below hero */
.facts-bar {
  background: var(--navy-ink);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 22px 18px;
  text-align: center;
  border-left: 1px solid rgba(176, 141, 62, 0.18);
}
.fact:first-child { border-left: none; }

.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold-bright);
  margin-bottom: 2px;
}

.fact span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-deep { background: var(--parchment-deep); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section-head p.sub { color: var(--muted); }

/* ---------- Cards (practice areas) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--gold);
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }

.card p { font-size: 0.94rem; color: var(--muted); flex: 1; }

.card .card-link {
  margin-top: 1.2rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.card .card-link:hover { color: var(--navy); }

/* ---------- Image placeholders (no external assets) ---------- */
.ph {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(27, 42, 74, 0.06), rgba(27, 42, 74, 0.02)),
    repeating-linear-gradient(45deg, #EDE9DF 0px, #EDE9DF 14px, #E6E1D3 14px, #E6E1D3 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ph::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  pointer-events: none;
}

.ph-inner { text-align: center; padding: 24px; }

.ph-inner svg { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--gold); }

.ph-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.ph-portrait { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-dark {
  background:
    linear-gradient(135deg, rgba(16, 25, 46, 0.55), rgba(27, 42, 74, 0.35)),
    repeating-linear-gradient(45deg, var(--navy) 0px, var(--navy) 14px, var(--navy-deep) 14px, var(--navy-deep) 28px);
}
.ph-dark .ph-label { color: var(--muted-light); }

/* ---------- About teaser / profile layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

.split.reverse { grid-template-columns: 7fr 5fr; }

.split h2 { margin-bottom: 0.4rem; }

.credential-line {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.checklist { list-style: none; margin: 1.2rem 0 1.6rem; }

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 1.5px;
  background: var(--gold);
}

/* ---------- Steps (how a consultation works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
}

.step-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.94rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(160deg, rgba(27, 42, 74, 0) 0%, rgba(16, 25, 46, 0.5) 100%),
    var(--navy);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 { color: var(--parchment); margin-bottom: 0.7rem; }

.cta-band p { color: rgba(247, 245, 240, 0.75); max-width: 56ch; margin: 0 auto 2rem; }

.cta-band .hero-actions { justify-content: center; }

/* ---------- Inner page hero ---------- */
.page-hero {
  background:
    linear-gradient(160deg, rgba(27, 42, 74, 0) 0%, rgba(16, 25, 46, 0.55) 100%),
    repeating-linear-gradient(115deg, var(--navy) 0px, var(--navy) 46px, var(--navy-deep) 46px, var(--navy-deep) 92px);
  padding: 64px 0;
  border-bottom: 1px solid var(--gold-line);
}

.page-hero h1 { color: var(--parchment); margin-bottom: 0.5rem; }

.page-hero-sub {
  color: rgba(247, 245, 240, 0.75);
  font-size: 1.02rem;
  max-width: 62ch;
}

/* ---------- Practice area detail sections ---------- */
.practice-section { padding: 76px 0; }
.practice-section:nth-child(even) { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.practice-intro { max-width: 70ch; color: var(--muted); margin-bottom: 2.4rem; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 2.4rem;
}

.detail-block {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.practice-section:nth-child(odd) .detail-block { background: var(--white); }

.detail-block h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.detail-block ul, .detail-block ol { list-style: none; }

.detail-block li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
  color: var(--ink);
}

.detail-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 1.5px;
  background: var(--gold);
}

.detail-block ol { counter-reset: proc; }

.detail-block ol li { padding-left: 28px; counter-increment: proc; }

.detail-block ol li::before {
  content: counter(proc) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--gold);
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}

.cta-inline .note { font-size: 0.9rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.faq-item[open] { border-left: 2px solid var(--gold); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex: none;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 0.97rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 38px 34px;
}

.form-card h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 1.6rem; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 62, 0.15);
}

.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1.1rem; }

.info-card {
  background: var(--navy);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 34px 30px;
  color: rgba(247, 245, 240, 0.85);
}

.info-card h3 {
  color: var(--parchment);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.info-card .info-item { margin-bottom: 1.3rem; }

.info-card .info-item:last-child { margin-bottom: 0; }

.info-card .info-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.info-card a { color: var(--parchment); border-bottom: 1px solid var(--gold-line); }
.info-card a:hover { color: var(--gold-bright); }

.hours-list { list-style: none; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(176, 141, 62, 0.15);
  font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: none; }

.map-wrap {
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

.compliance-note {
  max-width: 820px;
  margin: 48px auto 0;
  background: var(--parchment-deep);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #C3C7D1;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.2fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.footer-brand .brand-name { font-size: 1.25rem; }

.footer-brand p { margin-top: 14px; color: #9CA1AE; font-size: 0.9rem; max-width: 34ch; }

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.1rem;
}

.site-footer address { font-style: normal; line-height: 1.8; }

.site-footer a { color: #C3C7D1; }
.site-footer a:hover { color: var(--gold-bright); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }

.footer-hours { list-style: none; }
.footer-hours li { margin-bottom: 0.4rem; }
.footer-hours span { color: #9CA1AE; }

.footer-disclaimer {
  border-top: 1px solid rgba(176, 141, 62, 0.25);
  padding: 22px 0;
  font-size: 0.82rem;
  color: #9CA1AE;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: #858A97;
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1FA855;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(16, 25, 46, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16, 25, 46, 0.45); }

.whatsapp-float svg { width: 30px; height: 30px; fill: #FFFFFF; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { border-left: none; border-top: 1px solid rgba(176, 141, 62, 0.18); }
  .fact:nth-child(-n+2) { border-top: none; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .detail-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 52px 0 36px; }
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--gold-line);
    padding: 14px 24px 22px;
    box-shadow: 0 18px 30px rgba(16, 25, 46, 0.4);
  }

  body.nav-open .site-nav { display: flex; }

  .site-nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .site-nav a.active { border-bottom-color: var(--gold); }
  .site-nav .nav-phone { margin-top: 10px; text-align: center; }

  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero-actions .btn { width: 100%; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.55rem; }
}

/* ---------- Vide Web Co. scroll reveals ---------- */
@media (prefers-reduced-motion:no-preference){
  html.vw-anim .vw-reveal{
    opacity:0;transform:translateY(26px);
    transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1);
  }
  html.vw-anim .vw-reveal.vw-in{opacity:1;transform:none}
}
