/* =============================================
   THE215LAWYER.COM — STYLES
   James Stinsman | Philadelphia Personal Injury
   ============================================= */

/* --- CUSTOM PROPERTIES --- */
:root {
  --navy:        #0a2342;
  --navy-mid:    #163560;
  --navy-light:  #1e4a82;
  --gold:        #c9a84c;
  --gold-light:  #e8c76a;
  --gold-dark:   #a88835;
  --white:       #ffffff;
  --off-white:   #f7f8fb;
  --light-gray:  #f0f2f7;
  --gray:        #6b7280;
  --dark:        #111827;
  --text:        #1f2937;
  --shadow-sm:   0 2px 8px rgba(10,35,66,0.10);
  --shadow-md:   0 6px 24px rgba(10,35,66,0.14);
  --shadow-lg:   0 16px 48px rgba(10,35,66,0.20);
  --radius:      10px;
  --transition:  all 0.25s ease;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- SECTION SPACING --- */
.section { padding: 96px 0; }
.bg-light { background: var(--off-white); }

/* --- TYPOGRAPHY UTILITIES --- */
.gold-text { color: var(--gold); }
.gold-bar {
  width: 56px;
  height: 4px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 20px 0 28px;
}
.gold-bar.centered { margin: 20px auto 28px; }

.section-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold-dark);
  border: 1px solid rgba(201,168,76,0.35);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.gold-tag {
  background: rgba(201,168,76,0.20);
  color: var(--gold-light);
  border-color: rgba(201,168,76,0.50);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--dark); }
.section-head.light h2 { color: var(--white); }
.section-head p { color: var(--gray); margin-top: 4px; }
.section-head.light p { color: rgba(255,255,255,0.75); }

.lead-text { font-size: 1.125rem; font-weight: 500; color: var(--navy-mid); margin-bottom: 20px; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.45);
}

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-tiktok {
  background: #010101;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}
.btn-tiktok:hover { background: #333; transform: translateY(-2px); }
.tt-btn-icon { width: 20px; height: 20px; fill: var(--white); }

/* --- TOP BAR --- */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  padding: 9px 0;
  position: relative;
  z-index: 200;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,0.9); transition: color 0.2s; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar i { color: var(--gold); margin-right: 5px; }
.top-bar-inner .top-tiktok {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--gold-light);
}
.top-tiktok i { color: var(--gold-light); margin: 0; }

/* --- NAVBAR --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-primary {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.logo-secondary {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
}
.nav-link:hover { background: var(--light-gray); color: var(--navy); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, #0a1e35 0%, #0d2948 55%, #0a1e35 100%);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(201,168,76,0.07) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(201,168,76,0.05) 0%, transparent 40%);
  pointer-events: none;
}
/* Philadelphia skyline SVG hint via ::after */
.hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 0; right: 0;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L0 80 L40 80 L40 60 L80 60 L80 40 L100 40 L100 20 L120 20 L120 40 L140 40 L140 10 L160 10 L160 40 L200 40 L200 60 L220 60 L220 40 L250 40 L250 70 L300 70 L300 50 L320 50 L320 30 L340 30 L340 50 L360 50 L360 70 L400 70 L400 55 L440 55 L440 35 L460 35 L460 15 L480 15 L480 35 L500 35 L500 55 L540 55 L540 75 L600 75 L600 55 L640 55 L640 35 L680 35 L680 55 L720 55 L720 70 L760 70 L760 50 L800 50 L800 65 L840 65 L840 45 L880 45 L880 65 L920 65 L920 75 L960 75 L960 55 L1000 55 L1000 40 L1040 40 L1040 60 L1080 60 L1080 75 L1120 75 L1120 85 L1160 85 L1160 90 L1200 90 L1200 120 Z' fill='rgba(255,255,255,0.015)'/%3E%3C/svg%3E") no-repeat bottom/cover;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  padding-bottom: 72px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-badge i { color: var(--gold); }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--gold); }

