/* ============================================================
   lalawfirm.biz — Premium Law Firm Stylesheet
   Fonts: Inter (body) + Playfair Display (headings)
   Colors: Navy primary (#1e3351) + Gold accent (#b8943f)
   ============================================================ */

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

/* ── Variables ── */
:root {
  --navy:        #1e3351;
  --navy-dark:   #152540;
  --navy-light:  #2a4a73;
  --gold:        #b8943f;
  --gold-light:  #d4aa5a;
  --gold-pale:   #f5edd8;
  --off-white:   #f8f7f4;
  --white:       #ffffff;
  --text-dark:   #1a1a2e;
  --text-body:   #374151;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --radius:      6px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
  --transition:  0.25s ease;
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

/* ── Layout Utilities ── */
.lf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.lf-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.lf-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.lf-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lf-nav__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
}

.lf-nav__brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.lf-nav__brand-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.lf-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.lf-nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.lf-nav__links a:hover { color: var(--navy); }

.lf-nav__cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition) !important;
}

.lf-nav__cta:hover { background: var(--navy-light) !important; color: var(--white) !important; }

/* ── HERO ── */
.lf-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.lf-hero::before {
  content: '';
  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='%23ffffff' fill-opacity='0.025'%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");
  pointer-events: none;
}

.lf-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.lf-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.lf-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.lf-hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.lf-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 480px;
}

.lf-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.lf-hero__badge {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.lf-hero__stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.lf-hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lf-hero__img-wrap {
  position: relative;
}

.lf-hero__img-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  opacity: 0.35;
}

.lf-hero__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lf-hero__img-placeholder {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.lf-hero__img-icon {
  font-size: 3rem;
  opacity: 0.4;
}

/* ── BUTTONS ── */
.lf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.lf-btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.lf-btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184,148,63,0.4);
}

.lf-btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.lf-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.lf-btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.lf-btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,51,81,0.4);
}

/* ── SECTION TITLES ── */
.lf-section { padding: 80px 0; }
.lf-section--alt { background: var(--off-white); }
.lf-section--navy { background: var(--navy); color: var(--white); }

.lf-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lf-section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.lf-section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}

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

.lf-section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
}

.lf-section--navy .lf-section-sub { color: rgba(255,255,255,0.7); }

.lf-section__header { margin-bottom: 52px; }

/* ── PRACTICE AREAS GRID ── */
.lf-practices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.lf-practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.lf-practice-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.lf-practice-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.lf-practice-card:hover::before { transform: scaleX(1); }

.lf-practice-card__icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.lf-practice-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.lf-practice-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── VALUES GRID ── */
.lf-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.lf-value {
  text-align: center;
  padding: 36px 24px;
}

.lf-value__icon {
  width: 56px;
  height: 56px;
  background: rgba(184,148,63,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--gold-light);
}

.lf-value h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.lf-value p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ── TEAM ── */
.lf-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.lf-team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.lf-team-card:hover { box-shadow: var(--shadow-md); }

.lf-team-card__photo {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.3);
}

.lf-team-card__body { padding: 24px; }

.lf-team-card__role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}

.lf-team-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 12px; }

.lf-team-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── PROCESS STEPS ── */
.lf-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px;
  counter-reset: steps;
}

.lf-step {
  position: relative;
  padding-top: 24px;
  counter-increment: steps;
}

.lf-step::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 12px;
}

.lf-step h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.lf-step p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── CTA BAND ── */
.lf-cta-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.lf-cta-band h2 { color: var(--white); margin-bottom: 16px; }
.lf-cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ── CONTACT FORM ── */
.lf-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.lf-contact-info h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 24px; }

.lf-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.lf-contact-detail__icon {
  width: 36px;
  height: 36px;
  background: var(--gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.lf-contact-detail__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}

.lf-contact-detail__val { font-size: 0.9rem; color: var(--text-body); }

.lf-form { display: flex; flex-direction: column; gap: 16px; }

.lf-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.lf-form input,
.lf-form textarea,
.lf-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.lf-form input:focus,
.lf-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,51,81,0.08);
}

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

/* ── MAIN CONTENT AREA ── */
.lf-main { padding: 60px 0; }

.lf-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.lf-article { max-width: none; }

.lf-article h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); color: var(--navy); margin-bottom: 20px; }
.lf-article h2 { font-size: 1.5rem; color: var(--navy); margin: 36px 0 14px; }
.lf-article h3 { font-size: 1.15rem; color: var(--navy); margin: 24px 0 10px; }
.lf-article p  { margin-bottom: 16px; line-height: 1.75; }
.lf-article ul, .lf-article ol { margin: 16px 0 16px 24px; }
.lf-article li { margin-bottom: 8px; line-height: 1.65; }
.lf-article img { border-radius: var(--radius); margin: 24px 0; }

/* ── SIDEBAR ── */
.lf-sidebar { position: sticky; top: 88px; }

.lf-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.lf-sidebar-card__head {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.lf-sidebar-card__body { padding: 20px; }

.lf-sidebar-links { list-style: none; }

.lf-sidebar-links li { border-bottom: 1px solid var(--border); }
.lf-sidebar-links li:last-child { border-bottom: none; }

.lf-sidebar-links a {
  display: block;
  padding: 10px 0;
  font-size: 0.875rem;
  color: var(--text-body);
  transition: color var(--transition);
}

.lf-sidebar-links a:hover { color: var(--navy); padding-left: 6px; }

.lf-consult-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  padding: 28px 24px;
  color: var(--white);
  text-align: center;
}

.lf-consult-box h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.lf-consult-box p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

/* ── FOOTER ── */
.lf-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.lf-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lf-footer__brand { }

.lf-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.lf-footer__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.lf-footer__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.lf-footer__desc { font-size: 0.875rem; line-height: 1.65; margin-bottom: 20px; }

.lf-footer__col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 16px;
}

.lf-footer__links { list-style: none; }

.lf-footer__links li { margin-bottom: 10px; }

.lf-footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.lf-footer__links a:hover { color: var(--gold); }

.lf-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.lf-footer__bottom a { color: rgba(255,255,255,0.5); }
.lf-footer__bottom a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .lf-hero__inner { grid-template-columns: 1fr; }
  .lf-hero__img-wrap { display: none; }
  .lf-content-grid { grid-template-columns: 1fr; }
  .lf-sidebar { position: static; }
  .lf-footer__grid { grid-template-columns: 1fr 1fr; }
  .lf-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .lf-section { padding: 56px 0; }
  .lf-nav__links { display: none; }
  .lf-hero { padding: 64px 0 56px; }
  .lf-footer__grid { grid-template-columns: 1fr; }
  .lf-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
