:root {
  --green: #0c6f45;
  --green-dark: #0a5b38;
  --orange: #e8882e;
  --text: #2c3a3f;
  --muted: #6c7a83;
  --bg: #f5f7f8;
  --card: #ffffff;
  --border: #dbe4e8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-size: 19px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

/* Top Strip */
.top-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.top-strip img {
  height: 20px;
}

.trustpilot-badge img {
  height: 30px;
}

.trustpilot-badge img:last-child {
  height: 22px;
}

.trustpilot-badge,
.press-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.as-seen {
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Brand bar with centered logo on white, between top strip and hero */
.brand-bar {
  background: #ffffff;
  border-bottom: 1px solid #e5ece8;
  padding: 18px 0;
}

.brand-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo {
  height: 68px;
}

/* More specific logo sizing so it overrides generic img rules */
.top-strip .times-logo {
  height: 16px; /* ~20% smaller than default 20px */
}

.logos-inner .times-logo {
  height: 26px;
}

.logos-inner .best-logo {
  height: 46px;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 80, 50, 0.78) 0%,
    rgba(0, 70, 45, 0.75) 50%,
    rgba(0, 60, 40, 0.8) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 48px 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.hero-copy {
  margin-bottom: 10px;
}

.hero-copy h1 {
  margin: 0 0 8px;
  font-size: 2.1rem;
  font-weight: 700;
}

.hero-sub {
  margin: 0;
  font-size: 1.25rem;
  opacity: 0.95;
}

/* Quote Card */
.quote-card {
  background: var(--card);
  color: var(--text);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  width: min(500px, 100%);
  text-align: left;
  overflow: hidden;
  margin: 0 auto;
}

.card-head {
  text-align: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  background: var(--green);
  padding: 14px 20px;
  letter-spacing: 0.02em;
}

.quote-form {
  padding: 20px 50px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-progress {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px 8px;
  background: #fff;
}

.quote-progress.hidden {
  display: none !important;
}

.quote-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.quote-step-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
}

.quote-step-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.quote-progress-track {
  height: 8px;
  background: #eef3ef;
  border-radius: 999px;
  overflow: hidden;
}

.quote-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(12, 111, 69, 0.35) 0%, rgba(232, 136, 46, 0.4) 100%);
  width: 25%;
  border-radius: 999px;
}

.quote-step {
  display: none;
}

.quote-step.is-active {
  display: block;
}

.quote-step .field {
  margin-bottom: 14px;
}

.quote-step .field:last-of-type {
  margin-bottom: 0;
}

/* Step 2 needs a touch more vertical breathing room */
.quote-step[data-step="2"] .field {
  margin-bottom: 18px;
}

.quote-nav {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  align-items: center;
}

.quote-nav .btn-outline {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.quote-nav .btn-primary {
  flex: 1;
  width: 100%;
}

.btn-outline {
  background: #fff;
  color: var(--green);
  border: 2px solid rgba(12, 111, 69, 0.35);
  box-shadow: none;
  text-transform: none;
}

.btn-outline:hover {
  background: rgba(12, 111, 69, 0.08);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  user-select: none;
}

.radio-pill input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.radio-pill span {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f2a30;
}

.radio-pill:has(input[type="radio"]:checked) {
  border-color: rgba(12, 111, 69, 0.55);
  box-shadow: 0 6px 18px rgba(12, 111, 69, 0.10);
}

.step-error {
  min-height: 1.2em;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #b42318;
  font-weight: 600;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: #1f2a30;
  font-size: 0.95rem;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  pointer-events: none;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: #1f2a30;
  background: #fff;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  outline: 2px solid rgba(12, 111, 69, 0.25);
  border-color: var(--green);
}

select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: #1f2a30;
  appearance: none;
  background: #fff;
}

