:root {
  --ink: #102331;
  --muted: #64717a;
  --paper: #fbfaf7;
  --soft: #f4f1eb;
  --gold: #b5945f;
  --line: #dedbd4;
  --green: #0d6b5c;
  --white: #fff;
  --max: 1500px;
}

/* Global layout safety */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

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

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

/* Header */
.site-header {
  height: 82px;
  position: sticky;
  top: 0;
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(14px);
  max-width: var(--max);
  margin: auto;
  padding: 0 42px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 30px;
  z-index: 20;
}

.site-header > *,
.hero > *,
.section-heading > *,
.about > *,
.enquiry > *,
.closing > *,
.form-grid > *,
.benefits > div > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand span {
  font: 500 26px/1 "Manrope";
  letter-spacing: 0.16em;
}

.brand small {
  font-size: 9px;
  letter-spacing: 0.32em;
  margin-top: 7px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 13px;
}

.desktop-nav a {
  color: #293a46;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  background: var(--gold);
  color: #101d25;
  border: 0;
  border-radius: 4px;
  padding: 15px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.button-small {
  padding: 12px 17px;
  font-size: 12px;
}

.button-outline {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #8e979d;
}

.button-outline-light {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.menu-button {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: auto;
  min-height: 570px;
  display: grid;
  grid-template-columns: 42% 58%;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: 70px 0 38px 42px;
  z-index: 3;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 18px;
}

.hero h1,
.section h2,
.closing h2 {
  font-family: "Manrope";
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(54px, 5vw, 82px);
  line-height: 0.96;
  overflow-wrap: break-word;
}

.hero h1 em,
.about h2 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  font-size: 18px;
  max-width: 590px;
  margin: 25px 0;
  color: #3e4b54;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 0 0 24px;
}

.wa-dot {
  color: #04a96d;
  font-size: 20px;
}

.wa-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 22px;
  color: #12b76a;
}

.wa-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.wa-icon.small {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.bold-intro {
  font-weight: 700 !important;
  color: var(--ink) !important;
}

.nacfb-slot {
  align-items: center !important;
  justify-content: center;
}

.nacfb-slot img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 3px;
}

.nacfb-slot span {
  font-size: 10px !important;
  font-weight: 700;
}

.case-number {
  float: right;
  color: #c7b48e;
  font: 500 40px "Manrope";
}

.case-grid article > span {
  float: none;
}

.service-line {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #47545d;
}

.service-line i {
  height: 14px;
  width: 1px;
  background: #aeb3b5;
}

.hero-art {
  position: relative;
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      var(--paper) 0%,
      rgba(251, 250, 247, 0.72) 9%,
      rgba(251, 250, 247, 0.15) 24%,
      transparent 43%
    ),
    linear-gradient(0deg, rgba(251, 250, 247, 0.28), transparent 35%);
}

.hero-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) brightness(1.05);
}

.city-label {
  position: absolute;
  z-index: 3;
  top: 75px;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.london {
  left: 24%;
}

.birmingham {
  left: 52%;
}

.manchester {
  left: 80%;
}

/* Proof strip */
.proof-strip {
  max-width: var(--max);
  margin: auto;
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  align-items: center;
}

.proof-strip > div {
  min-width: 0;
  text-align: center;
  padding: 15px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.proof-strip > div:last-child {
  border: 0;
}

.proof-strip strong {
  font-size: 23px;
}

.proof-strip span {
  font-size: 11px;
  color: #53616a;
  margin-top: 4px;
}

.nacfb-slot strong {
  color: var(--green);
  letter-spacing: 0.05em;
}

.nacfb-slot small {
  font-size: 8px;
  color: #899297;
  margin-top: 3px;
}

/* Sections */
.section {
  max-width: var(--max);
  margin: auto;
  padding: 86px 42px;
}

.section.soft {
  background: var(--soft);
  max-width: none;
  padding-left: max(42px, calc((100vw - var(--max)) / 2 + 42px));
  padding-right: max(42px, calc((100vw - var(--max)) / 2 + 42px));
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 100px;
  align-items: end;
}

.section-heading h2,
.about h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
}

.section-heading.split > p,
.section-heading.split > div:last-child {
  max-width: 510px;
  color: var(--muted);
  justify-self: end;
}

/* Solutions */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-grid article {
  min-width: 0;
  padding: 30px;
  min-height: 245px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
  transition: 0.2s;
}

.solution-grid article:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(24, 37, 46, 0.06);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f2ede4;
  color: #b08445;
  font-size: 23px;
}

.solution-grid h3,
.complex-grid h3,
.steps h3,
.benefits h3,
.case-grid h3 {
  font-size: 17px;
  margin: 18px 0 8px;
}

.solution-grid p,
.complex-grid p,
.steps p,
.benefits p,
.case-grid p {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: break-word;
}

.solution-grid a,
.case-grid a,
.text-link {
  font-size: 12px;
  font-weight: 700;
}

/* Complex grid */
.complex-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid #d7d1c7;
}

.complex-grid > div {
  min-width: 0;
  padding: 24px 22px 10px;
  border-right: 1px solid #d7d1c7;
}

.complex-grid > div:first-child {
  padding-left: 0;
}

.complex-grid b,
.steps b {
  color: var(--gold);
  font: 500 25px "Manrope";
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps > div {
  min-width: 0;
  padding: 0 32px;
  border-left: 1px solid var(--line);
}

.steps > div:first-child {
  padding-left: 0;
  border: 0;
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  border-top: 1px solid var(--line);
}

.about-intro > p:last-child {
  color: var(--muted);
  max-width: 480px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px 55px;
}

.benefits > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
}

