/* ============================================
   MENDESCO JUNK HAULING — styles.css
   ============================================ */

/* --- CSS Variables --- */
:root {
  --green:       #047857;
  --green-mid:   #059669;
  --green-light: #D1FAE5;
  --green-dark:  #065F46;
  --amber:       #D97706;
  --amber-light: #FEF3C7;
  --dark:        #1C1917;
  --text:        #374151;
  --text-muted:  #6B7280;
  --bg:          #FFFFFF;
  --bg-soft:     #F9FAFB;
  --border:      #E5E7EB;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow:      0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:   0 10px 30px rgba(0,0,0,0.12);
  --radius:      10px;
  --radius-lg:   16px;
  --header-h:    70px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, button, select { font-family: inherit; }

/* --- Container --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(4,120,87,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  font-size: 13px;
  padding: 7px 16px;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* --- Section headers --- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Animations --- */
[data-animate], [data-animate-delay] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate-delay] { transition-delay: 0.15s; }
[data-animate].visible, [data-animate-delay].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { height: 42px; width: auto; }
.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}
.logo-text span { color: var(--green); display: block; font-size: 12px; font-weight: 600; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover {
  color: var(--green);
  background: var(--green-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-light);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 60px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88) 45%, rgba(209,250,229,0.80) 100%),
    url('fondo de web.png') center / 55% auto no-repeat;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 420px;
  max-width: 680px;
}

/* ECO illustration replacing hero image */
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(4,120,87,0.12));
}
.trust-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-light);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}
.text-green { color: var(--green); }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}
/* (hero-image removed — replaced by hero-illustration SVG) */

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--amber-light);
  border-top: 1px solid rgba(217,119,6,0.15);
  border-bottom: 1px solid rgba(217,119,6,0.15);
  padding: 24px 0;
}
.trust-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  font-size: 28px;
  line-height: 1;
}
.trust-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.trust-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   ESTIMATOR
   ============================================ */
.estimator-section {
  padding: 80px 0;
  background: var(--bg-soft);
}
.zip-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.zip-row label {
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
  white-space: nowrap;
}
.zip-input-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}
.zip-input-wrap input {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 16px;
  width: 130px;
  outline: none;
  transition: border-color 0.2s;
  font-weight: 600;
  letter-spacing: 2px;
}
.zip-input-wrap input:focus { border-color: var(--green); }

.zip-status {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: none;
}
.zip-status.ok { background: var(--green-light); color: var(--green-dark); display: block; }
.zip-status.warn { background: var(--amber-light); color: #92400E; display: block; }
.zip-status.err { background: #FEE2E2; color: #B91C1C; display: block; }

.estimator-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

/* --- Accordion (Item selector) --- */
.item-selector {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.item-selector h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.acc-group { border-bottom: 1px solid var(--border); }
.acc-group:last-child { border-bottom: none; }

.acc-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.acc-header:hover { color: var(--green); }
.acc-arrow { font-size: 11px; color: var(--text-muted); transition: transform 0.25s; }
.acc-header.open .acc-arrow { transform: rotate(180deg); }

.acc-body {
  display: none;
  padding: 4px 0 12px 0;
}
.acc-body.open { display: block; }

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.item-row:hover { background: var(--bg-soft); }
.item-name { font-size: 13.5px; color: var(--text); }
.item-price-col { display: flex; align-items: center; gap: 12px; }
.item-base-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  min-width: 50px;
  text-align: right;
}
.item-add-btn {
  background: var(--green);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.item-add-btn:hover { background: var(--green-mid); transform: scale(1.1); }

/* Custom item */
.custom-item-box {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px dashed var(--border);
}
.custom-item-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.custom-item-row {
  display: flex;
  gap: 10px;
}
.custom-item-row input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.custom-item-row input:focus { border-color: var(--green); }
.custom-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- Cart panel --- */
.cart-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.cart-panel h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cart-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
}
.cart-empty span { font-size: 40px; display: block; margin-bottom: 10px; }
.cart-empty p { font-size: 14px; }

.cart-list { margin-bottom: 16px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--bg-soft);
  gap: 8px;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-left { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-type {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.cart-item-right { display: flex; align-items: center; gap: 10px; }
.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}
.cart-item-price.tbd { color: var(--amber); }
.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cart-remove-btn:hover { background: #FEE2E2; color: #DC2626; }

.cart-summary { margin-bottom: 16px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text);
  padding: 5px 0;
}
.summary-divider {
  border-top: 2px solid var(--border);
  margin: 10px 0;
}
.summary-total {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
}


.cart-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.cart-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
  padding: 80px 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green-light);
}
.service-icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  padding: 80px 0;
  background: var(--bg-soft);
}
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(4,120,87,0.3);
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.step p { font-size: 14px; color: var(--text-muted); }
.step-line {
  flex: 0 0 60px;
  height: 2px;
  background: var(--green-light);
  margin-top: 32px;
  border: none;
}

