/* Webmarkedet – frontend prototype
   Backend, ekte skjema og lead-distribusjon kobles på senere. */

:root {
  --ink: #13213b;
  --muted: #66738a;
  --blue: #3167f5;
  --blue-dark: #2455d9;
  --line: #e7ecf4;
  --soft: #f5f8ff;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 22px 65px rgba(26, 55, 120, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  height: 82px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(231, 236, 244, 0.8);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: Manrope, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand-mark {
  width: 29px;
  height: 29px;
  background: var(--blue);
  border-radius: 9px;
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding: 6px;
  transform: rotate(-4deg);
}
.brand-mark span {
  display: block;
  width: 4px;
  border-radius: 3px;
  background: white;
  transform: skew(-15deg);
}
.brand-mark span:nth-child(1) {
  height: 8px;
  opacity: 0.75;
}
.brand-mark span:nth-child(2) {
  height: 13px;
}
.brand-mark span:nth-child(3) {
  height: 10px;
  opacity: 0.9;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: #58657b;
  transition: color 0.2s;
}
.main-nav a:hover,
.text-link:hover {
  color: var(--blue);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 7px 16px rgba(49, 103, 245, 0.19);
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}
.button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(49, 103, 245, 0.24);
}
.button-small {
  padding: 11px 17px;
  font-size: 13px;
  border-radius: 9px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 23px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 45%, #e8efff 0%, #f5f8ff 38%, #fff 75%);
  padding: 91px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
  min-height: 465px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.45px;
  font-weight: 800;
}
.eyebrow {
  padding: 8px 12px;
  background: rgba(49, 103, 245, 0.08);
  border: 1px solid rgba(49, 103, 245, 0.12);
  border-radius: 30px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(49, 103, 245, 0.12);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Manrope, sans-serif;
  letter-spacing: -2.5px;
}
.hero h1 {
  margin: 25px 0 20px;
  font-size: clamp(39px, 4.3vw, 58px);
  line-height: 1.12;
  font-weight: 800;
}
.hero h1 span,
.section-heading h2 span,
.request-intro h2 span,
.agency-cta h2 span {
  color: var(--blue);
}
.hero-lead {
  max-width: 510px;
  color: #68758b;
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 29px;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #465670;
  transition: color 0.2s;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 35px;
  color: #748198;
  font-size: 11px;
  font-weight: 600;
}
.trust-row i {
  font-style: normal;
  color: #18a66b;
  margin-right: 5px;
  font-weight: 800;
}

