/* ═══════════════════════════════════════════════════════════════
   MAR Law Group, PSC — Stylesheet
   Navy + Gold  ·  Playfair Display + Source Sans 3
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --navy:        #0b1825;
  --navy-mid:    #101f30;
  --navy-light:  #162740;
  --navy-card:   #13253a;

  --gold:        #c9a84c;
  --gold-light:  #ddc06e;
  --gold-dim:    rgba(201, 168, 76, 0.15);
  --gold-glow:   rgba(201, 168, 76, 0.06);

  --cream:       #ede7db;
  --cream-dim:   #b5ad9e;
  --white:       #f5f3ef;
  --muted:       #7a8fa6;

  --border:      rgba(201, 168, 76, 0.14);
  --border-hover:rgba(201, 168, 76, 0.35);

  --radius:      2px;
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Source Sans 3', 'Segoe UI', sans-serif;

  --max-width:   1140px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 19px;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

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

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(11, 24, 37, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition), background var(--transition);
}

nav.scrolled {
  padding: 0.7rem 3rem;
  background: rgba(11, 24, 37, 0.97);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.nav-right { display: flex; align-items: center; gap: 2.2rem; }

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color var(--transition);
  padding-bottom: 2px;
}

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

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

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

/* Language Toggle */
.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background var(--transition), color var(--transition);
}

.lang-btn:hover { color: var(--cream); }
.lang-btn.active { background: var(--gold); color: var(--navy); }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.35s ease;
  transform-origin: center;
}

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

/* Mobile Menu */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 24, 37, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-menu .lang-toggle-mobile {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.mobile-menu .lang-toggle-mobile .lang-btn {
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════════════════ */
section {
  padding: 6rem 3rem;
  position: relative;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.divider {
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 2rem;
}

/* Buttons */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 500;
  border: 1px solid var(--gold);
}

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

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--cream);
  font-weight: 400;
}

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

/* ═══════════════════════════════════════════
   HERO — Full-width background
   ═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 3rem 5rem;
  position: relative;
  overflow: hidden;
  background:
    url('assets/skyline.png') center bottom / cover no-repeat;
}

/* Dark overlay so text pops */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 24, 37, 0.92) 0%, rgba(11, 24, 37, 0.7) 40%, rgba(11, 24, 37, 0.45) 100%),
    linear-gradient(to top, rgba(11, 24, 37, 0.95) 0%, transparent 35%);
  pointer-events: none;
  z-index: 1;
}

/* Firm intro content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0;
  text-align: left;
}

/* 1. Headline — largest */
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.25rem; /* ~20px */
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

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

/* 2. Firm name */
.hero-firm {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 2.8rem); /* ~60-70% of headline */
  font-weight: 400;
  color: #F5F5F5;
  margin-bottom: 0.5rem; /* ~8px */
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}

/* 3. Attorney line — signature feel */
.hero-attorney {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: #B0B7C3;
  margin-bottom: 1.5rem; /* ~24px */
  opacity: 0;
  animation: fadeUp 0.8s 0.45s forwards;
}

/* 4. Subheadline */
.hero-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  color: #D6D9DF;
  line-height: 1.6;
  margin-bottom: 1.75rem; /* ~28px */
  max-width: 580px;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
#about {
  background: var(--navy-mid);
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.35), transparent);
}

.about-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
}

/* Circular headshot */
.headshot-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-dim);
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.08);
  flex-shrink: 0;
}

.headshot-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.02);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.headshot-circle:hover img {
  filter: contrast(1.06);
  transform: scale(1.03);
}

/* Quote below headshot */
.about-quote {
  margin-top: 1.4rem;
  max-width: 260px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.6;
}

/* About text content */
.about-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--cream-dim);
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.about-creds {
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  margin-top: 1.4rem;
}

.about-creds-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.about-creds-list {
  list-style: none;
  padding: 0;
}

.about-creds-list li {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 300;
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
}

.about-creds-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.about-registration {
  margin-top: 0.8rem;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.04em;
  padding-left: 1.2rem;
}



/* ═══════════════════════════════════════════
   PRACTICE AREAS
   ═══════════════════════════════════════════ */
#practice {
  background: var(--navy);
  position: relative;
}

#practice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.practice-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--transition);
  overflow: hidden;
}

.practice-icon {
  width: 26px;
  height: 26px;
  color: rgba(201, 168, 76, 0.25);
  margin-bottom: 0.8rem;
  transition: color var(--transition);
}

.practice-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-card:hover .practice-icon {
  color: rgba(201, 168, 76, 0.5);
}

.practice-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.practice-card:hover {
  background: var(--navy-card);
}

.practice-card:hover::before {
  width: 100%;
}



.practice-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.practice-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

/* CTA Card */
.practice-card--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy-card);
  text-align: center;
  gap: 1rem;
}

.practice-card--cta .cta-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream-dim);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   CASES / SELECTED DECISIONS
   ═══════════════════════════════════════════ */
#cases {
  background: var(--navy-mid);
  position: relative;
}

