/* ============================================================
   LAWFIRM PRO — MAXIMALISM STYLE
   Philosophy: Every surface has intention. Rich layering,
   ornamental borders, multiple type sizes, deep color.
   Gravitas through density and decoration.
   ============================================================ */

:root {
  --lf-radius-sm:  6px;
  --lf-radius:     12px;
  --lf-radius-md:  16px;
  --lf-radius-lg:  20px;
  --lf-shadow-sm:  0 2px 8px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
  --lf-shadow:     0 6px 24px rgba(0,0,0,0.16), 0 2px 6px rgba(0,0,0,0.10);
  --lf-shadow-md:  0 12px 40px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.12);
  --lf-shadow-lg:  0 24px 80px rgba(0,0,0,0.28), 0 8px 24px rgba(0,0,0,0.16);
}

/* ── Decorative global pattern ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(var(--lf-accent-rgb),0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(122,28,42,0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ── Header: Ornate double border ── */
.lf-header {
  background: var(--lf-dark);
  border-bottom: 3px solid var(--lf-accent);
  box-shadow: 0 4px 0 rgba(var(--lf-accent-rgb),0.15), 0 8px 32px rgba(0,0,0,0.4);
}
.lf-header__inner::before,
.lf-header__inner::after {
  content: '';
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--lf-accent-rgb),0.4), transparent);
}
.lf-logo-text {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(var(--lf-accent-rgb),0.4);
}
.lf-nav__menu > li > a {
  color: rgba(240,237,229,0.75);
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
}
.lf-nav__menu > li > a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0.5rem;
  left: 0.5rem;
  height: 1px;
  background: var(--lf-accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.lf-nav__menu > li > a:hover::before { transform: scaleX(1); }

/* ── Hero: Full immersive with pattern overlay ── */
.lf-hero {
  min-height: 700px;
  padding: 7rem 0 5rem;
}
.lf-hero__overlay {
  background:
    linear-gradient(135deg, rgba(22,24,32,0.95) 0%, rgba(22,24,32,0.70) 60%, rgba(var(--lf-accent-rgb),0.2) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(var(--lf-accent-rgb),0.015) 20px,
      rgba(var(--lf-accent-rgb),0.015) 21px
    );
}
.lf-hero__content {
  position: relative;
  max-width: 780px;
}
.lf-hero__content::before {
  content: '⚖';
  position: absolute;
  top: -3rem;
  right: -1rem;
  font-size: 8rem;
  color: var(--lf-accent);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}
.lf-hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  background: linear-gradient(90deg, var(--lf-accent), var(--lf-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lf-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  background: linear-gradient(135deg, #F0EDE5 0%, var(--lf-accent2) 60%, #F0EDE5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}
.lf-hero__subtitle {
  color: var(--lf-accent2);
  font-size: 1.3rem;
  text-shadow: 0 0 30px rgba(var(--lf-accent-rgb),0.5);
}

/* ── Stats: Dramatic numerals ── */
.lf-stats {
  background: linear-gradient(180deg, var(--lf-dark) 0%, var(--lf-dark2) 100%);
  border-top: 1px solid rgba(var(--lf-accent-rgb),0.3);
  border-bottom: 1px solid rgba(var(--lf-accent-rgb),0.3);
  position: relative;
  overflow: hidden;
}
.lf-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(var(--lf-accent-rgb),0.08) 0%, transparent 70%);
}
.lf-stats__value {
  font-size: 4.5rem;
  background: linear-gradient(135deg, var(--lf-accent) 0%, var(--lf-accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lf-stats__item { border-right: 1px solid rgba(var(--lf-accent-rgb),0.15); }
.lf-stats__item:last-child { border-right: none; }

/* ── Section headers: Ornamental ── */
.lf-section__title {
  position: relative;
  display: inline-block;
}
.lf-section__title::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--lf-accent), transparent);
  margin: 0.75rem auto 0;
}
.lf-section__header { position: relative; }

/* ── Service Cards: Rich bordered ── */
.lf-service-card {
  background: var(--lf-card-solid);
  border: 1px solid var(--lf-border);
  border-top: 3px solid transparent;
  position: relative;
  overflow: hidden;
}
.lf-service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lf-accent), var(--lf-accent2));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lf-service-card:hover::before { opacity: 1; }
.lf-service-card:hover {
  box-shadow: var(--lf-shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}
.lf-service-card__icon { font-size: 2.8rem; }
.lf-service-card__title { font-size: 1.15rem; }

/* ── Attorney Cards: Portrait with overlay ── */
.lf-attorney-card { position: relative; }
.lf-attorney-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(22,24,32,0.8), transparent);
  pointer-events: none;
}

/* ── Testimonials: Rich dark cards ── */
.lf-testimonials { background: var(--lf-dark); }
.lf-testimonial-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(var(--lf-accent-rgb),0.2);
  position: relative;
}
.lf-testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--lf-accent);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}
.lf-testimonial-card:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(var(--lf-accent-rgb),0.05) 100%);
  border-color: rgba(var(--lf-accent-rgb),0.5);
  transform: translateY(-4px);
  box-shadow: var(--lf-shadow-md);
}

/* ── Blog Cards: Magazine style ── */
.lf-blog-card { border: none; box-shadow: var(--lf-shadow); }
.lf-blog-card:hover { box-shadow: var(--lf-shadow-lg); transform: translateY(-5px); }

/* ── CTA Section: Theatrical ── */
.lf-cta-final {
  background:
    radial-gradient(ellipse 100% 80% at 30% 50%, rgba(var(--lf-accent-rgb),0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 80% at 70% 50%, rgba(122,28,42,0.12) 0%, transparent 60%),
    var(--lf-dark);
}
.lf-cta-final__title {
  background: linear-gradient(135deg, #F0EDE5, var(--lf-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons: Ornate with shine effect ── */
.lf-btn--primary {
  background: linear-gradient(135deg, var(--lf-accent) 0%, var(--lf-accent2) 50%, var(--lf-accent) 100%);
  background-size: 200% auto;
  box-shadow: 0 4px 15px rgba(var(--lf-accent-rgb),0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.lf-btn--primary:hover {
  background-position: right center;
  box-shadow: 0 8px 25px rgba(var(--lf-accent-rgb),0.6), inset 0 1px 0 rgba(255,255,255,0.3);
}
.lf-btn--outline {
  border-width: 2px;
  box-shadow: inset 0 0 0 0 var(--lf-accent);
}
.lf-btn--outline:hover {
  box-shadow: inset 0 0 0 2px var(--lf-accent);
}

/* ── Footer: Opulent ── */
.lf-footer { border-top: 3px solid var(--lf-accent); }
.lf-footer__logo { font-size: 1.6rem; }
.lf-footer__widgets::before {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--lf-accent), transparent);
  margin-bottom: 3rem;
}

/* ── Forms: Polished ── */
.lf-form-group input,
.lf-form-group textarea,
.lf-form-group select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(var(--lf-accent-rgb),0.2);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.lf-form-group input:focus,
.lf-form-group textarea:focus {
  border-color: var(--lf-accent);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2), 0 0 0 3px rgba(var(--lf-accent-rgb),0.15);
}

/* ── WhatsApp: Pulsing glow ── */
.lf-whatsapp-float {
  box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
  animation: lf-max-pulse 2s infinite;
}
@keyframes lf-max-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
