/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 680px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: opacity 0.15s, transform 0.1s;
  font-family: inherit;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--small  { padding: 10px 20px; font-size: 0.95rem; }
.btn--large  { padding: 16px 36px; font-size: 1.1rem; }
.btn--full   { width: 100%; display: block; }

.btn--green { background: #3d7a35; color: #fff; }
.btn--white { background: #fff; color: #3d7a35; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #3d7a35;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav__logo-img {
  height: 44px;
  width: 44px;
  border-radius: 6px;
  object-fit: cover;
}

/* ===== HERO ===== */
.hero {
  background: #3d7a35;
  color: #fff;
  padding: 60px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  min-height: 480px;
}

.hero__content {
  text-align: center;
  max-width: 480px;
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 36px;
}

.hero__mascot-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
}

/* ===== SECTION SHARED ===== */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  color: #2a5a22;
}

.section-title--white { color: #fff; }

/* ===== HOW IT WORKS ===== */
.how {
  padding: 80px 20px;
  background: #f9f9f7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #3d7a35;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2a5a22;
}

.step__desc {
  color: #555;
  font-size: 0.95rem;
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 20px;
  background: #fff;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.card {
  border: 2px solid #e0e0e0;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(61,122,53,0.15);
  transform: translateY(-2px);
}

.card--featured {
  border-color: #3d7a35;
  background: #f4faf3;
}

.card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #3d7a35;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #2a5a22;
  margin-bottom: 10px;
}

.card__price {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}

.card__price strong {
  font-size: 1.6rem;
  color: #3d7a35;
  display: block;
  line-height: 1.1;
  margin-bottom: 2px;
}

.card__desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.services__cta { text-align: center; }

/* ===== QUOTE SECTION ===== */
.quote-section {
  background: #3d7a35;
  padding: 80px 20px;
}

.quote-section__sub {
  text-align: center;
  color: rgba(255,255,255,0.85);
  margin-top: -28px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.quote-form {
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

/* ===== FORM STEPS ===== */
.form-step { margin-bottom: 36px; }
.form-step--hidden { display: none; }

.form-step__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2a5a22;
  margin-bottom: 14px;
}

.form-step__hint {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 14px;
  margin-top: -8px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  border: 2px solid #d8d8d8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  min-width: 110px;
  font-family: inherit;
}

.btn-option:hover {
  border-color: #3d7a35;
  background: #f4faf3;
}

.btn-option.selected {
  border-color: #3d7a35;
  background: #3d7a35;
  color: #fff;
}

.btn-option__sub {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.75;
  margin-top: 3px;
}

.btn-option.selected .btn-option__sub { opacity: 0.85; }

.btn-group--small .btn-option {
  min-width: 64px;
  font-size: 1rem;
}

/* ===== QUOTE RESULT ===== */
.quote-result {
  background: #f4faf3;
  border: 2px solid #3d7a35;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 36px;
}

.quote-result--hidden { display: none; }

.quote-result__label {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 8px;
}

.quote-result__price {
  font-size: 3rem;
  font-weight: 800;
  color: #3d7a35;
  line-height: 1;
  margin-bottom: 10px;
}

.quote-result__note {
  font-size: 0.88rem;
  color: #777;
}

/* ===== SIGNUP FORM ===== */
.signup-form--hidden { display: none; }

.field { margin-bottom: 20px; }

.field__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 7px;
}

.field__optional {
  font-weight: 400;
  color: #aaa;
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #d8d8d8;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s;
  color: #1a1a1a;
}

.field__input:focus {
  outline: none;
  border-color: #3d7a35;
}

.field__input--textarea {
  resize: vertical;
  min-height: 90px;
}

.signup-form .btn--full {
  margin-top: 8px;
}

.signup-form__fine {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 14px;
}

/* ===== SUCCESS MESSAGE ===== */
.success-msg {
  text-align: center;
  padding: 48px 20px;
}

.success-msg--hidden { display: none; }

.success-msg__icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.success-msg h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2a5a22;
  margin-bottom: 10px;
}

.success-msg p {
  color: #666;
  font-size: 1rem;
}

/* ===== SERVICE AREA ===== */
.area {
  padding: 72px 20px;
  background: #f9f9f7;
  text-align: center;
}

.area__text {
  color: #666;
  font-size: 1.05rem;
  margin-top: -20px;
  line-height: 2;
}

/* ===== FOOTER ===== */
.footer {
  background: #2a5a22;
  color: #fff;
  padding: 56px 20px 32px;
  text-align: center;
}

.footer__logo {
  height: 64px;
  width: 64px;
  border-radius: 10px;
  object-fit: cover;
  margin: 0 auto 28px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

.footer__link {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  transition: color 0.15s;
}

.footer__link:hover { color: #fff; }

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .quote-form { padding: 28px 20px; }
  .hero { padding: 48px 20px; gap: 32px; }
  .hero__mascot-img { width: 180px; height: 180px; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .btn-option { min-width: 80px; font-size: 0.88rem; padding: 10px 12px; }
  .quote-result__price { font-size: 2.4rem; }
}

@media (max-width: 400px) {
  .service-cards { grid-template-columns: 1fr; }
}