#cases::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.cases-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 3rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.case-card {
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-dim);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0 2rem;
  align-items: start;
  transition: border-color var(--transition), background var(--transition), transform 0.2s;
  background: transparent;
}

.case-card:hover {
  border-color: var(--border-hover);
  border-left-color: var(--gold);
  background: rgba(22, 39, 64, 0.3);
  transform: translateX(4px);
}

.case-yr {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: rgba(201, 168, 76, 0.35);
  padding-top: 0.15rem;
  line-height: 1;
}

.case-court {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.case-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.case-cite {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-style: italic;
}

.case-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--cream-dim);
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
#contact {
  background: var(--navy);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--cream-dim);
  font-weight: 300;
  margin-bottom: 2.8rem;
}

.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--gold);
  transition: border-color var(--transition), background var(--transition);
}

.contact-item:hover .contact-icon {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.contact-lbl {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-val {
  font-size: 1rem;
  color: var(--cream);
  font-weight: 300;
  line-height: 1.55;
}

.contact-val a {
  color: var(--cream);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.74rem;
  transition: color var(--transition), transform var(--transition);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--transition);
}

.form-group:focus-within label {
  color: var(--gold);
  transform: translateX(2px);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: rgba(22, 39, 64, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.form-group select option { background: var(--navy-mid); color: var(--cream); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
}

.submit-btn {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  width: 100%;
  transition: background var(--transition), transform 0.2s;
}

.submit-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.show { display: block; }

.form-success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.form-success p {
  font-size: 1rem;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 2.2rem 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bar-link {
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 300;
  transition: color var(--transition);
}

.footer-bar-link:hover {
  color: var(--gold);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Animated dividers */
.reveal .divider {
  width: 0;
  transition: width 0.6s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible .divider {
  width: 2.5rem;
}

/* Section subtitle (used in Cases) */
.section-subtitle {
  font-size: 0.95rem;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.7;
  font-style: italic;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════ */
@media (max-width: 960px) {
  html { font-size: 18px; }

  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: 0.7rem 1.5rem; }
  .nav-links { display: none; }
  .lang-toggle { display: none; }
  .hamburger { display: flex; }

  section { padding: 4.5rem 1.5rem; }
  #hero { padding: 6rem 1.5rem 4rem; }



  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .about-photo { justify-content: center; }

  .headshot-circle {
    width: 200px;
    height: 200px;
  }

  .about-creds-list li { text-align: left; }


  .practice-grid { grid-template-columns: 1fr; }

  .case-card {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .case-yr { display: none; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row { grid-template-columns: 1fr; }

  footer { padding: 1.5rem; }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════ */
@media (max-width: 540px) {
  html { font-size: 17px; }

  section { padding: 3.5rem 1.2rem; }
  #hero { padding: 5.5rem 1.2rem 3.5rem; }

  .nav-logo { font-size: 1.1rem; }


  .hero-headline {
    font-size: clamp(1.8rem, 7.5vw, 2.5rem);
    word-break: normal;
    overflow-wrap: break-word;
  }
  
  .hero-firm {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .headshot-circle {
    width: 170px;
    height: 170px;
  }

  .practice-grid { grid-template-columns: 1fr; }

  .btn-primary { text-align: center; width: 100%; box-sizing: border-box; }
  .btn-ghost { text-align: center; width: 100%; box-sizing: border-box; }

  .case-card { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════ */
@media print {
  nav, .mobile-menu, .hero-overlay, .hero-actions,
  .practice-card--cta, .contact-form, .form-success,
  .hamburger, .lang-toggle, .practice-icon { display: none !important; }

  body { background: #fff; color: #1a1a1a; }

  section { padding: 2rem 0; break-inside: avoid; }

  #hero { min-height: auto; background: none !important; padding: 2rem 0; }

  .hero-headline, .hero-firm { color: #1a1a1a; opacity: 1; animation: none; }
  .hero-gold { color: #7a6520; }
  .hero-attorney, .hero-sub { color: #333; opacity: 1; animation: none; }

  #about, #cases, #practice, #contact { background: #fff; }
  #about::before, #practice::before, #cases::before, #contact::before { display: none; }

  .section-label { color: #7a6520; }
  .section-title { color: #1a1a1a; }
  .section-title em { color: #7a6520; }
  .divider { background: #7a6520; }

  .about-text, .practice-desc, .case-desc, .contact-lead { color: #333; }
  .about-creds-list li { color: #555; }
  .contact-val, .contact-val a { color: #1a1a1a; }

  .practice-grid { background: #ddd; }
  .practice-card { background: #fff; }
  .practice-name { color: #1a1a1a; }

  .case-card { border-color: #ddd; border-left-color: #7a6520; }
  .case-court { color: #7a6520; }
  .case-name { color: #1a1a1a; }
  .case-cite { color: #666; }

  .headshot-circle { border-color: #ddd; box-shadow: none; }

  footer { border-top: 1px solid #ddd; background: #fff; }
  .footer-logo { color: #7a6520; }
  .footer-top { border-bottom-color: #ddd; }

  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal .divider { width: 2.5rem !important; }
}
