/* ============================================================================
   Rohamat & Ling - Law Firm Website
   Design Language: Sterling & Associates Editorial Aesthetic
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@700&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================================
   ROOT & CSS VARIABLES
   ========================================================================== */

:root {
  /* Color Palette */
  --navy: #0B1F3A;
  --navy-light: #132d52;
  --navy-dark: #071428;
  --emerald: #0F6A4B;
  --emerald-light: #15905f;
  --gold: #C9A84C;
  --warm-white: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #888;
  --text-white: #ffffff;
  --overlay-dark: rgba(0, 0, 0, 0.45);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-2xl: 10rem;

  /* Typography */
  --font-sora: 'Sora', sans-serif;
  --font-inter: 'Inter', sans-serif;

  /* Z-Index */
  --z-nav: 1000;
  --z-modal: 2000;
}

/* ============================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--font-inter);
  color: var(--text-primary);
  background-color: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sora);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ============================================================================
   UTILITY CLASSES
   ========================================================================== */

.micro-label {
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.68px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 1rem;
}

.headline-lg {
  font-family: var(--font-sora);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  padding-bottom: 0.05em;
}

.headline-md {
  font-family: var(--font-sora);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
}

.headline-sm {
  font-family: var(--font-sora);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.bg-warm-white {
  background-color: var(--warm-white);
}

.bg-navy {
  background-color: var(--navy);
}

.text-white {
  color: var(--text-white);
}

.text-navy {
  color: var(--navy);
}

.text-emerald {
  color: var(--emerald);
}

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

/* ============================================================================
   IMAGE UTILITIES
   ========================================================================== */

.img-editorial {
  filter: contrast(1.05);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-square {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

/* ============================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* Link animation */
a.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  font-weight: 500;
  color: var(--text-primary);
}

a.link-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s ease;
}

a.link-arrow:hover::after {
  transform: translateX(6px);
}

a.link-arrow-white {
  color: var(--text-white);
}

a.link-arrow-white::after {
  content: '→';
}

a.link-arrow-white:hover::after {
  transform: translateX(6px);
}

/* ============================================================================
   NAVIGATION
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-nav);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4vw;
  max-width: 100%;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--emerald);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* ============================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 56vw 44vw;
  height: 100vh;
  margin-top: 80px;
  overflow: hidden;
  position: relative;
}

.hero-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  will-change: transform, opacity;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}

.hero-content {
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6vw;
  overflow: visible;
  will-change: transform, opacity;
}

/* Page transition overlay — slides up to reveal next section */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  z-index: 900;
  pointer-events: none;
  transform: translateY(100%);
}

.hero-content .micro-label {
  color: var(--emerald);
  font-weight: 600;
}

.hero-content .headline-lg {
  line-height: 1.15;
  margin-bottom: 2rem;
  color: var(--text-primary);
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.hero-content .headline-lg span {
  display: block;
  white-space: nowrap;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 3rem;
  max-width: 90%;
  line-height: 1.8;
}

.hero-cta {
  position: relative;
}

.hero-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}

.hero-cta a::after {
  content: '→';
  display: inline-block;
  font-size: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta a:hover::after {
  transform: translateX(8px);
}

/* ============================================================================
   PAGE HERO (Inner Pages) — Full-width image banner
   ========================================================================== */

.page-hero {
  position: relative;
  margin-top: 80px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8vh 7vw;
  overflow: hidden;
  background: var(--navy);
}

/* Background image layer */
.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.1);
}

/* Dark gradient overlay for legibility */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 31, 58, 0.3) 0%,
    rgba(11, 31, 58, 0.7) 60%,
    rgba(11, 31, 58, 0.92) 100%
  );
  z-index: 1;
}

/* All text sits above overlay */
.page-hero .micro-label,
.page-hero .headline-lg,
.page-hero p,
.page-hero .page-hero-line {
  position: relative;
  z-index: 2;
}

.page-hero .micro-label {
  color: var(--gold);
  font-weight: 600;
}

.page-hero .headline-lg {
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

/* Decorative accent line */
.page-hero .page-hero-line {
  width: 60px;
  height: 3px;
  background: var(--emerald);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.page-hero p {
  font-size: 17px;
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
  .page-hero p {
    max-width: 90%;
  }
  .page-hero {
    min-height: 45vh;
    padding: 6vh 4vw;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 40vh;
    padding: 5vh 1.5rem;
  }
}

/* ============================================================================
   PINNED SECTIONS
   ========================================================================== */

.section-pinned {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Cover-scroll: solid bg so each card fully covers the previous */
  background: var(--navy);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.4);
  transform-origin: center center;
  will-change: transform, border-radius;
}

.section-pinned::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.7) 0%, rgba(11, 31, 58, 0.45) 50%, rgba(11, 31, 58, 0.15) 100%);
  z-index: 1;
}

.section-pinned .bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-pinned .bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.95);
}

.section-pinned-content {
  position: relative;
  z-index: 2;
  padding: 6vw;
  max-width: 60vw;
  color: var(--text-white);
  /* Smooth transition for cover-scroll scale/fade effect */
  will-change: transform, opacity;
}

