/* Modern, Professional Law Firm Theme */
:root {
  --navy: #112D60;
  --navy-dark: #0a1e3f;
  --navy-light: #1a4075;
  --gold: #b8912f;
  --gold-light: #e8d5a0;
  --gold-pale: #F8EFD8;
  --cream: #f5f3ee;
  --cream-warm: #fcfbf8;
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-muted: #666666;
  --white: #ffffff;
  --border: rgba(17,45,96,0.08);
  --whatsapp: #25D366;
  --container: 1240px;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(17,45,96,0.05);
  transition: all .3s ease;
}
.header-scrolled {
  box-shadow: 0 4px 30px rgba(17,45,96,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 32px;
}
.header-brand,
.mobile-brand {
  color: var(--navy);
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.header-brand {
  letter-spacing: 0.2px;
  transition: color .25s ease;
}
.header-brand:hover { color: var(--navy-light); }

.header-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.header-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color .3s;
  position: relative;
  text-transform: uppercase;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.header-nav a:hover, .header-nav a.active { color: var(--navy); }
.header-nav a:hover::after, .header-nav a.active::after { width: 100%; }

.header-nav .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  background: var(--navy);
  color: var(--white) !important;
  text-decoration: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: none;
  transition: all .3s ease;
  box-shadow: 0 4px 15px rgba(17,45,96,0.2);
}
.header-nav .header-nav .header-cta::after { display: none; }
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 8px; z-index: 1001;
}
.mobile-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px; transition: all .3s;
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #0a2342 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.svg') no-repeat right bottom;
  background-size: 50%;
  opacity: 0.15;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text .hero-logo {
  display: block;
  max-width: 340px;
  height: auto;
  margin-bottom: 24px;
  border-radius: 16px;
}

.hero-text > span {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--white);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.10);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.22);
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span {
  display: block;
  color: var(--gold-light);
  font-weight: 500;
}
.hero p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all .35s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .3s;
}
.btn:hover::after { background: rgba(255,255,255,0.1); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 6px 25px rgba(201,168,76,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(201,168,76,0.5);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 6px 25px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37,211,102,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image::before {
  content: '';
  position: absolute;
  width: 90%; height: 90%;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 60%);
  transform: rotate(-3deg);
}
.hero-image img {
  max-width: 85%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  border: 3px solid rgba(201,168,76,0.15);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-head span {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 14px;
  padding: 7px 18px;
  background: rgba(17,45,96,0.06);
  border-radius: 50px;
  border: 1px solid rgba(17,45,96,0.16);
}
.section-head h2 {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.2;
}
.section-head p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services { background: var(--cream-warm); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.service-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all .4s cubic-bezier(.175,.885,.32,1.275);
  box-shadow: 0 8px 30px rgba(17,45,96,0.06);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transition: transform .4s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(17,45,96,0.12);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform .4s;
}
.service-card:hover .icon { transform: scale(1.1) rotate(-5deg); }
.service-card .icon img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.service-card .icon i { font-size: 26px; color: var(--gold); }
.service-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.service-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ===== WHY US ===== */
.why-us { background: var(--white); }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-us-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(17,45,96,0.05);
  border: 1px solid var(--border);
  transition: all .4s ease;
  overflow: hidden;
}
.why-us-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transition: transform .4s ease;
}
.why-us-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(17,45,96,0.1);
}
.why-us-card:hover::after { transform: scaleX(1); }
.why-us-card .icon-wrap {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 8px 25px rgba(17,45,96,0.2);
  transition: transform .4s;
}
.why-us-card:hover .icon-wrap { transform: scale(1.1); }
.why-us-card .icon-wrap i { font-size: 30px; color: var(--gold); }
.why-us-card h3 {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.why-us-card p { font-size: 15px; line-height: 1.8; color: var(--text-muted); }

/* ===== PROCESS ===== */
.process { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: var(--white); }
.process .section-head span {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: var(--white);
}
.process .section-head h2 { color: var(--white); }
.process .section-head p { color: rgba(255,255,255,0.78); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all .4s;
}
.process-step:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}
.process-step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 19px; font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}
.process-step h4 {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}
.process-step p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.76);
}

