:root {
  --ink: #17211d;
  --muted: #58635f;
  --line: #d9ded8;
  --paper: #fbfaf7;
  --warm: #f3eadb;
  --green: #0d5d4a;
  --green-dark: #073d32;
  --gold: #c98b2c;
  --gold-soft: #fff4dc;
  --white: #ffffff;
  --danger: #8d2f23;
  --shadow: 0 20px 70px rgba(23, 33, 29, 0.12);
  --radius: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: normal;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  background: #0f7059;
  box-shadow: 0 12px 26px rgba(13, 93, 74, 0.22);
}

.btn.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--green-dark);
}

.btn.secondary:hover {
  background: var(--gold-soft);
  box-shadow: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 75px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 61, 50, 0.95), rgba(7, 61, 50, 0.74) 48%, rgba(7, 61, 50, 0.25)),
    url("../images/auction-bridging-finance-uk-hero.webp") center / cover;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 430px;
  gap: 42px;
  align-items: end;
  padding: 78px 0 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #fff6dc;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--gold);
  border-radius: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  font-weight: 900;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero .btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.hero .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.service-hero {
  color: var(--white);
  overflow: hidden;
  min-height: calc(100vh - 75px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 61, 50, 0.96), rgba(7, 61, 50, 0.8) 56%, rgba(7, 61, 50, 0.38)),
    url("../images/auction-bridging-finance-uk-hero.webp") center / cover;
  padding: 76px 0 54px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 430px;
  gap: 42px;
  align-items: end;
}

.service-hero h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.service-content {
  max-width: 850px;
}

.service-content h2 {
  margin-top: 38px;
  color: var(--green-dark);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.service-content h2:first-of-type {
  margin-top: 0;
}

.service-content p {
  color: var(--muted);
  font-size: 1.04rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 34px;
}

.info-grid div,
.sidebar-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.info-grid strong,
.info-grid span {
  display: block;
}

.info-grid strong {
  color: var(--green-dark);
  font-size: 1rem;
}

.info-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.check-list,
.number-list {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: var(--muted);
}

.check-list li::marker {
  color: var(--gold);
}

.number-list li::marker {
  color: var(--green);
  font-weight: 900;
}

.criteria-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.criteria-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.criteria-table div:last-child {
  border-bottom: 0;
}

.criteria-table strong {
  color: var(--green-dark);
}

.criteria-table span {
  color: var(--muted);
}

.compact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.compact-cards .card {
  min-height: 0;
}

.service-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.sidebar-box h2,
.sidebar-box h3 {
  color: var(--green-dark);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.sidebar-box p {
  color: var(--muted);
}

.gold-box {
  background: var(--gold-soft);
}

.service-faq {
  padding: 0;
  margin-top: 38px;
  background: transparent;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
  max-width: 740px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #fff8e7;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}

.lead-panel {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.lead-panel h2,
.lead-panel h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.lead-panel p {
  color: var(--muted);
  margin: 0 0 18px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

textarea {
  min-height: 94px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(201, 139, 44, 0.28);
  border-color: var(--gold);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 10px 0 0;
}

.status {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 0;
  background: #e8f5ef;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.92rem;
}

/* Honeypot spam trap — kept out of view and out of the tab order. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

section {
  padding: 78px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--green-dark);
}

.section-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.trust-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--paper);
  font-weight: 800;
}

.tick {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: var(--gold-soft);
  color: var(--green);
  font-weight: 900;
}

.problem {
  background: var(--warm);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--line);
}

.media-frame img {
  height: 100%;
  object-fit: cover;
}

.content-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.content-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(23, 33, 29, 0.16);
}

.content-list h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.content-list p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 220px;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 0;
  background: var(--gold-soft);
  color: var(--green);
  font-weight: 900;
}

.card h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--green);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.areas {
  background: var(--warm);
}

.local-seo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid rgba(23, 33, 29, 0.14);
  border-radius: var(--radius);
  background: var(--white);
}

.local-seo-panel h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 1.34rem;
}

.local-seo-panel p {
  margin: 0;
  color: var(--muted);
}

.local-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.local-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--gold-soft);
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.city-grid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 33, 29, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.74);
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.city-grid a:hover {
  border-color: var(--gold);
  background: var(--white);
  color: var(--green);
}

.city-chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.city-chip-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.city-chip-grid span:hover {
  border-color: var(--gold);
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}

.calculator {
  background: var(--green-dark);
  color: var(--white);
}

.calculator .section-head h2,
.calculator .section-head p {
  color: var(--white);
}

.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.calc-form,
.calc-result {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.calc-form label {
  color: rgba(255, 255, 255, 0.86);
}

.calc-form input,
.calc-form select {
  background: rgba(255, 255, 255, 0.98);
}

.calc-result {
  display: grid;
  align-content: center;
  gap: 18px;
  background: var(--gold-soft);
  color: var(--ink);
}

.result-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 33, 29, 0.16);
}

.result-line strong {
  font-size: 1.18rem;
}

.warning {
  color: var(--danger);
  font-weight: 800;
  font-size: 0.92rem;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 22px;
  border-top: 4px solid var(--gold);
  background: var(--white);
  border-radius: var(--radius);
  min-height: 210px;
  box-shadow: 0 12px 36px rgba(23, 33, 29, 0.06);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 0;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.step h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.faq {
  background: var(--white);
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  overflow: clip;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1.08rem;
  color: var(--green-dark);
  transition: color 180ms ease;
}

summary:hover {
  color: var(--green);
}

details p {
  max-width: 850px;
  color: var(--muted);
  margin: 12px 0 0;
}

@supports selector(details::details-content) {
  details::details-content {
    block-size: 0;
    opacity: 0;
    overflow: clip;
    transition:
      block-size 260ms ease,
      opacity 220ms ease;
    transition-behavior: allow-discrete;
  }

  details[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

.cta {
  background: var(--green);
  color: var(--white);
  padding: 62px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.cta h2,
.cta .cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
}

.cta p {
  margin: 14px 0 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 980px) {
      .hero {
        min-height: auto;
  }

      .hero .container,
      .service-hero-grid,
      .split,
      .service-layout,
      .calc-wrap,
      .cta-inner {
        grid-template-columns: 1fr;
      }

      .service-sidebar {
        position: static;
      }

  .hero .container {
    padding-top: 58px;
  }

  .lead-panel {
    max-width: 560px;
  }

      .trust-row,
      .cards,
      .city-grid,
      .info-grid,
      .compact-cards,
      .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .local-seo-panel {
        grid-template-columns: 1fr;
      }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
    .hero {
      background:
        linear-gradient(180deg, rgba(7, 61, 50, 0.96), rgba(7, 61, 50, 0.78)),
        url("../images/auction-bridging-finance-uk-hero.webp") center / cover;
    }

    h1 {
      max-width: 100%;
      font-size: clamp(2.25rem, 11vw, 3.35rem);
      overflow-wrap: break-word;
    }

    .service-hero h1 {
      font-size: clamp(2.15rem, 10vw, 3.15rem);
    }

      .hero-stats,
      .trust-row,
      .cards,
      .city-grid,
      .info-grid,
      .compact-cards,
      .steps {
        grid-template-columns: 1fr;
      }

      .criteria-table div {
        grid-template-columns: 1fr;
        gap: 6px;
      }

  section {
    padding: 58px 0;
  }

  .lead-panel {
    padding: 18px;
  }

  .stat,
  .card,
  .step,
  .calc-form,
  .calc-result {
    padding: 18px;
  }
}
