/* ==========================================================================
   SD Commercial Property Services – main stylesheet
   Brand: Orange #F0592A · Navy #304699 · Off White #F5F6F8 · Charcoal #303A38
   ========================================================================== */

:root {
  --orange: #F0592A;
  --orange-dark: #D4461A;
  --orange-soft: #FDEEE8;
  --navy: #304699;
  --navy-dark: #22357A;
  --navy-deep: #1A2960;
  --navy-soft: #EBEEF8;
  --offwhite: #F5F6F8;
  --charcoal: #303A38;
  --muted: #5E6866;
  --line: #E2E5EA;
  --white: #FFFFFF;

  --font-head: "Montserrat", "Aptos", system-ui, sans-serif;
  --font-body: "Poppins", "Aptos", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(26, 41, 96, .06);
  --shadow: 0 10px 30px rgba(26, 41, 96, .09);
  --shadow-lg: 0 24px 60px rgba(26, 41, 96, .16);
  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy-deep); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--orange); }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.req { color: var(--orange); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow .icon { width: 1em; height: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: normal; text-align: center; line-height: 1.2; max-width: 100%;
}
.site-nav__cta, .topbar a { white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(240, 89, 42, .28); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--secondary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(48, 70, 153, .25); }
.btn--secondary:hover { background: var(--navy-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy-deep); }
.btn--light:hover { background: var(--orange-soft); color: var(--navy-deep); }
.btn--outline-light { border-color: rgba(255,255,255,.65); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--orange); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,.85); font-size: .83rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__item, .topbar__links a { display: inline-flex; align-items: center; gap: .45em; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: var(--orange); }
.topbar .icon { color: var(--orange); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 6px; }
.site-nav ul a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--charcoal);
  position: relative;
}
.site-nav ul a:hover { color: var(--orange); }
.site-nav ul a[aria-current="page"] { color: var(--navy); background: var(--navy-soft); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--navy-soft); border-radius: 12px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--offwhite) 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 92% 12%, rgba(240, 89, 42, .12), transparent 70%),
    radial-gradient(700px 500px at 75% 95%, rgba(48, 70, 153, .12), transparent 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
.hero h1 { margin-bottom: 20px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: var(--charcoal); font-weight: 500; font-size: .95rem; }
.hero__points li { display: inline-flex; align-items: center; gap: .5em; }
.hero__points .icon { color: #fff; background: var(--orange); border-radius: 50%; padding: 3px; width: 1.25em; height: 1.25em; }

.hero__visual { position: relative; min-height: 440px; }
.hero-card--main {
  position: absolute; inset: 20px 30px 20px 30px;
  border-radius: 32px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: 40px 40px 56px; text-align: center; overflow: hidden;
}
.hero-card--main::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,89,42,.35), transparent 65%);
  top: -140px; right: -120px;
}
.hero-card--main::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.hero-card--main img { position: relative; z-index: 1; width: 62%; max-width: 230px; background: #fff; border-radius: 28px; padding: 22px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.hero-card__title { position: relative; z-index: 1; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; max-width: 260px; margin: 0; }

.hero-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy-deep);
  animation: float 6s ease-in-out infinite;
}
.hero-chip__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--orange-soft); color: var(--orange); }
.hero-chip--1 { top: 40px; left: -8px; }
.hero-chip--2 { top: 46%; right: -14px; animation-delay: -2s; }
.hero-chip--2 .hero-chip__icon { background: var(--navy-soft); color: var(--navy); }
.hero-chip--3 { bottom: -6px; right: 40px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--tint { background: var(--offwhite); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p:last-child { color: var(--muted); }

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

.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden;
}
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card p { color: var(--muted); }
.service-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--orange-soft); color: var(--orange); margin-bottom: 22px; }
.service-card__icon .icon { width: 30px; height: 30px; }
.service-card__icon--lg { width: 68px; height: 68px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.split__intro p { color: var(--muted); margin-bottom: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); font-weight: 500; line-height: 1.4; }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px; background: var(--navy); color: #fff; }
.feature:nth-child(even) .feature__icon { background: var(--orange); }
.feature__icon .icon { width: 24px; height: 24px; }

