/* ============================================================
   Yorkshire Fire Sprinkler Services – styles.css
   Mobile-first stylesheet.
   Breakpoints:
     Base       : up to 767px
     Tablet     : 768px – 1023px
     Desktop    : 1024px+
   ============================================================ */

/* Self-hosted fonts (SIL Open Font License). Latin subset, variable DM Sans. */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/bebas-neue-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-italic-latin.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:    #0B1623;
  --dark2:   #12202F;
  --red:     #C41D18;
  --red-mid: #E02E22;
  --orange:  #E0551A;
  --white:   #FFFFFF;
  --light:   #F4F2EE;
  --mid:     #8892A0;
  --border:  rgba(255,255,255,0.12);
  --ff-head: 'Bebas Neue', sans-serif;
  --ff-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: #1a2230;
  background: var(--white);
}

/* ── NAV (mobile) ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 64px;
  background: rgba(11,22,35,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

/* Logo link wrapper — no underline, inherits colour */
.logo-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Mobile: logo takes remaining space, no CTA button */
.nav-cta-wrap { display: none; }

.logo {
  font-family: var(--ff-head);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}

.logo span { color: var(--red-mid); }

/* Nav list: hidden on mobile, shown when nav-open */
nav ul {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0B1623;
  border-bottom: 2px solid rgba(196,29,24,0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  z-index: 99;
  padding: 0;
}

nav.nav-open ul {
  display: flex;
}

nav ul li { width: 100%; }

nav ul a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

nav ul a:hover {
  background: rgba(255,255,255,0.05);
  border-left-color: var(--red);
  color: var(--white);
}

/* "Get a Quote" CTA inside mobile menu */
.menu-cta {
  margin: 20px 24px 24px !important;
  padding: 16px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  text-align: center !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border-left: none !important;
  border-bottom: none !important;
}

.menu-cta:hover {
  background: var(--red-mid) !important;
  border-left-color: transparent !important;
}

/* nav-cta style kept for desktop ul */
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 4px;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13px !important;
  transition: background 0.2s !important;
  padding: 10px 22px !important;
  display: inline-block;
  border-left: none !important;
}

.nav-cta:hover { background: var(--red-mid) !important; color: var(--white) !important; }

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
  transform-origin: center;
}

/* Hamburger → × when menu open */
nav.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
nav.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}
nav.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* CTA wrap — hidden on mobile, shown tablet only if needed */
.nav-cta-wrap {
  display: none;
  align-items: center;
}

@media (max-width: 767px) {
  nav .nav-cta,
  nav ul li a.nav-cta,
  nav a.nav-cta {
    display: none !important;
  }
}

/* ── HERO (mobile) ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(196,29,24,0.35) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 70% 60%, rgba(224,85,26,0.18) 0%, transparent 60%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 20px 24px;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-start;
}


.hero-inner {
  display: block;
  width: 100%;
}

/* Mobile hero: sub + buttons left, image right */
.hero-bottom-row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 16px;
  align-items: flex-end;
  margin-top: 20px;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-image-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-sprinkler {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-eyebrow {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(196,29,24,0.2);
  border: 1px solid rgba(196,29,24,0.5);
  color: #F4A49A;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E05320;
  display: block;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(48px, 12vw, 80px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--red-mid); }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  margin-bottom: 24px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  width: 100%;
  max-width: 220px;
  text-align: center;
  padding: 14px 16px;
  font-size: 13px;
}

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--red-mid); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.32);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

