/* ============================================================
   Convirs — Homepage Styles
   Loaded only on index.html
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 104px 0 96px;
}

/* Geometric background shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-shape-1 {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(212,160,23,0.14) 0%, transparent 62%);
  top: -300px;
  right: -180px;
}
.hero-shape-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(255,255,255,0.04) 0%, transparent 65%);
  bottom: -120px;
  left: -60px;
}
.hero-shape-3 {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(212,160,23,0.18);
  border-radius: 50%;
  top: 60px;
  right: 420px;
}

/* Dot grid decoration */
.hero-dot-grid {
  position: absolute;
  top: 40px;
  right: 60px;
  width: 270px;
  height: 270px;
  background-image: radial-gradient(circle,
    rgba(255,255,255,0.22) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

/* Hero two-column layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 385px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Eyebrow label */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Display headline in Fraunces */
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 60px;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 14px;
}
.hero h1 em {
  color: var(--amber);
  font-style: italic;
}

/* Secondary headline */
.hero-sub-head {
  font-size: 21px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  font-family: 'Source Serif 4', Georgia, serif;
}

/* Trust row below CTAs */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}
.hero-trust-item svg {
  width: 13px;
  height: 13px;
  color: var(--amber);
  flex-shrink: 0;
}

/* ── Hero Right: Stat Cards ─────────────────────────────────── */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.hero-stat-main {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-stat-main::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle,
    rgba(212,160,23,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 84px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.hero-stat-context {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-mini-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.hero-mini-stat:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.17);
}
.hero-mini-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.hero-mini-label {
  font-size: 11px;
  color: rgba(255,255,255,0.44);
  line-height: 1.35;
}

/* ── Stats Bar — Dark Treatment ─────────────────────────────── */
.stats-bar {
  background: #0e1b2e;
  border-bottom: none;
}
.stats-bar .stat-item {
  border-right-color: rgba(255,255,255,0.07);
  padding: 44px 32px;
}
.stats-bar .stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 52px;
  color: var(--amber);
  letter-spacing: -0.025em;
}
.stats-bar .stat-label {
  color: rgba(255,255,255,0.85);
}
.stats-bar .stat-context {
  color: rgba(255,255,255,0.37);
}

/* ── Pain Points ────────────────────────────────────────────── */
.pain-list {
  max-width: 800px;
  gap: 16px;
}

.pain-item {
  padding: 0;
  border-left: none;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.22s;
}
.pain-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.11);
}

.pain-accent {
  width: 5px;
  background: var(--amber);
  flex-shrink: 0;
}
.pain-body {
  flex: 1;
  padding: 22px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pain-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 46px;
  font-weight: 700;
  color: rgba(27,42,74,0.08);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: right;
  margin-top: -2px;
  user-select: none;
}
.pain-text h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.pain-text p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.pain-punch {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 32px;
  max-width: 800px;
}

/* ── Education Cards ────────────────────────────────────────── */
.edu-grid .card {
  transition: transform 0.22s, box-shadow 0.22s;
}
.edu-grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}
.edu-grid .card-icon {
  width: 52px;
  height: 52px;
  background: rgba(212,160,23,0.12);
  border-radius: 50%;
  margin-bottom: 20px;
}
.edu-grid .card-icon svg { color: var(--amber); }

/* ── Service Cards ──────────────────────────────────────────── */
.service-grid .card-service {
  border-top: none;
  border-radius: 12px;
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
}
.service-grid .card-service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--amber);
  border-radius: 12px 12px 0 0;
}
.service-grid .card-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.service-grid .card-icon {
  width: 52px;
  height: 52px;
  background: rgba(212,160,23,0.12);
  border-radius: 50%;
  margin-bottom: 20px;
}
.service-grid .card-icon svg { color: var(--amber); }

/* ── How It Works — Connected Steps ────────────────────────── */
.steps-section .steps-grid {
  gap: 0;
  margin-bottom: 56px;
  position: relative;
}
.steps-section .steps-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.67% + 6px);
  right: calc(16.67% + 6px);
  height: 2px;
  background: linear-gradient(90deg,
    rgba(212,160,23,0.5) 0%,
    var(--amber) 50%,
    rgba(212,160,23,0.5) 100%);
  z-index: 0;
}
.steps-section .step-item {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.steps-section .step-number {
  width: 54px;
  height: 54px;
  background: var(--navy);
  border: 3px solid var(--amber);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--white);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.steps-section .step-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--navy);
}
.steps-section .step-item p {
  font-size: 15px;
  color: var(--muted);
  max-width: 240px;
  margin: 0 auto;
}

