/* ============================================================
   iTask Legal — Theme v2
   Aligns the core site with the lp-legal-assistant-savings-v2
   landing page aesthetic: dark slim nav with white emblem +
   wordmark, continuous white pages, oversized ink headlines
   with deep-gold highlights, uppercase pill buttons.
   Loaded AFTER styles.css. Content and layout stay untouched;
   this layer only restyles.
   ============================================================ */

/* ---------- Header: dark bar, white links ---------- */
.site-header,
.site-header.scrolled {
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(20, 19, 15, 0.35);
}
.site-header .brand .wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}
.site-header .brand img { height: 42px; }
.site-header.scrolled .brand img { height: 36px; }
.nav a { color: rgba(255, 255, 255, 0.85); font-size: 1rem; }
.nav a:hover,
.nav a.active { color: #fff; }
.header-phone { color: #fff; }
.header-phone svg { color: var(--gold); }
.site-header .nav-toggle { color: #fff; }

/* Dark heroes already sit flush behind the fixed header; light
   page tops need their padding preserved — styles.css handles
   that per page, so nothing to change here. */

/* ---------- Typography: bigger, heavier, tighter ---------- */
h1, h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); }

/* Gold highlights on light backgrounds read as deep gold */
.section-head .hl,
.bg-white .hl,
.bg-cream .hl,
.bg-cream-2 .hl { color: var(--gold-deep); }

/* Eyebrow labels and pill badges retired in the v2 look */
.eyebrow,
.hero-badge { display: none; }

/* ---------- Home hero ---------- */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-block: 3rem 3.5rem;
  padding-top: calc(var(--header-h) + 2.5rem);
}
.hero .container { width: 100%; }

/* Desktop: split hero (copy left, candidate cards right) keeps it short */
@media (min-width: 961px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    text-align: left;
    max-width: none;
  }
  .hero-inner > * { grid-column: 1; }
  .hero-inner h1 { font-size: clamp(2.5rem, 4.2vw, 3.6rem); }
  .hero-inner .lead { margin-left: 0; }
  .hero-inner .btn-row { justify-content: flex-start; }
  .hero-inner .hero-microtrust { justify-content: flex-start; }
  .hero-inner .hero-cards {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 0;
    align-self: center;
  }
}
@media (max-width: 640px) {
  .hero {
    min-height: 72svh;
    padding-block: 2rem 2.25rem;
  }
  .hero-inner .lead { font-size: 1.05rem; }
  .hero-inner .btn-row { margin-top: 1.4rem; }
  .hero-microtrust { margin-top: 0.9rem; }
  .hero-cards { margin-top: 1.5rem; gap: 0.7rem; }
  .hero-cards .v2-card { width: 132px; padding: 0.8rem 0.7rem 0.75rem; }
  .hero-cards .avatar { width: 38px; height: 38px; margin-bottom: 0.4rem; }
  .hero-cards .avatar svg { width: 18px; height: 18px; }
  .hero-cards .cname { font-size: 0.85rem; }
  .hero-cards .bar { height: 5px; margin: 0.3rem auto; }
  .hero-cards .tag { font-size: 0.56rem; padding: 0.16rem 0.4rem; }
}

/* Micro trust strip retired in favor of the macro assurance cards */
.trustbar { display: none; }

/* ---------- Macro assurance cards ---------- */
.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.assure-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 2rem 1.5rem;
  text-align: center;
}
.assure-card .icon-ring {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--cream); border: 1.5px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.assure-card .icon-ring svg { width: 30px; height: 30px; color: var(--gold-deep); }
.assure-card .label {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.15rem; line-height: 1.35; color: var(--ink);
}
@media (max-width: 960px) { .assurance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .assurance-grid { grid-template-columns: 1fr; } }

/* Header CTA button retired; logo, nav, and phone remain */
.header-cta .btn { display: none; }

/* ---------- Hero graphic: candidate cards under the CTAs ---------- */
.hero-cards {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4.5vw, 3rem);
}
.hero-cards .v2-card {
  width: clamp(140px, 19vw, 200px);
  background: var(--white);
  border: 1px solid rgba(224, 182, 62, 0.35);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  padding: 1rem 0.85rem 0.9rem;
  text-align: center;
}
.hero-cards .v2-card:first-child { transform: rotate(-2.5deg); }
.hero-cards .v2-card:last-child { transform: rotate(2.5deg); }
.hero-cards .avatar {
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--cream); border: 1.5px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.5rem;
}
.hero-cards .avatar svg { width: 22px; height: 22px; color: var(--gold-deep); }
.hero-cards .cname {
  font-family: var(--font-head); font-weight: 800;
  font-size: 0.95rem; color: var(--ink); margin-bottom: 0.45rem;
}
.hero-cards .bar {
  height: 6px; border-radius: 999px; background: rgba(20, 19, 15, 0.10);
  margin: 0.35rem auto;
}
.hero-cards .bar.b1 { width: 85%; }
.hero-cards .bar.b2 { width: 65%; }
.hero-cards .bar.b3 { width: 75%; }
.hero-cards .tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem;
  margin-top: 0.55rem;
}
.hero-cards .tag {
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--cream); border: 1px solid var(--gold-soft);
  border-radius: 999px; padding: 0.2rem 0.5rem;
  white-space: nowrap;
}
.hero-cards .vs {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
  flex: 0 0 auto;
}

/* ---------- Buttons: uppercase pills ---------- */
.btn {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
}
.btn-lg { padding: 1.2rem 2.6rem; font-size: 1.15rem; }

/* ---------- Continuous white pages ---------- */
body { background: var(--white); }
.bg-cream,
.bg-cream-2 { background: var(--white); }
section.section { border-top: 0; }

/* Cards keep a crisp edge on the flat white canvas */
.card,
.review-card,
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 14px;
}

/* ---------- Forms: LP input styling ---------- */
input, select, textarea {
  border-radius: 8px;
  font-size: 1.1rem;
}
input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  h1 { font-size: clamp(2.5rem, 10.5vw, 3.1rem); }
  h2 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .site-header .brand .wordmark { font-size: 1.2rem; }
}
