/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --color-primary:        #1c2b3a;
  --color-primary-light:  #253549;
  --color-accent:         #e55a1b;
  --color-accent-hover:   #c94a0e;
  --color-text:           #1a1a1a;
  --color-text-muted:     #6b7280;
  --color-bg:             #ffffff;
  --color-bg-alt:         #f5f7f9;
  --color-border:         #e5e7eb;
  --color-white:          #ffffff;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);

  --sticky-h: 60px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-h);
}

@media (min-width: 768px) { body { padding-bottom: 0; } }

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

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(1.75rem, 5vw, 3rem);   line-height: 1.15; font-weight: 800; }
h2 { font-size: clamp(1.4rem,  4vw, 2.25rem); line-height: 1.2;  font-weight: 700; }
h3 { font-size: clamp(1rem,    3vw, 1.2rem);  line-height: 1.3;  font-weight: 600; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .875rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }

.btn--primary              { background: var(--color-accent);       color: #fff; border-color: var(--color-accent); }
.btn--primary:hover        { background: var(--color-accent-hover);              border-color: var(--color-accent-hover); }

.btn--ghost                { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover          { background: rgba(255,255,255,.10);    border-color: #fff; }

.btn--outline              { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover        { background: var(--color-primary); color: #fff; }

.btn--lg                   { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--full                 { width: 100%; }
.btn[disabled]             { opacity: .55; cursor: not-allowed; }

/* ============================================================
   STICKY MOBILE BAR
   ============================================================ */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  height: var(--sticky-h);
  z-index: 200;
  box-shadow: 0 -2px 12px rgba(0,0,0,.18);
}
@media (min-width: 768px) { .sticky-bar { display: none; } }

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.sticky-btn--call    { background: var(--color-accent);   color: #fff; }
.sticky-btn--call:hover  { background: var(--color-accent-hover); }
.sticky-btn--form    { background: var(--color-primary);  color: #fff; }
.sticky-btn--form:hover  { background: var(--color-primary-light); }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background: var(--color-primary);
  padding: .875rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--color-accent);
  font-size: .95rem;
  font-weight: 700;
  transition: color .15s;
}
.header-phone:hover { color: #f07a47; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--color-primary);
  color: #fff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
/* subtle glass-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(229,90,27,.18);
  color: #f09060;
  border: 1px solid rgba(229,90,27,.3);
  padding: .3rem .8rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 { color: #fff; margin-bottom: 1rem; max-width: 700px; }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2rem;
}

.hero-phone-block {
  margin-top: .25rem;
}
.hero-phone-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .15s;
}
.hero-phone-link:hover { color: #f09060; }

.hero-trust {
  margin-top: .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section     { padding: 4rem 0; }
.section-alt { background: var(--color-bg-alt); }

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: .6rem; color: var(--color-primary); }
.section-header p  { color: var(--color-text-muted); max-width: 560px; margin: 0 auto; font-size: 1.025rem; }

/* ============================================================
   PROBLEMS / SERVICES GRID
   ============================================================ */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
}
@media (min-width: 640px)  { .problems-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .problems-grid { grid-template-columns: repeat(4, 1fr); } }

.problem-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.problem-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto .75rem;
  color: var(--color-accent);
}
.problem-card h3 { font-size: .9rem; color: var(--color-text);       margin-bottom: .3rem; }
.problem-card p  { font-size: .78rem; color: var(--color-text-muted); line-height: 1.5; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 620px;
  margin: 0 auto;
}

.step { display: flex; align-items: flex-start; gap: 1.25rem; }

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
}
.step-content h3 { font-size: 1rem; color: var(--color-text);       margin-bottom: .25rem; }
.step-content p  { font-size: .9rem; color: var(--color-text-muted); }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}
.area-chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: .5rem 1.25rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--color-text);
}
.area-chip svg { color: var(--color-accent); flex-shrink: 0; }

.area-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: .85rem;
  margin-top: 1.5rem;
}

/* ============================================================
   CONTACT / LEAD FORM
   ============================================================ */
.contact-inner {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3.5rem;
  }
}

.contact-info h2 { margin-bottom: .9rem; color: var(--color-primary); }
.contact-info p  { color: var(--color-text-muted); margin-bottom: 1.75rem; line-height: 1.75; }

.contact-phone-label  { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: .35rem; }
.contact-phone-link   { font-size: 1.75rem; font-weight: 800; color: var(--color-accent); text-decoration: none; transition: color .15s; }
.contact-phone-link:hover { color: var(--color-accent-hover); }

/* Form card */
.lead-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.lead-form h3 { margin-bottom: 1.25rem; font-size: 1.1rem; color: var(--color-primary); }

.form-group       { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--color-text); margin-bottom: .35rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 46px;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(229,90,27,.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* custom select arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  padding-right: 2.5rem;
}

.form-consent {
  font-size: .75rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.form-consent a { color: var(--color-accent); text-decoration: underline; }

.form-msg {
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  margin-top: .75rem;
  display: none;
}
.form-msg--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.form-msg--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

details.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  overflow: hidden;
}
details.faq-item[open] { border-color: rgba(229,90,27,.4); }

details.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
  user-select: none;
  gap: 1rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform .2s;
  line-height: 1;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 1.25rem 1.125rem;
  color: var(--color-text-muted);
  font-size: .925rem;
  line-height: 1.75;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2  { color: #fff; margin-bottom: .6rem; }
.final-cta > .container > p { color: rgba(255,255,255,.65); margin-bottom: 1.75rem; font-size: 1.025rem; }

.final-phone {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color .15s;
}
.final-phone:hover { color: #f07a47; }

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
@media (min-width: 480px) {
  .final-cta-buttons { flex-direction: row; justify-content: center; }
}
.final-cta-divider { color: rgba(255,255,255,.35); font-size: .875rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111a24;
  color: rgba(255,255,255,.55);
  padding: 2.5rem 0 1.75rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.footer-brand   { color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: .25rem; }
.footer-tagline { font-size: .8rem; color: rgba(255,255,255,.35); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.25rem;
  font-size: .85rem;
}
.footer-links a { color: rgba(255,255,255,.5); transition: color .15s; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .78rem;
  color: rgba(255,255,255,.25);
  text-align: center;
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
