/* =============================================
   Royse City Junk Removal — Ad Landing Page (quote.html)
   Standalone design system for conversion-optimized squeeze page
   ============================================= */

:root {
  --primary: #6CBE45;
  --primary-dark: #4d8e2c;
  --dark: #000000;
  --text: #1a1a1a;
  --text-light: #666666;
  --white: #ffffff;
  --off-white: #f8f8f8;
  --border: #e0e0e0;
  --shadow: 0 12px 30px rgba(0,0,0,0.08);
  --shadow-strong: 0 20px 50px rgba(0,0,0,0.2);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: linear-gradient(180deg, #f7f8f7 0%, #ffffff 200px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  background: linear-gradient(135deg, #000000 0%, #111111 100%);
  color: var(--white);
  padding: 28px 20px 56px;
  text-align: center;
}

.logo {
  max-width: 220px;
  margin: 0 auto 20px;
  filter: none;
  display: block;
}

.logo-link {
  display: inline-block;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 12px;
  text-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

.hero .subheadline {
  font-size: clamp(16px, 2.2vw, 20px);
  margin-bottom: 28px;
  opacity: 0.95;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.phone-cta {
  background: var(--white);
  color: var(--dark);
  padding: 16px 34px;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 900;
  text-decoration: none;
  display: inline-block;
  border-radius: 50px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  margin-bottom: 14px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 2px solid rgba(255,255,255,0.4);
}

.phone-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.3);
  background: #f4ffe9;
}

.or-text {
  font-size: 12px;
  margin: 16px 0;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.form-section {
  background: var(--white);
  padding: 64px 20px;
}

.form-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #e9ece8;
}

.form-container h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 8px;
  color: var(--text);
  text-align: center;
  line-height: 1.1;
}

.form-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 26px;
  font-size: 15px;
}

#quoteForm {
  display: grid;
  gap: 14px;
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 15px;
  font-size: 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  background: #fcfdfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108,190,69,0.16);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background: var(--primary);
  color: var(--dark);
  border: none;
  padding: 17px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 12px 24px rgba(108,190,69,0.28);
}

.submit-btn:hover {
  background: var(--primary-dark);
  color: var(--dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(77,142,44,0.34);
}

.submit-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.privacy-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
}

.consent-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
  line-height: 1.5;
}

.consent-note input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.consent-note a {
  color: var(--primary-dark);
  text-decoration: underline;
  font-weight: 600;
}

.trust-section {
  background: var(--off-white);
  padding: 56px 20px;
  text-align: center;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.badge {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e8ebe7;
  border-radius: 12px;
  padding: 16px 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.badge-icon {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin-bottom: 9px;
  color: #2f5f1b;
  background: #edf8e6;
  padding: 4px 8px;
  border-radius: 999px;
}

.badge h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text);
}

.badge p {
  font-size: 13px;
  color: var(--text-light);
}

.how-it-works {
  background: var(--white);
  padding: 50px 20px;
}

.how-it-works h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--text);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

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

.step-number {
  background: var(--primary);
  color: var(--dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.step p {
  font-size: 14px;
  color: var(--text-light);
}

.hero-image {
  margin: 30px 0 0;
  width: min(100%, 980px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-strong);
}

.before-after {
  background: var(--white);
  padding: 66px 20px;
}

.before-after h2 {
  text-align: center;
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 34px;
  color: var(--text);
  line-height: 1.1;
}

.before-after-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.before-after-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #ecefec;
}

.before-after-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.before-after-item img {
  width: 100%;
  height: auto;
  display: block;
}

.testimonials {
  background: var(--off-white);
  padding: 50px 20px;
}

.testimonials h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--text);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  background: var(--white);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stars {
  color: #ffa500;
  font-size: 18px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text);
  font-style: italic;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.service-areas {
  background: var(--white);
  padding: 40px 20px;
  text-align: center;
}

.service-areas h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.city {
  background: var(--off-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text);
}

.final-cta {
  background: linear-gradient(135deg, #6CBE45 0%, #5aa837 100%);
  color: var(--white);
  padding: 62px 20px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
  line-height: 1.06;
}

.final-cta p {
  font-size: 18px;
  margin-bottom: 24px;
  opacity: 0.95;
}

.squeeze-footer {
  background: var(--dark);
  color: var(--white);
  padding: 34px 20px;
  text-align: center;
  font-size: 14px;
}

.squeeze-footer a {
  color: var(--primary);
  text-decoration: none;
}

.squeeze-footer-address {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.7;
}

/* Success confirmation after form submission */
.quote-success {
  text-align: center;
  padding: 40px 20px;
}

.quote-success-badge {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.quote-success h2 {
  color: var(--primary);
  margin-bottom: 16px;
}

.quote-success-message {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.quote-success-response {
  font-size: 16px;
  color: var(--text);
}

.quote-success-phone {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 20px;
}

.quote-success-phone a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero .subheadline {
    font-size: 16px;
  }

  .phone-cta {
    font-size: 24px;
    padding: 15px 26px;
  }

  .form-container {
    padding: 24px 18px;
  }

  .trust-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .before-after-gallery {
    grid-template-columns: 1fr;
  }

  .final-cta h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .sticky-phone {
    position: fixed;
    bottom: env(safe-area-inset-bottom, 0);
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0));
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: block;
  }

  .sticky-phone a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
  }

  body {
    padding-bottom: 86px;
  }
}

@media (min-width: 769px) {
  .sticky-phone {
    display: none;
  }
}
