:root {
  color-scheme: light;
  --bg: #fff8ed;
  --ink: #16110d;
  --muted: #6e6257;
  --line: #eadccd;
  --card: #ffffff;
  --soft: #fff1dd;
  --brand: #ffb000;
  --brand-dark: #d86c00;
  --green: #0d8f53;
  --red: #d93526;
  --shadow: 0 20px 60px rgba(57, 31, 8, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 176, 0, 0.22), transparent 30%),
    linear-gradient(180deg, #fff8ed 0%, #fffdf8 42%, #ffffff 100%);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(22, 17, 13, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 17, 13, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}

img,
svg {
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 176, 0, 0.72);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px;
  border: 1px solid rgba(234, 220, 205, 0.9);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(57, 31, 8, 0.08);
}

.brand,
.nav,
.top-call {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding-left: 6px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #101010;
  background: var(--brand);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ink);
}

.top-call {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff;
  background: #15100c;
  font-size: 14px;
  font-weight: 800;
}

main,
.footer {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100svh - 82px);
  padding: 56px 0 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(54px, 12vw, 128px);
  line-height: 0.82;
  letter-spacing: -0.09em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.lede,
.section-head p,
.final-cta p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 2.6vw, 23px);
  line-height: 1.55;
}

.search-card {
  max-width: 760px;
  margin-top: 30px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.search-card label {
  display: block;
  margin: 4px 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input {
  min-width: 0;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf3;
  color: var(--ink);
  font-size: 16px;
}

.search-row button,
.final-cta a,
.empty-state a {
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  color: #101010;
  background: var(--brand);
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.13);
}

.quick-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-areas button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.small-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.emergency-panel {
  border: 1px solid rgba(22, 17, 13, 0.08);
  border-radius: 34px;
  background: #15100c;
  color: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffe4b0;
  font-size: 13px;
  font-weight: 800;
}

.status-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ee36f;
  box-shadow: 0 0 0 6px rgba(46, 227, 111, 0.14);
}

.emergency-panel ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.emergency-panel li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.emergency-panel li::before {
  counter-increment: flow;
  content: counter(flow);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--brand);
  color: #101010;
  font-weight: 900;
}

.emergency-panel strong,
.emergency-panel span {
  display: block;
}

.emergency-panel li span {
  margin-top: 4px;
  color: #cdbfaf;
  line-height: 1.45;
}

.support-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.support-box span {
  color: #cdbfaf;
  font-size: 13px;
  font-weight: 700;
}

.support-box a {
  color: #15100c;
  background: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 900;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 76px;
}

.trust-strip div,
.step-grid article,
.area-grid article,
.empty-state,
.provider-table-wrap {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 32px rgba(57, 31, 8, 0.06);
}

.trust-strip div {
  padding: 18px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.results-section,
.how-it-works,
.providers-section,
.area-seo,
.final-cta {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head.compact {
  max-width: 640px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.provider-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 44px rgba(57, 31, 8, 0.08);
}

.provider-top {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff7e8, #ffffff 68%);
}

.provider-top h3 {
  margin-bottom: 6px;
}

.provider-top p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.badge {
  border-radius: 999px;
  background: var(--soft);
  padding: 7px 9px;
  color: #6b3900;
  font-size: 12px;
  font-weight: 900;
}

.provider-body {
  display: grid;
  gap: 12px;
  padding: 18px 20px 20px;
}

.meta-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.meta-row strong {
  color: var(--ink);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 10px;
  margin-top: auto;
  padding: 0 20px 20px;
}

.card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 15px;
  font-weight: 900;
}

.whatsapp {
  color: #fff;
  background: var(--green);
}

.call {
  border: 1px solid var(--line);
  background: #fffaf3;
}

.empty-state {
  margin-top: 18px;
  padding: 24px;
}

.empty-state a {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
}

.step-grid,
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.area-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step-grid article,
.area-grid article {
  padding: 22px;
}

.step-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #15100c;
  color: #fff;
  font-weight: 900;
}

.step-grid p,
.area-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.provider-table-wrap {
  overflow-x: auto;
}

.provider-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.provider-table th,
.provider-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.provider-table th {
  color: var(--brand-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.provider-table td {
  color: var(--muted);
  line-height: 1.45;
}

.provider-table tr:last-child td {
  border-bottom: 0;
}

.final-cta {
  margin: 52px 0 80px;
  padding: 42px;
  border-radius: 34px;
  background: #15100c;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: #ffe4b0;
}

.final-cta a {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 46px;
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 940px) {
  .topbar {
    align-items: stretch;
    border-radius: 26px;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .results-grid,
  .step-grid,
  .area-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .topbar,
  main,
  .footer {
    width: min(100% - 18px, 1160px);
  }

  .topbar {
    gap: 8px;
  }

  .brand {
    font-size: 15px;
  }

  .top-call {
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 34px;
  }

  .search-card,
  .emergency-panel,
  .final-cta {
    border-radius: 24px;
  }

  .search-row,
  .trust-strip,
  .results-grid,
  .step-grid,
  .area-grid,
  .card-actions {
    grid-template-columns: 1fr;
  }

  .search-row button {
    width: 100%;
  }

  .results-section,
  .how-it-works,
  .providers-section,
  .area-seo,
  .final-cta {
    padding: 48px 0;
  }

  .trust-strip {
    margin-bottom: 42px;
  }

  .support-box,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .meta-row {
    grid-template-columns: 92px 1fr;
  }
}
