/* ============================================
   Task Heroes — Stylesheet
   Premium cleaning, gardening, manual labour & more
   Logo-matched palette: bright sky blue, warm yellow, pure red, black on white
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Logo-matched palette */
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FB;
  --bg-cool: #EEF5FA;

  --primary: #28A8E0;          /* Logo sky blue */
  --primary-dark: #1989C2;     /* Darker blue for headings & contrast */
  --primary-darker: #0F6E9F;   /* Used for body text emphasis on light bg */
  --primary-light: #5DC0EA;
  --primary-soft: #E1F2FB;

  --accent-red: #ED1C24;       /* Logo cape red */
  --accent-red-dark: #C8161D;
  --accent-red-soft: #FCE4E5;

  --accent-yellow: #F4C842;    /* Logo yellow */
  --accent-yellow-dark: #D4A716;
  --accent-yellow-soft: #FEF4D5;

  --black: #000000;
  --text: #111419;
  --text-muted: #4F5663;
  --border: #E2E8EE;
  --border-strong: #C7D1DC;

  --shadow-sm: 0 1px 2px rgba(40, 168, 224, 0.06), 0 1px 3px rgba(17, 20, 25, 0.04);
  --shadow-md: 0 4px 14px rgba(40, 168, 224, 0.10), 0 2px 4px rgba(17, 20, 25, 0.05);
  --shadow-lg: 0 14px 36px rgba(40, 168, 224, 0.14), 0 4px 10px rgba(17, 20, 25, 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1200px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  text-align: center;            /* Global centre */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;            /* Centre images by default */
}

a {
  color: var(--primary-darker);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent-red); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-darker);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-darker);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5em;
  color: var(--primary-darker);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-bottom: 0.5em;
  color: var(--primary-darker);
}

p {
  margin-bottom: 1em;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

p.lead {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-red);
  margin-bottom: 16px;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  text-align: left;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-darker);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(17, 20, 25, 0.10);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-darker);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-red);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-red);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--accent-red-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary-darker);
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    text-align: center;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  .nav-toggle { display: block; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent-red);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary-darker);
  border-color: var(--primary-darker);
}

.btn-outline:hover {
  background: var(--primary-darker);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(40, 168, 224, 0.10) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.hero-logo {
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
  display: block;
  border-radius: 50%;
  background: var(--white);
  padding: 8px;
  box-shadow: 0 8px 28px rgba(40, 168, 224, 0.22);
}

@media (max-width: 600px) {
  .hero-logo {
    width: 156px;
    height: 156px;
  }
}

.hero-content h1 { margin-bottom: 20px; }

.hl-yellow {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hl-yellow::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.32em;
  background: var(--accent-yellow);
  z-index: -1;
  border-radius: 2px;
}

.hero-content p.lead {
  font-size: 1.2rem;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
  justify-content: center;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.hero-meta-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== Section base ===== */
.section { padding: 96px 0; }

.section-alt { background: var(--bg-alt); }

.section-cool { background: var(--bg-cool); }

.section-dark {
  background: var(--primary-darker);
  color: var(--white);
}

.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.85); }

.section-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ===== Audience cards (home) ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: center;
}

@media (max-width: 760px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.audience-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.audience-card .audience-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.audience-card.commercial .audience-icon {
  background: var(--accent-red-soft);
  color: var(--accent-red);
}

.audience-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.audience-card p {
  margin-bottom: 24px;
  flex: 1;
}

.audience-card ul {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  display: inline-block;
  text-align: left;
}

.audience-card ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.audience-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: rotate(-45deg);
}

.audience-card.commercial ul li::before {
  border-color: var(--accent-red);
}

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 920px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Service detail blocks ===== */
.service-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-block {
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.service-block-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.service-block .service-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}

.service-block h3 { font-size: 1.4rem; }

.service-block p {
  max-width: 640px;
  margin: 0 auto 12px;
}

.service-block ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px 24px;
  margin: 24px auto 0;
  max-width: 880px;
  text-align: left;
}

@media (max-width: 760px) {
  .service-block ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .service-block ul { grid-template-columns: 1fr; }
}

.service-block ul li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--text);
}

.service-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--primary-soft);
  border-radius: 50%;
}

.service-block ul li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--primary-dark);
  border-bottom: 2px solid var(--primary-dark);
  transform: rotate(-45deg);
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 920px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent-yellow);
  color: var(--black);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

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

.step p {
  font-size: 0.92rem;
  margin: 0;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  color: var(--white);
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 70%;
  height: 180%;
  background: radial-gradient(circle, rgba(244, 200, 66, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto 28px;
  position: relative;
  max-width: 640px;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  justify-content: center;
}

.cta-banner .btn-primary {
  background: var(--accent-red);
  color: var(--white);
}

.cta-banner .btn-primary:hover {
  background: var(--accent-red-dark);
  color: var(--white);
}

.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ===== Coverage ===== */
.coverage {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.coverage-postcodes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .coverage-postcodes { grid-template-columns: repeat(3, 1fr); }
}

.postcode-pill {
  background: var(--white);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 6px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-darker);
  transition: all var(--transition);
}

.postcode-pill:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Trust strip ===== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

@media (max-width: 760px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

.trust-item { padding: 24px 16px; }

.trust-item-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  margin: 0 auto 14px;
}

.trust-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.88rem;
  margin: 0;
}