.section-pinned-content .micro-label {
  color: var(--gold);
}

.section-pinned-content .headline-lg {
  color: var(--text-white);
  margin-bottom: 2rem;
  white-space: nowrap;
}

.section-pinned-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.section-pinned-content a.link-arrow-white {
  margin-top: 2rem;
}

/* Results Section Override */
.results-section .bg-image img {
  filter: contrast(1.15) brightness(0.9) !important;
}

.results-section .section-pinned-content {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================================
   PRACTICE AREAS SECTION
   ========================================================================== */

.practice-areas {
  background: var(--warm-white);
  padding: 10vh 0;
}

.practice-areas-header {
  padding: 0 7vw;
  margin-bottom: 6vh;
}

.practice-areas-header .micro-label {
  color: var(--emerald);
  font-weight: 600;
}

.practice-areas-header .headline-lg {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.practice-areas-header p {
  font-size: 16px;
  max-width: 60%;
  line-height: 1.8;
}

.practice-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.practice-card {
  position: relative;
  margin: 0 7vw;
  height: 56vh;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  border: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  transition: all 0.6s ease;
}

.practice-card .bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.practice-card .bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: transform 0.6s ease;
}

.practice-card:hover .bg-image img {
  transform: scale(1.05);
}

.practice-card-content {
  position: relative;
  z-index: 2;
  padding: 4vw;
  color: var(--text-white);
  width: 100%;
}

.practice-card-content .micro-label {
  color: var(--gold);
}

.practice-card-content h3 {
  font-family: var(--font-sora);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.practice-card-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.practice-card-content a.link-arrow-white {
  display: inline-flex;
}

/* Practice Areas – Card hover effects */
.pa-card:hover img {
  transform: scale(1.06);
}

/* ============================================================================
   ATTORNEYS SECTION
   ========================================================================== */

.attorneys {
  background: var(--warm-white);
  padding: 10vh 4vw;
}

.attorneys-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: flex-start;
}

.attorneys-header {
  position: sticky;
  top: 120px;
}

.attorneys-header .micro-label {
  color: var(--emerald);
  font-weight: 600;
}

.attorneys-header .headline-lg {
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.attorneys-header p {
  font-size: 16px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.attorneys-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.attorneys-stat .stat-number {
  font-family: var(--font-sora);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.attorneys-stat .stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.68px;
  color: var(--text-secondary);
  font-weight: 500;
}

.attorneys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
}

.attorneys-footer {
  grid-column: 1 / -1;
  margin-top: 3rem;
  text-align: center;
}

.attorney-card {
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.attorney-card-image {
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 4px;
}

.attorney-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  aspect-ratio: 1;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.attorney-card:hover .attorney-card-image img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.attorney-card h4 {
  font-family: var(--font-sora);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 16px;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.attorney-card .role {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.attorney-card a.link-arrow {
  font-size: 14px;
  font-weight: 600;
}

.attorneys-all-link {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 4vh;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.attorneys-all-link a.link-arrow {
  font-size: 16px;
  font-weight: 600;
}

/* ============================================================================
   CONTACT SECTION
   ========================================================================== */

#contact,
.contact {
  background: var(--navy);
  color: var(--text-white);
  padding: 10vh 4vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info .micro-label {
  color: var(--gold);
}

.contact-info .headline-lg {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-detail,
.contact-detail-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
}

.contact-detail-content {
  flex: 1;
}

.contact-detail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.68px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-detail-text {
  color: var(--text-white);
  font-size: 16px;
}

.contact-detail-text a {
  color: var(--gold);
  transition: color 0.3s ease;
}

.contact-detail-text a:hover {
  color: var(--emerald-light);
}

.contact-guarantee {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 2rem;
}

/* ── Contact Form Card ── */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.2rem 2.2rem 1.8rem;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-form-title {
  font-family: var(--font-sora);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: white;
  margin-bottom: 0.4rem;
}

.contact-form-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.contact-form label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-family: var(--font-inter);
  transition: color 0.3s ease;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-white);
  padding: 0.75rem 1rem;
  font-family: var(--font-inter);
  font-size: 15px;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(199, 165, 100, 0.1);
}

.contact-form select option {
  background: var(--navy);
  color: var(--text-white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.submit-btn {
  background: var(--emerald);
  color: var(--text-white);
  border: none;
  padding: 1rem 2.2rem;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.35s ease;
  align-self: flex-start;
  margin-top: 0.5rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: var(--emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 106, 75, 0.35);
}

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

.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.68px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-inter);
}

.form-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  padding: 0.75rem 0;
  font-family: var(--font-inter);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--gold);
  color: var(--text-white);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  padding: 1rem 0;
}

.form-submit {
  background: var(--emerald);
  color: var(--text-white);
  border: none;
  padding: 1.2rem 2rem;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.68px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 1rem;
}

.form-submit:hover {
  background: var(--emerald-light);
  transform: translateX(4px);
}

/* ============================================================================
   FOOTER
   ========================================================================== */

footer,
.site-footer {
  background: var(--navy-dark);
  color: var(--text-white);
  padding: 3rem 4vw;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  color: var(--text-white);
  margin: 0;
}

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

.footer-links a {
  color: var(--text-white);
  transition: color 0.3s ease;
}

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

/* ============================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    margin-top: 80px;
  }

  .hero-image {
    height: 50vh;
    order: -1;
  }

  .hero-content {
    min-height: 50vh;
    padding: 4rem;
  }

  .attorneys-container {
    grid-template-columns: 1fr;
    gap: 4vw;
  }

  .attorneys-header {
    position: relative;
    top: auto;
  }

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

  .contact-container {
    grid-template-columns: 1fr;
    gap: 4vw;
  }

  .practice-areas-header {
    padding: 0 4vw;
  }

  .practice-card {
    margin: 0 4vw;
    margin-bottom: 3vh;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
  }

  .nav-container {
    padding: 0 2rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .hero-content {
    padding: 2.5rem;
    justify-content: flex-end;
  }

  .hero-content .headline-lg {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    white-space: normal;
  }

  .hero-content p {
    font-size: 15px;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .page-hero {
    padding: 8vh 2rem;
    min-height: auto;
  }

  .page-hero .headline-lg {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  .page-hero p {
    max-width: 100%;
  }

  .section-pinned-content {
    max-width: 100%;
    padding: 3rem 2rem;
  }

  .section-pinned-content .headline-lg {
    font-size: clamp(1.8rem, 5vw, 3rem);
    white-space: normal;
  }

  .results-section .section-pinned-content > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .results-section .section-pinned-content > div:nth-child(2) {
    grid-template-columns: 1fr 1fr !important;
  }

  .practice-areas-header {
    padding: 0 2rem;
  }

  .practice-areas-header .headline-lg {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  .practice-areas-header p {
    max-width: 100%;
  }

  .pa-featured-grid {
    grid-template-columns: 1fr !important;
    padding: 0 2rem !important;
  }

  .pa-featured-grid > div:first-child {
    min-height: 40vh !important;
  }

  .practice-areas > .reveal:last-child {
    grid-template-columns: 1fr 1fr !important;
    padding: 0 2rem !important;
  }

  .practice-card {
    margin: 0 2rem;
    height: 45vh;
  }

  .practice-card-content {
    padding: 2.5rem;
  }

  .practice-card-content h3 {
    font-size: clamp(1.2rem, 4vw, 2rem);
  }

  .contact-container {
    gap: 3rem;
  }

  .contact-info {
    order: 1;
  }

  .contact-form {
    order: 2;
  }

  .contact-info .headline-lg {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .practice-areas-header p,
  .contact-info > p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 2rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-logo img {
    height: 30px;
  }

  .hero-image {
    height: 40vh;
  }

  .hero-content {
    padding: 2rem;
    min-height: 50vh;
  }

  .hero-content .headline-lg {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
    margin-bottom: 1rem;
    white-space: normal;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 1.5rem;
  }

  .page-hero {
    padding: 5vh 1.5rem;
  }

  .section-pinned {
    height: auto;
    min-height: 60vh;
    justify-content: center;
  }

  .section-pinned-content {
    padding: 3rem 1.5rem;
  }

  .section-pinned-content .headline-lg {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
    white-space: normal;
  }

  .practice-areas {
    padding: 6vh 0;
  }

  .practice-areas-header {
    padding: 0 1.5rem;
    margin-bottom: 3vh;
  }

  .practice-areas-header .headline-lg {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
  }

  .pa-featured-grid {
    grid-template-columns: 1fr !important;
    padding: 0 1.5rem !important;
    gap: 1rem !important;
  }

  .pa-featured-grid > div:first-child {
    min-height: 35vh !important;
  }

  .practice-areas > .reveal:last-child {
    grid-template-columns: 1fr 1fr !important;
    padding: 0 1.5rem !important;
    gap: 1rem !important;
  }

  .practice-card {
    margin: 0 1.5rem;
    height: 40vh;
    margin-bottom: 2vh;
  }

  .practice-card-content {
    padding: 2rem;
  }

  .practice-card-content h3 {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }

  .attorneys {
    padding: 6vh 1.5rem;
  }

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

  .attorneys-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .attorneys-header .headline-lg {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
  }

  .attorney-card-image {
    margin-bottom: 1rem;
  }

  #contact,
  .contact {
    padding: 6vh 1.5rem;
    min-height: auto;
  }

  .contact-container {
    gap: 2rem;
  }

  .contact-info .headline-lg {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
  }

  .contact-details {
    gap: 1.5rem;
  }

  .contact-form {
    gap: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
    border-radius: 12px;
  }

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

  footer {
    padding: 2rem 1.5rem;
    font-size: 13px;
  }

  .footer-links {
    gap: 1rem;
  }
}

/* ============================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-inter);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.whatsapp-float .whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy);
  border-right: 0;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
  .whatsapp-float .whatsapp-tooltip {
    display: none;
  }
}

/* ============================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .site-nav,
  .contact-form,
  footer {
    display: none;
  }

  body {
    background: white;
  }

  a {
    text-decoration: underline;
  }
}