/* ── Past Work Teaser ───────────────────────────────────────── */
.past-work-stat-block {
  background: var(--navy);
  border-radius: 16px;
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.past-work-stat-block::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle,
    rgba(212,160,23,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.past-work-big-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 92px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.past-work-label {
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}
.past-work-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── Pricing Teaser ─────────────────────────────────────────── */
.pricing-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--navy);
  border-radius: 16px;
  padding: 52px 64px;
  position: relative;
  overflow: hidden;
}
.pricing-teaser-inner::before {
  content: '';
  position: absolute;
  bottom: -70px; left: -70px;
  width: 320px; height: 320px;
  background: radial-gradient(circle,
    rgba(212,160,23,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.pricing-teaser-text {
  flex: 1;
  position: relative;
}
.pricing-teaser-text h2 {
  color: var(--white);
  margin-bottom: 10px;
}
.pricing-teaser-text p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 500px;
  margin: 0;
}
.pricing-teaser-cta {
  flex-shrink: 0;
  position: relative;
}

/* ── Final CTA — Amber ──────────────────────────────────────── */
.cta-section-home {
  background: var(--amber) !important;
  position: relative;
  overflow: hidden;
}
.cta-section-home::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 480px;
  background: radial-gradient(ellipse,
    rgba(255,255,255,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section-home h2 {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 44px !important;
  letter-spacing: -0.025em;
  color: var(--white) !important;
}
.cta-section-home p {
  color: rgba(255,255,255,0.92) !important;
}
.cta-section-home .btn-primary {
  background: var(--navy) !important;
  box-shadow: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cta-section-home .btn-primary:hover {
  background: #0e1b2e !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22) !important;
  transform: translateY(-2px);
}
.cta-section-home .trust-item {
  color: rgba(255,255,255,0.75);
}
.cta-section-home .trust-item svg {
  color: rgba(255,255,255,0.88) !important;
}

/* ── Local Trust Section ─────────────────────────────────────── */
.local-trust-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background 0.2s, border-color 0.2s;
}
.local-trust-card:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.17);
}
.local-trust-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Client Results ─────────────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.result-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}

.result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.result-industry-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(27,42,74,0.07);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.result-location {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.result-graph-wrap {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 180px;
}

.result-graph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.result-stats {
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex: 1;
}

.result-stat-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 20px;
  border-right: 1px solid var(--border);
  min-width: 80px;
}

.result-big-number {
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.result-big-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.result-stat-secondary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.result-stat-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.result-stat-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}

.result-stat-value:first-child {
  color: #15803D;
}

.result-stat-desc {
  font-size: 12px;
  color: var(--muted);
}

.result-proof-note {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 20px;
  background: #F8F7F4;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.result-proof-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--muted);
}

.results-disclaimer {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr 355px; gap: 48px; }
  .hero h1 { font-size: 52px; }
  .pricing-teaser-inner { padding: 44px 48px; }
}

@media (max-width: 900px) {
  .results-grid { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-stat-main { grid-column: 1 / -1; }
  .hero-mini-stats { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 40px; }
  .hero-sub-head { font-size: 18px; }
  .hero-right { display: none; }
  .hero-dot-grid { display: none; }
  .hero-shape-3 { display: none; }

  .stats-bar .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .stats-bar .stat-item:last-child { border-bottom: none; }

  .steps-section .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps-section .steps-grid::before { display: none; }
  .steps-section .step-item { padding: 0; }
  .steps-section .step-number { box-shadow: none; }

  .cta-section-home h2 { font-size: 32px !important; }
  .past-work-big-number { font-size: 72px; }

  .results-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .pricing-teaser-inner {
    flex-direction: column;
    gap: 24px;
    padding: 36px 28px;
    text-align: center;
  }
  .pricing-teaser-text p { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-sub-head { font-size: 16px; }
  .stats-bar .stat-number { font-size: 42px; }
  .cta-section-home h2 { font-size: 26px !important; }
  .past-work-big-number { font-size: 60px; }
}