select:focus {
  outline: 2px solid rgba(12, 111, 69, 0.25);
  border-color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 136, 46, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: #d4751f;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Subtle periodic wobble for Get My Quote buttons */
@keyframes quote-wobble {
  0%,
  80%,
  100% {
    transform: translateY(0) scale(1);
  }
  84% {
    transform: translateY(-1px) rotate(-1deg) scale(1.02);
  }
  88% {
    transform: translateY(1px) rotate(1deg) scale(1.02);
  }
  92% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

.btn-quote {
  animation: quote-wobble 5s ease-in-out infinite;
}

.btn-quote:hover,
.btn-quote:active {
  animation: none; /* let hover/active transform take over */
}

.quote-form .btn-primary {
  width: 100%;
  margin-top: 4px;
}

/* Secure Note */
.secure-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #f8faf8;
  border-radius: 6px;
  border: 1px solid #e4ebe5;
  margin-top: 4px;
}

.secure-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8f0ea;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.secure-icon img,
.secure-icon svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.secure-title {
  font-weight: 700;
  color: var(--green);
  font-size: 0.75rem;
  line-height: 1.3;
}

.secure-sub {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* Hero Points */
.hero-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 30px;
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.4;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  position: relative;
  flex-shrink: 0;
  margin-top: 1px;
}

.check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.money-mentor-img {
  height: 26px;
  margin-top: 4px;
  display: inline-block;
}

/* Main */
main {
  background: var(--bg);
}

/* Steps Section */
.steps {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #edf2ed 100%);
}

.section-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 24px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: #fff;
  border-radius: 8px;
  padding: 20px 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 12px;
}

.step-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

/* Reviews Section */
.reviews {
  background: #fff;
  padding: 40px 0;
}

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.trustpilot-mark img {
  height: 40px;
}

.rating-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rating-label {
  font-weight: 700;
  font-size: 1.15rem;
}

.rating-stars {
  height: 22px;
}

.review-count {
  font-size: 1.1rem;
  color: var(--muted);
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.review-card {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid var(--border);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d4e5d9;
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-info {
  flex: 1;
  min-width: 0;
}

.reviewer-info .name {
  font-weight: 700;
  font-size: 0.85rem;
  white-space: normal;
}

.location {
  font-size: 0.75rem;
  color: var(--muted);
}

.verified-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-stars {
  height: 16px;
}

.verified-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  background: #eef4ef;
  color: var(--green);
  border-radius: 3px;
  font-weight: 600;
}

.review-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 4px;
  white-space: normal;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.4;
}

.date {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Logos Section */
.logos {
  background: #fff;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.logos-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.logos-inner img {
  height: 32px;
  opacity: 0.7;
}

/* About Section */
.about {
  background: linear-gradient(180deg, #e8f3eb 0%, #ddeee2 100%);
  padding: 50px 0;
}

.about-inner {
  text-align: center;
}

.logo-center {
  margin-bottom: 20px;
}

.logo-center img {
  height: 50px;
  margin: 0 auto;
}

.about-text {
  max-width: 700px;
  margin: 0 auto;
}

.about-text p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* CTA Block */
.cta-block {
  background: #e8f3eb;
  text-align: center;
  padding: 36px 20px;
}

.cta-copy {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cta-btn {
  min-width: 200px;
}

.cta-block.alt {
  background: #fef6ed;
}

/* Why Section */
.why {
  padding: 50px 0;
  background: #fff;
}

.why .section-title {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.why-content {
  max-width: 700px;
  margin: 0 auto;
}

.why-content p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 20px 24px; /* indent bullets from main text */
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.why-list .arrow {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--green);
  color: #d4e8db;
  text-align: center;
  position: relative;
}

.footer-wave {
  height: 30px;
  background: #fef6ed;
  position: relative;
}

.footer-wave::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--green);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.footer-content {
  padding: 30px 20px 24px;
  max-width: 700px;
  margin: 0 auto;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  height: 86px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links a {
  color: #d4e8db;
  font-size: 0.9rem;
  text-decoration: underline;
}

.footer-links a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .step-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
  }

  .step-number {
    margin-bottom: 0;
    font-size: 2rem;
    min-width: 50px;
  }

  .review-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 300px;
  }

  .reviews-head {
    flex-direction: column;
    gap: 10px;
  }

  .rating-info {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 17px;
  }

  .hero-copy h1 {
    font-size: 1.7rem;
  }

  .hero-inner {
    padding: 24px 16px 40px;
  }

  .quote-card {
    width: 100%;
  }

  .quote-form {
    padding: 18px 18px 22px;
  }

  .top-strip-inner {
    flex-direction: column;
    gap: 8px;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .section-title br {
    display: none;
  }
}
