/*
 * Yuvau Digital — Home page design layer
 * Light premium blue. Loads after every other stylesheet on the front page.
 * Sections: tokens, header, section rhythm, typography, cards, hero,
 * trust, services, why, founder, widgets.
 */

/* ---------- Tokens ---------- */
.yu-homepage {
  --home-primary: #2563eb;
  --home-primary-dark: #1d4ed8;
  --home-accent: #06b6da;
  --home-ink: #0f172a;
  --home-text: #475569;
  --home-line: #e2e8f4;
  --home-surface: #ffffff;
  --home-tint: #f5f8ff;
  --home-radius: 20px;
  --home-radius-sm: 14px;
  --home-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px rgba(37, 99, 235, .07);
  --home-shadow-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 20px 44px rgba(37, 99, 235, .12);
  --home-section-space: clamp(56px, 7vw, 96px);
}

/* ---------- Header: solid, so content never shows through ---------- */
.yu-site-header {
  background: rgba(255, 255, 255, .94) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--home-line, #e2e8f4);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
}

/* ---------- Section rhythm ---------- */
.yu-homepage .yu-section {
  padding-block: var(--home-section-space);
}
.yu-homepage .yu-home-trust,
.yu-homepage .yu-home-why-v2,
.yu-homepage .yu-home-faq {
  background: var(--home-tint);
}
.yu-homepage .yu-home-services,
.yu-homepage .yu-home-founder {
  background: var(--home-surface);
}

/* ---------- Typography ---------- */
.yu-homepage .yu-section h2 {
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -.02em;
  color: var(--home-ink);
  max-width: 22ch;
  text-wrap: balance;
}
.yu-homepage .yu-section h2 + p,
.yu-homepage .yu-section p {
  color: var(--home-text);
}
.yu-homepage .yu-section p {
  font-size: clamp(.98rem, .94rem + .2vw, 1.08rem);
  line-height: 1.7;
}
.yu-homepage [class*="__eyebrow"],
.yu-homepage [class*="__kicker"] {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--home-primary);
}

/* ---------- Shared card style ---------- */
.yu-homepage .yu-home-services__card,
.yu-homepage .yu-home-why-v2__reason,
.yu-homepage .yu-home-live-service-copy__grid article,
.yu-homepage .yu-home-founder__stats > *,
.yu-homepage .yu-home-credibility__compact-card {
  background: var(--home-surface) !important;
  border: 1px solid var(--home-line) !important;
  border-radius: var(--home-radius) !important;
  box-shadow: var(--home-shadow) !important;
}
.yu-homepage .yu-home-services__card:hover,
.yu-homepage .yu-home-services__card:focus-visible {
  box-shadow: var(--home-shadow-hover) !important;
  transform: translateY(-4px);
}

/* ---------- Hero ---------- */
.yu-homepage .yu-home-hero__title {
  font-size: clamp(1.75rem, 1.2rem + 3.2vw, 4rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em;
}
.yu-homepage .yu-home-hero__title .yu-home-mobile-line {
  display: block;
  white-space: nowrap;
}
.yu-homepage .yu-home-hero__lead {
  font-size: clamp(1rem, .95rem + .35vw, 1.2rem);
  max-width: 54ch;
}
.yu-homepage .yu-home-hero__proof-line {
  gap: 10px 18px;
}
.yu-homepage .yu-home-hero__proof-item strong {
  font-size: 1.05rem;
}
.yu-homepage .yu-home-hero__proof-item small {
  font-size: .78rem;
  opacity: .9;
}

/* ---------- Trust bar ---------- */
.yu-homepage .yu-home-credibility {
  padding-block: clamp(28px, 4vw, 48px);
  background: var(--home-surface);
}
.yu-homepage .yu-home-trust__stage {
  min-height: 0 !important;
  padding-block: 24px;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-surface) !important;
  box-shadow: var(--home-shadow);
}
.yu-homepage .yu-home-trust__stage::before,
.yu-homepage .yu-home-trust__stage::after,
.yu-homepage .yu-home-trust__ambient {
  display: none !important;
}
.yu-homepage .yu-home-trust__logo-card {
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius-sm);
  background: var(--home-surface);
  box-shadow: none;
}
/* The hint card no longer sits on top of the logos. */
.yu-homepage .yu-home-trust__center {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: 360px;
  margin: 24px auto 0;
  padding: 14px 20px;
  text-align: center;
  background: var(--home-tint) !important;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius-sm);
}
.yu-homepage .yu-home-trust__center-kicker { font-size: .7rem !important; }
.yu-homepage .yu-home-trust__center strong { font-size: 1.05rem !important; }
.yu-homepage .yu-home-trust__center > span:last-child { font-size: .8rem !important; }

/* ---------- Services: one calm card style, one accent colour ---------- */
.yu-homepage .yu-home-services__card {
  min-height: 0 !important;
}
.yu-homepage .yu-home-services__card::before {
  display: none !important;
}
.yu-homepage .yu-home-services__card::after {
  background: var(--home-primary) !important;
}
.yu-homepage .yu-home-services__card h3 {
  font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem) !important;
  line-height: 1.2;
  color: var(--home-ink);
}
.yu-homepage .yu-home-services__card p {
  font-size: .95rem !important;
  line-height: 1.6;
  color: var(--home-text);
}
.yu-homepage .yu-home-services__learn {
  color: var(--home-primary) !important;
  font-weight: 700;
  letter-spacing: .06em;
}
.yu-homepage .yu-home-live-service-copy {
  margin-top: clamp(32px, 5vw, 56px);
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.yu-homepage .yu-home-live-service-copy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  align-items: stretch;
}
.yu-homepage .yu-home-live-service-copy__grid article {
  padding: 24px;
}
.yu-homepage .yu-home-live-service-copy__grid h4 {
  font-size: 1.1rem;
  color: var(--home-ink);
}
.yu-homepage .yu-home-live-service-copy__grid p {
  font-size: .95rem;
}

/* ---------- Why Yuvau ---------- */
.yu-homepage .yu-home-why-v2__reasons {
  align-self: center;
}
.yu-homepage .yu-home-why-v2__reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  align-items: stretch;
}
.yu-homepage .yu-home-why-v2__reason {
  min-height: 0 !important;
  height: auto !important;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.yu-homepage .yu-home-why-v2__reason p {
  margin: 0;
  font-size: .98rem;
  color: var(--home-ink);
}
.yu-homepage .yu-home-why-v2__icon {
  color: var(--home-primary);
  background: #e8f0ff;
  border-radius: 12px;
}

/* ---------- Founder ---------- */
.yu-homepage .yu-home-founder__shell {
  border: 1px solid var(--home-line);
  border-radius: calc(var(--home-radius) + 6px);
  box-shadow: var(--home-shadow);
}

/* ---------- Floating WhatsApp bubble: never cover content on phones ---------- */
@media (max-width: 767px) {
  .yu-whatsapp-bubble {
    display: none !important;
  }
}