/* ===== Mission card ===== */
.mission-card {
  background: var(--primary-darker);
  color: var(--white);
  padding: 64px 56px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

@media (max-width: 600px) {
  .mission-card { padding: 40px 28px; }
}

.mission-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(244, 200, 66, 0.20) 0%, transparent 60%);
  pointer-events: none;
}

.mission-card .eyebrow {
  color: var(--accent-yellow);
  position: relative;
}

.mission-card h2 {
  color: var(--white);
  position: relative;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 880px;
  margin: 0 auto;
}

.mission-card p {
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  margin: 20px auto 0;
  max-width: 760px;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 920px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .gallery-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ===== Contact / Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  text-align: center;
}

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h2 { margin-bottom: 16px; }

.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child { border-bottom: none; }

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 6px;
}

.contact-detail-text strong {
  display: block;
  color: var(--primary-darker);
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 1rem;
  color: var(--text);
}

.contact-detail-text a:hover { color: var(--accent-red); }

/* Form */
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

@media (max-width: 540px) {
  .contact-form { padding: 26px 22px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-darker);
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(40, 168, 224, 0.18);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: left;
}

.form-checkbox input { margin-top: 3px; }

.form-checkbox a {
  color: var(--primary-darker);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  color: var(--primary-darker);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
}

.form-success.visible { display: block; }

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand .brand {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  max-width: 320px;
  margin: 0 auto;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.footer-col a:hover { color: var(--accent-yellow); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.footer-bottom span:last-child {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* ===== Page hero (interior pages) ===== */
.page-hero {
  padding: 72px 0 56px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(40, 168, 224, 0.10) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
}

.page-hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.page-hero h1 { margin-bottom: 18px; }

.page-hero p.lead {
  font-size: 1.2rem;
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--text-muted); }

.breadcrumb a:hover { color: var(--primary-darker); }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================
   Mobile refinements (mobile-first polish)
   Applied progressively from tablet down to phone.
   ============================================ */

/* Tablet and below */
@media (max-width: 880px) {
  .container { padding: 0 20px; }

  .section { padding: 72px 0; }

  .hero { padding: 64px 0 56px; }

  .page-hero { padding: 56px 0 44px; }

  .section-header { margin-bottom: 40px; }

  h1 { font-size: clamp(2rem, 7vw, 2.75rem); }

  .hero-content p.lead,
  .page-hero p.lead { font-size: 1.05rem; }

  .cta-banner { padding: 48px 32px; }

  .mission-card { padding: 48px 32px; }
  .mission-card h2 { font-size: 1.4rem; }

  .service-block { padding: 32px 24px; }

  .audience-card { padding: 32px 24px; }
}

/* Phone */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  .section { padding: 56px 0; }

  .hero { padding: 48px 0 40px; }

  .page-hero { padding: 40px 0 32px; }

  .section-header { margin-bottom: 32px; }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
    letter-spacing: -0.015em;
  }

  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .hero-content p.lead,
  .page-hero p.lead { font-size: 1rem; }

  /* Full-width primary actions for big tap targets */
  .hero-actions,
  .cta-banner-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn,
  .cta-banner-actions .btn {
    width: 100%;
    padding: 14px 20px;
  }

  .hero-meta {
    gap: 12px 18px;
    font-size: 0.85rem;
  }

  .cta-banner { padding: 36px 22px; border-radius: 18px; }

  .mission-card {
    padding: 36px 22px;
    border-radius: 18px;
  }
  .mission-card h2 { font-size: 1.25rem; line-height: 1.45; }

  .service-block { padding: 26px 20px; }
  .service-block .service-icon { width: 52px; height: 52px; }
  .service-block h3 { font-size: 1.25rem; }

  .audience-card { padding: 28px 22px; }
  .audience-card h3 { font-size: 1.25rem; }

  .feature-card { padding: 26px 22px; }

  .step { padding: 22px 18px; }

  .trust-strip { gap: 12px; }
  .trust-item { padding: 16px 8px; }
  .trust-item-icon { width: 48px; height: 48px; }

  /* Larger tap targets */
  .nav-cta { padding: 12px 18px; }
  .btn { min-height: 48px; }

  /* Form spacing */
  .form-field input,
  .form-field select,
  .form-field textarea { padding: 14px 14px; font-size: 16px; /* prevent iOS zoom */ }
  .form-submit { padding: 16px; min-height: 52px; }

  /* Coverage pills: 3 across reads better than 2 cramped */
  .coverage-postcodes { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .postcode-pill { padding: 12px 4px; font-size: 1rem; }

  /* Gallery: keep 2 columns, with smaller gap */
  .gallery { gap: 12px; }
  .gallery-item .gallery-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
    bottom: 6px;
    left: 6px;
  }

  /* Footer tightening */
  .site-footer { padding: 48px 0 24px; }
  .footer-grid { gap: 28px; margin-bottom: 32px; }
  .footer-bottom { gap: 6px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .container { padding: 0 14px; }

  h1 { font-size: 1.6rem; }

  .hero-logo { width: 132px; height: 132px; }

  .nav { padding: 12px 0; }
  .brand { font-size: 1.05rem; }
  .brand-mark { width: 38px; height: 38px; }

  /* Service block list collapses to single column for readability */
  .service-block ul { grid-template-columns: 1fr; }
}

/* Improve focus visibility (accessibility, helps mobile keyboards too) */
:focus-visible {
  outline: 3px solid var(--accent-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================
   WhatsApp contact detail
   ============================================ */

.contact-detail-icon.is-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #1FB755;
}
