/* ============ RESET & TOKENS ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FA4600;
  --orange-dark: #E23C00;
  --black: #171310;
  --gray-text: #5B564F;
  --cream-bg: #FFFFFF;
  --peach: #FFF1EA;
  --card-border: #F0EBE6;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1180px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream-bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* space for sticky call bar on mobile */
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

a { text-decoration: none; color: inherit; }

button { font-family: inherit; cursor: pointer; border: none; }

h1, h2, h3 { font-family: var(--font-display); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ============ STICKY MOBILE CALL BAR ============ */
.sticky-call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
}

.sticky-call-btn, .sticky-text-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.sticky-call-btn {
  background: var(--orange);
  color: #fff;
}

.sticky-call-btn svg, .sticky-text-btn svg { width: 18px; height: 18px; }

.sticky-text-btn {
  background: var(--black);
  color: #fff;
}

@media (max-width: 760px) {
  .sticky-call-bar { display: flex; }
}

/* ============ HEADER ============ */
.site-header {
  padding: 24px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-img { height: 52px; width: auto; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--orange);
  white-space: nowrap;
}

.header-phone svg { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 520px) {
  .header-phone { font-size: 15px; }
  .logo-img { height: 40px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 44px 0 60px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.9) 38%, rgba(255,255,255,0.75) 100%);
  z-index: -1;
}

.hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-inner h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero-inner h1 .accent { color: var(--orange); }

.hero-sub {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-top: 14px;
  margin-bottom: 30px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---- Instant quote card (hero) ---- */
.quote-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  box-shadow: 0 20px 50px rgba(23,19,16,0.1);
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}

.quote-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.quote-card-heading svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; }

.quote-card-heading h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
}

.quote-card-heading p {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 2px;
}

.quote-form .form-row {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-form .form-field { margin-bottom: 12px; }

.form-field-icon {
  position: relative;
}

.form-field-icon .field-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  pointer-events: none;
}

.quote-form .form-field-icon input {
  padding-left: 38px;
}

.quote-form input,
.quote-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--card-border);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--black);
  background: #fff;
  transition: border-color 0.15s ease;
}

.quote-form input::placeholder { color: #9C968E; }

.quote-form input:focus,
.quote-form select:focus {
  border-color: var(--orange);
  outline: none;
}

.quote-form select { color: #9C968E; }
.quote-form select:valid { color: var(--black); }

.quote-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 15px;
  border-radius: 10px;
  margin-top: 4px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.quote-submit svg { width: 17px; height: 17px; }
.quote-submit:hover { background: var(--orange-dark); transform: translateY(-1px); }
.quote-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.quote-call-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 14px;
}

.quote-call-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--orange);
}

.quote-call-link svg { width: 16px; height: 16px; }

.quote-card .form-success, .quote-card .form-error { padding: 10px 0; }
.quote-card .form-success svg { width: 40px; height: 40px; }

@media (max-width: 480px) {
  .quote-card { padding: 22px 18px 20px; max-width: 100%; }
  .quote-form .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  .hero { padding: 32px 0 44px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.93) 45%, rgba(255,255,255,0.85) 100%); }
}

/* ============ SERVICES ============ */
.services { padding: 64px 0 20px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 34px 22px 26px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 16px 32px rgba(23,19,16,0.08);
  transform: translateY(-3px);
}

.service-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.service-icon svg { width: 38px; height: 38px; }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.service-rule {
  width: 30px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 12px auto 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.5;
  min-height: 42px;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.service-arrow:hover { background: var(--peach); }
.service-arrow svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============ MID CTA ============ */
.mid-cta {
  padding: 72px 0 60px;
  text-align: center;
}

.mid-cta h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
}

.mid-cta p:first-of-type {
  color: var(--gray-text);
  margin-top: 8px;
  font-size: 16px;
}

.mid-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  padding: 16px 36px;
  border-radius: 999px;
  margin-top: 26px;
  box-shadow: 0 10px 24px rgba(250,70,0,0.28);
  transition: transform 0.15s ease;
}

.mid-cta-btn:hover { transform: translateY(-2px); }
.mid-cta-btn svg { width: 20px; height: 20px; }

.mid-cta-note {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--gray-text);
}

.mid-cta-text-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mid-cta-text-link:hover { color: var(--orange); }

/* ============ LEAD FORM ============ */
.lead-form-section {
  padding: 20px 0 80px;
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 20px 50px rgba(23,19,16,0.06);
}

.form-heading { text-align: center; margin-bottom: 30px; }

.form-heading h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 800;
}

.form-heading p {
  margin-top: 8px;
  color: var(--gray-text);
  font-size: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}

.form-field .optional {
  font-weight: 400;
  color: var(--gray-text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  background: #fff;
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  outline: none;
}

.form-field textarea { resize: vertical; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-submit {
  width: 100%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  padding: 16px;
  border-radius: 10px;
  margin-top: 6px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.form-submit:hover { background: var(--orange-dark); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-microcopy {
  text-align: center;
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 14px;
}

.form-success, .form-error {
  text-align: center;
  padding: 20px 10px;
}

.form-success svg { width: 48px; height: 48px; margin: 0 auto 14px; }
.form-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.form-success p, .form-error p { color: var(--gray-text); font-size: 14.5px; }
.form-success a, .form-error a { color: var(--orange); font-weight: 700; }

@media (max-width: 560px) {
  .form-wrap { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--black);
  padding: 48px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 10px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
}

.footer-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--orange);
}

.footer-copyright {
  color: #837e78;
  font-size: 12.5px;
  margin-top: 14px;
}
