/* ═══════════════════════════════════════════════════
   SBV — Home Page (index.html)
   ═══════════════════════════════════════════════════ */

/* ── Hero ── */
.hero .container { position: relative; z-index: 10; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .hero .container { padding-top: 8rem; padding-bottom: 8rem; } }
@media (min-width: 1024px) { .hero .container { padding-top: 10rem; padding-bottom: 10rem; } }
.hero-content { max-width: 42rem; display: flex; flex-direction: column; gap: 1.5rem; }
.hero .eyebrow span:not(.line) { color: hsl(var(--color-ember-hsl)); }
.hero h1 { font-size: 2.25rem; line-height: 1.15; color: hsl(var(--color-ivory-hsl)); }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero-sub { font-size: 1.125rem; font-family: var(--font-body); color: hsl(var(--color-clay-hsl) / 0.9); line-height: 1.625; max-width: 36rem; }
@media (min-width: 768px) { .hero-sub { font-size: 1.25rem; } }
.hero-trust-items { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-top: 0.5rem; }
.hero-trust-items span { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-family: var(--font-body); color: hsl(var(--color-clay-hsl) / 0.7); }
.hero-trust-items svg { width: 1rem; height: 1rem; color: hsl(var(--color-ember-hsl)); flex-shrink: 0; }
.hero-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding-top: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; align-items: flex-start; } }
.hero-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; }
.hero-cta-sub { font-size: 11px; font-family: var(--font-body); letter-spacing: 0.15em; text-transform: uppercase; color: hsl(var(--color-clay-hsl) / 0.5); }

/* ── Credibility Band ── */
.credibility { background-color: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.credibility .container { padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .credibility .container { padding-top: 2.5rem; padding-bottom: 2.5rem; } }
.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .cred-grid { grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 2rem; } }
.cred-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.cred-icon { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: var(--radius); background-color: hsl(var(--accent) / 0.1); display: flex; align-items: center; justify-content: center; }
.cred-icon svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent)); }
.cred-item p:first-of-type { font-size: 0.8125rem; font-family: var(--font-body); font-weight: 600; color: hsl(var(--foreground)); }
.cred-item p:last-of-type { font-size: 0.75rem; font-family: var(--font-body); color: hsl(var(--muted-foreground)); }

