/* ========================================================================
   SWARAJ LAW ASSOCIATES — Main Stylesheet
   Advocates & Legal Consultants · Bengaluru
   Light theme: cream + navy + Inter
   ======================================================================== */

/* ----- DESIGN TOKENS ----- */
:root {
  --bg: #fffaf1;
  --bg-soft: #f6ecd4;
  --bg-card: #fffdf8;
  --surface-gold: #fbf4e4;
  --line: rgba(191, 151, 63, 0.24);
  --line-strong: rgba(191, 151, 63, 0.44);
  --navy: #1a2942;
  --navy-soft: #2d4061;
  --navy-deep: #0f1a2e;
  --gold-light: #ead7a8;
  --gold: #c49a3a;
  --gold-dark: #92702a;
  --text: #1a2942;
  --text-mute: #596171;
  --text-light: #8b8374;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --green-trust: #2da556;
  --shadow-sm: 0 6px 16px rgba(26, 41, 66, 0.045);
  --shadow-md: 0 16px 38px rgba(26, 41, 66, 0.075);
  --shadow-lg: 0 28px 62px rgba(26, 41, 66, 0.10);
  --shadow-xl: 0 40px 86px rgba(26, 41, 66, 0.14);
}

/* ----- RESET ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 34%, #fbf2df 100%);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 16%, rgba(196, 154, 58, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.64), rgba(255, 250, 241, 0.92));
  opacity: 1;
}
body > * {
  position: relative;
  z-index: 1;
}
p {
  text-align: justify;
  text-justify: inter-word;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(255, 250, 240, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(26, 41, 66, 0.035);
  transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  padding: 14px 0;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 12px 34px rgba(26, 41, 66, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--gold-light);
  padding: 5px;
  box-shadow: 0 8px 18px rgba(26, 41, 66, 0.08);
}
.brand-title {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0 6px;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.25px currentColor;
  white-space: nowrap;
}
.brand-title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), transparent);
}
.brand-name {
  color: var(--navy-deep);
}
.brand-practice {
  color: var(--navy);
  font-size: 0.92em;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-mute);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 11px 22px;
  background: var(--navy);
  color: var(--bg);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(234, 215, 168, 0.42);
  border-radius: 3px;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  font-size: 24px;
  padding: 4px 8px;
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  padding: 96px 0 86px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(234, 215, 168, 0.18) 58%, rgba(255, 255, 255, 0));
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(251, 242, 223, 0.82) 62%, rgba(255, 253, 248, 0.54) 100%);
  opacity: 1;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(234, 215, 168, 0.28) 0%, transparent 62%);
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: 58px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(201, 162, 77, 0.10);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}
.hero-tag .pulse {
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.hero-tag .pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.3;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(2); opacity: 0; }
}
.hero h1 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin-bottom: 28px;
  color: var(--navy);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero h1 .light {
  display: block;
  font-weight: 300;
  color: var(--text-mute);
  margin-top: 6px;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-mute);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 44px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

/* ----- BUTTONS ----- */
.btn {
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 2px;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--navy);
  color: var(--bg);
  border: 1px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(26, 41, 66, 0.18);
}
.btn-secondary {
  background: rgba(255, 253, 248, 0.68);
  color: var(--navy);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 77, 0.08);
}
.btn-arrow { transition: transform 0.25s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ----- HERO VISUAL + STATS CARD ----- */
.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 42px 0 42px 42px;
  isolation: isolate;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.45s forwards;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.62) 34%, rgba(15, 26, 46, 0.04) 100%),
    url('../images/law-background.png') right center / cover no-repeat;
  border: 1px solid rgba(191, 151, 63, 0.34);
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 14px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(234, 215, 168, 0.56);
  border-radius: 6px;
}
.hero-card {
  width: min(448px, 84%);
  margin-left: -72px;
  margin-bottom: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.86));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-light);
  padding: 36px 36px 30px;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(26, 41, 66, 0.16);
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), transparent);
  border-radius: 8px 8px 0 0;
}
.hero-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 7px;
  box-shadow: 0 8px 20px rgba(26, 41, 66, 0.08);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.card-role {
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 500;
}
.card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num sup {
  font-size: 0.45em;
  color: var(--text-mute);
  font-weight: 600;
}
.stat-label {
  font-size: 10px;
  color: var(--text-mute);
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-row {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 500;
}
.trust-row .green-dot {
  width: 6px;
  height: 6px;
  background: var(--green-trust);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================================================
   CLIENT MARQUEE
   ======================================================================== */
.clients-strip {
  padding: 56px 0 60px;
  background:
    linear-gradient(180deg, #f9f1df 0%, var(--surface-gold) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.strip-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.marquee-wrap {
  position: relative;
  overflow: hidden;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-soft), transparent);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-soft), transparent);
}
.marquee {
  display: flex;
  align-items: center;
  gap: 42px;
  animation: scroll 38s linear infinite;
  width: max-content;
}
.marquee:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 34%, #ffffff 0%, var(--bg-card) 72%);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(26, 41, 66, 0.08), inset 0 0 0 4px rgba(234, 215, 168, 0.16);
  white-space: nowrap;
  cursor: default;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.marquee-item:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 34px rgba(26, 41, 66, 0.13), inset 0 0 0 4px rgba(234, 215, 168, 0.24);
  transform: translateY(-2px);
}
.marquee-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter 0.25s, opacity 0.25s;
}
.marquee-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================================================================
   SECTION HEADERS
   ======================================================================== */
