/* RESET-ish */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
body.site-body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto, sans-serif;
  color: #0f1a14;
  background-color: #f8faf8;
  line-height: 1.4;
  margin: 0;
}

/* ===== HEADER (match live vibe) ===== */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
  font-size: 0.95rem;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-and-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f1a14;
  text-decoration: none;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 3px;
  background: #0f1a14;
  border-radius: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}
.main-nav a {
  color: #0f1a14;
  text-decoration: none;
  font-weight: 500;
}
.main-nav .call-cta {
  background-color: #145a32; /* deep green */
  color: #fff !important;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
}

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  max-width: 80%;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 20px rgba(0,0,0,0.2);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 2000;
  padding-top: 4.5rem;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 0 1rem 2rem;
  gap: 1rem;
}
.mobile-drawer-nav a {
  text-decoration: none;
  color: #0f1a14;
  font-weight: 500;
  font-size: 1rem;
}
.mobile-drawer-nav .call-cta {
  display: inline-block;
  background-color: #145a32;
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}

/* ===== PAGE WRAPPER ===== */
.estimate-page {
  position: relative;
  max-width: 1280px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

/* side vine progress (desktop only) */
.side-progress {
  position: fixed;
  top: 120px;
  bottom: 80px;
  width: 12px;
  background: rgba(20,90,50,0.08);
  border-radius: 999px;
  overflow: hidden;
  display: none; /* hidden on mobile, shown on desktop */
  z-index: 10;
}
.left-vine {
  left: 12px;
}
.right-vine {
  right: 12px;
}
.vine-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(#21a45f,#145a32);
  height: 0%;
  border-radius: inherit;
  box-shadow: 0 0 15px rgba(33,164,95,0.6);
  transition: height 0.3s ease;
}

/* mobile top progress */
.top-progress-mobile {
  position: sticky;
  top: 56px; /* below header */
  height: 4px;
  width: 100%;
  background: rgba(20,90,50,0.08);
  border-radius: 2px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.top-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg,#21a45f,#145a32);
  box-shadow: 0 0 10px rgba(33,164,95,0.6);
  transition: width 0.3s ease;
}

/* LAYOUT GRID */
.estimate-layout {
  display: grid;
  grid-template-columns: minmax(260px,1fr) minmax(260px,1fr) minmax(260px,320px);
  gap: 1.5rem;
}

/* cards */
.card-block {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid rgba(0,0,0,0.05);
}
.block-title {
  font-size: 1rem;
  line-height: 1.2;
  color: #0f1a14;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .25rem;
}
.step-num {
  background: #145a32;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 6px;
  padding: .2rem .5rem;
}
.block-sub {
  color: #3a4a3f;
  font-size: .9rem;
  line-height: 1.4;
  margin: 0 0 1rem;
}

/* form fields */
.info-form .field-row,
.field-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.field-row label {
  font-size: .85rem;
  font-weight: 600;
  color: #0f1a14;
  margin-bottom: .4rem;
}
.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  font-size: .9rem;
  padding: .7rem .75rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  color: #0f1a14;
  outline: none;
}
.field-row input:focus,
.field-row select:focus,
.field-row textarea:focus {
  border-color: #21a45f;
  box-shadow: 0 0 0 3px rgba(33,164,95,0.2);
}
.hint {
  font-size: .75rem;
  line-height: 1.3;
  color: #597267;
  margin-top: .4rem;
}
.field-row--half {
  display: flex;
  gap: 1rem;
}
.field-row--half .half {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* addons */
.addons-wrapper {
  background: #f1f8f4; /* pale leafy green */
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 1rem;
}
.addons-label {
  font-size: .85rem;
  font-weight: 600;
  color: #0f1a14;
  margin: 0 0 .75rem;
}
.addon-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 10px;
  padding: .75rem .8rem;
  margin-bottom: .75rem;
  cursor: pointer;
  position: relative;
}
.addon-item:last-child {
  margin-bottom: 0;
}
.addon-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.addon-item input {
  margin-right: .75rem;
  margin-top: .3rem;
}
.addon-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: .85rem;
  color: #0f1a14;
}
.addon-main strong {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .25rem;
  color: #0f1a14;
}
.addon-main small {
  font-size: .8rem;
  color: #3a4a3f;
  line-height: 1.3;
}
.addon-price {
  font-size: .8rem;
  font-weight: 600;
  color: #145a32;
  margin-left: .75rem;
  white-space: nowrap;
}