/* ── Segmentation ── */
.segmentation { position: relative; overflow: visible; padding: 5rem 0; }
@media (min-width: 768px) { .segmentation { padding: 8rem 0; } }
.segmentation::before {
  content: '';
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  background: url('../sbv-globe-mark.png') center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.seg-grid { display: grid; gap: 4rem; max-width: 72rem; margin: 0 auto; align-items: start; }
@media (min-width: 1024px) { .seg-grid { grid-template-columns: 1fr 1.4fr; } }
@media (min-width: 1024px) { .seg-left { position: sticky; top: 8rem; } }
.seg-left h2 { font-size: 1.875rem; color: hsl(var(--foreground)); margin-bottom: 1.25rem; line-height: 1.25; }
@media (min-width: 768px) { .seg-left h2 { font-size: 2.25rem; } }
.seg-left p { font-size: 1rem; font-family: var(--font-body); color: hsl(var(--muted-foreground)); line-height: 1.625; }
.seg-accent-bar { margin-top: 2rem; height: 3px; width: 3rem; border-radius: calc(var(--radius) - 4px); background-color: hsl(var(--accent)); }
.seg-option {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 1rem 2rem 2rem;
  border-left: 4px solid;
  margin-left: -2px;
  transition: background-color 0.15s;
  text-decoration: none;
  border-bottom: 1px solid hsl(var(--border));
}
.seg-option:last-child { border-bottom: none; }
.seg-option:nth-child(1) { border-left-color: hsl(var(--accent)); }
.seg-option:nth-child(2) { border-left-color: hsl(var(--secondary)); }
.seg-option:nth-child(3) { border-left-color: hsl(var(--color-ember-hsl)); }
.seg-option:hover { background-color: hsl(var(--card) / 0.6); }
.seg-option-icon { flex-shrink: 0; margin-top: 0.25rem; }
.seg-option-icon svg { width: 1.75rem; height: 1.75rem; color: hsl(var(--accent)); opacity: 0.7; transition: opacity 0.15s; }
.seg-option:hover .seg-option-icon svg { opacity: 1; }
.seg-option-body { flex: 1; }
.seg-option-body h3 { font-size: 1.25rem; color: hsl(var(--foreground)); margin-bottom: 0.5rem; transition: color 0.15s; }
.seg-option:hover .seg-option-body h3 { color: hsl(var(--accent)); }
.seg-option-body p { font-size: 0.875rem; font-family: var(--font-body); color: hsl(var(--muted-foreground)); line-height: 1.625; }
.seg-option-arrow { flex-shrink: 0; margin-top: 0.5rem; font-family: var(--font-headline); font-size: 1.5rem; color: hsl(var(--accent)); opacity: 0; transform: translateX(0); transition: all 0.15s; }
.seg-option:hover .seg-option-arrow { opacity: 1; transform: translateX(0.25rem); }

/* ── Differentiators ── */
.differentiators { position: relative; padding: 5rem 0; background-color: hsl(var(--color-midnight-hsl)); color: hsl(var(--color-ivory-hsl)); overflow: hidden; }
@media (min-width: 768px) { .differentiators { padding: 8rem 0; } }
.diff-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.diff-gradient-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(11, 22, 40, 0.7) 0%, rgba(11, 22, 40, 0.4) 50%, rgba(11, 22, 40, 0.8) 100%),
    radial-gradient(60% 50% at 20% 0%, rgba(29, 59, 93, 0.25) 0%, transparent 70%);
}
.diff-top-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(80%, 600px); height: 1px; background: linear-gradient(to right, transparent, hsl(var(--color-clay-hsl) / 0.2), transparent); }
.differentiators .container { position: relative; z-index: 10; }
.diff-inner { max-width: 72rem; margin: 0 auto; }
.differentiators .eyebrow span:not(.line) { color: hsl(var(--color-ember-hsl)); }
.differentiators h2 { font-size: 1.875rem; margin-bottom: 5rem; color: rgb(245, 242, 237); }
@media (min-width: 768px) { .differentiators h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .differentiators h2 { font-size: 3rem; } }
.diff-item { display: grid; gap: 1.5rem; align-items: baseline; padding: 2.5rem 0; border-bottom: 1px solid hsl(var(--color-ivory-hsl) / 0.1); }
.diff-item:last-child { border-bottom: none; }
@media (min-width: 768px) { .diff-item { grid-template-columns: 80px 1fr 1.2fr; gap: 2.5rem; } }
.diff-num { font-family: var(--font-headline); font-size: 3rem; font-weight: 500; color: hsl(var(--color-ember-hsl) / 0.4); }
@media (min-width: 768px) { .diff-num { font-size: 3.75rem; } }
.diff-item h3 { font-size: 1.25rem; line-height: 1.375; color: rgb(245, 242, 237); }
@media (min-width: 768px) { .diff-item h3 { font-size: 1.5rem; } }
.diff-item p { font-size: 0.875rem; font-family: var(--font-body); line-height: 1.625; color: rgb(139, 157, 184); }