/* ===== TEAM ===== */
.team { background: var(--cream-warm); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-member {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(17,45,96,0.08);
  transition: all .4s;
  border: 1px solid var(--border);
}
.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(17,45,96,0.15);
}
.team-member img {
  width: 100%; height: 400px;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.team-member:hover img { transform: scale(1.05); }
.team-member .info {
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.team-member .info::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 40px; height: 3px;
  background: var(--gold);
  transform: translateX(-50%);
}
.team-member .info h4 {
  font-family: var(--font-title);
  font-size: 19px;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-weight: 600;
}
.team-member .info span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
}
.team-member .info p { margin-top: 14px; }
.team-member .info p a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  transition: border-color .3s;
}
.team-member .info p a:hover { border-color: var(--gold); }

/* ===== BIOGRAPHIES ===== */
.bio-hero {
  position: relative;
  padding: 168px 0 86px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--navy-dark) 100%);
  color: var(--white);
  overflow: hidden;
}
.bio-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.svg') no-repeat right bottom;
  background-size: 44%;
  opacity: 0.12;
  pointer-events: none;
}
.bio-hero .container {
  position: relative;
  z-index: 1;
  max-width: 920px;
  text-align: center;
}
.bio-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  background: rgba(255,255,255,0.10);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.bio-hero h1 {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 52px;
  line-height: 1.1;
}
.bio-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255,255,255,0.76);
  font-size: 18px;
  line-height: 1.8;
}
.bio-index {
  padding: 42px 0;
  background: var(--cream-warm);
}
.bio-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bio-index-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-title);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all .3s ease;
}
.bio-index-grid a:hover {
  border-color: rgba(201,168,76,0.42);
  box-shadow: 0 12px 30px rgba(17,45,96,0.08);
  transform: translateY(-2px);
}
.lawyer-detail {
  padding: 96px 0;
  scroll-margin-top: 92px;
  background: var(--white);
}
.lawyer-alt {
  background: var(--cream-warm);
}
.lawyer-wrap {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: start;
}
.lawyer-image {
  position: sticky;
  top: 120px;
}
.lawyer-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(17,45,96,0.12);
}
.lawyer-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.lawyer-content h2 {
  margin-bottom: 24px;
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 48px;
  line-height: 1.12;
}
.lawyer-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.9;
}
.lawyer-content strong {
  color: var(--text-dark);
}
.lawyer-intro {
  font-size: 18px;
}
.lawyer-box {
  margin: 32px 0 34px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(17,45,96,0.05);
}
.lawyer-alt .lawyer-box {
  background: rgba(255,255,255,0.86);
}
.lawyer-box h3 {
  margin-bottom: 18px;
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 24px;
}
.lawyer-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  padding-left: 20px;
}
.lawyer-box li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ===== SERVICE ARTICLES ===== */
.service-hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.service-index {
  padding: 42px 0;
  background: var(--cream-warm);
}
.service-index .bio-index-grid {
  grid-template-columns: repeat(4, 1fr);
}
.service-article {
  padding: 88px 0;
  scroll-margin-top: 92px;
  background: var(--white);
}
.service-article.article-alt {
  background: var(--cream-warm);
}
.service-article-wrap {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  max-width: 1060px;
}
.service-article-icon {
  position: sticky;
  top: 120px;
  width: 92px;
  height: 92px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 42px rgba(17,45,96,0.16);
}
.service-article-icon i {
  color: var(--gold);
  font-size: 36px;
}
.service-article article {
  max-width: 820px;
}
.service-article article > span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.service-article h2 {
  margin-bottom: 22px;
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 40px;
  line-height: 1.18;
}
.service-article p {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.9;
}
.article-actions {
  margin-top: 30px;
}

/* ===== ABOUT PAGE ===== */
.about-page {
  background: var(--white);
}
.about-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-page-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(17,45,96,0.12);
}
.about-page-content > span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.about-page-content h2 {
  margin-bottom: 22px;
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 40px;
  line-height: 1.18;
}
.about-page-content p {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.9;
}
.about-page-content .btn {
  margin-top: 16px;
}
.about-values {
  background: var(--cream-warm);
}

