/* ============================================
   THE ZEBRAS PARALEGAL LP — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --gold: #C9A84C;
  --gold-light: #E8C86A;
  --gold-dark: #8B6914;
  --white: #F5F5F5;
  --muted: #9A9A9A;
  --border: rgba(201, 168, 76, 0.2);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ---- Zebra Stripe Pattern ---- */
.zebra-bg {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(255, 255, 255, 0.018) 18px,
    rgba(255, 255, 255, 0.018) 36px
  );
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-header.centered .section-label {
  display: block;
}

.section-header.centered .section-label::before {
  display: none;
}

.section-label--centered {
  justify-content: center;
}

.section-label--centered::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
}

.gold { color: var(--gold); }

/* ---- Layout Utilities ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-sub {
  margin: 0 auto;
}

/* ---- Ghost Section Numbers ---- */
.section-header[data-num] {
  position: relative;
}

.section-header[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  left: -0.05em;
  transform: translateY(-55%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.1);
  text-stroke: 1px rgba(201, 168, 76, 0.1);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.02em;
}

.section-header[data-num] > * {
  position: relative;
  z-index: 1;
}

.section-header.centered[data-num]::before {
  left: 50%;
  transform: translate(-50%, -55%);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  line-height: 1;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  outline: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-gold:hover::after {
  transform: translateX(0);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245, 245, 245, 0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

/* ---- Gold Divider ---- */
.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.gold-line.centered {
  margin: 1.5rem auto;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.nav-logo-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a:not(.btn) {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--white);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

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

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

.mobile-nav .btn {
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ============================================
   PAGE HEROES
   ============================================ */

/* Home Hero */
.hero-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.02) 20px,
    rgba(255, 255, 255, 0.02) 40px
  );
}

.hero-home::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 0.9s ease forwards;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 640px;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 168, 76, 0.07) 0%,
    rgba(201, 168, 76, 0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.hero-logo {
  height: 72px;
  width: auto;
  margin-bottom: 2.5rem;
}

.hero-home h1 {
  margin-bottom: 1.5rem;
}

.hero-home h1 span {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Page Hero (inner pages) */
.page-hero {
  padding: 9rem 0 5rem;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.015) 20px,
    rgba(255, 255, 255, 0.015) 40px
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 560px;
}


/* ============================================
   SERVICES PREVIEW
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}


.service-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover {
  color: var(--gold-light);
}

.services-cta {
  text-align: center;
}


/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section {
  background: var(--bg-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-list {
  margin: 2rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.why-check svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item span {
  font-size: 0.95rem;
  color: var(--muted);
}

.why-visual {
  position: relative;
  height: 420px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.why-visual-inner {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 16px,
    rgba(201, 168, 76, 0.06) 16px,
    rgba(201, 168, 76, 0.06) 32px
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual-text {
  text-align: center;
}

.why-panel-content {
  text-align: center;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
}

.why-panel-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.why-panel-num sup {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--gold-light);
}

.why-panel-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.why-panel-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 0.2rem 0;
}

.why-panel-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(245, 245, 245, 0.5);
  line-height: 1.75;
  max-width: 270px;
  border: none;
  padding: 0;
  margin: 0;
}

.why-panel-content .why-logo {
  height: 40px;
  width: auto;
  opacity: 0.3;
  margin-top: 0.25rem;
}

.why-visual-text .big-letter {
  font-family: var(--font-display);
  font-size: 12rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.08);
  line-height: 1;
  display: block;
  user-select: none;
}

.why-visual-text .why-logo {
  height: 80px;
  width: auto;
  opacity: 0.6;
  margin: 0 auto;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-card p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  line-height: 1.8;
  flex: 1;
}

.testimonial-author {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #0f0d07 0%, #1a1505 50%, #0f0d07 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 0;
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.credentials-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3rem;
  margin-top: 4rem;
}

.credentials-panel h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.credentials-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.credential-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}


/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-items {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-item-value {
  font-size: 0.95rem;
  color: var(--white);
}

.contact-item-value a {
  color: var(--white);
  transition: color 0.2s;
}

.contact-item-value a:hover {
  color: var(--gold);
}

/* Form */
.contact-form-wrap {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3rem;
}

.contact-form-wrap h3 {
  margin-bottom: 0.5rem;
}

.contact-form-wrap > p {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

input,
select,
textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

input::placeholder,
textarea::placeholder {
  color: rgba(154, 154, 154, 0.5);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9A9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.5rem;
}

select option {
  background: var(--bg-secondary);
  color: var(--white);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
  font-style: italic;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: rgba(201, 168, 76, 0.05);
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.form-success-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--gold);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.footer-logo img {
  height: 44px;
  width: auto;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer-logo-tag {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 1.5rem 0 0.35rem;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

.footer-disclaimer a {
  color: var(--gold);
  text-decoration: none;
}

.footer-disclaimer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 0.35rem 0 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-copyright::after {
  content: '·';
  margin: 0 0.8rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-legal a + a::before {
  content: '·';
  margin: 0 0.8rem;
  color: var(--muted);
  display: inline-block;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 9999;
  transition: width 0.06s linear;
  pointer-events: none;
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.5rem;
  animation: marqueeScroll 36s linear infinite;
}

.marquee-track span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.marquee-dot {
  font-size: 0.45rem !important;
  color: rgba(201, 168, 76, 0.35) !important;
  letter-spacing: 0 !important;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  padding: 0.75rem 1rem;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: var(--bg-secondary);
  border: none;
  outline: none;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
  background: rgba(201, 168, 76, 0.06);
  color: var(--gold-light);
}

.faq-question.open {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.3s ease;
}

.faq-question.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg-primary);
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer p {
  padding: 1.25rem 2rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.6);
}

.sticky-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--gold);
  transition: border-color 0.2s, background 0.2s;
}

.sticky-cta-call:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); }

