:root {
  --primary: #caa64a;
  --primary-dark: #9f7b24;
  --primary-soft: #fff7df;
  --secondary: #4a4f56;
  --dark-grey: #505051;
  --grey: #bababb;
  --light-grey: #eaeaeb;
  --off-white: #fafafb;
  --white: #ffffff;
  --black: #0a0908;
  --shadow: 0 10px 34px rgba(10, 9, 8, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--secondary);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.form-open {
  overflow: hidden;
}

body,
button {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 251, 0.96);
  border-bottom: 1px solid rgba(234, 234, 235, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 980px;
  min-height: 50px;
  margin: 0 auto;
  padding: 3px 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 170px;
  height: 44px;
}

.hero {
  padding: 54px 18px 28px;
  text-align: center;
}

.inner {
  width: min(100%, 800px);
  margin: 0 auto;
}

.inner-narrow {
  width: min(100%, 500px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--secondary);
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
}

h1,
h2,
h3,
.section-title {
  margin: 0;
  color: var(--secondary);
  font-family: Poppins, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 6vw, 58px);
}

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

.subhead {
  margin: 18px auto 0;
  color: var(--secondary);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 400;
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  min-height: 62px;
  padding: 16px 28px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  box-shadow: 0 7px 0 var(--primary-dark);
  color: var(--white);
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: #d5b45d;
  transform: translateY(-1px);
  box-shadow: 0 8px 0 var(--primary-dark);
}

.button:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 var(--primary-dark);
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(360px, calc(100vw - 36px));
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: visible;
}

.floating-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  visibility: hidden;
}

.floating-cta .button {
  width: 100%;
  min-height: 56px;
  font-size: 16px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 0;
  color: var(--dark-grey);
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
}

.trust-pill {
  padding: 9px 13px;
  border: 1px solid var(--light-grey);
  border-radius: 999px;
  background: var(--white);
}

.band {
  padding: 46px 18px;
}

.band-white {
  background: var(--white);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
}

.section-copy {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--dark-grey);
  text-align: center;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.result-card {
  overflow: hidden;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.result-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.result-caption {
  padding: 13px 16px 15px;
  color: var(--dark-grey);
  font-size: 14px;
  text-align: center;
}

.google-widget {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.12);
}

.google-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid #e8eaed;
}

.google-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.google-g {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 34px;
  background: var(--white);
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.google-g .blue {
  color: #4285f4;
}

.google-g .red {
  color: #ea4335;
}

.google-g .yellow {
  color: #fbbc05;
}

.google-g .green {
  color: #34a853;
}

.google-title {
  color: #202124;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.google-subtitle,
.review-detail {
  color: #5f6368;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.google-score {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: #202124;
  font-family: Arial, sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

.google-score strong {
  font-size: 22px;
  font-weight: 500;
}

.google-stars {
  color: #fbbc04;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
}

.google-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.google-review {
  padding: 20px 22px;
  border-top: 1px solid #f1f3f4;
}

.google-review:nth-child(odd) {
  border-right: 1px solid #f1f3f4;
}

.google-review:nth-child(-n + 2) {
  border-top: 0;
}

.review-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.review-name {
  color: #202124;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.google-review p {
  margin: 10px 0 0;
  color: #3c4043;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.review-pagination {
  display: flex;
  justify-content: center;
  padding: 18px 22px 22px;
  border-top: 1px solid #e8eaed;
}

.view-more-reviews {
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: var(--white);
  color: #1a73e8;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.view-more-reviews:hover {
  background: #f8fafd;
}

.form-wrap {
  width: min(100%, 720px);
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.youform-shell {
  min-height: 700px;
}

.form-stage {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: auto;
  padding: 12px 14px 26px;
  background: var(--off-white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.form-stage.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.form-stage .inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.form-stage .form-wrap {
  flex: 1 0 auto;
  margin-top: 8px;
  box-shadow: none;
}

.form-close {
  align-self: flex-end;
  min-height: 34px;
  margin: 0 0 4px;
  padding: 7px 11px;
  border: 1px solid var(--light-grey);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark-grey);
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.terms {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.terms-item {
  width: min(100%, 500px);
  overflow: hidden;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.terms-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 26px;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
}

.terms-button svg {
  width: 20px;
  height: 20px;
  transition: transform 240ms ease;
}

.terms-button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.terms-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  color: #5a5a5a;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  text-align: left;
  transition: max-height 300ms ease, padding 300ms ease;
}

.terms-content.open {
  padding: 8px 26px 34px;
}

.terms-content p {
  margin: 0 0 18px;
}

.terms-content p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 28px 18px 48px;
  color: var(--dark-grey);
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  text-align: center;
}

.site-footer p {
  margin: 8px 0;
}

.site-footer a {
  color: var(--dark-grey);
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 34px;
    padding: 2px 12px;
  }

  .brand-logo {
    max-width: 112px;
    height: 28px;
  }

  .hero {
    padding-top: 42px;
  }

  .floating-cta {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
  }

  .floating-cta .button {
    min-height: 52px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 15px;
  }

  .result-grid,
  .google-review-list {
    grid-template-columns: 1fr;
  }

  .google-widget-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .google-score {
    justify-items: start;
  }

  .google-review:nth-child(odd) {
    border-right: 0;
  }

  .google-review:nth-child(2) {
    border-top: 1px solid #f1f3f4;
  }

  .band {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .google-review {
    padding: 18px;
  }
}