/* Hero illustration */
.hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e2eaff, #f5f8ff);
  filter: blur(1px);
}
.request-card {
  position: absolute;
  z-index: 2;
  top: 36px;
  left: 9%;
  width: 78%;
  padding: 23px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #edf1fa;
  border-radius: 17px;
  box-shadow: 0 28px 65px rgba(38, 70, 145, 0.15);
  transform: rotate(-2deg);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mini-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #edf3ff;
  color: var(--blue);
  font-weight: 800;
  font-family: Manrope;
  font-size: 13px;
}
.status {
  color: #159968;
  background: #eafaf3;
  padding: 6px 9px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
}
.status b {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: #17aa70;
}
.request-label {
  margin: 20px 0 6px;
  color: #8b97aa;
  font-size: 10px;
}
.request-card h3 {
  margin: 0;
  font: 700 18px Manrope;
  letter-spacing: -0.5px;
}
.request-meta {
  display: flex;
  gap: 15px;
  margin-top: 13px;
  color: #6d7b93;
  font-size: 10px;
}
.progress-track {
  height: 5px;
  background: #edf1f8;
  border-radius: 10px;
  margin-top: 21px;
  overflow: hidden;
}
.progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #4c7aff, #85a5ff);
  border-radius: inherit;
}
.progress-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #8793a8;
  font-size: 9px;
}
.progress-caption strong {
  color: var(--blue);
}
.match-label {
  position: absolute;
  z-index: 4;
  top: 224px;
  left: 3%;
  padding: 9px 13px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(31, 62, 130, 0.13);
  font-size: 11px;
  font-weight: 700;
  color: #42516c;
}
.match-symbol {
  color: var(--blue);
  font-size: 16px;
  margin-right: 5px;
  vertical-align: -1px;
}
.agency-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 72%;
  padding: 12px 13px;
  background: white;
  border: 1px solid #edf1fa;
  border-radius: 13px;
  box-shadow: 0 12px 35px rgba(38, 70, 145, 0.12);
}
.agency-one {
  top: 258px;
  left: 17%;
  transform: rotate(1.8deg);
}
.agency-two {
  top: 323px;
  left: 23%;
  transform: rotate(-1deg);
}
.agency-three {
  top: 388px;
  left: 12%;
  transform: rotate(1.2deg);
}
.agency-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font: 800 13px Manrope;
}
.avatar-blue {
  color: #3167f5;
  background: #eaf0ff;
}
.avatar-purple {
  color: #8557d8;
  background: #f1eaff;
}
.avatar-orange {
  color: #d77b2d;
  background: #fff0df;
}
.agency-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.agency-info strong {
  font-size: 11px;
}
.agency-info span {
  color: #8a96aa;
  font-size: 9px;
}
.match-pill {
  margin-left: auto;
  white-space: nowrap;
  color: #188c65;
  background: #eafaf3;
  padding: 6px 8px;
  border-radius: 20px;
  font-size: 8px;
  font-weight: 700;
}
.floating-note {
  position: absolute;
  z-index: 5;
  right: -1%;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  background: white;
  border-radius: 13px;
  box-shadow: 0 13px 35px rgba(38, 70, 145, 0.14);
}
.note-check {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #e9faf2;
  color: #16a66c;
  font-size: 13px;
  font-weight: 800;
}
.floating-note div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.floating-note strong {
  font-size: 10px;
}
.floating-note small {
  color: #8793a8;
  font-size: 9px;
}
.visual-dots {
  position: absolute;
  width: 55px;
  height: 55px;
  background-image: radial-gradient(#9bb5ff 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  opacity: 0.6;
}
.dots-a {
  top: 8px;
  right: 0;
}
.dots-b {
  bottom: 4px;
  left: 0;
}
.hero-bottom-line {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e7edfb, transparent);
}

/* Benefit strip */
.benefits {
  border-bottom: 1px solid var(--line);
  background: white;
}
.benefits-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 28px 0;
  gap: 25px;
}
.benefits-inner > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}
.benefit-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--blue);
  background: #eef3ff;
  font-size: 18px;
}
.benefits strong {
  font-size: 12px;
}
.benefits small {
  margin-top: 3px;
  color: #8793a8;
  font-size: 10px;
}

/* Sections */
.section {
  padding: 105px 0;
}
.section-heading {
  max-width: 610px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-heading h2,
.request-intro h2,
.agency-cta h2 {
  margin: 15px 0;
  font-size: clamp(32px, 3.4vw, 43px);
  line-height: 1.2;
}
.section-heading > p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  position: relative;
  padding: 27px 28px 31px;
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(28, 54, 110, 0.07);
}
.featured-step {
  background: linear-gradient(145deg, #f7f9ff, #fff);
  border-color: #dbe5ff;
}
.step-number {
  display: flex;
  justify-content: space-between;
  color: #a0abc0;
  font: 700 11px Manrope;
  letter-spacing: 1px;
}
.step-number span {
  color: var(--blue);
  font-size: 15px;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 25px 0 20px;
  border-radius: 14px;
  font-size: 22px;
}
.icon-form {
  color: #3167f5;
  background: #edf2ff;
}
.icon-match {
  color: #8058d8;
  background: #f1ebff;
}
.icon-offer {
  color: #13a276;
  background: #e8f9f2;
}
.step-card h3 {
  margin-bottom: 9px;
  font: 700 17px Manrope;
  letter-spacing: -0.4px;
}
.step-card p {
  margin: 0;
  color: #78859a;
  font-size: 13px;
  line-height: 1.7;
}

/* Categories */
.categories-section {
  padding-top: 65px;
  background: #f8faff;
}
.heading-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 32px;
}
.heading-row h2 {
  margin-bottom: 0;
}
.heading-row > .text-link {
  margin-bottom: 8px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.category-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 120px;
  padding: 22px;
  border: 1px solid #e7ecf5;
  border-radius: 15px;
  background: white;
  transition:
    transform 0.2s,
    border 0.2s,
    box-shadow 0.2s;
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: #cbd9ff;
  box-shadow: 0 12px 25px rgba(28, 54, 110, 0.06);
}
.category-icon {
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  font-size: 20px;
}
.blue-icon {
  color: #3167f5;
  background: #edf2ff;
}
.violet-icon {
  color: #8a55d6;
  background: #f2ebff;
}
.orange-icon {
  color: #d77b2d;
  background: #fff1e3;
}
.category-card h3 {
  margin: 0 0 6px;
  font: 700 14px Manrope;
}
.category-card p {
  margin: 0;
  color: #8591a5;
  font-size: 11px;
  line-height: 1.5;
}
.category-arrow {
  margin-left: auto;
  align-self: flex-start;
  color: #9aa6ba;
  font-size: 16px;
}