/* ── Process (home 4-step version) ── */
.process { padding: 5rem 0; }
@media (min-width: 768px) { .process { padding: 8rem 0; } }
.process-inner { max-width: 72rem; margin: 0 auto; }
.process-header { text-align: center; margin-bottom: 4rem; }
.process-header .eyebrow { justify-content: center; }
.process-header h2 { font-size: 1.875rem; color: hsl(var(--foreground)); margin-bottom: 1rem; }
@media (min-width: 768px) { .process-header h2 { font-size: 2.25rem; } }
.process-header p { font-size: 1rem; font-family: var(--font-body); color: hsl(var(--muted-foreground)); max-width: 32rem; margin: 0 auto; }
.process-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step { position: relative; }
.process-step .connector { display: none; }
@media (min-width: 768px) {
  .process-step .connector { display: block; position: absolute; top: 1.25rem; left: 0; right: 0; height: 2px; background-color: hsl(var(--border)); }
  .process-step:first-child .connector .mask-left { position: absolute; left: 0; width: 50%; height: 100%; background-color: hsl(var(--background)); }
  .process-step:last-child .connector .mask-right { position: absolute; right: 0; width: 50%; height: 100%; background-color: hsl(var(--background)); }
}
.process-circle-wrap { position: relative; z-index: 10; display: flex; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .process-circle-wrap { justify-content: center; } }
.process-circle { width: 2.5rem; height: 2.5rem; border-radius: 9999px; background-color: hsl(var(--background)); border: 2px solid hsl(var(--accent)); display: flex; align-items: center; justify-content: center; }
.process-circle span { font-size: 0.75rem; font-family: var(--font-body); font-weight: 700; color: hsl(var(--accent)); }
.process-step-content { padding: 0 1rem; }
@media (min-width: 768px) { .process-step-content { text-align: center; } }
.process-step:nth-child(2) .process-step-content,
.process-step:nth-child(4) .process-step-content { padding-top: 0; }
@media (min-width: 768px) {
  .process-step:nth-child(2) .process-step-content,
  .process-step:nth-child(4) .process-step-content { padding-top: 1rem; }
}
.process-step-content h3 { font-size: 1.125rem; color: hsl(var(--foreground)); margin-bottom: 0.5rem; }
.process-step-content p { font-size: 0.875rem; font-family: var(--font-body); color: hsl(var(--muted-foreground)); line-height: 1.625; }
.mobile-connector { width: 2px; height: 2rem; background-color: hsl(var(--border)); margin-left: 19px; margin-top: 0.5rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .mobile-connector { display: none; } }

/* ── Team (home photo version) ── */
.team { padding: 5rem 0; background-color: hsl(var(--card)); }
@media (min-width: 768px) { .team { padding: 8rem 0; } }
.team-inner { max-width: 64rem; margin: 0 auto; }
.team-header { text-align: center; margin-bottom: 3rem; }
.team-header .eyebrow { justify-content: center; }
.team-header h2 { font-size: 1.875rem; color: hsl(var(--foreground)); margin-bottom: 1rem; line-height: 1.25; }
@media (min-width: 768px) { .team-header h2 { font-size: 2.25rem; } }
.team-header p { font-size: 1rem; font-family: var(--font-body); color: hsl(var(--muted-foreground)); line-height: 1.625; max-width: 32rem; margin: 0 auto; }
.team-photo-wrap { position: relative; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.team-photo-wrap img { width: 100%; height: auto; display: block; transition: all 0.7s ease; }
.team-photo-wrap .overlay { position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--color-midnight-hsl) / 0.7), hsl(var(--color-midnight-hsl) / 0.2) 50%, transparent); opacity: 0.6; transition: opacity 0.5s ease; }
.team-photo-wrap:hover .overlay { opacity: 0.8; }
.team-names { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 2rem 1.25rem; }
@media (min-width: 768px) { .team-names { padding-bottom: 2rem; } }
.team-name { text-align: center; }
.team-name p:first-child { font-family: var(--font-headline); font-size: 1.125rem; color: hsl(var(--color-ivory-hsl)); font-weight: 500; text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,1); }
@media (min-width: 768px) { .team-name p:first-child { font-size: 1.125rem; } }
.team-name p:last-child { font-size: 10px; font-family: var(--font-body);}

