/* =========================================================
   Prime Biohazard Cleanup Houston — Design System
   Brand: navy + green from logo
   ========================================================= */

:root {
  --navy: #1E3A6E;
  --navy-dark: #142849;
  --navy-deep: #0E1F3A;
  --green: #5BAB47;
  --green-dark: #4A8F3A;
  --green-light: #E8F4E3;
  --ink: #14213D;
  --ink-soft: #3F4A60;
  --grey-900: #1F2937;
  --grey-700: #475569;
  --grey-500: #64748B;
  --grey-300: #CBD5E1;
  --grey-200: #E2E8F0;
  --grey-100: #F1F5F9;
  --grey-50: #F8FAFC;
  --white: #FFFFFF;
  --cream: #FBFCFD;
  --shadow-sm: 0 1px 2px rgba(20,33,61,.06), 0 1px 3px rgba(20,33,61,.08);
  --shadow-md: 0 4px 6px -1px rgba(20,33,61,.08), 0 10px 24px -8px rgba(20,33,61,.12);
  --shadow-lg: 0 12px 30px -10px rgba(20,33,61,.18);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 18px -6px rgba(91,171,71,.55);
}
.btn-primary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 26px -6px rgba(91,171,71,.6); }
.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #D9E0EE;
  font-size: .86rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #D9E0EE; }
.topbar a:hover { color: var(--green); }
.topbar svg { flex-shrink: 0; opacity: .9; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--grey-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 64px; width: auto; }
.brand-text { display: none; line-height: 1.05; }
.brand-text strong { color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .02em; }
.brand-text span { color: var(--grey-500); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
}
.nav a:hover { color: var(--navy); background: var(--grey-100); }
.nav a.active { color: var(--green-dark); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--navy); font-size: 1.05rem;
  font-family: var(--font-display);
}
.header-phone svg { color: var(--green); }

.menu-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: 0;
  width: 44px; height: 44px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 12px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--grey-200); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .menu-toggle { display: inline-flex; }
  .header-phone span { display: none; }
  .header-phone { padding: 10px 12px; background: var(--green); color: var(--white); border-radius: 8px; }
  .header-phone svg { color: var(--white); }
  .brand img { height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(91,171,71,.18), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(30,58,110,.18), transparent 60%),
    linear-gradient(180deg, #F4F8FC 0%, #FFFFFF 100%);
  padding: 80px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,58,110,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,58,110,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 75%);
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,171,71,.12);
  color: var(--green-dark);
  padding: 8px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(91,171,71,.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91,171,71,.6); }
  70% { box-shadow: 0 0 0 12px rgba(91,171,71,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,171,71,0); }
}
.hero h1 { color: var(--navy); }
.hero h1 .accent { color: var(--green); }
.hero-lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px 26px;
  max-width: 580px;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem; color: var(--ink-soft);
}
.trust-item .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.trust-item strong { color: var(--ink); display: block; }

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-200);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--navy), var(--green));
  border-radius: 18px;
  z-index: -1;
  filter: blur(12px);
  opacity: .25;
}
.hero-card h3 { color: var(--navy); margin-bottom: 6px; }
.hero-card .form-sub { color: var(--grey-500); font-size: .92rem; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(91,171,71,.18);
}
.field textarea { min-height: 84px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--grey-500); margin-top: 10px; }

@media (max-width: 900px) {
  .hero { padding: 50px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-row { grid-template-columns: 1fr; }
}

/* ---------- Hero centered (single column) ---------- */
.hero-centered { padding: 90px 0 80px; text-align: center; }
.hero-centered .hero-content { max-width: 880px; margin: 0 auto; }
.hero-centered h1 { color: var(--navy); margin-bottom: 14px; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.hero-centered .hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--green-dark);
  margin: 0 auto 18px;
  max-width: 640px;
}
.hero-centered .hero-lead { margin: 0 auto 28px; }
.hero-centered .hero-cta { justify-content: center; margin: 0 auto 32px; }
.hero-centered .trust-row { margin: 0 auto; }
.hero-centered .trust-item { text-align: left; }

