/* ====================================================
   UK Business Support — Stylesheet
   ==================================================== */

/* --- Variables --- */
:root {
  --cream: #FAFAF7;
  --white: #FFFFFF;
  --navy: #1E3A8A;
  --navy-light: #2a4fa8;
  --green: #16A34A;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --charcoal: #1F2937;
  --mid-grey: #6B7280;
  --light-grey: #E5E7EB;
  --border: #E5E7EB;

  --font-head: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;

  --max-w: 1200px;
  --max-w-narrow: 800px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(30,58,138,0.08);
  --shadow-hover: 0 12px 40px rgba(30,58,138,0.14);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
select, input, textarea { font: inherit; color: inherit; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--max-w-narrow);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(30,58,138,0.07);
  border-radius: 100px;
}
.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--charcoal);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn--primary {
  background: var(--amber);
  color: var(--charcoal);
  box-shadow: 0 2px 12px rgba(245,158,11,0.3);
}
.btn--primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.35);
}
.btn--sm  { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg  { padding: 16px 32px; font-size: 1rem; }
.btn--xl  { padding: 18px 40px; font-size: 1.0625rem; width: 100%; justify-content: center; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,231,235,0.6);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(30,58,138,0.08); }
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border-radius: 8px;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid-grey);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--navy); }
.nav__cta { margin-left: auto; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,58,138,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  max-width: var(--max-w);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__text { max-width: 560px; }
.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 20px;
  margin-top: 8px;
}
.hero__headline em { font-style: normal; color: var(--navy); }
.hero__sub {
  font-size: 1.0625rem;
  color: var(--mid-grey);
  line-height: 1.7;
  margin-bottom: 16px;
}
.hero__support {
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.65;
  border-left: 3px solid var(--amber);
  padding-left: 16px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__secondary-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--transition);
  padding-bottom: 2px;
}
.hero__secondary-link:hover { border-bottom-color: var(--navy); }
.hero__image-wrap { position: relative; }
.hero__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-hover);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.hero__image-frame:hover .hero__img { transform: scale(1.03); }
.hero__badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--amber);
  color: var(--charcoal);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}
.badge__number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.badge__label {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--mid-grey);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--mid-grey), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* --- SECTIONS --- */
.section { padding: 96px 24px; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section__heading {
  font-family: var(--font-head);
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--charcoal);
  max-width: 680px;
  margin-bottom: 20px;
}
.section__intro {
  font-size: 1.0625rem;
  color: var(--mid-grey);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 56px;
}

/* --- WHY SECTION --- */
.why .container { max-width: var(--max-w); }
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why__text .section__heading { margin-bottom: 24px; }
.why__text p { margin-bottom: 20px; color: var(--mid-grey); font-size: 1.0625rem; line-height: 1.7; }
.why__promise {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(22,163,74,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(22,163,74,0.15);
}
.promise__icon { color: var(--green); font-size: 1.2rem; flex-shrink: 0; }
.why__promise strong { font-size: 1.0625rem; color: var(--charcoal); font-weight: 700; }
.why__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-hover);
  position: relative;
}
.why__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.why__image-wrap:hover .why__img { transform: scale(1.03); }

/* --- HOW SECTION --- */
.how__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(30,58,138,0.15);
}
.pillar__icon {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.pillar h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.pillar p { font-size: 0.9375rem; color: var(--mid-grey); line-height: 1.65; }

/* --- WHAT / SERVICES --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .card__link { opacity: 1; transform: translateX(0); }
.service-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card p { font-size: 0.9375rem; color: var(--mid-grey); line-height: 1.65; margin-bottom: 20px; }
.card__link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
}

/* --- PARTNERS --- */
.partners__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  justify-content: center;
}
.partner-logo {
  padding: 14px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mid-grey);
  transition: all var(--transition);
}
.partner-logo:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.partners__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--mid-grey);
}

/* --- IMPACT / STATS --- */
.testimonial {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.testimonial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 20px;
  position: relative;
}
.testimonial__quote::before {
  content: '\201C';
  position: absolute;
  top: -32px; left: -16px;
  font-size: 6rem;
  color: rgba(30,58,138,0.06);
  font-family: var(--font-serif);
  line-height: 1;
  pointer-events: none;
}
.testimonial__cite {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mid-grey);
  font-style: normal;
}
.stats__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  align-items: center;
}
.stat {
  text-align: center;
  padding: 0 20px;
}
.stat__number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.stat__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

/* --- CONTACT FORM --- */
.contact .section__heading,
.contact .section__intro,
.contact .eyebrow { text-align: center; max-width: 100%; }
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-top: 8px;
}
.form__row { margin-bottom: 24px; }
.form__row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}
.form__optional { font-weight: 400; color: var(--mid-grey); }
.form__group input,
.form__group textarea,
.form__group select {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  resize: vertical;
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
  background: var(--white);
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: #9CA3AF; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--mid-grey);
}
.form__group select { appearance: none; cursor: pointer; }
.form__submit { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 8px; }
.form__reassurance {
  font-size: 0.875rem;
  color: var(--mid-grey);
  text-align: center;
}
.form__error-banner {
  width: 100%;
  padding: 14px 16px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  color: #B91C1C;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}
.form__success {
  text-align: center;
  padding: 64px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.success__icon {
  width: 64px; height: 64px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 24px;
}
.form__success h3 {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.form__success p { color: var(--mid-grey); }

/* --- FOOTER --- */
.footer {
  background: var(--charcoal);
  padding: 56px 24px 40px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  gap: 24px;
}
.footer__logo .logo-text,
.footer__brand .footer__tagline { color: rgba(255,255,255,0.7); }
.footer__brand .logo-text { color: rgba(255,255,255,0.9); }
.footer__tagline { font-size: 0.875rem; margin-top: 8px; }
.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer__nav a:hover { color: #fff; }
.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  max-width: 560px;
}

/* --- FLOATING CTA --- */
.floating-cta {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 99;
  padding: 14px 24px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(30,58,138,0.35);
  transform: translateY(80px);
  opacity: 0;
  transition: all var(--transition);
  pointer-events: none;
}
.floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.floating-cta:hover {
  background: var(--navy-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30,58,138,0.4);
}

/* --- SECTION TRANSITIONS --- */
.section--white { position: relative; }
.section--white::before,
.section--white::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
  opacity: 0.5;
}
.section--white::before { top: 0; }
.section--white::after { bottom: 0; }

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .how__pillars { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__bar { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 32px; }
  .stat__divider { display: none; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }
  .nav__links.open + .nav__cta { display: flex; }

  .hero { padding: 100px 24px 60px; }
  .hero__content { grid-template-columns: 1fr; gap: 40px; }
  .hero__image-wrap { order: -1; }
  .hero__image-frame { aspect-ratio: 16/10; max-height: 380px; }
  .hero__text { max-width: 100%; }
  .hero__scroll-hint { display: none; }

  .why__inner { grid-template-columns: 1fr; gap: 40px; }
  .why__image-wrap { aspect-ratio: 16/9; }

  .how__pillars { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }

  .stats__bar { grid-template-columns: 1fr 1fr; padding: 32px 24px; gap: 24px; }

  .contact-form { padding: 28px 20px; }
  .form__row--2col { grid-template-columns: 1fr; }

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

  .floating-cta { bottom: 16px; right: 16px; font-size: 0.8125rem; padding: 12px 20px; }

  .section { padding: 72px 24px; }
}

@media (max-width: 480px) {
  .stats__bar { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section__heading { font-size: 1.5rem; }
}