/* ── Testimonials ── */
.testimonials { padding: 5rem 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .testimonials { padding: 8rem 0; } }
.testi-big-quote { position: absolute; top: 2rem; left: 50%; transform: translateX(-50%); font-size: 280px; line-height: 1; font-family: var(--font-headline); color: hsl(var(--accent) / 0.04); user-select: none; pointer-events: none; }
.testi-inner { max-width: 64rem; margin: 0 auto; position: relative; z-index: 10; }
.testi-header { text-align: center; margin-bottom: 4rem; }
.testi-header .eyebrow { justify-content: center; }
.testi-featured { text-align: center; margin-bottom: 5rem; max-width: 48rem; margin-left: auto; margin-right: auto; }
.testi-featured p.quote { font-size: 1.5rem; font-family: var(--font-headline); color: hsl(var(--foreground) / 0.9); line-height: 1.375; font-style: italic; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .testi-featured p.quote { font-size: 1.875rem; } }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-featured .testi-author { justify-content: center; }
.testi-avatar { width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-avatar.lg { background-color: hsl(var(--accent) / 0.1); }
.testi-avatar.sm { background-color: hsl(var(--muted) / 0.6); width: 2rem; height: 2rem; }
.testi-avatar span { font-family: var(--font-headline); font-weight: 500; color: hsl(var(--accent)); }
.testi-avatar.lg span { font-size: 0.875rem; }
.testi-avatar.sm span { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.testi-author-info { text-align: left; }
.testi-author-info .name { font-size: 0.875rem; font-family: var(--font-body); font-weight: 600; color: hsl(var(--foreground)); }
.testi-author-info .role { font-size: 0.75rem; font-family: var(--font-body); color: hsl(var(--muted-foreground)); display: block; }
.testi-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid hsl(var(--border)); }
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
.testi-card { padding: 2.5rem 2rem; }
@media (min-width: 768px) { .testi-card:first-child { border-right: 1px solid hsl(var(--border)); } }
.testi-card p.quote { font-size: 1rem; font-family: var(--font-body); color: hsl(var(--foreground) / 0.8); line-height: 1.625; font-style: italic; margin-bottom: 1.25rem; }

/* ── Final CTA (home-specific left column classes) ── */
.final-cta-left p.eyebrow-text {
  color: hsl(var(--color-ember-hsl));
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.final-cta-left h2 { font-size: 1.875rem; font-weight: 500; line-height: 1.25; margin-bottom: 1rem; color: rgb(245, 242, 237); }
@media (min-width: 768px) { .final-cta-left h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .final-cta-left h2 { font-size: 3rem; } }
.final-cta-left .subtitle { font-family: var(--font-headline); font-size: 1.25rem; margin-bottom: 1.5rem; color: rgb(217, 205, 184); font-style: italic; }
@media (min-width: 768px) { .final-cta-left .subtitle { font-size: 1.5rem; } }
.final-cta-left .desc { font-size: 1rem; font-family: var(--font-body); line-height: 1.625; margin-bottom: 2.5rem; max-width: 28rem; color: rgb(139, 157, 184); }
.final-cta-btn-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.final-cta-btn-sub { font-size: 11px; font-family: var(--font-body); letter-spacing: 0.15em; text-transform: uppercase; color: rgb(139, 157, 184); }
.final-cta-trust { display: flex; flex-wrap: wrap; gap: 1.5rem 1.5rem; }
.final-cta-trust .item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-family: var(--font-body); color: rgb(139, 157, 184); }

/* ── Team tooltip ── */


.title-name{
    font-family: var(--font-headline);
    color: hsl(var(--color-ivory-hsl));
}

.team-name { position: relative; }

.team-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 220px;
  background: hsl(var(--color-midnight-hsl) / 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--color-ivory-hsl) / 0.12);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.875rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

/* Caret arrow pointing down toward the name */
.team-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: hsl(var(--color-midnight-hsl) / 0.92);
}

.team-name:hover .team-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.tt-name {
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgb(245, 242, 237);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tt-cred {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--color-ember-hsl));
  background: hsl(var(--color-ember-hsl) / 0.15);
  border: 1px solid hsl(var(--color-ember-hsl) / 0.3);
  border-radius: 4px;
  padding: 1px 6px;
}

.tt-role {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--color-ember-hsl));
  margin-bottom: 0.5rem;
}

.tt-bio {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: hsl(var(--color-clay-hsl));
  line-height: 1.55;
}

.title-label {
  color: hsl(var(--color-ember-hsl)); 
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Keep tooltips from clipping on mobile */
@media (max-width: 640px) {
  .team-tooltip { display: none; }
}
.final-cta-trust svg { width: 0.875rem; height: 0.875rem; color: hsl(var(--color-ember-hsl)); flex-shrink: 0; }

/* ── Globe watermark — final-cta section (clipped by overflow:hidden on parent) ── */
.final-cta::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 480px;
  height: 480px;
  background: url('../sbv-globe-mark.png') center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}
