/* Shared secondary pages (quotes, contact, services, about, reseller) */

.agency-page {
  background: #fff;
  color: var(--bz-muted, #595d69);
}

.agency-page h1,
.agency-page h2,
.agency-page h3 {
  color: var(--bz-ink, #191a1f);
  font-family: "Rubik", sans-serif;
}

.page-hero {
  padding: clamp(3.25rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 75% 55% at 8% 0%, rgba(33, 99, 232, 0.1), transparent 55%),
    linear-gradient(180deg, #f5f7fb 0%, #fff 100%);
  border-bottom: 1px solid var(--bz-line, #e8eaee);
}

.page-hero .page-brand {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bz-ink, #191a1f);
  line-height: 1.1;
}

.page-hero .page-brand::after {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.3rem;
  border-radius: 50%;
  background: var(--bz-primary, #2163e8);
  vertical-align: middle;
  transform: translateY(-0.12rem);
}

.page-hero h1 {
  max-width: 18ch;
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
}

.page-hero .lead {
  max-width: 38rem;
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
}

.page-facts strong {
  color: var(--bz-ink, #191a1f);
}

.page-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.page-section.soft {
  background: #f7f8fa;
}

.page-section .section-kicker {
  margin-bottom: 0.65rem;
}

.page-section .section-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.page-section .section-lead {
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-block {
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 1rem;
  padding: 1.25rem 1.2rem;
}

.feature-block .icon {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: rgba(33, 99, 232, 0.1);
  color: var(--bz-primary, #2163e8);
  margin-bottom: 0.85rem;
}

.feature-block h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature-block p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.feature-block a {
  color: var(--bz-primary, #2163e8);
  font-weight: 600;
  text-decoration: none;
}

.feature-block a:hover {
  text-decoration: underline;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 1rem;
  padding: 1.2rem;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bz-primary, #2163e8);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.process-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.agency-form-card {
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 1.2rem;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  box-shadow: 0 16px 40px rgba(25, 26, 31, 0.06);
}

.agency-form-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.agency-form-card .form-note {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}

.agency-form-card label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--bz-ink, #191a1f);
}

.agency-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.agency-form-card .form-group {
  margin-bottom: 0.95rem;
}

.agency-form-card input,
.agency-form-card select,
.agency-form-card textarea {
  width: 100%;
  border: 1px solid #d7dde8;
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--bz-ink, #191a1f);
  background: #fff;
}

.agency-form-card input:focus,
.agency-form-card select:focus,
.agency-form-card textarea:focus {
  outline: 0;
  border-color: rgba(33, 99, 232, 0.55);
  box-shadow: 0 0 0 3px rgba(33, 99, 232, 0.12);
}

.agency-form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.agency-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.contact-channels {
  display: grid;
  gap: 0.85rem;
}

.contact-channel {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 0.9rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-channel:hover {
  border-color: rgba(33, 99, 232, 0.4);
  transform: translateY(-2px);
  color: inherit;
}

.contact-channel .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 99, 232, 0.1);
  color: var(--bz-primary, #2163e8);
  flex: 0 0 auto;
}

.contact-channel strong {
  display: block;
  color: var(--bz-ink, #191a1f);
  margin-bottom: 0.15rem;
}

.contact-channel span {
  font-size: 0.9rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tier-card {
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 1.1rem;
  padding: 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  border-color: rgba(33, 99, 232, 0.45);
  box-shadow: 0 16px 36px rgba(33, 99, 232, 0.12);
}

.tier-card .tier-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bz-primary, #2163e8);
  margin-bottom: 0.45rem;
}

.tier-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.tier-card .tier-rate {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--bz-ink, #191a1f);
  margin-bottom: 0.85rem;
}

.tier-card ul {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.tier-card li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.2rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f2f5;
}

.tier-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--bz-primary, #2163e8);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 1rem;
  padding: 1.25rem;
}

.value-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.value-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-block {
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 1rem;
  padding: 1.2rem 1rem;
  text-align: center;
}

.stat-block strong {
  display: block;
  font-size: 1.55rem;
  color: var(--bz-ink, #191a1f);
  margin-bottom: 0.25rem;
}

.stat-block span {
  font-size: 0.86rem;
}

@media (max-width: 991px) {
  .feature-grid,
  .tier-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps,
  .stats-row,
  .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .tier-grid,
  .values-grid,
  .agency-form-card .form-row {
    grid-template-columns: 1fr;
  }
}