/* Portrait */
.hero-portrait-col { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.portrait-frame { position: relative; }
.portrait-placeholder {
  width: 340px;
  height: 440px;
  background: linear-gradient(160deg, var(--navy-mid) 0%, #0e1f35 100%);
  border: 3px solid rgba(201,168,76,0.35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  font-weight: 700;
  color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201,168,76,0.15);
}
.portrait-img {
  width: 340px;
  height: 440px;
  object-fit: cover;
  border: 3px solid rgba(201,168,76,0.35);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.portrait-tag {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-tiktok-pill {
  margin-top: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.86rem;
}
.hero-tiktok-pill i { color: var(--gold-light); font-size: 1rem; }
.pill-link {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 100px;
  margin-left: 2px;
  transition: var(--transition);
}
.pill-link:hover { box-shadow: 0 4px 12px rgba(201,168,76,0.4); }

/* Stats Ribbon */
.stats-ribbon {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 0;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  display: inline;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-light);
}
.stat-sfx {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
}
.stat-lbl {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* --- AWARDS BAR --- */
.awards-bar {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 28px 0;
}
.awards-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
}
.awards-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.award-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition);
}
.award-item:hover { opacity: 1; color: var(--gold-dark); }
.award-item i { color: var(--gold); font-size: 1.1rem; }

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: start;
}
.about-portrait-wrap { position: sticky; top: 100px; }
.about-portrait-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-width: 360px;
  background: linear-gradient(160deg, #e8ecf4, #d0d9e8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--navy-light);
  box-shadow: var(--shadow-lg);
}
.about-portrait-img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-creds {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cred {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 10px 14px;
}
.cred i { color: var(--gold-dark); width: 18px; text-align: center; }
.cred em { font-style: italic; }

.about-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 4px;
}
.about-copy p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.about-copy strong { color: var(--text); }
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* --- PRACTICE AREAS --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.area-card {
  background: var(--white);
  border: 1px solid #e5e9f0;
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.area-card.visible { opacity: 1; transform: translateY(0); }
.area-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.area-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.area-card h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; }
.area-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.area-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.area-link:hover { color: var(--navy); gap: 10px; }

/* --- RESULTS --- */
.results-section { background: linear-gradient(135deg, #091a2e 0%, #0d2948 50%, #091a2e 100%); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.result-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.result-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.4);
}
.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  opacity: 0.6;
}
.result-featured {
  background: rgba(201,168,76,0.10);
  border-color: rgba(201,168,76,0.35);
}
.result-featured::before { opacity: 1; }
.result-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.result-amt {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.result-amt span { font-size: 2rem; }
.result-type {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 10px;
}
.result-card p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.results-disclaimer {
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  font-style: italic;
  margin-bottom: 36px;
}
.results-cta { text-align: center; }

/* --- WHY JIM --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid #e5e9f0;
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.why-card.visible { opacity: 1; transform: translateY(0); }
.why-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow-md); }
.why-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e8ecf5, #d4dced);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 18px;
}
.why-card:hover .why-icon { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); color: var(--gold); }
.why-card h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

/* --- TESTIMONIALS --- */
.testimonials-section {
  background: linear-gradient(135deg, #091a2e 0%, #0d2948 50%, #091a2e 100%);
}
.testimonials-section .section-head p { color: rgba(255,255,255,0.65); }

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

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(201,168,76,0.30);
  transform: translateY(-4px);
}

.testimonial-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; }

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  position: relative;
  padding-left: 18px;
}
.testimonial-card blockquote::before {
  content: '\201C';
  position: absolute;
  left: -2px;
  top: -8px;
  font-size: 3rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  opacity: 0.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.author-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-author strong { display: block; color: var(--white); font-size: 0.9rem; }
.testimonial-author span { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.review-source { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.review-source .fab.fa-google { color: #ea4335; margin-right: 3px; }

.testimonial-cta-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tcc-inner {
  text-align: center;
  padding: 36px 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.tcc-text { text-align: left; flex: 1; min-width: 200px; }
.tcc-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 6px; }
.tcc-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.tcc-inner p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; }
.tcc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tcc-source { font-size: 0.72rem !important; color: rgba(255,255,255,0.35) !important; width: 100%; text-align: center; margin-top: 8px; }
.tcc-source a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.tcc-source a:hover { color: var(--gold-light); }

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* --- TIKTOK --- */
.tiktok-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tiktok-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.tt-icon { width: 28px; height: 28px; fill: #010101; }
.tt-handle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}
.tiktok-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.2;
}
.tiktok-copy p { color: var(--gray); margin-bottom: 20px; line-height: 1.75; }
.tiktok-topics { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.tiktok-topics li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.92rem;
}
.tiktok-topics i { color: #fe2c55; font-size: 0.9rem; }

.tiktok-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tiktok-card {
  background: var(--white);
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  min-height: 280px;
  display: flex;
}
.tiktok-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tiktok-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  text-align: center;
  width: 100%;
}
.tiktok-card svg { width: 36px; height: 36px; fill: #010101; }
.tiktok-card p { font-size: 0.85rem; color: var(--gray); font-weight: 600; }
.tiktok-card-cta { background: linear-gradient(135deg, #0d1b2a, #163560); border-color: transparent; }
.tiktok-card-cta svg { fill: var(--gold); }
.tiktok-card-cta p { color: rgba(255,255,255,0.7); }
.tt-cta-text { font-size: 0.95rem !important; color: var(--white) !important; font-weight: 700 !important; }

/* --- CONTACT --- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info-col h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 4px;
}
.contact-intro { color: var(--gray); margin-bottom: 32px; line-height: 1.75; }
.contact-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cd-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}
.contact-detail strong { display: block; font-size: 0.82rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.contact-detail a, .contact-detail span { font-size: 1rem; font-weight: 600; color: var(--navy); }
.contact-detail a:hover { color: var(--gold-dark); }

.contact-promise {
  background: #f0f7f0;
  border: 1px solid #c3e0c3;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.contact-promise > i { color: #2d7a2d; font-size: 1.2rem; margin-top: 2px; }
.contact-promise strong { color: #1a4d1a; font-size: 0.9rem; display: block; margin-bottom: 3px; }
.contact-promise p { font-size: 0.84rem; color: #2d7a2d; }

.levin-affiliation {
  font-size: 0.84rem;
  color: var(--gray);
}
.levin-link {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-top: 4px;
  transition: var(--transition);
}
.levin-link:hover { color: var(--gold-dark); }

/* Contact Form */
.contact-form-col {
  background: var(--off-white);
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.req { color: var(--gold-dark); }
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d1d9e6;
  border-radius: 7px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(10,35,66,0.08);
}
textarea { resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23666'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 12px;
}
.form-success, .form-error {
  text-align: center;
  padding: 36px;
}
.form-success i { font-size: 3rem; color: #2d7a2d; margin-bottom: 14px; }
.form-success h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--dark); margin-bottom: 10px; }
.form-success p, .form-error p { color: var(--gray); }
.form-success a, .form-error a { color: var(--navy); font-weight: 600; }
.form-error i { font-size: 2rem; color: #c0392b; margin-bottom: 10px; }

/* --- FOOTER --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 64px 0 40px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 4px; }
.footer-phone, .footer-email {
  display: block;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 8px;
  transition: var(--transition);
}
.footer-phone:hover, .footer-email:hover { color: var(--white); }
.footer-tiktok {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-top: 10px;
  transition: var(--transition);
}
.footer-tiktok:hover { color: var(--gold-light); }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-cta-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }
.footer-cta-col p { font-size: 0.84rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.footer-call-btn { display: flex; margin-bottom: 12px; width: 100%; justify-content: center; }
.footer-contact-btn { display: flex; width: 100%; justify-content: center; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.legal-disclaimer { margin-top: 10px; font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.6; }

/* =============================================
   AI CHAT WIDGET
   ============================================= */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(10,35,66,0.45);
  transition: var(--transition);
  position: relative;
  border: none;
  cursor: pointer;
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(10,35,66,0.5); }
.chat-toggle .fa-times { display: none; }
.chat-widget.open .chat-toggle .fa-comments { display: none; }
.chat-widget.open .chat-toggle .fa-times { display: block; }
.chat-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}
.chat-widget.open .chat-dot { display: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}

.chat-panel {
  width: 360px;
  max-height: 520px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(10,35,66,0.22), 0 0 0 1px rgba(10,35,66,0.08);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.25s ease;
}
.chat-widget.open .chat-panel { display: flex; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-head {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-head-info { flex: 1; }
.chat-head-info strong { display: block; color: var(--white); font-size: 0.92rem; }
.online-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.7);
}
.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.chat-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}
.chat-x {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition);
}
.chat-x:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.msg { max-width: 82%; display: flex; flex-direction: column; }
.msg-bot { align-self: flex-start; }
.msg-user { align-self: flex-end; }
.msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.msg-bot .msg-bubble {
  background: var(--off-white);
  border: 1px solid #e5e9f0;
  color: var(--text);
  border-top-left-radius: 4px;
}
.msg-user .msg-bubble {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border-top-right-radius: 4px;
}
.msg-time { font-size: 0.68rem; color: var(--gray); margin-top: 4px; padding: 0 4px; }
.msg-user .msg-time { text-align: right; }

.typing-bubble {
  background: var(--off-white);
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 12px 16px;
  display: flex;
  gap: 5px;
  align-items: center;
  align-self: flex-start;
}
.typing-bubble span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray);
  animation: typing 1.2s infinite;
}
.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); background: var(--navy-light); } }