section { padding: 110px 0; position: relative; }
.section-head {
  margin-bottom: 72px;
  max-width: 800px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
}
.section-head h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--navy);
}
.section-head h2 .light {
  font-weight: 300;
  color: var(--text-mute);
}
.section-head p {
  font-size: 18px;
  color: var(--text-mute);
  margin-top: 22px;
  line-height: 1.6;
  max-width: 640px;
  font-weight: 400;
}
.section-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--gold-light);
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}
.section-photo::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(234, 215, 168, 0.58);
  border-radius: 5px;
  pointer-events: none;
}
.section-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s;
}
.section-photo:hover img {
  transform: scale(1.025);
  filter: saturate(1.02);
}

/* ========================================================================
   ABOUT
   ======================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-content p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mute);
  margin-bottom: 22px;
  font-weight: 400;
}
.about-content p:first-of-type::first-letter {
  font-size: 64px;
  float: left;
  line-height: 0.85;
  margin: 6px 14px 0 0;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.about-photo {
  aspect-ratio: 16 / 10;
  margin-top: 36px;
}
.strengths { display: grid; gap: 0; }
.strength-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  transition: transform 0.3s;
}
.strength-item:hover {
  transform: translateX(6px);
  border-top-color: var(--line-strong);
}
.strength-item:last-child { border-bottom: 1px solid var(--line); }
.strength-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}
.strength-text h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.strength-text p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
  font-weight: 400;
}

/* ========================================================================
   PRACTICE AREAS
   ======================================================================== */
.practice {
  background:
    linear-gradient(180deg, var(--surface-gold) 0%, var(--bg-soft) 100%);
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.practice-visual {
  aspect-ratio: 16 / 5;
  margin: -30px 0 42px;
}
.practice-visual img {
  object-position: center;
}
.practice-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), var(--bg-card));
  padding: 36px 32px;
  border-radius: 8px;
  border: 1px solid var(--gold-light);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--navy);
  background: rgba(201, 162, 77, 0.12);
  border: 1px solid rgba(201, 162, 77, 0.22);
  padding: 10px;
  border-radius: 8px;
}
.practice-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.practice-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.practice-card p {
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 400;
}
.practice-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(201, 162, 77, 0.12);
  color: var(--text-mute);
  border: 1px solid rgba(201, 162, 77, 0.16);
  border-radius: 3px;
  letter-spacing: 0.01em;
}

/* ========================================================================
   COURT MARQUEE
   ======================================================================== */
.court-marquee-wrap {
  background: var(--navy);
  padding: 28px 0;
  overflow: hidden;
}
.court-marquee {
  display: flex;
  gap: 56px;
  animation: scroll 36s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.court-marquee span {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 56px;
  letter-spacing: 0.02em;
}
.court-marquee span::after {
  content: '·';
  color: rgba(255, 255, 255, 0.3);
  font-size: 24px;
}

/* ========================================================================
   ATTORNEY / COUNSEL
   ======================================================================== */
.attorney-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}
.attorney-portrait {
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gold-light);
}
.attorney-portrait::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(234, 215, 168, 0.58);
  border-radius: 5px;
  z-index: 4;
  pointer-events: none;
}
.attorney-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.attorney-portrait:hover img { transform: scale(1.03); }
.attorney-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(26, 41, 66, 0.4) 90%,
    rgba(26, 41, 66, 0.7) 100%
  );
  pointer-events: none;
}
.portrait-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: 5px;
  z-index: 5;
  border: 1px solid var(--gold-light);
}
.badge-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.badge-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.attorney-content h3 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--navy);
  letter-spacing: -0.025em;
}
.attorney-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.attorney-content > p {
  font-size: 16.5px;
  color: var(--text-mute);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 400;
}
.credentials {
  margin-top: 36px;
  display: grid;
  gap: 0;
}
.credential {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.credential:first-child { border-top: 1px solid var(--line); }
.credential-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-transform: uppercase;
}
.credential-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
}

