/* ============================================================
   Tulsa Water Damage Cleanup — Landing styles
   Brand: Red #C41E3A, Green #2E7D32
   ============================================================ */

:root {
  --red: #C41E3A;
  --red-dark: #9E1730;
  --red-glow: rgba(196, 30, 58, .35);
  --green: #2E7D32;
  --green-dark: #1F5A22;

  --accent: var(--red);
  --accent-dark: var(--red-dark);
  --accent-glow: var(--red-glow);

  --ink: #0E1116;
  --ink-2: #1B222B;
  --muted: #5B6470;
  --line: #E5E8EC;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-softer: #FAFBFC;
  --black: #0A0B0D;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(14,17,22,.06), 0 1px 3px rgba(14,17,22,.05);
  --shadow: 0 6px 18px rgba(14,17,22,.08), 0 2px 4px rgba(14,17,22,.04);
  --shadow-lg: 0 24px 60px rgba(14,17,22,.18), 0 6px 16px rgba(14,17,22,.08);

  --alert-h: 52px;
  --mob-bar-h: 64px;

  --container: 1200px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--alert-h) + 16px); }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea, button { font-family: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

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

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  border: 0;
  letter-spacing: -0.01em;
  text-align: center;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
  position: relative;
  isolation: isolate;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--xl { padding: 18px 26px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px var(--red-glow), inset 0 -2px 0 rgba(0,0,0,.18);
}
.btn--red:hover { background: var(--red-dark); }

.btn--green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(46,125,50,.28), inset 0 -2px 0 rgba(0,0,0,.18);
}
.btn--green:hover { background: var(--green-dark); }

.btn--ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
}
.btn--ghost:hover { background: var(--bg-soft); }

/* ====== ALERT BAR ====== */
.alert-bar {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  color: #fff;
  height: var(--alert-h);
  border-bottom: 1px solid #1f2228;
}
.alert-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex; align-items: center; gap: 18px;
  font-size: 14px;
}
.alert-bar__msg { display: inline-flex; align-items: center; gap: 8px; color: #E5E8EC; }
.alert-bar__msg strong { color: #fff; }
.alert-bar__siren {
  animation: siren 1.6s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(255, 50, 80, .6));
}
@keyframes siren {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

.alert-bar__phone {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .15s;
}
.alert-bar__phone:hover { background: rgba(196,30,58,.12); }
.alert-bar__phone-icon { display: inline-flex; }

.alert-bar__cta {
  background: var(--red);
  color: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: background .15s;
}
.alert-bar__cta:hover { background: var(--red-dark); }

@media (max-width: 720px) {
  .alert-bar__msg { font-size: 13px; }
  .alert-bar__msg strong + * { display: none; }
  .alert-bar__cta { display: none; }
  .alert-bar__phone { font-size: 15px; padding: 6px 8px; }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.hero__media .hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(10,11,13,.92) 0%, rgba(10,11,13,.78) 45%, rgba(10,11,13,.45) 100%),
    linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.55));
  z-index: 1;
}
.hero__grid {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px 88px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 420px;
  gap: 56px;
  align-items: start;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #E5E8EC;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 9px; height: 9px;
  background: #38D26E;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 rgba(56,210,110,.6);
  animation: pulse 1.8s ease-out infinite;
}
.pulse-dot--red { background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation-name: pulse-red; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56,210,110,.55); } 70% { box-shadow: 0 0 0 12px rgba(56,210,110,0); } 100% { box-shadow: 0 0 0 0 rgba(56,210,110,0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(196,30,58,.55); } 70% { box-shadow: 0 0 0 14px rgba(196,30,58,0); } 100% { box-shadow: 0 0 0 0 rgba(196,30,58,0); } }

.hero__h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-wrap: pretty;
  margin-bottom: 20px;
}
.hero__city {
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 65%, #fff));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.hero__h1-sub {
  display: block;
  font-size: 0.62em;
  font-weight: 700;
  color: #C9D1DB;
  margin-top: 6px;
}
.hero__h1-sub > span { color: var(--accent); }

.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: #D5DBE3;
  max-width: 540px;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.hero__sub strong { color: #fff; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero__chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 14px; color: #C9D1DB;
}
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.chk {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; border-radius: 50%;
  font-size: 11px; font-weight: 800;
}

/* ====== STICKY RAIL FORM ====== */
.rail {
  position: sticky;
  top: calc(var(--alert-h) + 16px);
  align-self: start;
  z-index: 5;
}
.rail__inner {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.rail__head { margin-bottom: 16px; }
.rail__urgent {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--red);
  background: rgba(196,30,58,.08);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.rail__title { font-size: 22px; line-height: 1.2; margin-bottom: 4px; }
.rail__title span { color: var(--red); }
.rail__sub { font-size: 13px; color: var(--muted); }

.lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label, .field legend {
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  letter-spacing: 0;
}
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  appearance: none;
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 56px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235B6470' d='M6 8.5 1.5 4h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.field--radios { border: 0; padding: 0; margin: 0; }
.field--radios legend { margin-bottom: 6px; }
.field--radios { display: flex; flex-wrap: wrap; gap: 6px; }
.field--radios legend { flex-basis: 100%; }
.radio {
  flex: 1;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 8px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.radio:hover { border-color: var(--ink-2); }

.lead-form__fineprint {
  font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.4;
}

.rail__alt {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted);
}
.rail__phone { color: var(--red); font-weight: 800; font-size: 16px; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; padding: 56px 24px 64px; gap: 32px; }
  .rail { position: static; }
}