.chat-footer { border-top: 1px solid var(--light-gray); padding: 12px 14px; }
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
  min-height: 0;
}
.qr-btn {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.qr-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.chat-input-row input {
  flex: 1;
  border: 1.5px solid #dce2ed;
  border-radius: 24px;
  padding: 9px 16px;
  font-size: 0.88rem;
  outline: none;
}
.chat-input-row input:focus { border-color: var(--navy-light); }
.chat-send {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.chat-send:hover { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--navy); }
.chat-fine {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 7px;
}

/* --- FADE-IN ANIMATION --- */
.fade-in { transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait-col { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait-wrap { position: static; display: flex; flex-direction: row; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
  .about-portrait-placeholder { max-width: 200px; min-height: 260px; font-size: 3rem; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .tiktok-layout { grid-template-columns: 1fr; }
  .tiktok-feed { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; gap: 16px; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hide-sm { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--light-gray);
    gap: 4px;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 10px 14px; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; justify-content: center; }
  .hero { padding-top: 48px; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { padding: 14px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .areas-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .tiktok-feed { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .chat-panel { width: 320px; }
  .about-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 0.68rem; }
  .hero-title { font-size: 1.9rem; }
  .awards-row { gap: 16px; }
  .contact-form-col { padding: 24px 18px; }
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-panel { width: calc(100vw - 32px); }
}