.promo { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; background: var(--navy-soft); border-radius: var(--radius-lg); padding: 44px 48px; }
.promo h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.promo p:last-child { margin: 0; color: var(--muted); }
.promo__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; background: var(--navy); color: #fff; }
.promo__icon .icon { width: 40px; height: 40px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--orange) 0%, #E8481C 55%, var(--orange-dark) 100%); color: #fff; padding: 64px 0; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.92); max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); color: #fff; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(240,89,42,.45), transparent 65%); }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 1.5px); background-size: 24px 24px; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: rgba(255,255,255,.85); }
.page-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.page-hero .btn--ghost:hover { background: #fff; color: var(--navy-deep); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump-links a { display: inline-flex; align-items: center; gap: .5em; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: .88rem; font-weight: 500; }
.jump-links a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.jump-links .icon { color: var(--orange); }
.jump-links a:hover .icon { color: #fff; }

/* ---------- Services page ---------- */
.service-list { display: grid; gap: 32px; }
.service-row { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.service-row__head { position: relative; padding: 44px 44px 40px; background: var(--offwhite); }
.service-row__head p { color: var(--muted); margin-bottom: 26px; }
.service-row__num { position: absolute; top: 28px; right: 36px; font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: rgba(48, 70, 153, .09); }
.service-row__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.service-row:nth-child(even) .service-card__icon { background: var(--navy-soft); color: var(--navy); }
.list-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: 18px; }
.service-row__body--note { align-items: flex-start; gap: 14px; background: linear-gradient(135deg, var(--navy-soft), #fff); }
.service-row__body--note > .icon { width: 40px; height: 40px; color: var(--navy); }
.service-row__body--note p { color: var(--muted); font-size: 1.02rem; }

.check-list { display: grid; gap: 12px; }
.check-list--2col { grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.check-list .icon { margin-top: 1px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); }

/* ---------- Training page ---------- */
.pathway { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pathway-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); padding: 44px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pathway-card > p { color: var(--muted); }
.pathway-card .check-list { margin: 8px 0 0; flex: 1; }
.pathway-card .btn { align-self: flex-start; }
.pathway-card__tag { position: absolute; top: 32px; right: 36px; font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; color: rgba(240, 89, 42, .14); }
.pathway-card--navy { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgba(255,255,255,.9); border: 0; }
.pathway-card--navy h2 { color: #fff; }
.pathway-card--navy > p { color: rgba(255,255,255,.8); }
.pathway-card--navy .service-card__icon { background: rgba(255,255,255,.12); color: #fff; }
.pathway-card--navy .check-list .icon { background: var(--orange); color: #fff; }
.pathway-card--navy .pathway-card__tag { color: rgba(255,255,255,.1); }
.pathway-card h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

.notice { display: flex; gap: 20px; align-items: flex-start; background: #fff; border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); }
.notice > .icon { width: 32px; height: 32px; color: var(--orange); }
.notice h2 { font-size: 1.15rem; margin-bottom: 6px; }
.notice p { margin: 0; color: var(--muted); }
.notice strong { color: var(--charcoal); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px 26px; border-radius: var(--radius-lg); background: var(--offwhite); }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(240,89,42,.3); }
.step:nth-child(even) .step__num { background: var(--navy); box-shadow: 0 6px 16px rgba(48,70,153,.3); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contact-info { position: sticky; top: calc(var(--header-h) + 24px); background: var(--offwhite); border-radius: var(--radius-lg); padding: 36px 32px; display: grid; gap: 14px; }
.contact-info h2 { font-size: 1.45rem; margin-bottom: 0; }
.contact-info__name { font-family: var(--font-head); font-weight: 700; color: var(--orange); margin: 0 0 6px; }
.contact-list { display: grid; gap: 18px; margin-bottom: 10px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.contact-list__icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: #fff; color: var(--orange); box-shadow: var(--shadow-sm); }
.contact-list__label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list a { color: var(--navy-deep); font-weight: 600; font-size: .93rem; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--orange); }
.map-embed { margin-top: 8px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.enquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.enquiry-stack { display: grid; gap: 32px; }
.enquiry__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.enquiry__head h2 { font-size: 1.6rem; margin-bottom: 6px; }
.enquiry__head .muted { margin: 0; }
.enquiry__icon { display: grid; place-items: center; width: 54px; height: 54px; flex-shrink: 0; border-radius: 15px; background: var(--orange-soft); color: var(--orange); }
.enquiry__icon .icon { width: 26px; height: 26px; }
.enquiry__icon--navy { background: var(--navy-soft); color: var(--navy); }
.enquiry--training { border-top: 4px solid var(--navy); }
.enquiry:not(.enquiry--training) { border-top: 4px solid var(--orange); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--charcoal);
  background: var(--offwhite); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23304699' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(48,70,153,.12); }
.field--error input, .field--error select, .field--error textarea { border-color: #C9301C; background: #FFF6F4; }
.field__error { color: #C9301C; font-size: .85rem; margin: 0; font-weight: 500; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); background: var(--orange-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 24px; }
.form-note .icon { color: var(--orange); margin-top: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; }
.alert--success { background: #E9F7EF; color: #1D6B3E; }
.alert .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #2E9E5B; color: #fff; margin-top: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.3fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.site-footer__brand p { max-width: 330px; }
.footer-gbp { display: inline-flex; align-items: center; gap: .5em; color: #fff; font-weight: 600; }
.footer-gbp .icon { color: var(--orange); }
.site-footer__title { color: #fff; font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--orange); }
.site-footer__list { display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--orange); }
.site-footer__contact { display: grid; gap: 14px; }
.site-footer__area { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; color: #fff; font-weight: 500; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.site-footer__contact .icon { color: var(--orange); margin-top: 3px; }
.site-footer__contact a { word-break: break-word; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .85rem; }
.site-footer__tag { color: var(--orange); font-weight: 600; }

/* ---------- Floating call button (mobile) ---------- */
.call-fab { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--orange); color: #fff; place-items: center; box-shadow: 0 10px 26px rgba(240,89,42,.45); }
.call-fab .icon { width: 26px; height: 26px; }
.call-fab:hover { color: #fff; background: var(--orange-dark); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .site-nav { gap: 14px; }
  .site-nav ul a { padding: 8px 10px; font-size: .88rem; }
  .brand img { height: 48px; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: flex; }
  /* backdrop-filter would make the header the containing block for the
     fixed menu (collapsing it to the header's height), so drop it here. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; z-index: 99;
    box-shadow: inset 0 1px 0 var(--line);
    flex-direction: column; align-items: stretch; gap: 20px;
    background: #fff; padding: 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { font-size: 1.1rem; padding: 14px 16px; border-radius: 12px; }
  .site-nav__cta { width: 100%; padding: 15px; }
  .topbar__item { display: none; }
  .topbar__inner { justify-content: center; }

  .hero { padding: 48px 0 72px; }
  .hero__inner, .split, .pathway, .contact-layout { grid-template-columns: 1fr; }
  .hero__visual { min-height: 380px; max-width: 520px; width: 100%; margin: 0 auto; }
  .card-grid--3 { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .promo { grid-template-columns: 1fr; text-align: left; padding: 36px; gap: 22px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .contact-info { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .call-fab { display: grid; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .topbar__links { gap: 14px; font-size: .78rem; }
  .topbar__links a:first-child { display: none; }
  .brand img { height: 42px; }
  .card-grid--3, .feature-grid, .steps, .form-grid, .check-list--2col { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero__visual { min-height: 330px; }
  .hero-card--main { inset: 16px 12px; padding: 28px; }
  .hero-chip { font-size: .8rem; padding: 8px 12px 8px 8px; }
  .hero-chip__icon { width: 32px; height: 32px; }
  .hero-chip--1 { left: -4px; top: 0; }
  .hero-chip--2 { right: -4px; }
  .hero-chip--3 { bottom: -10px; right: 10px; }
  .service-row__head, .service-row__body, .pathway-card { padding: 32px 26px; }
  .enquiry { padding: 26px 20px; }
  .enquiry__head { flex-direction: column; gap: 12px; }
  .site-footer__grid { grid-template-columns: 1fr; padding-top: 56px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