/* ============================================
   WHY MENDESCO
   ============================================ */
.why-section {
  padding: 80px 0;
  background: var(--bg);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.why-item:hover { border-color: var(--green-light); background: var(--bg-soft); }
.why-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-item strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 4px;
}
.why-item p { font-size: 13.5px; color: var(--text-muted); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg-soft);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stars { font-size: 18px; margin-bottom: 14px; }
.review-card p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 14px; color: var(--dark); }
.reviewer span { font-size: 12px; color: var(--text-muted); }

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
  padding: 80px 0;
  background: var(--dark);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.contact-info > p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.contact-details a {
  color: var(--green-light);
  text-decoration: underline;
}

/* Form */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  background: var(--bg-soft);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 90px; }

.form-submit-area { margin-top: 8px; }
#submit-btn { position: relative; }

.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form-feedback.success {
  background: var(--green-light);
  color: var(--green-dark);
  display: block;
}
.form-feedback.error {
  background: #FEE2E2;
  color: #B91C1C;
  display: block;
}
.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.cta-inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #111;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--green-light);
}
.footer-col > p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-legal { font-size: 12px !important; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--green-light); }

.footer-contact li {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.footer-contact a { color: var(--green-light) !important; }
.footer-ctas {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================
   LANGUAGE TOGGLE
   ============================================ */
.lang-toggle {
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

/* ============================================
   CATEGORY NOTES (Yard Waste / Cleanouts)
   ============================================ */
.cat-note {
  background: var(--amber-light);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #92400E;
  margin: 6px 0 10px;
  line-height: 1.5;
}
.item-tbd-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-light);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ============================================
   CALENDAR MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,25,23,0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; animation: mFadeIn 0.2s ease; }
@keyframes mFadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  position: relative;
  animation: mSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes mSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--bg-soft);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: #FEE2E2; color: #DC2626; }

.modal-icon { font-size: 40px; text-align: center; margin-bottom: 12px; }
.modal-box h3 {
  font-size: 22px; font-weight: 800; color: var(--dark);
  text-align: center; margin-bottom: 8px;
}
.modal-sub { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 24px; }

.modal-box input[type="date"] {
  border: 2px solid var(--border);
  border-radius: 8px; padding: 11px 14px;
  font-size: 15px; color: var(--dark);
  outline: none; transition: border-color 0.2s;
  background: var(--bg-soft); width: 100%;
}
.modal-box input[type="date"]:focus { border-color: var(--green); background: #fff; }

.time-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.time-slot {
  padding: 12px 10px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 13px; font-weight: 600; color: var(--text);
  cursor: pointer; transition: all 0.18s;
  text-align: center; line-height: 1.4;
}
.time-slot:hover { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }
.time-slot.selected { border-color: var(--green); background: var(--green); color: #fff; }
.modal-note { font-size: 11.5px; color: var(--text-muted); text-align: center; margin-top: 12px; }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .estimator-layout {
    grid-template-columns: 1fr;
  }
  .cart-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }

  .main-nav, .header-actions .lang-badge {
    display: none;
  }
  .header-actions .lang-badge { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
    gap: 4px;
    z-index: 999;
  }
  .main-nav.open a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 10px;
    width: 100%;
  }
  .header-actions { gap: 8px; }
  .header-actions .btn { display: none; }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
  .hero-illustration { display: none; }
  .hero-content h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .trust-grid { flex-direction: column; gap: 20px; }

  .zip-row { flex-direction: column; align-items: flex-start; }

  .steps-row { flex-direction: column; align-items: center; }
  .step-line { width: 2px; height: 40px; flex: none; margin: 0; }

  .why-grid { grid-template-columns: 1fr; }

  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; }

}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CHATBOT
   ============================================ */
#chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
#chat-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(4,120,87,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  flex-shrink: 0;
}
#chat-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(4,120,87,0.5); }
#chat-unread {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 18px;
  height: 18px;
  background: #EF4444;
  border-radius: 50%;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
#chat-window {
  width: 330px;
  max-height: 490px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}
#chat-header {
  background: var(--green);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}
.chat-avatar {
  font-size: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.chat-header-info strong { font-size: 13.5px; font-weight: 700; }
.chat-status { font-size: 11px; opacity: 0.85; }
#chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  opacity: 0.8;
  line-height: 1;
  padding: 2px 4px;
}
#chat-close:hover { opacity: 1; }
#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
}
.chat-msg {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  word-break: break-word;
}
.chat-msg-bot {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.chat-msg-user {
  background: var(--green);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
#chat-quick-replies {
  padding: 4px 10px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}
.chat-qr {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid var(--green);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.chat-qr:hover { background: var(--green); color: #fff; }
#chat-input-row {
  padding: 10px 10px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 7px;
  align-items: center;
  flex-shrink: 0;
}
#chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s;
}
#chat-input:focus { border-color: var(--green); }
#chat-send {
  width: 34px;
  height: 34px;
  background: var(--green);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
#chat-send:hover { background: var(--green-dark); }
@media (max-width: 600px) {
  #chat-widget { right: 16px; bottom: 16px; }
  #chat-bubble { width: 52px; height: 52px; font-size: 22px; }
  #chat-window { width: calc(100vw - 32px); }
}

/* ============================================
   ITEM GRID ESTIMATOR
   ============================================ */

/* Search bar */
.item-search-wrap {
  position: relative;
  margin-bottom: 14px;
}
.item-search-wrap .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}
#item-search {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#item-search:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}

/* Category tabs */
.cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-tab.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.cat-tab:hover:not(.active) {
  border-color: var(--green);
  color: var(--green);
}

/* Category list container */
.cat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 2px;
  margin-bottom: 16px;
}

/* Category section */
.cat-section {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.cat-section.open { border-color: var(--green); }

/* Category header row */
.cat-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  background: #fff;
  user-select: none;
  transition: background 0.15s;
}
.cat-section-header:hover { background: #F9FAFB; }
.cat-section.open .cat-section-header { background: #F0FDF4; }
.cat-section-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.cat-section-name {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.cat-section-arrow {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.cat-section.open .cat-section-arrow { transform: rotate(180deg); }

/* Item list (hidden by default) */
.cat-section-items {
  display: none;
  border-top: 1px solid var(--border);
}
.cat-section.open .cat-section-items { display: block; }

/* Individual item row */
.item-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.15s;
}
.item-list-row:last-child { border-bottom: none; }
.item-list-row:hover { background: #F9FAFB; }
.item-list-name {
  flex: 1;
  font-size: 13px;
  color: var(--text);
}
.item-list-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}
.item-list-price.tbd { color: var(--text-muted); font-size: 12px; }
.item-list-btn {
  width: 28px;
  height: 28px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  line-height: 1;
}
.item-list-btn:hover { background: var(--green-mid); }

/* No results */
.no-results {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Language toggle button */
.lang-toggle-btn {
  padding: 6px 14px;
  border: 1.5px solid var(--green);
  border-radius: 20px;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.lang-toggle-btn:hover {
  background: var(--green);
  color: white;
}

/* Cart email field */
.cart-email-wrap { margin-bottom: 12px; }
.cart-email-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.cart-email-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cart-email-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}