/* ===== FAQ ===== */
.faq {
  background:
    linear-gradient(180deg, var(--white) 0%, #fbfaf7 48%, var(--white) 100%);
}
.faq .container { max-width: 1120px; }
.faq .section-head { margin-bottom: 58px; }
.faq .section-head p { max-width: 680px; margin: 0 auto; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-list {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17,45,96,0.10);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 28px rgba(17,45,96,0.045);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.faq-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
  opacity: 0;
  transition: opacity .25s ease;
}
.faq-item:hover {
  border-color: rgba(201,168,76,0.38);
  box-shadow: 0 16px 36px rgba(17,45,96,0.075);
}
.faq-item.active {
  border-color: rgba(201,168,76,0.55);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(17,45,96,0.10);
}
.faq-item.active::before { opacity: 1; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 82px;
  padding: 24px 30px;
  border: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.faq-question:focus { outline: 0; }
.faq-question:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(201,168,76,0.34);
}
.faq-question h3 {
  flex: 1;
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.faq-question .faq-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17,45,96,0.08);
  border-radius: 50%;
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.faq-question .faq-icon i {
  font-size: 13px;
  color: var(--navy);
  transition: transform .35s ease, color .25s ease;
}
.faq-item.active .faq-question .faq-icon {
  border-color: var(--navy);
  background: var(--navy);
  transform: translateY(-1px);
}
.faq-item.active .faq-question .faq-icon i {
  color: var(--gold-light);
  transform: rotate(180deg);
}
.faq-item.active .faq-question {
  padding-bottom: 16px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.active .faq-answer {
  max-height: 260px;
  padding: 0 30px 26px;
}
.faq-answer p {
  max-width: 780px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(17,45,96,0.08);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
}

/* ===== CONTACT ===== */
.contact { background: var(--cream-warm); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}
.contact-left h2 span {
  display: block;
  color: var(--navy);
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-left > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all .3s;
}
.contact-item:hover {
  box-shadow: 0 8px 30px rgba(17,45,96,0.08);
  border-color: rgba(201,168,76,0.3);
}
.contact-item .icon {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .icon i {
  color: var(--white);
  font-size: 21px;
  line-height: 1;
}
.contact-item h4 {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-item p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.contact-item a { color: var(--navy); text-decoration: none; font-weight: 600; transition: color .3s; }
.contact-item a:hover { color: var(--gold); }
.contact-map {
  border-radius: 20px;
  overflow: hidden;
  min-height: 500px;
  background: #e8e8e8;
  box-shadow: 0 15px 50px rgba(17,45,96,0.1);
  border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 500px; border: 0; display: block; }

/* ===== FOOTER ===== */
.footer {
  background:
    radial-gradient(circle at 16% 0%, rgba(201,168,76,0.16), transparent 28%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
  position: relative;
  scroll-margin-top: 90px;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) 0.8fr 1fr 1.1fr;
  gap: 42px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.footer-col .logo-footer {
  width: 96px;
  height: 68px;
  padding: 8px;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}
.footer-brand strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.1;
}
.footer-brand span {
  display: block;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-col p {
  max-width: 420px;
  color: rgba(255,255,255,0.80);
  font-size: 15px;
  line-height: 1.85;
}
.footer-col h4 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--gold);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 14px;
  transition: all .3s;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--gold); transform: translateX(4px); }
.footer-col .contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  opacity: 0.9;
}
.footer-col .contact-list li i { margin-top: 3px; color: var(--gold); width: 18px; font-size: 14px; }
.footer-col .contact-list li a { color: rgba(255,255,255,0.85); transition: color .3s; }
.footer-col .contact-list li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  opacity: 0.7;
}
.footer-bottom a { color: rgba(255,255,255,0.78); text-decoration: none; transition: color .3s; }
.footer-bottom a:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all .3s;
  font-size: 15px;
}
.social-links a:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  transform: translateY(-3px);
}

/* ===== FLOATING BUTTONS ===== */
.float-wa, .float-phone, .scroll-top {
  position: fixed;
  z-index: 999;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .3s ease;
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}
.float-wa {
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  color: var(--white); font-size: 28px;
  animation: wa-pulse 2s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 10px 35px rgba(37,211,102,0.45); }

.float-phone {
  bottom: 100px; right: 24px;
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--white); font-size: 22px;
  animation: phone-pulse 2s ease-in-out infinite;
}
.float-phone:hover { transform: scale(1.1); box-shadow: 0 10px 35px rgba(17,45,96,0.45); }