.benefits span {
  color: var(--gold);
  font-size: 22px;
  grid-row: 1 / 3;
}

.benefits h3,
.benefits p {
  margin: 0;
}

.benefits p {
  margin-top: 5px;
}

/* Case studies */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-grid article {
  min-width: 0;
  background: white;
  border: 1px solid #e4e0d8;
  padding: 30px;
  min-height: 245px;
}

.case-grid article > span {
  float: right;
  color: #c7b48e;
  font: 500 40px "Manrope";
}

.tag {
  font-size: 10px !important;
  letter-spacing: 0.14em;
  color: var(--gold) !important;
}

/* Enquiry */
.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
  background: #f7f5f0;
}

.enquiry-copy h2 {
  font: 400 52px/1.05 "Manrope";
  letter-spacing: -0.04em;
  margin: 0;
  overflow-wrap: break-word;
}

.enquiry-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #c8c5bd;
  padding: 17px;
  margin-top: 30px;
  max-width: 330px;
}

.whatsapp-card span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.whatsapp-card small {
  color: var(--muted);
  margin-top: 3px;
}

/* Deal form */
.deal-form {
  min-width: 0;
  max-width: 100%;
  background: white;
  border: 1px solid #e2ded6;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(24, 37, 46, 0.05);
}

.pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.pills button {
  max-width: 100%;
  background: white;
  border: 1px solid #d7d4ce;
  border-radius: 20px;
  padding: 8px 13px;
  font-size: 11px;
}

.pills button.active {
  background: #e8d5a8;
  border-color: #e8d5a8;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  min-width: 0;
}

.form-grid label {
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
}

.form-grid input,
.form-grid select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #e0ddd6;
  background: #faf9f6;
  padding: 12px;
  margin-top: 6px;
  font: inherit;
  font-size: 13px;
}

.form-grid .wide {
  grid-column: span 2;
}

.deal-form > .button {
  margin-top: 18px;
}

.form-note {
  font-size: 10px;
  color: #92999d;
  margin: 10px 0 0;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

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

summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 4px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  flex: 0 0 auto;
}

details[open] summary::after {
  content: "–";
}

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

/* Closing CTA */
.closing {
  background: #12313a;
  color: white;
  padding: 55px max(42px, calc((100vw - var(--max)) / 2 + 42px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.closing h2 {
  font-size: 40px;
}

.closing p {
  color: #c4ced1;
}

.closing-actions {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
}

.closing-actions > a {
  min-width: 0;
  flex-shrink: 0;
}

.phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.phone small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #c4ced1;
}

/* Footer */
footer {
  max-width: var(--max);
  margin: auto;
  padding: 35px 42px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) minmax(0, 2fr) 220px;
  gap: 30px;
  align-items: start;
}

footer > * {
  min-width: 0;
}

.footer-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
}

.legal {
  font-size: 9px;
  color: #7a858b;
  margin: 0;
}

.nacfb-footer {
  text-align: right;
  color: var(--green);
  font-weight: 700;
}

.nacfb-footer img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin-left: auto;
}

.nacfb-footer small {
  display: block;
  color: #90989b;
  font-weight: 400;
  margin-top: 3px;
}

/* Floating WhatsApp button */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  z-index: 30;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.floating-wa svg {
  fill: white;
}

/* Medium desktop */
@media (max-width: 1300px) {
  .closing-actions {
    flex-wrap: wrap;
  }
}

/* Tablet */
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 55px 32px 25px;
  }

  .hero-art {
    height: 390px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip > div:last-child {
    grid-column: span 2;
  }

  .section-heading.split,
  .about,
  .enquiry {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section-heading.split > p,
  .section-heading.split > div:last-child {
    justify-self: start;
  }

  .complex-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

/* Mobile/tablet closing actions */
@media (max-width: 768px) {
  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .closing-actions > a {
    width: 100%;
    max-width: 100%;
    flex-shrink: 1;
  }

  .phone {
    margin: 10px 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .site-header {
    height: 70px;
    padding: 0 20px;
    gap: 14px;
  }

  .site-header > .button {
    display: none;
  }

  .brand span {
    font-size: 20px;
  }

  .hero-copy {
    padding: 42px 20px 22px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 49px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-art {
    height: 280px;
  }

  .city-label {
    display: none;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section,
  .section.soft {
    padding: 60px 20px;
  }

  .solution-grid,
  .complex-grid,
  .steps,
  .benefits,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .complex-grid > div,
  .steps > div {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }

  .solution-grid {
    border-left: 0;
  }

  .solution-grid article {
    border-left: 0;
    border-right: 0;
  }

  .about {
    padding-left: 20px;
    padding-right: 20px;
  }

  .enquiry {
    padding: 60px 20px;
  }

  .enquiry-copy h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .whatsapp-card {
    width: 100%;
  }

  .deal-form {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .closing {
    padding: 45px 20px;
  }

  .closing h2 {
    font-size: clamp(32px, 10vw, 40px);
  }

  footer {
    padding: 30px 20px;
    grid-template-columns: 1fr;
  }

  .nacfb-footer {
    text-align: left;
  }

  .nacfb-footer img {
    margin-left: 0;
  }

  .service-line {
    display: none;
  }

  .floating-wa {
    right: 16px;
    bottom: 16px;
  }
}