/* ── TRUST BAR — hidden on mobile ── */
.trust-bar {
  display: none;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.trust-divider {
  display: none;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(196,29,24,0.2);
  border: 1px solid rgba(196,29,24,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg { width: 16px; height: 16px; fill: #E8837E; }

/* ── SECTIONS ── */
section { padding: 72px 20px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(34px, 8vw, 60px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-title.light { color: var(--white); }

.section-lead {
  font-size: 17px;
  font-weight: 300;
  color: #4B5B6E;
  line-height: 1.6;
  margin-bottom: 48px;
}

.section-lead.light { color: rgba(255,255,255,0.65); }

/* ── SERVICES (mobile) ── */
.services { background: var(--light); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 24px;
  border: 1px solid #E0DDD7;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); }
.service-card:hover { background: linear-gradient(180deg, #f7fbff 0%, var(--white) 55%); }

.service-number {
  font-family: var(--ff-head);
  font-size: 56px;
  line-height: 1;
  color: #E8E4DC;
  margin-bottom: 12px;
  display: block;
}

.service-card h3 {
  font-family: var(--ff-head);
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: #5A6678;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-link svg { width: 14px; height: 14px; }

/* ── WHO WE HELP (mobile) ── */
.who { background: var(--dark); }

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.who-card {
  background: var(--dark2);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.who-card::before {
  content: attr(data-num);
  font-family: var(--ff-head);
  font-size: 120px;
  color: rgba(255,255,255,0.04);
  position: absolute;
  bottom: -20px;
  right: -10px;
  line-height: 1;
  pointer-events: none;
}

.who-card:hover { background: #1A2A3E; }

.who-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(196,29,24,0.18);
  border: 1px solid rgba(196,29,24,0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.who-card-icon svg { width: 20px; height: 20px; fill: #E8837E; }

.who-card h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.who-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── PROCESS (mobile) – vertical stepper ── */
.process { background: var(--white); }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  margin-top: 16px;
}

/* No connector line on mobile */
.process-steps::before { display: none; }

.process-step {
  padding: 0 0 0 0;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--ff-head);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px rgba(196,29,24,0.2);
}

.process-step h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 15px;
  color: #5A6678;
  line-height: 1.6;
}

.process-detail { margin-top: 10px; }

.process-tag {
  display: inline-block;
  background: #F4EEE8;
  color: #8B4B1A;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 8px;
  margin-right: 4px;
  letter-spacing: 0.04em;
}

/* ── WHY US (mobile) ── */
.why { background: var(--light); }

.why-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Accreditations panel above four points, NO sticky on mobile */
.why-visual {
  background: var(--dark);
  border-radius: 12px;
  padding: 36px 28px;
  position: static;
  overflow: hidden;
}

.why-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 100%, rgba(196,29,24,0.3) 0%, transparent 65%);
  pointer-events: none;
}

.accreditation-block {
  position: relative;
  z-index: 1;
}

.accreditation-block h3 {
  font-family: var(--ff-head);
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.accreditation-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 16px;
}

.badge-mark {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(196,29,24,0.25);
  border: 1px solid rgba(196,29,24,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--ff-head);
  font-size: 13px;
  color: #F4A49A;
  text-align: center;
  line-height: 1.2;
}

.badge-text { flex: 1; }

.badge-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--white);
  margin-bottom: 2px;
}

.badge-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}

.why-points { display: flex; flex-direction: column; gap: 28px; }

.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid #E0DDD7;
}

.why-point:last-child { border-bottom: none; padding-bottom: 0; }

.why-point-num {
  font-family: var(--ff-head);
  font-size: 34px;
  color: #D9CEBB;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
}

.why-point-content h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 8px;
}

.why-point-content p {
  font-size: 15px;
  color: #5A6678;
  line-height: 1.6;
}

/* ── COVERAGE (mobile) ── */
.coverage {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.coverage .container { position: relative; z-index: 1; }

/* Yorkshire rose watermark – mobile */
.coverage-rose {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.coverage-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.region-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.region-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #DDD9D0;
  border-radius: 6px;
  font-size: 14px;
  color: #2E3C4F;
  font-weight: 500;
}

.region-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.coverage-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: #FFF7F5;
  border-left: 3px solid var(--red);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #5A3030;
  line-height: 1.6;
}

.coverage-right { padding-top: 0; }

.coverage-right h3 {
  font-family: var(--ff-head);
  font-size: 24px;
  color: var(--dark);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.coverage-right p {
  font-size: 15px;
  color: #5A6678;
  line-height: 1.65;
  margin-bottom: 16px;
}

.client-types {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.client-type {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #2E3C4F;
  font-weight: 500;
}

.client-type-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FDF0EE;
  border: 1.5px solid rgba(196,29,24,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

/* ── CTA / CONTACT (mobile) ── */
.cta-section {
  background: var(--dark);
  padding: 72px 20px;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cta-left h2 {
  font-family: var(--ff-head);
  font-size: clamp(40px, 10vw, 68px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.cta-left h2 span { color: var(--red-mid); }

.cta-left p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 32px;
}

.cta-reassurances { display: flex; flex-direction: column; gap: 12px; }

.reassurance {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}

.reassurance::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(196,29,24,0.3);
  border: 1px solid rgba(196,29,24,0.5);
  display: flex;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='%23F4A49A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}

/* Form */
.enquiry-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px 24px;
}

.form-title {
  font-family: var(--ff-head);
  font-size: 24px;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 24px;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }

.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }

.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-select {
  height: 46px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.45); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(196,29,24,0.6);
  background: rgba(255,255,255,0.08);
}

.form-select option { background: var(--dark2); color: var(--white); }

.form-textarea { resize: none; height: 100px; }

.form-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--red-mid); }

.form-footer-note {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-top: 14px;
}

/* ── FOOTER (mobile) ── */
footer {
  background: #060C14;
  padding: 48px 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-logo {
  font-family: var(--ff-head);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}

.footer-logo span { color: var(--red-mid); }

.footer-about {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-item a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s;
}

.footer-contact-item a:hover {
  border-color: var(--red-mid);
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--red-mid);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.footer-credit {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.footer-credit a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--white); }

/* ── MOCKUP BANNER ── */
.mockup-banner {
  display: none;
}

@media (min-width: 1024px) {
  .mockup-banner {
    display: block;
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: #0B1623;
    border: 1px solid rgba(196,29,24,0.6);
    border-radius: 8px;
    padding: 8px 16px;
    z-index: 999;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    line-height: 1.4;
  }
}

.mockup-banner strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin-bottom: 2px;
  font-weight: 600;
}

.mockup-banner em { color: #E8837E; font-style: normal; font-weight: 600; }

/* ── SPRINKLER ACTIVATION ANIMATION ── */
@keyframes sprayDrop {
  0%   { opacity: 0; transform: translateX(0) translateY(0) scaleY(0.4); }
  8%   { opacity: 1; }
  80%  { opacity: 0.7; }
  100% { opacity: 0; transform: translateX(var(--dx)) translateY(280px) scaleY(1.4); }
}

@keyframes waterWash {
  0%   { transform: translateY(-100%); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes nozzlePulse {
  0%   { box-shadow: 0 0 0 0 rgba(196,29,24,0.9), 0 0 12px rgba(196,29,24,0.5); }
  60%  { box-shadow: 0 0 0 10px rgba(196,29,24,0), 0 0 20px rgba(196,29,24,0.3); }
  100% { box-shadow: 0 0 0 0 rgba(196,29,24,0), 0 0 0 rgba(196,29,24,0); }
}

@keyframes nozzleReveal {
  0%   { width: 0; opacity: 0; }
  100% { width: 48px; opacity: 1; }
}

.service-card .spray-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 10px;
  z-index: 0;
}

/* Blue water wash layer */
.service-card .spray-canvas::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 100%;
  top: 0;
  background: linear-gradient(180deg,
    rgba(130,200,255,0.22) 0%,
    rgba(100,180,255,0.14) 40%,
    rgba(80,160,255,0.06) 75%,
    transparent 100%
  );
  transform: translateY(-100%);
  pointer-events: none;
}

.service-card:hover .spray-canvas::before {
  animation: waterWash 1.3s ease-in-out forwards;
}

/* Red nozzle indicator */
.nozzle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 5px;
  width: 0;
  background: var(--red);
  border-radius: 0 0 3px 3px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.15s;
}

.service-card:hover .nozzle {
  opacity: 1;
  animation: nozzleReveal 0.25s ease forwards;
}

/* Spray drops */
.spray-drop {
  position: absolute;
  top: 3px;
  left: 50%;
  margin-left: -2px;
  width: var(--w, 2px);
  height: calc(var(--w, 2px) * 3.2);
  border-radius: 50% 50% 60% 60%;
  background: rgba(160,220,255,0.88);
  opacity: 0;
}

.service-card:hover .spray-drop {
  animation: sprayDrop var(--dur, 1s) ease-in var(--delay, 0s) forwards;
}


/* ============================================================
   TABLET  768px – 1023px
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {

  nav { padding: 0 32px; }

  .logo-link { flex: 0 0 auto; }
  .logo { flex: unset; font-size: 18px; }

  .hero-content { padding: 96px 32px 40px; }

  .hero-inner { display: block; }

  .hero-text {
    display: grid;
    grid-template-columns: 1fr 220px;
    grid-template-rows: auto auto 1fr;
    column-gap: 32px;
  }

  .hero-eyebrow  { display: inline-flex; grid-column: 1; grid-row: 1; justify-self: start; }
  .hero h1       { grid-column: 1; grid-row: 2; }

  .hero-bottom-row { display: contents; }

  .hero-left {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    flex-direction: column;
  }

  .hero-image-wrap {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-sprinkler { max-height: 320px; width: auto; }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: auto;
    max-width: none;
    padding: 14px 28px;
    font-size: 14px;
  }

  .trust-bar {
    display: block;
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.35);
    border-top: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    padding: 16px 32px;
  }

  .trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    overflow-x: visible;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .trust-divider { display: block; width: 1px; height: 20px; align-self: center; margin: 0; }

  .trust-item { font-size: 13px; white-space: nowrap; }

  section { padding: 80px 32px; }

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

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

  .process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .process-steps::before { display: none; }

  .why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .why-visual { position: static; }

  .coverage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .coverage-right { padding-top: 48px; }

  .cta-section { padding: 80px 32px; }

  .cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

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

  footer { padding: 48px 32px 28px; }

  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
  }

  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; }
}


/* ============================================================
   DESKTOP  1024px+
   ============================================================ */
@media (min-width: 1024px) {

  nav {
    padding: 0 48px;
    height: 68px;
    flex-wrap: nowrap;
  }

  .logo-link { flex: 0 0 auto; }
  .logo { flex: unset; font-size: 22px; }

  /* Hide hamburger, show full nav list */
  .hamburger { display: none; }
  .nav-cta-wrap { display: none; } /* CTA is inside ul on desktop */

  nav ul {
    display: flex !important;
    position: static;
    flex-direction: row;
    width: auto;
    order: 0;
    background: transparent;
    padding: 0;
    border-top: none;
    border-bottom: none;
    box-shadow: none;
    gap: 36px;
  }

  nav ul li { width: auto; }

  nav ul a {
    display: inline;
    padding: 0;
    font-size: 14px;
  }

  .hero-content {
    padding: 48px 48px 40px;
    flex: 1;
    align-items: center;
  }

  .hero-inner { display: block; }

  /* On desktop, hero-text becomes the two-column grid so the image
     spans all rows and sits alongside the full text block from the top */
  .hero-text {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: auto auto 1fr;
    column-gap: 48px;
  }

  .hero-eyebrow  { display: inline-flex; grid-column: 1; grid-row: 1; justify-self: start; }
  .hero h1       { grid-column: 1; grid-row: 2; }

  /* Dissolve hero-bottom-row so its children become direct grid children */
  .hero-bottom-row { display: contents; }

  .hero-left {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    flex-direction: column;
  }

  .hero-image-wrap {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
  }

  .hero-sprinkler { max-height: 420px; width: auto; }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 36px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: auto;
    max-width: none;
    padding: 16px 36px;
    font-size: 15px;
  }

  .trust-bar {
    display: block;
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.35);
    border-top: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    padding: 18px 48px;
  }

  .trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    overflow-x: visible;
    -webkit-mask-image: none;
    mask-image: none;
    padding: 0;
  }

  .trust-divider {
    display: block;
    flex-shrink: 0;
    width: 1px;
    height: 20px;
    align-self: center;
    background: rgba(255,255,255,0.15);
    margin: 0;
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0;
  }

  .trust-icon { width: 36px; height: 36px; }
  .trust-icon svg { width: 18px; height: 18px; fill: #E8837E; }

  section { padding: 100px 48px; }

  .btn-primary { font-size: 15px; padding: 16px 36px; }
  .btn-ghost   { font-size: 15px; padding: 16px 36px; }

  .services-grid { grid-template-columns: repeat(4, 1fr); }

  .who-grid { grid-template-columns: repeat(4, 1fr); }

  /* Horizontal process stepper with connector line */
  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    flex-direction: unset;
  }

  .process-steps::before {
    display: block;
    content: '';
    position: absolute;
    top: 32px;
    left: 56px;
    right: calc(25% - 56px);
    height: 1px;
    background: linear-gradient(90deg, var(--red) 0%, #E05320 100%);
    z-index: 0;
  }

  .process-step { padding: 0 24px 40px; }

  .step-num {
    width: 64px;
    height: 64px;
    font-size: 28px;
    margin-bottom: 24px;
    box-shadow: 0 0 0 8px var(--white), 0 0 0 9px rgba(196,29,24,0.2);
  }

  /* Why us layout – 2-col with sticky panel */
  .why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    flex-direction: unset;
  }

  .why-visual {
    position: sticky;
    top: 90px;
    padding: 48px 40px;
  }

  /* Yorkshire rose watermark – desktop */
  .coverage-rose {
    bottom: -78px;
    right: -78px;
    width: 494px;
    height: 494px;
    opacity: 0.35;
  }

  .coverage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    flex-direction: unset;
  }

  .coverage-right { padding-top: 80px; }

  .cta-section { padding: 100px 48px; }

  .cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    flex-direction: unset;
  }

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

  footer { padding: 60px 48px 36px; }

  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    flex-direction: unset;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
}