.scroll-top {
  bottom: 176px; right: 24px;
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--navy-dark); font-size: 18px;
  opacity: 0; visibility: hidden;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); background: var(--gold-light); }

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
@keyframes phone-pulse {
  0% { box-shadow: 0 0 0 0 rgba(17,45,96,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(17,45,96,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

/* ===== MOBILE NAV ===== */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  opacity: 0; transition: opacity .3s;
}
.mobile-nav-overlay.open { display: block; opacity: 1; }
.mobile-nav-panel {
  position: fixed;
  top: 0; right: -320px;
  width: 300px; height: 100%;
  background: var(--white);
  z-index: 1200;
  padding: 40px 28px;
  transition: right .4s ease;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.mobile-nav-panel.open { right: 0; }
.mobile-brand {
  display: inline-block;
  margin: 8px 48px 12px 0;
  font-size: 26px;
}
.mobile-nav-panel .close-btn {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  font-size: 28px; color: var(--text-dark);
  cursor: pointer; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-panel nav { margin-top: 20px; }
.mobile-nav-panel nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color .3s;
}
.mobile-nav-panel nav a:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { gap: 40px; }
  .lawyer-wrap { grid-template-columns: 340px 1fr; gap: 42px; }
  .lawyer-content h2 { font-size: 40px; }
  .service-index .bio-index-grid { grid-template-columns: repeat(2, 1fr); }
  .service-article h2 { font-size: 34px; }
  .about-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-page-content h2 { font-size: 34px; }
}

@media (max-width: 900px) {
  .hero { padding: 140px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text > span { margin: 0 auto 16px; }
  .hero h1 { font-size: 36px; }
  .hero p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 70%; margin: 0 auto; }
  .header-nav { display: none; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }
  .header-brand { font-size: 25px; }
  .bio-hero { padding: 136px 0 70px; }
  .bio-hero h1 { font-size: 40px; }
  .bio-index-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyer-wrap { grid-template-columns: 1fr; }
  .lawyer-image {
    position: static;
    max-width: 420px;
  }
  .service-article-wrap { grid-template-columns: 1fr; gap: 24px; }
  .service-article-icon {
    position: static;
    width: 76px;
    height: 76px;
    border-radius: 16px;
  }
  .service-article-icon i { font-size: 30px; }
  .about-page-image { max-width: 520px; }
}

@media (max-width: 767px) {
  .section { padding: 70px 0; }
  .hero { padding: 130px 0 60px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { text-align: center; justify-content: center; width: 100%; max-width: 300px; }
  .section-head h2 { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-member img { height: 340px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-left h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .faq .section-head { margin-bottom: 38px; }
  .faq-list { gap: 12px; }
  .faq-question { min-height: 74px; padding: 20px 22px; gap: 14px; }
  .faq-question h3 { font-size: 16px; }
  .faq-question .faq-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  .faq-answer { padding: 0 22px; }
  .faq-item.active .faq-answer { padding: 0 22px 22px; }
  .float-wa, .float-phone { width: 54px; height: 54px; font-size: 24px; }
  .float-phone { bottom: 90px; }
  .scroll-top { bottom: 160px; width: 42px; height: 42px; font-size: 16px; }
  .header-inner { height: 76px; }
  .bio-hero { padding: 118px 0 56px; }
  .bio-hero h1 { font-size: 34px; }
  .bio-hero p { font-size: 16px; }
  .bio-index { padding: 28px 0; }
  .bio-index-grid { grid-template-columns: 1fr; }
  .lawyer-detail { padding: 64px 0; scroll-margin-top: 78px; }
  .lawyer-content h2 { font-size: 32px; }
  .lawyer-content p,
  .lawyer-intro { font-size: 15px; line-height: 1.8; }
  .lawyer-box { padding: 24px; }
  .lawyer-box ul { grid-template-columns: 1fr; }
  .service-index .bio-index-grid { grid-template-columns: 1fr; }
  .service-article { padding: 62px 0; scroll-margin-top: 78px; }
  .service-article h2 { font-size: 28px; }
  .service-article p { font-size: 15px; line-height: 1.8; }
  .about-page-content h2 { font-size: 28px; }
  .about-page-content p { font-size: 15px; line-height: 1.8; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .8s ease forwards; }