/* Request section */
.request-section {
  background: white;
}
.request-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}
.request-intro {
  max-width: 400px;
}
.request-intro h2 {
  margin-top: 18px;
}
.request-intro > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 20px 0 27px;
}
.request-assurance {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  color: #5d6b82;
  font-size: 12px;
  font-weight: 600;
}
.request-assurance span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eafaf3;
  color: #17a66c;
  font-size: 11px;
}
.request-form {
  padding: 31px;
  border: 1px solid #e6ebf4;
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(27, 54, 112, 0.07);
}
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 25px;
}
.form-step {
  color: #8c99ae;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.form-step b {
  color: var(--blue);
}
.form-header h3 {
  margin: 9px 0 0;
  font: 700 20px Manrope;
  letter-spacing: -0.7px;
}
.form-badge {
  padding: 7px 10px;
  color: #168a63;
  background: #eafaf3;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}
.request-form label {
  display: block;
  margin: 17px 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #40506b;
}
.optional {
  color: #9aa5b8;
  font-weight: 400;
}
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid #e3e9f2;
  border-radius: 9px;
  padding: 13px 14px;
  color: #53617a;
  background: #fbfcff;
  outline: none;
  font-size: 12px;
  transition:
    border 0.2s,
    box-shadow 0.2s;
}
.request-form select:focus,
.request-form textarea:focus {
  border-color: #9bb5ff;
  box-shadow: 0 0 0 3px rgba(49, 103, 245, 0.08);
}
.request-form textarea {
  resize: vertical;
  min-height: 82px;
}
.form-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 17px 0;
  color: #8a96aa;
  font-size: 10px;
}
.button-full {
  width: 100%;
  margin-top: 3px;
}
.form-disclaimer {
  margin: 13px 0 0;
  text-align: center;
  color: #a0aabc;
  font-size: 9px;
  line-height: 1.5;
}
.form-disclaimer.is-success {
  margin-top: 17px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

/* Agency CTA and footer */
.agency-cta {
  padding: 73px 0;
  color: white;
  background: #142342;
  position: relative;
  overflow: hidden;
}
.agency-cta::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -260px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(130, 160, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(130, 160, 255, 0.035),
    0 0 0 120px rgba(130, 160, 255, 0.025);
}
.agency-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  position: relative;
  z-index: 1;
}
.light-kicker {
  color: #9db7ff;
}
.agency-cta h2 {
  margin: 15px 0;
  font-size: 38px;
}
.agency-cta h2 span {
  color: #8eafff;
}
.agency-cta p {
  max-width: 600px;
  margin: 0;
  color: #b4bfd3;
  font-size: 14px;
  line-height: 1.8;
}
.agency-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.button-white {
  color: #1c3c8c;
  background: white;
  box-shadow: none;
  padding: 15px 24px;
}
.button-white:hover {
  color: #1c3c8c;
  background: #edf2ff;
}
.agency-cta-action small {
  color: #8f9db6;
  font-size: 10px;
}
.site-footer {
  background: #0e1a31;
  color: #fff;
}
.footer-main {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 31px 0;
}
.footer-brand {
  font-size: 17px;
}
.footer-brand .brand-mark {
  width: 25px;
  height: 25px;
}
.footer-main > p {
  margin: 0;
  color: #7f8da7;
  font-size: 11px;
}
.footer-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.footer-links a {
  color: #9eabc1;
  font-size: 11px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 17px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6e7c96;
  font-size: 10px;
}

/* RESULTAT AV MATCHING */
.match-results {
  margin-top: 28px;
  text-align: left;
  width: 100%;
}