/* summary card */
.summary-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 1.25rem;
  height: fit-content;
  align-self: start;
}
.summary-inner {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
}
.promo-tag {
  background: #145a32;
  color: #fff;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  width: fit-content;
  padding: .3rem .6rem;
  box-shadow: 0 10px 25px rgba(20,90,50,0.4);
  margin-bottom: .5rem;
}
.summary-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 600;
  color: #0f1a14;
}
.summary-note {
  margin: .4rem 0 1rem;
  font-size: .8rem;
  color: #3a4a3f;
  line-height: 1.4;
}

/* prices */
.price-block {
  background: #f8faf8;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 10px;
  padding: .9rem 1rem;
  margin-bottom: 1rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: .9rem;
  color: #0f1a14;
  margin-bottom: .4rem;
}
.price-label {
  font-weight: 500;
  color: #3a4a3f;
  font-size: .8rem;
}
.price-before {
  color: #8a8a8a;
  text-decoration: line-through;
  font-weight: 500;
}
.total-row .price-now {
  color: #145a32;
  font-size: 1.2rem;
  font-weight: 700;
}
.tax-hint {
  font-size: .7rem;
  color: #597267;
  margin-top: .5rem;
}

/* breakdown list */
.summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: .8rem;
  color: #0f1a14;
  line-height: 1.4;
}
.summary-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: .4rem;
}
.summary-list li span:first-child {
  font-weight: 500;
  color: #0f1a14;
}
.summary-list li span:last-child {
  color: #3a4a3f;
  font-weight: 400;
  margin-left: .5rem;
  text-align: right;
}

/* CTA button */
.book-btn {
  background: #145a32;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: .85rem 1rem;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(20,90,50,0.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.book-btn:active {
  transform: scale(.97);
  box-shadow: 0 10px 20px rgba(20,90,50,0.4);
}
.secure-line {
  font-size: .7rem;
  color: #597267;
  line-height: 1.4;
  text-align: center;
  margin-top: .75rem;
}

/* pulse animation when price changes */
.summary-card.pulse {
  animation: pulseBox .4s ease;
}
@keyframes pulseBox {
  0% { box-shadow: 0 0 0 rgba(33,164,95,0.7); }
  50% { box-shadow: 0 0 25px rgba(33,164,95,0.7); }
  100% { box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
}

/* Confetti falling icons */
.confetti-layer {
  position: fixed;
  pointer-events: none;
  inset: 0;
  overflow: visible;
  z-index: 3000;
  font-size: 24px;
  line-height: 1;
  color: #145a32;
}
.confetti-piece {
  position: absolute;
  animation: fall 1s linear forwards;
  opacity: 0;
}
@keyframes fall {
  0%   { transform: translateY(-20px) scale(1); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(60px) scale(.8); opacity: 0; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0f1a14;
  color: #fff;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1.5rem;
}
.footer-heading {
  font-size: .9rem;
  font-weight: 600;
  margin: 0 0 .75rem;
  color: #fff;
}
.footer-line {
  margin: 0 0 .4rem;
  font-size: .8rem;
  color: #cfe8da;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: .4rem;
}
.footer-link {
  color: #cfe8da;
  font-size: .8rem;
  text-decoration: none;
}
.footer-link:hover {
  color: #fff;
}
.footer-map iframe {
  width: 100%;
  min-height: 120px;
  border: 0;
  border-radius: 8px;
}
.footer-call-btn {
  display: inline-block;
  background-color: #145a32;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  padding: .6rem .8rem;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(20,90,50,0.6);
}
.footer-bottom {
  background: #0a0f0c;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: #cfe8da;
  font-size: .7rem;
}
.footer-bottom-inner {
  max-width: 1200px;
  padding: .75rem 1rem 1rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-copy {
  color: #cfe8da;
}
.footer-bottom-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}
.footer-bottom-nav .footer-link {
  font-size: .7rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .side-progress { display: none; }
  .top-progress-mobile { display: block; }

  .estimate-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    order: 3;
  }
}
@media (min-width: 1025px) {
  .top-progress-mobile { display: none; }
  .side-progress { display: block; }
  .burger { display: none; }
  .mobile-drawer { display: none; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .field-row--half {
    flex-direction: column;
    gap: 0;
  }
  .summary-card {
    position: relative;
    top: 0;
  }
}