/* ---------- Directions / NAP section ---------- */
.directions .signage-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-200);
  background: var(--grey-50);
}
.directions .signage-frame img { width: 100%; height: auto; display: block; }

.nap-block {
  margin: 26px 0 8px;
  padding: 24px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
}
.nap-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--grey-200);
}
.nap-item:last-child { border-bottom: 0; padding-bottom: 0; }
.nap-item:first-child { padding-top: 0; }
.nap-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--grey-200);
}
.nap-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 2px;
}
.nap-item > div:last-child { color: var(--ink); font-size: 1rem; }
.nap-item a { color: var(--ink); }
.nap-item a:hover { color: var(--green-dark); }

/* ---------- Section base ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--grey-50); }
.section-dark { background: var(--navy-deep); color: #E5EAF4; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { text-align: center; max-width: 740px; margin: 0 auto 50px; }
.section-eyebrow {
  color: var(--green-dark);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: .82rem;
  margin-bottom: 12px;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), #2E5599);
  color: var(--white);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card.alt .service-icon { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; color: var(--navy); }
.service-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 12px; }
.service-link {
  font-weight: 700;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .92rem;
}
.service-link:hover { gap: 8px; color: var(--green); }

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
}
.why-icon {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.why-card h3 { font-size: 1.15rem; color: var(--navy); }
.why-card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 28px 18px;
}
.process-num {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--white);
  color: var(--navy);
  border: 3px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
}
.section-dark .process-num { background: var(--navy-deep); color: var(--white); }
.process-step h3 { font-size: 1.1rem; }
.process-step p { font-size: .94rem; opacity: .86; margin: 0; }

/* ---------- Two-col split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-narrow { gap: 40px; }
@media (max-width: 900px) { .split, .split-narrow { grid-template-columns: 1fr; gap: 36px; } }
.split ul { padding-left: 0; list-style: none; margin: 18px 0; }
.split ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--grey-200);
  color: var(--ink-soft);
}
.split ul li:last-child { border-bottom: 0; }
.split ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 18px; height: 18px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") no-repeat center / contain;
}

.about-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #E5EAF4;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(91,171,71,.4), transparent 70%);
  border-radius: 50%;
}
.about-card h3 { color: var(--white); }
.stats-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; margin-top: 28px; position: relative; z-index: 1;
}
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--green); font-weight: 800; }
.stat span { font-size: .85rem; opacity: .85; }

/* ---------- Service Area ---------- */
.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 20px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.area-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--grey-200);
  color: var(--ink-soft);
  font-size: .96rem;
  display: flex; align-items: center; gap: 8px;
}
.area-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--green); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--green);
  font-weight: 600;
  transition: transform .2s;
  width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background:
    radial-gradient(circle at 0% 0%, rgba(91,171,71,.4), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(30,58,110,.5), transparent 50%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.86); font-size: 1.1rem; max-width: 680px; margin: 0 auto 26px; }
.cta-banner .btn-primary { box-shadow: 0 10px 30px -10px rgba(91,171,71,.7); }
.cta-banner .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.cta-banner .btn-ghost:hover { background: var(--white); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #C5CDDD;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand img { height: 80px; background: var(--white); padding: 8px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: .94rem; opacity: .82; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #C5CDDD; font-size: .94rem; }
.footer-col a:hover { color: var(--green); }
.footer-contact-item {
  display: flex; gap: 12px; margin-bottom: 14px; font-size: .94rem;
  align-items: flex-start;
}
.footer-contact-item svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item strong { color: var(--white); display: block; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 50px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .86rem;
  opacity: .8;
}
.footer-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-badge {
  background: rgba(255,255,255,.06);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: .78rem;
  letter-spacing: .04em;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- 24/7 ribbon ---------- */
.emergency-ribbon {
  background: linear-gradient(90deg, #B22020, #8E1818);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
}
.emergency-ribbon a { color: var(--white); text-decoration: underline; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

@media (min-width: 1100px) {
  .brand-text { display: block; }
}