/* Overskrift */
.match-results h2 {
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  color: #111827;
}

/* Forklarende tekst */
.match-results > p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 16px;
}

/* Byråkort – 2 kolonner */
.matched-agencies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 24px 0;
  align-items: stretch;
}

/* Individuelle byråkort */
.matched-agency {
  background: #ffffff;
  border: 1px solid #e5eaf1;
  border-radius: 16px;
  padding: 24px;
  min-height: 180px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;

  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

/* Hover */
.matched-agency:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* Byrånavn */
.matched-agency h3 {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.4;
}

/* Besøk nettsiden */
.matched-agency a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: #2563eb;
  color: #ffffff;

  padding: 12px 18px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  margin-top: auto;

  transition: background 0.2s ease;
}

.matched-agency a:hover {
  background: #1d4ed8;
}

/* Bekreftelse */
.match-confirmation {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 16px 18px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;

  color: #166534 !important;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
}

/* Mobil */
@media (max-width: 600px) {
  .matched-agencies {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .matched-agency {
    min-height: 150px;
    padding: 20px;
  }

  .match-results h2 {
    font-size: 24px;
  }
}

/* Responsive */
@media (max-width: 1000px) {
  .main-nav {
    gap: 20px;
  }
  .hero-grid {
    gap: 20px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .request-layout {
    gap: 45px;
  }
  .agency-card {
    width: 78%;
  }
  .floating-note {
    right: 0;
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 560px);
  }
  .site-header {
    height: 70px;
  }
  .brand {
    font-size: 19px;
  }
  .header-inner > .button {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    padding: 20px 25px 24px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 25px rgba(20, 40, 90, 0.07);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.nav-open {
    display: flex;
  }
  .main-nav a {
    padding: 13px 0;
  }
  .hero {
    padding: 58px 0 50px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(37px, 10vw, 49px);
    letter-spacing: -2px;
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  .trust-row {
    gap: 11px 17px;
    margin-top: 25px;
  }
  .hero-visual {
    min-height: 400px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.94);
    transform-origin: top center;
  }
  .request-card {
    left: 8%;
    width: 83%;
  }
  .agency-one {
    left: 12%;
  }
  .agency-two {
    left: 17%;
  }
  .agency-three {
    left: 8%;
  }
  .floating-note {
    right: -1%;
  }
  .benefits-inner {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 24px 0;
  }
  .benefits-inner > div {
    max-width: 360px;
  }
  .section {
    padding: 75px 0;
  }
  .section-heading {
    margin-bottom: 35px;
  }
  .section-heading h2,
  .request-intro h2 {
    font-size: 35px;
    letter-spacing: -1.8px;
  }
  .steps-grid,
  .category-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .step-card {
    min-height: 0;
    padding: 23px;
  }
  .step-icon {
    margin: 18px 0 15px;
  }
  .categories-section {
    padding-top: 55px;
  }
  .heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .category-card {
    min-height: 105px;
  }
  .request-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .request-intro {
    max-width: none;
  }
  .request-form {
    padding: 23px 19px;
  }
  .agency-cta {
    padding: 58px 0;
  }
  .agency-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
  .agency-cta h2 {
    font-size: 34px;
    letter-spacing: -1.8px;
  }
  .agency-cta-action {
    align-items: flex-start;
  }
  .footer-main {
    flex-wrap: wrap;
    gap: 17px 25px;
  }
  .footer-main > p {
    display: none;
  }
  .footer-links {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px 22px;
  }
  .footer-bottom {
    gap: 15px;
    flex-wrap: wrap;
  }
}
@media (max-width: 390px) {
  .hero-visual {
    transform: scale(0.82);
    min-height: 345px;
    margin-bottom: -15px;
  }
  .hero h1 {
    font-size: 35px;
  }
  .trust-row {
    font-size: 10px;
  }
}

.matched-agency-logo {
  width: 100%;
  max-width: 160px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}

.matched-agency-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #7e8592;
  margin: 12px 0 20px;
}

.delete-lead-button {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
}

.delete-lead-button:hover {
  color: #b91c1c;
}

.delete-lead-button {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
}

.delete-lead-button:hover {
  color: #b91c1c;
}

.delete-lead-button:disabled {
  opacity: 0.4;
  cursor: wait;
}