/* ====== SECTION HEAD ====== */
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  margin-bottom: 12px;
  text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: 17px; text-wrap: pretty; }

/* ====== SERVICES ====== */
.services { padding: 80px 0; background: var(--bg-softer); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
  position: relative;
}
.svc-card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.svc-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 12%, #fff), color-mix(in oklab, var(--accent) 4%, #fff));
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 18px; margin-bottom: 8px; }
.svc-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.svc-card__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 999px;
}
.svc-card__tag--red { background: rgba(196,30,58,.1); color: var(--red); }
.svc-card__tag--green { background: rgba(46,125,50,.1); color: var(--green); }

/* ====== TRUST ====== */
.trust { padding: 64px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__row { margin-bottom: 36px; }
.trust__stats {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust__stats li { text-align: center; }
.trust__stat-num {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.trust__stat-num span { color: var(--accent); font-size: 0.65em; margin-left: 2px; }
.trust__stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

@media (max-width: 720px) {
  .trust__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

.trust__partners-label {
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; margin-bottom: 8px;
}
.trust__partners-note {
  text-align: center; color: var(--ink-2);
  font-size: 15.5px; max-width: 640px; margin: 0 auto;
}

/* ====== BEFORE/AFTER ====== */
.ba { padding: 80px 0; background: var(--bg-soft); }
.ba__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.ba__item { margin: 0; }
.ba__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #1A2332;
}
.ba__item figcaption {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
  text-align: center;
}

/* ====== FAQ ====== */
.faq { padding: 80px 0; background: #fff; }
.faq__list { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .15s, box-shadow .2s;
}
.faq__item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
  transition: transform .25s;
}
.faq__chev::before, .faq__chev::after {
  content: ''; position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}
.faq__chev::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq__item[open] .faq__chev::after { transform: translate(-50%, -50%) rotate(0); }
.faq__body { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }
.faq__body p { line-height: 1.6; }
.faq__body a { color: var(--accent); font-weight: 700; }

/* ====== FOOTER ====== */
.footer { background: var(--ink); color: #C9D1DB; padding: 64px 0 24px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__col--cta .footer__h3 {
  color: #fff; font-size: 28px; margin-bottom: 16px;
}
.footer__phone {
  display: inline-block;
  font-size: 38px; font-weight: 900;
  color: var(--red);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.footer__phone-sub { font-size: 13px; color: #8B95A1; margin-bottom: 20px; }
.footer__col--cta .btn { max-width: 360px; }

.footer__meta {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 12px;
  font-size: 14px;
}
.footer__meta a { color: #C9D1DB; border-bottom: 1px solid transparent; }
.footer__meta a:hover { border-color: #C9D1DB; }

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1A2332;
  border: 1px solid #232a33;
}
.map__placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, #243042 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, #1F2A3A 0%, transparent 50%),
    repeating-linear-gradient(45deg, #1A2332 0 24px, #1E2838 24px 25px),
    #161E2A;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #C9D1DB;
  padding: 24px;
}
.map__pin { color: var(--red); filter: drop-shadow(0 4px 10px rgba(196,30,58,.5)); margin-bottom: 12px; }
.map__city { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.map__addr { font-size: 14px; color: #C9D1DB; margin-top: 4px; }
.map__coords { font-size: 12px; color: #8B95A1; margin-top: 8px; }

.footer__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid #232a33;
  font-size: 13px;
  color: #8B95A1;
  flex-wrap: wrap; gap: 12px;
}
.footer__legal { display: flex; gap: 18px; }
.footer__legal a:hover { color: #fff; }

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__phone { font-size: 32px; }
}

/* ====== MOBILE STICKY BAR ====== */
.mob-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--black);
  border-top: 1px solid #1f2228;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: none;
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
}
.mob-bar__btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.mob-bar__btn--call { background: var(--red); }
.mob-bar__btn--quote { background: var(--green); }

@media (max-width: 720px) {
  .mob-bar { display: flex; }
  body { padding-bottom: calc(var(--mob-bar-h) + 12px); }
}

/* ====== MODAL ====== */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,11,13,.7); backdrop-filter: blur(4px); animation: fade .2s ease; }
.modal__card {
  position: relative;
  background: #fff;
  max-width: 440px; width: 100%;
  padding: 36px 28px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pop .25s cubic-bezier(.2,.9,.3,1.2);
}
.modal__icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.modal__card h2 { font-size: 22px; margin-bottom: 8px; }
.modal__card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.modal__close {
  margin-top: 12px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