.sticky-cta-call svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sticky-cta-book {
  flex: 1;
  min-height: 48px;
  font-size: 0.88rem;
  text-align: center;
}

/* ============================================
   POLICY PAGES (Privacy Policy, Terms)
   ============================================ */

.policy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 100px;
}

.policy-toc-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 1.75rem;
  border-radius: 4px;
}

.policy-toc-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
}

.policy-toc-list {
  list-style-type: decimal;
  padding-left: 1.4rem;
  margin: 0;
}

.policy-toc-list li {
  margin-bottom: 0.65rem;
}

.policy-toc-list li::marker {
  color: var(--gold);
  font-size: 0.72rem;
}

.policy-toc-list a {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  transition: color 0.2s;
}

.policy-toc-list a:hover {
  color: var(--gold);
}

.policy-body > p,
.policy-body > ul {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.policy-body > ul {
  padding-left: 1.4rem;
  list-style: disc;
}

.policy-body > ul li {
  margin-bottom: 0.35rem;
}

.policy-body a {
  color: var(--gold);
  text-decoration: none;
}

.policy-body a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.policy-body strong {
  color: var(--white);
  font-weight: 500;
}

.policy-date {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.policy-summary {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 2rem 2rem 1rem;
  border-radius: 4px;
  margin: 2.5rem 0;
}

.policy-summary p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.policy-summary strong {
  color: var(--white);
}

.policy-summary a {
  color: var(--gold);
}

.policy-summary a:hover {
  color: var(--gold-light);
}

.policy-summary-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.policy-section {
  padding-top: 1rem;
}

.policy-h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 3rem 0 1.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.policy-h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin: 1.75rem 0 0.75rem;
  letter-spacing: 0.03em;
}

.policy-section p,
.policy-section ul {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.policy-section ul {
  padding-left: 1.4rem;
  list-style: disc;
}

.policy-section ul li {
  margin-bottom: 0.5rem;
}

.policy-section a {
  color: var(--gold);
}

.policy-section a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.policy-section strong {
  color: var(--white);
  font-weight: 500;
}

.policy-in-short {
  background: var(--bg-secondary);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 0.5rem 0 1.5rem;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.75;
}

.policy-in-short strong {
  color: var(--white);
  font-style: normal;
}

.policy-contact-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.policy-contact-block p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

@media (max-width: 900px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }
  .policy-toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
  }

  /* Push footer up so it's not hidden behind sticky bar */
  body {
    padding-bottom: 72px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — 768px breakpoint
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo-text { display: none; }

  /* Hero */
  .hero-logo { display: none; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; text-align: center; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--border); }

  /* Ghost numbers */
  .section-header[data-num]::before { font-size: 5rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-visual { height: 260px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* About */
  .credentials-list { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 2rem 1.5rem; overflow: hidden; }
  .h-captcha {
    transform: scale(0.85);
    transform-origin: left top;
    margin-right: -45px;
    margin-bottom: -11px;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-disclaimer { padding: 1.2rem 0 0.3rem; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 0.35rem; padding-bottom: 1.5rem; }
  .footer-copyright::after { display: none; }
  .footer-legal { gap: 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }

  /* Page hero — less vertical padding on small screens */
  .page-hero { padding: 5.5rem 0 2.5rem; }

  /* Why panel — prevent quote overflowing narrow viewport */
  .why-panel-content { padding: 2rem 1.5rem; }
  .why-panel-quote { max-width: 100%; }

  /* About photo — 3/4 ratio is 500px tall at 375px wide; flatten it */
  .photo-placeholder { aspect-ratio: 4/3; }

  /* Testimonial quote mark — reduce so it doesn't overlap short quotes */
  .testimonial-card::before { font-size: 3.5rem; top: 0.75rem; left: 1.25rem; }
  .testimonial-card { padding-top: 3rem; }

  /* Marquee — tighten gap on narrow screens */
  .marquee-track { gap: 1.5rem; }

  /* Sticky CTA — ensure 44px minimum tap target height */
  .sticky-cta { padding: 0.6rem 0.75rem; padding-bottom: calc(0.6rem + env(safe-area-inset-bottom)); }
  .sticky-cta .btn { min-height: 44px; font-size: 0.76rem; }
}

/* ============================================
   Layout Overhaul - Phase 2
   ============================================ */

/* --- Homepage hero: photo background --- */
.hero-home.hero-photo-bg {
  background-image: url('images/13.webp');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}
.hero-home.hero-photo-bg::before {
  background-image: none;
  background: linear-gradient(to bottom, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.45) 25%, rgba(10,10,10,0.38) 55%, rgba(10,10,10,0.9) 100%);
}

/* --- Inner page photo heroes --- */
.page-hero.page-hero-photo {
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.page-hero.page-hero-photo::before {
  background-image: none;
  background: linear-gradient(to bottom, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.45) 20%, rgba(10,10,10,0.8) 100%);
}
.page-hero.page-hero-photo .page-hero-content {
  padding: 7rem 0 4rem;
}
.page-hero-about.page-hero-photo {
  background-image: url('images/courtroom1.webp');
  background-position: center 35%;
}
.page-hero-services.page-hero-photo {
  background-image: url('images/law-books.webp');
  background-position: center 60%;
}
.page-hero-contact.page-hero-photo {
  background-image: url('images/law-office-dark.webp');
  background-position: center 35%;
}

/* --- Homepage photo service cards --- */
.photo-service-card {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.15);
  background: var(--bg-secondary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.photo-service-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.photo-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.photo-service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(201,168,76,0.2);
  transform: translateY(-3px);
}
.photo-service-card:hover img { transform: scale(1.05); }
.photo-service-card-content {
  padding: 1.5rem 1.75rem 2rem;
  flex: 1;
}
.photo-service-card-content h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.photo-service-card-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* --- Why Choose Us: photo panel --- */
.why-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- Meet Our Team — homepage --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.team-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.12);
}
.team-card-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-card-body { padding: 1.75rem 2rem 2rem; }
.team-card-body h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 0.2rem; }
.team-card-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.85rem;
}
.team-card-body p { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.75; }
.team-section-cta { text-align: center; }