/* ========================================================================
   TESTIMONIALS
   ======================================================================== */
.testimonials {
  background:
    linear-gradient(180deg, var(--bg-soft), #fbf4e6);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), var(--bg-card));
  border: 1px solid var(--gold-light);
  padding: 36px 32px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.quote-mark {
  font-size: 56px;
  color: var(--gold-dark);
  line-height: 0.4;
  margin-bottom: 20px;
  opacity: 0.25;
  font-family: Georgia, serif;
  font-weight: 700;
}
.testimonial p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 28px;
  font-weight: 400;
}
.testimonial-author {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.author-role {
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 500;
  line-height: 1.5;
}

/* ========================================================================
   CONTACT
   ======================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-info-block { margin-bottom: 32px; }
.contact-photo {
  aspect-ratio: 4 / 3;
  margin-top: 42px;
}
.contact-photo img {
  object-position: center;
}
.info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.info-label::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--navy);
}
.info-value {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
}
.info-value a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}
.info-value a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* Form */
form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), var(--bg-card));
  border: 1px solid var(--gold-light);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.form-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.form-sub {
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 3px;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}
.form-field select { cursor: pointer; }
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-light);
  font-weight: 400;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.form-submit {
  width: 100%;
  margin-top: 8px;
  background: var(--navy);
  color: var(--bg);
  padding: 16px;
  border: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s;
}
.form-submit:hover:not(:disabled) {
  background: var(--navy-soft);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(26, 41, 66, 0.18);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-success {
  display: none;
  padding: 14px 16px;
  background: rgba(45, 165, 86, 0.10);
  border: 1px solid rgba(45, 165, 86, 0.3);
  color: #1f7340;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
}
.form-success.active { display: block; }

/* Map */
.map-wrap {
  margin-top: 60px;
  border: 1px solid var(--gold-light);
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 28px;
  border-top: 3px solid var(--gold);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand .logo {
  margin-bottom: 18px;
  color: #ffffff;
}
.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
  background: #ffffff;
}
.footer-brand .brand-title {
  color: #ffffff;
}
.footer-brand .brand-title::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
}
.footer-brand .brand-name,
.footer-brand .brand-practice {
  color: #ffffff;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  max-width: 320px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  font-weight: 400;
}
.footer-col a:hover { color: #ffffff; }
.footer-bot {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ========================================================================
   WHATSAPP FLOAT
   ======================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  z-index: -1;
  animation: pulseRing 2.2s ease infinite;
}
@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.25); opacity: 0; }
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .brand-title {
    font-size: 21px;
    letter-spacing: 0.06em;
  }
  .hero-grid, .about-grid, .attorney-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-visual {
    min-height: 520px;
    padding: 34px;
  }
  .hero-visual::before {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 253, 248, 0.54) 38%, rgba(15, 26, 46, 0.03) 100%),
      url('../images/law-background.png') right center / cover no-repeat;
  }
  .hero-card {
    width: min(480px, 88%);
    margin-left: 0;
  }
  .practice-visual {
    aspect-ratio: 16 / 7;
    margin-top: -18px;
  }
  .practice-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  section { padding: 72px 0; }
  nav { padding: 14px 0; }
  .logo { gap: 9px; min-width: 0; }
  .brand-mark {
    width: 38px;
    height: 38px;
    padding: 4px;
    flex: 0 0 auto;
  }
  .brand-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 0.88;
  }
  .brand-practice { font-size: 0.78em; }
  body::before { opacity: 0.06; }
  .hero-visual {
    min-height: 560px;
    padding: 22px;
  }
  .hero-visual::before {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.88) 0%, rgba(255, 253, 248, 0.50) 48%, rgba(255, 250, 241, 0.22) 100%),
      url('../images/law-background.png') right center / cover no-repeat;
  }
  .hero-visual::after { inset: 10px; }
  .hero-card {
    width: 100%;
    margin: 0;
  }
  .section-photo::after { inset: 8px; }
  .about-photo {
    aspect-ratio: 4 / 3;
    margin-top: 30px;
  }
  .practice-visual {
    aspect-ratio: 4 / 3;
    margin: -20px 0 32px;
  }
  .contact-photo {
    aspect-ratio: 4 / 3;
    margin-top: 32px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 70px 0 60px; }
  .hero-card { padding: 28px 24px; }
  .practice-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bot {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .credential {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .strength-item { grid-template-columns: 1fr; gap: 6px; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .marquee { gap: 28px; }
  .marquee-item {
    width: 86px;
    height: 86px;
    padding: 15px;
  }
  .court-marquee span { font-size: 15px; gap: 36px; }
  .court-marquee span::after { font-size: 18px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
