/* ========================================
   BOAZ & DIEHL - Advogados Associados
   Stylesheet Principal
   ======================================== */

/* Variáveis de Design */
:root {
  /* Cores Principais */
  --navy-dark: #0d1b2a;
  --navy-primary: #1b263b;
  --navy-light: #2c394b;
  --gold-primary: #c9a959;
  --gold-light: #d4bc7c;
  --gold-dark: #a68b3d;
  --cream: #f8f6f1;
  --cream-dark: #e8e4dc;
  --white: #ffffff;
  --gray-light: #6b7280;
  --gray-dark: #374151;
  
  /* Tipografia */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Espaçamentos */
  --section-padding: 100px 0;
  --container-max: 1200px;
  
  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Barra de Progresso do Scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(201, 169, 89, 0.3);
}

.logo-initials {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.05em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Navegação */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  position: relative;
  transition: color var(--transition-fast);
}

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

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

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold-primary);
  color: var(--navy-dark) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.nav-cta::after {
  display: none;
}

/* Menu Mobile */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(201, 169, 89, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 169, 89, 0.08) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a959' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

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

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease forwards;
}

.hero-badge {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid rgba(201, 169, 89, 0.3);
  border-radius: 4px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

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

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 600px;
}

/* Botões Hero */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--transition-medium);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--navy-dark);
  box-shadow: 0 4px 16px rgba(201, 169, 89, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 169, 89, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Stats Hero */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: bounce 2s infinite;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}

/* ========================================
   SECTIONS GERAL
   ======================================== */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.section-description {
  font-size: 1.05rem;
  color: var(--gray-light);
  line-height: 1.8;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-light);
}

.image-placeholder svg {
  opacity: 0.5;
}

.image-placeholder span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.image-placeholder.small svg {
  width: 40px;
  height: 40px;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  color: var(--gray-dark);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.highlight-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(201, 169, 89, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

.highlight strong {
  display: block;
  color: var(--navy-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.highlight span {
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* ========================================
   PRACTICES SECTION
   ======================================== */
.practices-section {
  background: var(--cream);
}

.practices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.practice-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  border: 1px solid transparent;
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 169, 89, 0.3);
}

.practice-card.featured {
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-dark));
  color: var(--white);
}

.practice-card.featured h3,
.practice-card.featured p,
.practice-card.featured .practice-list li {
  color: var(--white);
}

.practice-card.featured .practice-icon {
  background: rgba(201, 169, 89, 0.2);
  color: var(--gold-primary);
}

.practice-icon {
  width: 64px;
  height: 64px;
  background: rgba(201, 169, 89, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.practice-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.practice-card p {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.practice-list li {
  font-size: 0.85rem;
  color: var(--gray-light);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.practice-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

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

.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder {
  width: 120px;
  height: 120px;
  border: 3px solid rgba(201, 169, 89, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201, 169, 89, 0.5);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.team-role {
  display: block;
  color: var(--gold-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  font-weight: 700;
}

.team-info p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.7;
}

.team-email {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--gold-dark);
  text-decoration: none;
}

.team-email:hover {
  text-decoration: underline;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-primary));
  color: var(--white);
}

.features-section .section-badge {
  color: var(--gold-light);
}

.features-section .section-title {
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 169, 89, 0.3);
  line-height: 1;
}

.feature-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ========================================
   LOCATION SECTION
   ======================================== */
.location-section {
  background: var(--cream);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.location-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(201, 169, 89, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

.location-icon svg {
  width: 24px;
  height: 24px;
}

.location-card strong {
  display: block;
  color: var(--navy-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.location-card p {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.location-card a {
  color: var(--gold-dark);
  text-decoration: none;
}

.location-card a:hover {
  text-decoration: underline;
}

.location-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.contact-description {
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Formulário */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-group label {
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* CTA Card */
.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-card {
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-dark));
  color: var(--white);
  padding: 32px;
  border-radius: 8px;
}

.cta-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.cta-card .btn {
  margin-bottom: 12px;
}

.cta-info {
  background: var(--cream);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--gold-primary);
}

.cta-info p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

.cta-info strong {
  color: var(--navy-dark);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-text strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
}

.footer-brand-text span {
  font-size: 0.7rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-contact p {
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gold-primary);
  color: var(--navy-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-4px);
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 1024px) {
  .practices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image-secondary {
    right: 20px;
    bottom: -20px;
    width: 140px;
    height: 140px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .stat-divider {
    display: none;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  :root {
    --section-padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .practices-grid {
    grid-template-columns: 1fr;
  }
  
  .location-card {
    flex-direction: column;
    text-align: center;
  }
  
  .location-icon {
    margin: 0 auto;
  }
}