/* --- CTA banner: photo background --- */
.cta-banner.cta-banner-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.cta-banner.cta-banner-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,6,2,0.87);
  pointer-events: none;
  z-index: 0;
}
.cta-banner.cta-banner-photo .container { position: relative; z-index: 1; }

/* --- About: team profile avatar card --- */
.team-profile-split {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-secondary);
  padding: 3.5rem 3rem 4rem;
  margin-bottom: 4rem;
}
.team-profile-photo-wrap {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  margin: 0 auto 2rem;
}
.team-profile-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(2);
  transform-origin: center 30%;
  display: block;
}
.team-profile-text h2 { margin-bottom: 0.2rem; }
.team-profile-text p { margin-bottom: 1rem; }
.team-profile-split:not(.reverse) .team-profile-photo-wrap img { transform: scale(1.8); transform-origin: center 48%; }

/* --- About: photo value cards --- */
.photo-value-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.photo-value-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.photo-value-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.photo-value-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.93) 30%, rgba(10,10,10,0.5) 100%);
  z-index: 1;
}
.photo-value-card-content { position: relative; z-index: 2; padding: 2rem; }
.photo-value-card-content h3 { color: var(--gold); font-size: 1.25rem; margin-bottom: 0.6rem; }
.photo-value-card-content p { font-size: 0.9rem; color: rgba(245,245,245,0.8); margin: 0; }

/* --- Services: photo card grid --- */
.services-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.photo-service-card-full {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  min-height: 280px;
  isolation: isolate;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.photo-service-card-full.featured {
  grid-column: 1 / -1;
  min-height: 320px;
}
.photo-service-card-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.6s ease;
}
.photo-service-card-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 25%, rgba(10,10,10,0.52) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}
.photo-service-card-full:hover::after {
  background: linear-gradient(to top, rgba(10,10,10,0.96) 25%, rgba(10,10,10,0.62) 100%);
}
.photo-service-card-full:hover {
  border-color: var(--gold);
  box-shadow: 0 0 32px rgba(201,168,76,0.15);
  transform: translateY(-3px);
}
.photo-service-card-full:hover img { transform: scale(1.04); }
.photo-service-card-full-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2.25rem;
}
.photo-service-card-full-content h3 { font-size: 1.3rem; color: var(--gold); margin-bottom: 0.65rem; }
.photo-service-card-full-content p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(245,245,245,0.85);
  margin-bottom: 1.25rem;
}

/* --- Contact section: photo background --- */
.contact-photo-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  overflow-x: hidden;
}

/* --- Phase 2 responsive --- */
@media (max-width: 768px) {
  .photo-service-card-img { aspect-ratio: 16/9; }
  .team-grid { grid-template-columns: 1fr; }
  .team-profile-split { padding: 2.5rem 1.75rem 3rem; }
  .team-profile-photo-wrap { width: 180px; height: 180px; }
  .services-photo-grid { grid-template-columns: 1fr; }
  .photo-service-card-full.featured { grid-column: auto; }
  .page-hero.page-hero-photo { min-height: 45vh; }
  .page-hero.page-hero-photo .page-hero-content { padding: 5.5rem 0 3rem; }
}
