/* Pazhoohan Header and Hero Refinement */

:root {
  --hero-ink: #142d4c;
  --hero-accent: #315e8c;
  --hero-gold: #b69a6b;
  --hero-line: #e4eaf2;
  --hero-shadow: 0 24px 65px rgba(18, 45, 76, .11);
}

.topbar {
  height: 84px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(222,230,239,.9);
  box-shadow: 0 4px 24px rgba(20,43,73,.025);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  gap: 22px;
}

.brand {
  gap: 10px;
  min-width: 174px;
}

.brand img {
  width: 62px;
  height: 58px;
  object-fit: contain;
}

.brandname {
  font-family: var(--font-heading, sans-serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.6px;
}

.brandname small {
  font-family: var(--font-body, sans-serif);
  font-weight: 450;
  font-size: 10px;
  letter-spacing: 0;
  margin-top: 7px;
}

.nav nav {
  gap: clamp(11px, 1.55vw, 25px);
}

.nav nav a {
  position: relative;
  font-size: 12px;
  font-weight: 650;
  transition: color .2s ease;
}

.nav nav a::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 0;
  width: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--hero-gold);
  transition: width .22s ease;
}

.nav nav a:hover::after,
.nav nav a.active::after {
  width: 100%;
}

.btn {
  border-radius: 12px;
  gap: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--hero-ink);
  box-shadow: 0 9px 24px rgba(20,45,76,.15);
}

.btn-primary:hover {
  background: #214d78;
  box-shadow: 0 14px 28px rgba(20,45,76,.2);
}

.btn-outline {
  border-color: #d4deea;
  box-shadow: 0 4px 12px rgba(20,45,76,.025);
}

.pzh-action-icon {
  display: inline-block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  padding: 94px 0 58px;
  background:
    radial-gradient(ellipse 53% 75% at 3% 35%, rgba(214,231,248,.53), transparent 76%),
    linear-gradient(135deg, #fff 15%, #f5f8fc 100%);
}

.hero-grid {
  gap: clamp(24px, 4vw, 65px);
  min-height: 515px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  color: #aa8959;
}

.eyebrow-line {
  height: 2px;
  width: 28px;
}

.hero h1 {
  font-family: var(--font-heading, sans-serif);
  font-weight: 800;
  font-size: clamp(39px, 4.5vw, 59px);
  line-height: 1.53;
  letter-spacing: -.5px;
  margin: 20px 0 22px;
  color: var(--hero-ink);
}

.hero h1 span {
  color: var(--hero-accent);
}

.hero .lead {
  font-size: 15px;
  font-weight: 450;
  line-height: 2.25;
  color: #536a82;
}

.hero .sublead {
  font-size: 12.5px;
  line-height: 2.25;
  color: #71859b;
}

.hero-actions {
  margin-top: 30px;
  gap: 13px;
}

.hero-actions .btn {
  min-height: 52px;
  padding: 13px 24px;
  font-size: 13px;
}

.trust-mini {
  margin-top: 32px;
  gap: 12px;
}

.trust-mini span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.8);
  border: 1px solid #e6ebf2;
  border-radius: 30px;
  padding: 7px 11px;
  color: #5c7189;
  font-size: 11px;
  font-weight: 650;
}

.trust-mini .pzh-action-icon {
  width: 15px;
  height: 15px;
  color: #426c93;
}

.hero-art {
  isolation: isolate;
}

.art-glow {
  background: #ccdeef;
  filter: blur(75px);
  opacity: .75;
}

.desk-card {
  transform: rotate(-2deg);
  border: 7px solid #203d5c;
  border-radius: 20px;
  box-shadow: var(--hero-shadow);
}

.desk-top {
  background: #f0f4f9;
}

.floating-card {
  border: 1px solid #e5eaf2;
  border-radius: 15px;
  box-shadow: 0 15px 32px rgba(19,45,73,.11);
}

.floating-card b {
  font-size: 11.5px;
}

.metrics {
  border: 1px solid #e8edf4;
  border-radius: 19px;
  box-shadow: 0 15px 44px rgba(17,43,70,.065);
}

.metric-icon {
  border-radius: 13px;
}

.metric strong {
  font-family: var(--font-heading, sans-serif);
  font-weight: 750;
}

@media (max-width: 1100px) {
  .nav {
    gap: 12px;
  }

  .nav nav {
    gap: 12px;
  }

  .nav nav a {
    font-size: 11px;
  }
}

@media (max-width: 800px) {
  .topbar {
    height: 74px;
  }

  .nav {
    justify-content: space-between;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 52px;
    height: 48px;
  }

  .brandname {
    font-size: 23px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #e1e8f1;
    border-radius: 11px;
    background: #f7f9fc;
    color: var(--hero-ink);
  }

  .menu-toggle .pzh-action-icon {
    width: 22px;
    height: 22px;
  }

  .nav nav {
    top: 73px;
    padding: 20px 24px;
    border-bottom: 1px solid #e5ebf3;
    box-shadow: 0 18px 35px rgba(17,43,70,.09);
  }

  .nav nav a {
    font-size: 13px;
    padding: 5px 0;
  }

  .nav nav a::after {
    bottom: 0;
  }

  .hero {
    padding: 68px 0 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(35px, 6vw, 46px);
  }

  .hero-art {
    height: 390px;
  }
}

@media (max-width: 520px) {
  .nav-cta {
    font-size: 11px;
    padding: 9px 12px;
    gap: 5px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 39px);
    line-height: 1.58;
  }

  .hero .lead {
    font-size: 13.5px;
  }

  .hero .sublead {
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    min-height: 50px;
  }

  .trust-mini {
    gap: 8px;
  }

  .trust-mini span {
    font-size: 10px;
    padding: 6px 9px;
  }

  .hero-art {
    height: 330px;
  }

  .desk-card {
    border-width: 6px;
  }

  .floating-card {
    max-width: 205px;
  }

  .metrics {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav nav a::after {
    transition: none;
  }
}