/* ── Cookie consent banner ── */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 16px 20px;
  background: var(--dark2);
  color: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  font-size: 14px;
  line-height: 1.5;
}

.consent[hidden] { display: none; }

.consent p { flex: 1 1 260px; }

.consent-actions { display: flex; gap: 10px; }

.consent-btn {
  font: inherit;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
}

.consent-accept { background: var(--red); color: var(--white); }
.consent-accept:hover { background: var(--red-mid); }

.consent-decline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.consent-decline:hover { border-color: var(--white); }

/* ── Enquiry form: spam trap and status message ── */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit:disabled { opacity: 0.6; cursor: wait; }

.form-status {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 6px;
}

.form-status:empty { display: none; }
.form-status:focus { outline: none; }

.form-status-ok,
.form-status-error { padding: 12px 14px; }

.form-status-ok {
  background: rgba(46,160,90,0.15);
  border: 1px solid rgba(46,160,90,0.5);
  color: #9be3b4;
}

.form-status-error {
  background: rgba(224,46,34,0.15);
  border: 1px solid rgba(224,46,34,0.5);
  color: #ffb3ad;
}

/* ── Legal pages (privacy policy) ── */
.legal-back {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.legal-back:hover { color: var(--white); }

.legal { padding: 120px 20px 72px; background: var(--white); }
.legal-inner { max-width: 760px; margin: 0 auto; }

.legal h1 {
  font-family: var(--ff-head);
  font-size: clamp(40px, 7vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--dark);
}
.legal-updated { color: var(--mid); font-size: 14px; margin: 8px 0 28px; }

.legal h2 {
  font-family: var(--ff-head);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin: 36px 0 8px;
}
.legal h3 { font-size: 17px; font-weight: 600; color: var(--dark); margin: 22px 0 6px; }
.legal p { margin-bottom: 14px; }
.legal a { color: var(--red); }
.legal code { background: var(--light); padding: 1px 6px; border-radius: 3px; font-size: 0.9em; }

.consent a { color: var(--white); text-decoration: underline; }
